/*
 Yan Theme - My Account template styles.
 Loaded only on account pages (including the logged-out login form).
*/
.woocommerce-account .woocommerce{display:grid;grid-template-columns:260px minmax(0,1fr);gap:40px;align-items:start}
.woocommerce-account .woocommerce-MyAccount-navigation{float:none;width:auto;grid-column:1;grid-row:1}
.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto;min-width:0;grid-column:2;grid-row:1}
.woocommerce-account .woocommerce-Addresses{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.woocommerce-account .woocommerce-Addresses::before,.woocommerce-account .woocommerce-Addresses::after{content:none;display:none}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address{float:none;width:auto;min-width:0;box-sizing:border-box;padding:18px 20px;border:1px solid var(--agr-border);border-radius:var(--agr-radius-md);background:var(--agr-surface-warm)}
.woocommerce-account .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.woocommerce-account .woocommerce-Address-title h2{margin:0;color:var(--agr-navy-900);font-size:20px;line-height:1.3}
.woocommerce-account .woocommerce-Address-title a.edit{float:none;margin:0;color:var(--agr-brand-green-dark);font-size:14px;font-weight:700;white-space:nowrap}
.woocommerce-account .woocommerce-Address address{margin:0;color:var(--agr-muted);font-style:normal;line-height:1.5}
.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0;padding:8px;border:1px solid var(--agr-border);border-radius:var(--agr-radius-md);list-style:none}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:11px 14px;border-radius:var(--agr-radius-sm);color:var(--agr-navy-900);font-weight:700}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:var(--agr-surface);color:var(--agr-orange-600)}
body.woocommerce-account:not(.logged-in) .woocommerce{display:block}
body.woocommerce-account:not(.logged-in) .woocommerce>h2,body.woocommerce-account:not(.logged-in) .woocommerce-form-login,body.woocommerce-account:not(.logged-in) .yan-auth-switch{width:min(100%,620px);margin-right:auto;margin-left:auto}
body.woocommerce-account:not(.logged-in) .woocommerce>h2{margin-top:0}
body.woocommerce-account:not(.logged-in) .woocommerce-form-login{padding:28px;border-color:var(--agr-border);border-radius:var(--agr-radius-md)}
body.woocommerce-account:not(.logged-in) .yan-auth-switch{margin-top:20px;text-align:center}
body.woocommerce-account:not(.logged-in) .yan-auth-switch a{font-weight:700}
.woocommerce-account .woocommerce-LostPassword{margin-top:16px}
.woocommerce-account .woocommerce-LostPassword a{font-weight:700}
@media(max-width:1024px){.woocommerce-account .woocommerce{grid-template-columns:220px minmax(0,1fr);gap:24px}
}
@media(max-width:767px){.woocommerce-account .woocommerce{grid-template-columns:minmax(0,1fr);gap:24px}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{grid-column:1}
.woocommerce-account .woocommerce-MyAccount-navigation{grid-row:1}
.woocommerce-account .woocommerce-MyAccount-content{grid-row:2}
.woocommerce-account .woocommerce-Addresses{grid-template-columns:minmax(0,1fr);gap:16px}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address{padding:16px}
.woocommerce-account .woocommerce-Address-title h2{font-size:18px}
.woocommerce-account .woocommerce-Address-title{align-items:flex-start;flex-direction:column;gap:8px}
}
