/* Native WooCommerce My Account only. Forms, endpoints and nonces remain Woo-owned. */
.woocommerce-account .content-main{padding:44px 0 20px}
.woocommerce-account .wrap.narrow{max-width:1080px}
.woocommerce-account .content-main article{padding:0;border:0;border-radius:0;background:transparent}
.woocommerce-account:not(.logged-in) .content-main article{max-width:660px;margin-inline:auto}
.woocommerce-account:not(.logged-in) .content-main article:has(#customer_login){max-width:none}
.woocommerce-account .content-main h1{margin:8px 0 30px;font-size:clamp(32px,4vw,44px);line-height:1.15;letter-spacing:-.03em;overflow-wrap:anywhere}
.woocommerce-account .prose{font-size:16px;line-height:1.65;color:var(--ink)}
.woocommerce-account .prose p{margin:0 0 20px}
.woocommerce-account .prose h2{margin:0 0 20px;font-size:23px;line-height:1.3;letter-spacing:-.015em;color:var(--ink)}
.woocommerce-account .prose h3{margin:0 0 16px;font-size:19px;line-height:1.4}
.woocommerce-account .woocommerce a:not(.button){color:var(--red2);text-underline-offset:3px}
.woocommerce-account .woocommerce a:hover{color:var(--red)}
.woocommerce-account .woocommerce a:focus-visible,.woocommerce-account .woocommerce button:focus-visible,.woocommerce-account .woocommerce input:focus-visible,.woocommerce-account .woocommerce select:focus-visible,.woocommerce-account .woocommerce textarea:focus-visible{outline:2px solid var(--red);outline-offset:3px}

/* Guest login, optional registration, and password recovery. No options are changed. */
.woocommerce-account .woocommerce form.login,.woocommerce-account .woocommerce form.register,.woocommerce-account .woocommerce form.woocommerce-ResetPassword{margin:0;padding:32px;border:1px solid var(--line);border-radius:12px;background:white;box-shadow:0 7px 24px #211c1706}
.woocommerce-account .woocommerce #customer_login{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.woocommerce-account .woocommerce #customer_login::before,.woocommerce-account .woocommerce #customer_login::after{display:none;content:none}
.woocommerce-account .woocommerce #customer_login>.col-1,.woocommerce-account .woocommerce #customer_login>.col-2{float:none;width:100%;min-width:0;padding:28px;border:1px solid var(--line);border-radius:12px;background:white}
.woocommerce-account .woocommerce #customer_login form{padding:0;border:0;border-radius:0;box-shadow:none}
.woocommerce-account .woocommerce .woocommerce-privacy-policy-text,.woocommerce-account .woocommerce .woocommerce-password-hint,.woocommerce-account .woocommerce .woocommerce-form-row>span,.woocommerce-account .woocommerce form .description{font-size:14px;line-height:1.6;color:#555b62;overflow-wrap:anywhere}
.woocommerce-account .woocommerce .woocommerce-privacy-policy-text a{font-weight:600}
.woocommerce-account .woocommerce-notices-wrapper:empty{display:none}

/* Keep the native validation and password-toggle controls visible and usable. */
.woocommerce-account .woocommerce form .form-row{padding:0;margin:0 0 20px;min-width:0}
.woocommerce-account .woocommerce form .form-row label{display:block;margin:0 0 7px;font-size:14px;font-weight:650;line-height:1.5}
.woocommerce-account .woocommerce form .required{color:var(--red)}
.woocommerce-account .woocommerce form .input-text,.woocommerce-account .woocommerce form select,.woocommerce-account .woocommerce form textarea{display:block;width:100%;max-width:100%;min-height:48px;padding:11px 13px;border:1px solid #989b9f;border-radius:6px;background:#fff;color:var(--ink);font:inherit;font-size:16px;line-height:1.5;box-shadow:none}
.woocommerce-account .woocommerce form textarea{min-height:110px;resize:vertical}
.woocommerce-account .woocommerce form .password-input{display:block;width:100%;position:relative}
.woocommerce-account .woocommerce form .password-input input{padding-right:52px}
.woocommerce-account .woocommerce form .show-password-input{position:absolute;right:3px;top:3px;transform:none;display:grid;place-items:center;width:42px;min-width:42px;height:42px;min-height:42px;margin:0;padding:0;border:0;border-radius:4px;background:transparent;color:var(--ink);cursor:pointer}
.woocommerce-account .woocommerce form .show-password-input::after{margin:0;line-height:1}
.woocommerce-account .woocommerce form .woocommerce-form-login__rememberme{display:flex!important;align-items:center;gap:9px;min-height:30px;margin:0 0 14px;font-size:14px;font-weight:400}
.woocommerce-account .woocommerce form input[type=checkbox],.woocommerce-account .woocommerce form input[type=radio]{flex:0 0 18px;width:18px;height:18px;min-height:0;margin:0;accent-color:var(--red)}
.woocommerce-account .woocommerce button.button,.woocommerce-account .woocommerce input.button,.woocommerce-account .woocommerce a.button{min-height:48px;padding:12px 20px;border:1px solid transparent;border-radius:6px;background:var(--red);color:white;font:inherit;font-size:14px;font-weight:750;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.woocommerce-account .woocommerce button.button:hover,.woocommerce-account .woocommerce input.button:hover,.woocommerce-account .woocommerce a.button:hover{background:var(--red2);color:white}
.woocommerce-account .woocommerce button.button:disabled{background:#e3e4e5;color:#72767b;cursor:not-allowed;opacity:1}
.woocommerce-account .woocommerce form .woocommerce-form-login__submit{float:none;margin:0;min-width:140px}
.woocommerce-account .woocommerce .lost_password{margin:6px 0 0;font-size:14px}
.woocommerce-account .woocommerce form fieldset{min-width:0;margin:28px 0 22px;padding:22px 20px 0;border:1px solid var(--line);border-radius:8px}
.woocommerce-account .woocommerce form legend{padding:0 8px;font-size:17px;font-weight:750;line-height:1.5}
.woocommerce-account .woocommerce form .select2-container{max-width:100%}
.woocommerce-account .woocommerce form .select2-container .select2-selection--single{min-height:48px;border:1px solid #989b9f;border-radius:6px}
.woocommerce-account .woocommerce form .select2-selection__rendered{padding:9px 32px 9px 13px;line-height:28px;font-size:16px}
.woocommerce-account .woocommerce form .select2-selection__arrow{height:46px;right:8px}

/* Logged-in pages share the real Woo navigation; no substitute dashboard or counters. */
.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation){display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start}
.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)::before,.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)::after{display:none;content:none}
.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)>*{grid-column:1/-1;min-width:0}
.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)>.woocommerce-MyAccount-navigation{grid-column:1}
.woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)>.woocommerce-MyAccount-content{grid-column:2}
.woocommerce-account .woocommerce-MyAccount-navigation{float:none;width:100%;padding:8px;border:1px solid var(--line);border-radius:12px;background:white}
.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0;padding:0;list-style:none}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0;padding:0;list-style:none;border:0}
.woocommerce-account .woocommerce-MyAccount-navigation li+li{margin-top:3px}
.woocommerce-account .woocommerce-MyAccount-navigation li a{display:flex;align-items:center;min-height:48px;padding:12px 14px;border-radius:7px;text-decoration:none;font-size:14px;font-weight:650;line-height:1.4;color:var(--ink);overflow-wrap:anywhere}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:#f5f2ef;color:var(--red2)}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:var(--red);color:white}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a:hover{background:var(--red2);color:white}
.woocommerce-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout{margin-top:9px;padding-top:8px;border-top:1px solid var(--line)}
.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%;min-width:0;min-height:260px;padding:30px;border:1px solid var(--line);border-radius:12px;background:white;overflow-wrap:anywhere}
.woocommerce-account .woocommerce-MyAccount-content>p:last-child{margin-bottom:0}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::before,.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses::after{display:none;content:none}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{float:none;width:100%;min-width:0;margin:0 0 18px;padding:20px;border:1px solid var(--line);border-radius:8px;background:#faf9f7}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2,.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h3{float:none;margin:0;font-size:18px}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a{float:none;font-size:13px;font-weight:650}
.woocommerce-account .woocommerce-MyAccount-content address{margin:0;font-size:14px;line-height:1.75;font-style:normal}
.woocommerce-account .woocommerce .woocommerce-info,.woocommerce-account .woocommerce .woocommerce-message,.woocommerce-account .woocommerce .woocommerce-error{margin:0 0 24px;padding:18px 20px 18px 48px;border-top:3px solid var(--red);border-radius:6px;background:#fff;color:var(--ink);font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.woocommerce-account .woocommerce .woocommerce-info::before,.woocommerce-account .woocommerce .woocommerce-message::before,.woocommerce-account .woocommerce .woocommerce-error::before{top:19px;left:20px;color:var(--red)}
.woocommerce-account .woocommerce .woocommerce-info .button,.woocommerce-account .woocommerce .woocommerce-message .button{float:none;margin:0 10px 10px 0}
.woocommerce-account .woocommerce table.shop_table{width:100%;margin:0 0 24px;border:1px solid var(--line);border-radius:8px;border-collapse:separate;font-size:14px;line-height:1.5;table-layout:fixed}
.woocommerce-account .woocommerce table.shop_table th,.woocommerce-account .woocommerce table.shop_table td{padding:14px 12px;overflow-wrap:anywhere}
.woocommerce-account .woocommerce table.shop_table thead th{background:#f6f4f1;font-size:12px;font-weight:750}
.woocommerce-account .woocommerce table.shop_table td .button{display:inline-flex;min-height:42px;margin:3px 0;padding:9px 12px;font-size:13px}
.woocommerce-account .woocommerce .woocommerce-pagination{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}

@media(max-width:900px){
  .woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation){grid-template-columns:190px minmax(0,1fr);gap:18px}
  .woocommerce-account .woocommerce-MyAccount-content{padding:24px}
  .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:768px){
  .woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation){grid-template-columns:minmax(0,1fr)}
  .woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)>.woocommerce-MyAccount-content{grid-column:1}
  .woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  .woocommerce-account .woocommerce-MyAccount-navigation li+li{margin-top:0}
  .woocommerce-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout{margin:0;padding:0;border:0}
  .woocommerce-account .woocommerce #customer_login{grid-template-columns:minmax(0,1fr)}
  .woocommerce-account .woocommerce table.shop_table_responsive tbody tr{display:block;margin:0;padding:10px 12px;border-bottom:1px solid var(--line)}
  .woocommerce-account .woocommerce table.shop_table_responsive tbody tr:last-child{border-bottom:0}
  .woocommerce-account .woocommerce table.shop_table_responsive tbody td,.woocommerce-account .woocommerce table.shop_table_responsive tbody th.woocommerce-orders-table__cell-order-number{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:9px 0;border:0;background:transparent;text-align:right!important}
  .woocommerce-account .woocommerce table.shop_table_responsive tbody td::before,.woocommerce-account .woocommerce table.shop_table_responsive tbody th.woocommerce-orders-table__cell-order-number::before{content:attr(data-title) ":";flex:0 0 42%;text-align:left;font-size:12px;color:#565b61}
  .woocommerce-account .woocommerce table.shop_table_responsive .woocommerce-orders-table__cell-order-actions{flex-wrap:wrap;justify-content:flex-end}
  .woocommerce-account .woocommerce table.shop_table_responsive .woocommerce-orders-table__cell-order-actions::before{content:none}
}
@media(max-width:620px){
  .woocommerce-account .content-main{padding:30px 0 10px}
  .woocommerce-account .content-main h1{margin-bottom:24px}
  .woocommerce-account .woocommerce form.login,.woocommerce-account .woocommerce form.register,.woocommerce-account .woocommerce form.woocommerce-ResetPassword,.woocommerce-account .woocommerce #customer_login>.col-1,.woocommerce-account .woocommerce #customer_login>.col-2{padding:22px 18px}
  .woocommerce-account .woocommerce #customer_login form{padding:0}
  .woocommerce-account .woocommerce-MyAccount-content{padding:22px 18px}
  .woocommerce-account .woocommerce-MyAccount-navigation li a{padding:11px 10px;font-size:13px}
  .woocommerce-account .woocommerce form .form-row-first,.woocommerce-account .woocommerce form .form-row-last{float:none;width:100%}
  .woocommerce-account .woocommerce form fieldset{padding:18px 13px 0}
  .woocommerce-account .woocommerce form .button{width:100%}
  .woocommerce-account .woocommerce table.shop_table th,.woocommerce-account .woocommerce table.shop_table td{padding:12px 8px}
}
