/* WOODMART + WOOCOMMERCE MY ACCOUNT
   Paste into Appearance > Customize > Additional CSS.
   Keep [woocommerce_my_account] on the existing My Account page.
   Presentation only: preserves native forms, endpoints and subscriptions.
   Change --account-accent below to change the primary colour.
   Duplicate workout builders must be removed in the fitness plugin itself.
*/
body.woocommerce-account {
  --account-accent:#194049;
  --account-dark:#17343b;
  --account-muted:#536970;
  --account-line:#dce6e8;
  --account-soft:#f0f6f6;
  background:#f7fafa;
}
body.woocommerce-account .site-content {padding-block:32px 60px;}
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {
  display:flex;flex-wrap:wrap;align-items:flex-start;gap:28px;
}
body.woocommerce-account .woocommerce > .woocommerce-notices-wrapper {width:100%;}
body.woocommerce-account .woocommerce-MyAccount-navigation {
  width:250px;flex:0 0 250px;float:none;padding:22px 16px;
  background:#fff;border:1px solid var(--account-line);border-radius:20px;
  box-shadow:0 8px 30px #17343b06;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {margin:0;padding:0;list-style:none;}
body.woocommerce-account .woocommerce-MyAccount-navigation li {margin:5px 0;border:0;}
body.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 16px;
  border:0;border-radius:12px;background:transparent;color:var(--account-muted);
  font-size:14px;font-weight:600;line-height:1.5;text-decoration:none;
  transition:background .2s,color .2s,box-shadow .2s;
}
body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {background:var(--account-soft);color:var(--account-accent);}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background:var(--account-accent);color:#fff;box-shadow:0 5px 14px #19404928;
}
body.woocommerce-account .woocommerce-MyAccount-content {
  width:auto;float:none;flex:1 1 0;min-width:0;padding:28px;
  background:#fff;border:1px solid var(--account-line);border-radius:22px;
  box-shadow:0 12px 40px #17343b06;color:var(--account-muted);
  font-size:14px;line-height:1.75;
}
body.woocommerce-account .woocommerce-MyAccount-content :is(h1,h2,h3,h4) {
  color:var(--account-dark);font-weight:750;letter-spacing:-.025em;line-height:1.3;
}
body.woocommerce-account .woocommerce-MyAccount-content h2 {font-size:26px;}
body.woocommerce-account .woocommerce-MyAccount-content h3 {font-size:21px;}
body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
  padding:18px 20px;background:var(--account-soft);border-radius:14px;color:var(--account-dark);
}
body.woocommerce-account .woocommerce-MyAccount-content a {color:var(--account-accent);}
body.woocommerce-account .woocommerce-MyAccount-content :is(input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=date],select,textarea),
body.woocommerce-account .select2-container--default .select2-selection--single {
  width:100%;max-width:100%;min-height:46px;border:1px solid #cbdadd;
  border-radius:10px;background:#fff;color:var(--account-dark);box-shadow:none;
}
body.woocommerce-account .woocommerce-MyAccount-content :is(input,select,textarea):focus {
  border-color:var(--account-accent);outline:2px solid #19404930;outline-offset:2px;
}
body.woocommerce-account .woocommerce-MyAccount-content :is(input[type=checkbox],input[type=radio]) {accent-color:var(--account-accent);}
body.woocommerce-account .woocommerce-MyAccount-content label {color:var(--account-dark);font-size:13px;font-weight:600;}
body.woocommerce-account .woocommerce-MyAccount-content fieldset {
  min-width:0;margin:24px 0;padding:20px;border:1px solid var(--account-line);border-radius:14px;
}
body.woocommerce-account .woocommerce-MyAccount-content legend {width:auto;padding-inline:8px;color:var(--account-dark);font-size:14px;font-weight:700;}
body.woocommerce-account .woocommerce-MyAccount-content :is(.button,button,input[type=submit]),
body.woocommerce-account #customer_login :is(.button,button,input[type=submit]) {
  background:var(--account-accent);color:#fff;border:0;border-radius:10px;
  padding:13px 20px;min-height:46px;font-size:13px;font-weight:700;
  line-height:1.5;text-transform:none;box-shadow:0 4px 12px #19404920;
  transition:background .2s,box-shadow .2s;
}
body.woocommerce-account .woocommerce-MyAccount-content :is(.button,button,input[type=submit]):hover {background:#123139;color:#fff;box-shadow:0 6px 18px #19404930;}
body.woocommerce-account .woocommerce-MyAccount-content :is(button,input[type=submit]):disabled {opacity:.5;cursor:not-allowed;}
body.woocommerce-account :is(a,button,input,select,textarea):focus-visible {outline:3px solid #6b9ca7;outline-offset:3px;}
body.woocommerce-account .wd-my-account-links {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px 0 0;
}
body.woocommerce-account .wd-my-account-links > div {width:auto;max-width:none;padding:0;margin:0;}
body.woocommerce-account .wd-my-account-links a {
  height:100%;min-height:120px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:10px;padding:20px 12px;
  border:1px solid var(--account-line);border-radius:15px;
  background:#fff;color:var(--account-dark);font-size:13px;font-weight:650;
  transition:border-color .2s,background .2s,box-shadow .2s;
}
body.woocommerce-account .wd-my-account-links a:before {color:var(--account-accent);font-size:32px;}
body.woocommerce-account .wd-my-account-links a:hover {border-color:#9cbdc4;background:var(--account-soft);box-shadow:0 6px 20px #17343b08;}
body.woocommerce-account .woocommerce-MyAccount-content :is(table.shop_table,table.woocommerce-table) {
  width:100%;border:1px solid var(--account-line);border-radius:14px;
  border-collapse:separate;border-spacing:0;overflow:hidden;font-size:13px;
}
body.woocommerce-account .woocommerce-MyAccount-content table th {background:var(--account-soft);color:var(--account-dark);padding:14px;font-weight:700;}
body.woocommerce-account .woocommerce-MyAccount-content table td {padding:14px;border-color:var(--account-line);}
body.woocommerce-account .woocommerce-Addresses {display:flex;flex-wrap:wrap;gap:20px;}
body.woocommerce-account .woocommerce-Addresses .woocommerce-Address {
  flex:1 1 260px;float:none;width:auto;padding:22px;border:1px solid var(--account-line);border-radius:16px;background:var(--account-soft);
}
body.woocommerce-account .woocommerce-Address address {font-style:normal;line-height:1.9;}
body.woocommerce-account #customer_login {padding:28px;background:#fff;border:1px solid var(--account-line);border-radius:20px;}
body.woocommerce-account .woocommerce-MyAccount-content img {max-width:100%;height:auto;}
@media(min-width:1025px) {
  body.woocommerce-account .woocommerce-MyAccount-navigation {position:sticky;top:30px;}
}
@media(max-width:1024px) {
  body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {gap:20px;}
  body.woocommerce-account .woocommerce-MyAccount-navigation {width:210px;flex-basis:210px;}
  body.woocommerce-account .woocommerce-MyAccount-content {padding:22px;}
}
@media(max-width:767px) {
  body.woocommerce-account .page-title {padding-block:30px;}
  body.woocommerce-account .site-content {padding-block:16px 32px;}
  body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation) {display:block;}
  body.woocommerce-account .woocommerce-MyAccount-navigation {position:static;width:100%;padding:12px;margin-bottom:18px;border-radius:16px;}
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;}
  body.woocommerce-account .woocommerce-MyAccount-navigation li {min-width:0;margin:0;}
  body.woocommerce-account .woocommerce-MyAccount-navigation li a {height:100%;padding:10px;font-size:12px;overflow-wrap:anywhere;}
  body.woocommerce-account .woocommerce-MyAccount-content {width:100%;padding:18px;border-radius:16px;}
  body.woocommerce-account .wd-my-account-links {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  body.woocommerce-account .woocommerce-MyAccount-content .form-row {float:none;width:100%;}
  body.woocommerce-account .woocommerce-MyAccount-content fieldset {padding:14px;}
  body.woocommerce-account #customer_login {padding:18px;}
  body.woocommerce-account .woocommerce-MyAccount-content table td {overflow-wrap:anywhere;}
}
@media(prefers-reduced-motion:reduce) {
  body.woocommerce-account .woocommerce-MyAccount-navigation li a,
  body.woocommerce-account .woocommerce-MyAccount-content :is(a,button,input) {transition:none;}
}

@media(max-width:767px){
body.woocommerce-account .woocommerce-MyAccount-content :is(input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],select,textarea){font-size:16px;}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive thead{display:none;}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr{display:block;}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive td{display:block;text-align:end!important;}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive td[data-title]:before{content:attr(data-title) ': ';float:inline-start;font-weight:700;}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive td:after{content:'';display:block;clear:both;}
body.woocommerce-account .woocommerce-MyAccount-content table:not(.shop_table_responsive){display:block;max-width:100%;overflow-x:auto;}
body.woocommerce-account #customer_login>div{float:none;width:100%;max-width:100%;}
}

/* Responsive account layout, including WooCommerce clearfix pseudo-elements. */
body.woocommerce-account :is(.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content,.ads-welcome,.woocommerce-Addresses,.wd-my-account-links),
body.woocommerce-account :is(.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content) * {box-sizing:border-box;}
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
body.woocommerce-account .woocommerce:has(> .woocommerce-MyAccount-navigation)::after {display:none;}
body.woocommerce-account .woocommerce-MyAccount-content {overflow-wrap:anywhere;}
body.woocommerce-account .woocommerce-MyAccount-navigation li a {white-space:normal;}
body.woocommerce-account .woocommerce-MyAccount-content :is(.button,button,input[type=submit]) {white-space:normal;max-width:100%;text-align:center;}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address .title {display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between;}
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address .title h2 {margin:0;}
body.woocommerce-account .woocommerce-MyAccount-content :is(.woocommerce-error,.woocommerce-info,.woocommerce-message) {overflow-wrap:anywhere;}
body.woocommerce-account .select2-container {max-width:100%;}
@media (min-width:768px) and (max-width:1024px) {
 body.woocommerce-account .wd-my-account-links {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:767px) {
 body.woocommerce-account .woocommerce-MyAccount-navigation {max-width:100%;}
 body.woocommerce-account .woocommerce-MyAccount-navigation li a {min-height:48px;gap:8px;font-size:13px;}
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address {flex-basis:100%;min-width:0;padding:16px;}
 body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive tr {margin-bottom:12px;border:1px solid var(--account-line);border-radius:12px;overflow:hidden;}
 body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive td {min-height:48px;padding:12px;}
 body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive td[data-title] {display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;}
 body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive td[data-title]::before {float:none;text-align:start;}
 body.woocommerce-account .woocommerce-MyAccount-content table.shop_table_responsive td::after {display:none;}
 body.woocommerce-account .woocommerce-MyAccount-content table .button {margin:4px;min-height:44px;}
 body.woocommerce-account .woocommerce-MyAccount-content :is(input,select,textarea) {font-size:16px;}
 body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > p:last-child .button {width:100%;}
}
@media (max-width:360px) {
 body.woocommerce-account .woocommerce-MyAccount-navigation ul {grid-template-columns:1fr!important;}
 body.woocommerce-account .wd-my-account-links {grid-template-columns:1fr!important;}
}
