/* Account uses lists and forms, preserving the shop's typography and native scroll. */
.account-shell {padding-top:30px;padding-bottom:64px;}
.account-page-heading {margin-bottom:30px;}
.account-page-heading h1 {font-size:32px;line-height:1.2;font-weight:650;letter-spacing:-.035em;}
.account-demo-note {font-size:12px;color:var(--muted);margin-top:12px;max-width:560px;}
.account-layout {display:grid;grid-template-columns:210px minmax(0,1fr);gap:50px;align-items:start;}
.account-nav {display:flex;flex-direction:column;position:sticky;top:calc(var(--header-height) + 22px);gap:3px;}
.account-nav a {display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 14px;font-size:14px;border-radius:8px;}
.account-nav a>.ph {font-size:20px;color:var(--muted);}
.account-nav a[aria-current=page] {background:var(--surface);font-weight:600;}
.account-nav a[aria-current=page]>.ph {color:var(--accent);}
.account-nav a:hover {background:var(--surface);}
.account-nav small {font-size:11px;color:var(--muted);margin-left:auto;}
.account-pane {min-width:0;}
.account-pane-heading {margin-bottom:26px;}
.account-pane-heading h2 {font-size:24px;}
.account-pane-heading h2>span {color:var(--muted);font-weight:400;font-size:16px;margin-left:8px;}
.account-pane-heading p {color:var(--muted);font-size:13px;max-width:550px;margin-top:9px;}
.account-welcome {display:flex;align-items:center;gap:20px;padding-bottom:28px;border-bottom:1px solid var(--line);}
.account-avatar {width:66px;height:66px;flex-shrink:0;display:grid;place-items:center;background:var(--promo);border:1px solid var(--line);border-radius:50%;font-size:26px;color:var(--accent);font-weight:550;}
.account-eyebrow {font-size:11px;color:var(--muted);margin-bottom:6px;}
.account-welcome-copy {min-width:0;flex:1;overflow-wrap:anywhere;}
.account-welcome h2 {font-size:26px;line-height:1.2;letter-spacing:-.025em;}
.account-welcome h2+p {font-size:12px;color:var(--muted);margin-top:9px;}
.account-welcome>.account-text-link {margin-left:auto;white-space:nowrap;}
.account-text-link {display:inline-flex;align-items:center;gap:7px;font-size:12px;min-height:44px;text-decoration:underline;text-underline-offset:4px;text-align:left;}
.account-text-link:hover {color:var(--accent-text,var(--accent));}
.account-text-link>.ph {font-size:15px;}
.account-summary-links {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:24px 0 36px;}
.account-summary-links>a {display:grid;grid-template-columns:1fr auto;align-items:center;row-gap:9px;padding:12px 24px;border-right:1px solid var(--line);min-height:96px;}
.account-summary-links>a:first-child {padding-left:0;}
.account-summary-links>a:last-child {border-right:0;}
.account-summary-links>a>span {font-size:12px;color:var(--muted);grid-column:1/-1;}
.account-summary-links>a>strong {font-weight:550;font-size:28px;line-height:1;}
.account-summary-links>a>.ph {font-size:20px;color:var(--muted);}
.account-summary-links>a:hover>.ph {color:var(--accent-text,var(--accent));}
.account-overview-section+.account-overview-section {margin-top:40px;}
.account-section-head {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;}
.account-section-head h2 {font-size:22px;}
.account-section-head h3 {font-size:18px;font-weight:550;}
.account-order-empty {padding:24px;background:var(--surface);border-radius:10px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 20px;}
.account-order-empty>p {font-size:17px;font-weight:550;}
.account-order-empty>span {font-size:12px;color:var(--muted);grid-column:1;max-width:400px;}
.account-order-empty>.button {grid-column:2;grid-row:1/3;white-space:nowrap;}
.account-latest-order {display:flex;align-items:center;gap:20px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.account-latest-order>div {display:grid;gap:5px;}
.account-latest-order>div>strong {font-size:14px;font-weight:550;}
.account-latest-order>div>span {font-size:11px;color:var(--muted);}
.account-latest-order>strong {font-size:16px;margin-left:auto;white-space:nowrap;}
.account-order-status {font-size:10px;line-height:1.4;padding:6px 9px;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:5px;}
.account-product-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 20px;}
.account-product {min-width:0;display:flex;flex-direction:column;}
.account-product-media {position:relative;background:#f6f5f7;border-radius:10px;overflow:hidden;}
.account-product-media>a {display:block;aspect-ratio:1/1;padding:15px;}
.account-product-media img {display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;}
.account-favorite {position:absolute;right:8px;top:8px;min-width:44px;min-height:44px;display:grid;place-items:center;background:#fdfdfd;border:1px solid #e5e1e6;border-radius:8px;color:#3b343f;}
.account-favorite .ph {font-size:20px;}
.account-favorite.is-active {color:var(--accent);background:#fff0f3;border-color:#f1b5c3;}
.account-product-copy {display:flex;flex:1;flex-direction:column;padding-top:13px;}
.account-product-copy>p {font-size:11px;color:var(--muted);margin-bottom:5px;}
.account-product h3 {font-size:13px;font-weight:450;line-height:1.5;min-height:39px;}
.account-product h3 a:hover {color:var(--accent-text,var(--accent));}
.account-product-copy>span {font-size:10px;color:var(--muted);margin-top:9px;}
.account-product-purchase {display:flex;align-items:center;justify-content:space-between;gap:9px;padding-top:12px;margin-top:auto;}
.account-product-purchase>strong {font-variant-numeric:tabular-nums;font-size:18px;font-weight:600;white-space:nowrap;letter-spacing:-.025em;}
.account-buy {display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;font-size:11px;font-weight:550;line-height:1.3;background:var(--accent);color:var(--on-accent);border:1px solid var(--accent);border-radius:8px;white-space:nowrap;}
.account-buy:hover:not(:disabled) {background:var(--accent-hover);}
.account-buy.is-added {background:var(--surface);color:var(--ink);border-color:var(--line);}
.account-buy:disabled {background:var(--surface);color:var(--muted);border-color:var(--line);opacity:1;}
.account-saved-empty {padding:25px 0;border-top:1px solid var(--line);}
.account-saved-empty>p {color:var(--muted);font-size:13px;margin-bottom:6px;}
.account-empty {padding:44px 26px;background:var(--surface);border-radius:10px;}
.account-empty h2 {font-size:22px;}
.account-empty p {font-size:13px;color:var(--muted);max-width:420px;margin:12px 0 24px;}
.account-form {max-width:570px;}
.account-field {margin-bottom:22px;}
.account-field label {display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px;align-items:baseline;font-size:13px;font-weight:500;margin-bottom:8px;}
.account-field label>span {font-size:10px;font-weight:400;color:var(--muted);}
.account-field input {display:block;width:100%;min-height:48px;padding:11px 13px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font-size:16px;}
.account-field input[aria-invalid=true] {border-color:var(--accent);}
.account-field-error {font-size:11px;color:var(--accent);margin-top:7px;}
.account-form-actions {display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:28px;}
.account-form-result {font-size:12px;color:var(--muted);}
.account-muted {color:var(--muted);font-size:13px;}
.account-address-intro {margin:14px 0 24px;}
.account-address-list {margin-bottom:24px;}
.account-address {padding:24px 0;border-top:1px solid var(--line);max-width:650px;}
.account-address:last-child {border-bottom:1px solid var(--line);}
.account-address>div:first-child {display:flex;align-items:center;gap:10px;}
.account-address h3 {min-width:0;overflow-wrap:anywhere;font-size:16px;font-weight:550;}
.account-address>div:first-child>.ph {flex-shrink:0;}
.account-address .ph {font-size:20px;color:var(--muted);}
.account-address>p {font-size:13px;margin-top:12px;overflow-wrap:anywhere;}
.account-address>span {display:block;font-size:12px;color:var(--muted);margin-top:7px;overflow-wrap:anywhere;}
.account-address-actions {display:flex;gap:22px;margin-top:10px;}
.account-address-form {border-top:1px solid var(--line);padding-top:18px;}
.account-order {border-top:1px solid var(--line);}
.account-order:last-child {border-bottom:1px solid var(--line);}
.account-order>summary {display:flex;align-items:center;gap:20px;padding:24px 0;cursor:pointer;list-style:none;}
.account-order-title {display:grid;min-width:0;gap:5px;overflow-wrap:anywhere;}
.account-order-title>strong {font-size:15px;font-weight:550;}
.account-order-title>span {font-size:11px;color:var(--muted);}
.account-order-total {margin-left:auto;font-size:17px;font-weight:600;white-space:nowrap;}
.account-order>summary>.ph {font-size:18px;color:var(--muted);}
.account-order-body {padding:0 0 22px;}
.account-order-item {display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:14px;padding:15px 0;border-top:1px solid var(--line);}
.account-order-item>a {background:#f6f5f7;border-radius:6px;overflow:hidden;}
.account-order-item img {display:block;width:64px;height:64px;object-fit:contain;mix-blend-mode:multiply;}
.account-order-item>div {display:grid;gap:3px;}
.account-order-item>div>span,.account-order-item small {font-size:10px;color:var(--muted);}
.account-order-item>div>a {font-size:13px;}
.account-order-item>div>a:hover {color:var(--accent-text,var(--accent));}
.account-order-item>strong {font-size:13px;font-weight:600;white-space:nowrap;}
.account-order-data {display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0;}
.account-order-data>div {min-width:0;}
.account-order-data dt {font-size:11px;color:var(--muted);margin-bottom:7px;}
.account-order-data dd {margin:0;font-size:12px;overflow-wrap:anywhere;}
.account-order-data dd>span {display:block;color:var(--muted);font-size:11px;margin-top:4px;}
.account-order-footer {display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:16px;border-top:1px solid var(--line);}
.account-order-footer>p {font-size:11px;color:var(--muted);max-width:320px;}
.account-order-footer>.button {flex-shrink:0;font-size:12px;}
@media(max-width:1150px) {
 .account-layout {grid-template-columns:180px minmax(0,1fr);gap:30px;}
 .account-welcome>.account-text-link {display:none;}
 .account-product-purchase {flex-direction:column;align-items:stretch;}
 .account-latest-order {gap:14px;flex-wrap:wrap;}
 .account-latest-order>.account-text-link {margin-left:auto;}
}
@media(max-width:899px) {
 .account-layout {grid-template-columns:1fr;gap:25px;}
 .account-nav {position:static;flex-direction:row;overflow-x:auto;white-space:nowrap;gap:6px;scrollbar-width:none;padding-bottom:4px;overscroll-behavior-x:contain;}
 .account-nav::-webkit-scrollbar {display:none;}
 .account-nav a {flex-shrink:0;padding:10px 14px;border:1px solid var(--line);font-size:12px;gap:8px;min-height:44px;}
 .account-nav a>.ph {font-size:18px;}
 .account-nav small {margin-left:2px;}
 .account-product-purchase {flex-direction:row;align-items:center;}
}
@media(max-width:767px) {
 .account-shell {padding-top:23px;padding-bottom:42px;}
 .account-page-heading {margin-bottom:23px;}
 .account-page-heading h1 {font-size:28px;}
 .account-demo-note {font-size:11px;line-height:1.6;margin-top:10px;}
 .account-layout {gap:21px;}
 .account-nav {margin-inline:-16px;padding-inline:16px;}
 .account-pane-heading {margin-bottom:24px;}
 .account-pane-heading h2 {font-size:22px;}
 .account-pane-heading p {font-size:12px;}
 .account-welcome {gap:14px;align-items:flex-start;padding-bottom:23px;}
 .account-avatar {width:49px;height:49px;font-size:22px;margin-top:2px;}
 .account-welcome h2 {font-size:22px;}
 .account-welcome h2+p {font-size:11px;max-width:250px;margin-top:8px;}
 .account-eyebrow {font-size:10px;}
 .account-summary-links {margin:18px 0 30px;}
 .account-summary-links>a {padding:9px 15px;min-height:87px;row-gap:9px;}
 .account-summary-links>a>span {font-size:11px;}
 .account-summary-links>a>strong {font-size:25px;}
 .account-summary-links>a>.ph {font-size:17px;}
 .account-overview-section+.account-overview-section {margin-top:32px;}
 .account-section-head {margin-bottom:16px;}
 .account-section-head h2 {font-size:20px;}
 .account-section-head>.account-text-link {font-size:11px;}
 .account-order-empty {grid-template-columns:1fr;padding:22px;gap:10px;}
 .account-order-empty>p {font-size:16px;}
 .account-order-empty>span {font-size:11px;}
 .account-order-empty>.button {grid-column:1;grid-row:auto;justify-self:start;margin-top:8px;font-size:12px;}
 .account-latest-order {gap:12px;padding:18px 0;}
 .account-latest-order>strong {font-size:15px;}
 .account-latest-order>.account-order-status {font-size:9px;}
 .account-latest-order>.account-text-link {width:100%;justify-content:flex-end;min-height:44px;}
 .account-product-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 14px;}
 .account-product-media {border-radius:8px;}
 .account-product-media>a {padding:10px;}
 .account-favorite {right:5px;top:5px;width:44px;height:44px;background:rgb(253 253 253/.94);border-radius:7px;}
 .account-product-copy {padding-top:10px;}
 .account-product h3 {font-size:12px;min-height:36px;}
 .account-product-copy>p {font-size:10px;}
 .account-product-purchase {flex-direction:column;align-items:stretch;gap:9px;}
 .account-product-purchase>strong {font-size:17px;}
 .account-buy {font-size:11px;padding-inline:8px;}
 .account-empty {padding:30px 22px;}
 .account-empty h2 {font-size:20px;line-height:1.3;}
 .account-empty p {font-size:12px;}
 .account-form {max-width:none;}
 .account-field {margin-bottom:20px;}
 .account-field label {font-size:12px;}
 .account-form-actions {margin-top:25px;}
 .account-address {padding:20px 0;}
 .account-order>summary {display:grid;grid-template-columns:1fr auto;gap:12px;padding:20px 0;}
 .account-order-title>strong {font-size:14px;}
 .account-order-title>span {font-size:10px;}
 .account-order-status {justify-self:start;font-size:9px;grid-column:1;grid-row:2;}
 .account-order-total {font-size:15px;grid-column:2;grid-row:1;}
 .account-order>summary>.ph {grid-column:2;grid-row:2;justify-self:end;font-size:17px;}
 .account-order-item {grid-template-columns:52px minmax(0,1fr);gap:10px;padding:13px 0;}
 .account-order-item img {width:52px;height:58px;}
 .account-order-item>div>a {font-size:12px;}
 .account-order-item>strong {grid-column:2;font-size:12px;}
 .account-order-data {gap:20px;grid-template-columns:1fr;}
 .account-order-footer {flex-direction:column;align-items:start;gap:16px;}
 .account-order-footer>p {font-size:10px;}
 .account-order-footer>.button {font-size:12px;}
}
:root[data-theme='dark'] .account-field-error {color:var(--error,#ff8aa0);}
:root[data-theme='dark'] .account-field input[aria-invalid=true] {border-color:var(--error,#ff8aa0);}
@media(prefers-reduced-motion:reduce) {.account-page *, .account-page *::before, .account-page *::after {animation:none!important;transition:none!important;}}
