/* Customer account button aligned with the cart and menu controls. */
.site-header .header-actions{display:flex!important;grid-column:auto;grid-row:1;align-items:center;justify-content:flex-end;gap:7px;justify-self:end;white-space:nowrap}
.site-header .header-account-button{position:relative;box-sizing:border-box;display:grid!important;width:56px;height:46px;min-height:46px;place-items:center;padding:0;border:1px solid rgba(43,82,72,.22);border-radius:15px;background:linear-gradient(180deg,rgba(255,255,255,.99),rgba(247,250,249,.96));color:#111;box-shadow:0 7px 18px rgba(25,58,49,.09),inset 0 1px 0 #fff;text-decoration:none;transition:border-color .2s ease,box-shadow .2s ease,transform .2s cubic-bezier(.2,.8,.2,1)}
.site-header .header-account-button svg{display:block;width:29px;height:29px;stroke:currentColor;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}
.site-header .header-account-hint{position:absolute;z-index:120;top:calc(100% + 12px);right:50%;width:max-content;max-width:min(230px,calc(100vw - 24px));padding:10px 13px;border:1px solid rgba(255,255,255,.28);border-radius:12px;background:#0f665b;color:#fff;box-shadow:0 12px 30px rgba(10,48,42,.22);font-size:13px;font-weight:800;line-height:1.4;text-align:center;white-space:normal;pointer-events:none;opacity:0;transform:translate(50%,-6px);transition:opacity .22s ease,transform .22s ease}
.site-header .header-account-hint::before{position:absolute;right:calc(50% - 6px);top:-6px;width:12px;height:12px;background:#0f665b;content:"";transform:rotate(45deg)}.site-header .header-account-hint.is-visible{opacity:1;transform:translate(50%,0)}.site-header .header-account-hint.is-leaving{opacity:0;transform:translate(50%,-4px)}
.site-header .header-account-button:hover{border-color:rgba(15,118,110,.45);box-shadow:0 10px 24px rgba(25,70,58,.13),inset 0 1px 0 #fff;transform:translateY(-2px)}
.site-header .header-account-button:active{box-shadow:inset 0 1px 3px rgba(0,0,0,.12);transform:scale(.96)}
.site-header .header-account-button:focus-visible{outline:3px solid rgba(15,118,110,.26);outline-offset:3px}
@media(min-width:761px){
 .site-header .nav{grid-template-columns:minmax(190px,.74fr) minmax(280px,1.55fr) minmax(0,auto) auto!important}
 .site-header .header-actions{grid-column:4!important}
 .site-header .header-actions>.cart-button,.site-header .header-actions>.mobile-nav-toggle{grid-column:auto!important;grid-row:auto!important}
 .site-header .header-actions>.mobile-nav-toggle{display:none!important}
}
@media(max-width:760px){
 .site-header .nav,.product-detail-page .nav{grid-template-columns:minmax(0,1fr) auto!important;gap:5px!important}
 .site-header .header-actions{grid-column:2!important;grid-row:1!important;gap:5px}
 .site-header .header-actions>.header-account-button,.site-header .header-actions>.cart-button,.site-header .header-actions>.mobile-nav-toggle{display:grid!important;width:44px!important;height:44px!important;min-height:44px!important;grid-column:auto!important;grid-row:auto!important;border-radius:14px!important}
 .site-header .header-account-button svg{width:25px;height:25px}
 .site-header .nav>.nav-links{grid-column:1/-1!important}
}
@media(max-width:380px){
 .site-header .header-actions{gap:3px}
 .site-header .header-actions>.header-account-button,.site-header .header-actions>.cart-button,.site-header .header-actions>.mobile-nav-toggle{width:40px!important;height:40px!important;min-height:40px!important}
 .site-header .brand img{width:102px!important;flex-basis:102px!important}
 .site-header .brand::before{width:40px!important;flex-basis:40px!important}
}

/* Account-bound favorites: text on desktop, a compact star on mobile. */
.site-header .header-favorites-button{position:relative;box-sizing:border-box;display:inline-flex;min-width:118px;height:46px;min-height:46px;align-items:center;justify-content:center;gap:8px;padding:0 15px;border:1px solid #d8dfdc;border-radius:15px;background:#f4f6f5;color:#8b9491;box-shadow:0 6px 16px rgba(28,48,42,.06);font-size:.78rem;font-weight:850;line-height:1;text-decoration:none;transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease}
.site-header .header-favorites-button svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-header .header-favorites-button.is-authenticated{border-color:#b9cee8;background:#f3f8fe;color:#2f6fb3}
.site-header .header-favorites-button.is-current,.site-header .header-favorites-button.is-authenticated:hover{border-color:#78a9df;background:#eaf3fd;color:#175fbb;box-shadow:0 8px 18px rgba(31,105,183,.12)}
.site-header .header-favorites-button:focus-visible{outline:3px solid rgba(38,112,190,.24);outline-offset:3px}
.site-header .header-favorites-button:active{box-shadow:inset 0 1px 3px rgba(0,0,0,.1)}

.product-image-wrap>.product-favorite-button{position:absolute;z-index:12;left:12px;bottom:12px;display:grid;width:46px;height:46px;place-items:center;padding:0;border:1px solid rgba(70,83,91,.2);border-radius:50%;background:rgba(247,249,250,.94);color:#8d969b;box-shadow:0 7px 20px rgba(24,37,45,.15);cursor:pointer;touch-action:manipulation;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease}
.product-image-wrap>.product-favorite-button svg{display:block;width:24px;height:24px;fill:transparent;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:fill .18s ease,transform .18s ease}
.product-image-wrap>.product-favorite-button:hover{border-color:#93a2aa;background:#fff;color:#68757b;box-shadow:0 9px 24px rgba(24,37,45,.2)}
.product-image-wrap>.product-favorite-button.is-favorited{border-color:#2779d2;background:#e9f3ff;color:#1671d2;box-shadow:0 8px 22px rgba(22,113,210,.22)}
.product-image-wrap>.product-favorite-button.is-favorited svg{fill:currentColor;transform:scale(1.04)}
.product-image-wrap>.product-favorite-button:focus-visible{outline:3px solid rgba(22,113,210,.3);outline-offset:3px}
.product-image-wrap>.product-favorite-button[aria-busy="true"]{cursor:wait;opacity:.62}

.favorites-main{min-height:64vh;padding-top:34px}
.favorites-hero{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:0 0 28px;padding:28px 30px;border:1px solid #dce7e3;border-radius:22px;background:linear-gradient(135deg,#f8fbfa,#eef6f4)}
.favorites-hero .eyebrow{margin:0 0 7px;color:#15766b;font-size:.68rem;font-weight:850;letter-spacing:.16em}
.favorites-hero h1{margin:0;color:#17241f;font-size:clamp(2rem,4vw,3rem);line-height:1.08}
.favorites-total{display:flex;min-width:126px;align-items:baseline;justify-content:center;gap:6px;padding:13px 17px;border-radius:14px;background:#fff;color:#60706a;box-shadow:0 7px 18px rgba(30,67,56,.08);font-size:.76rem;font-weight:750;white-space:nowrap}
.favorites-total strong{color:#176fbd;font-size:1.45rem}
.favorites-groups{gap:32px}
.favorite-group .brand-heading{align-items:end}
.favorite-group .brand-heading .eyebrow{margin-bottom:4px;color:#2a72b8}
.favorites-empty{display:grid;min-height:330px;place-items:center;align-content:center;gap:10px;padding:40px 22px;border:1px dashed #c9d8d2;border-radius:22px;background:#f8faf9;text-align:center}
.favorites-empty>span{display:grid;width:64px;height:64px;place-items:center;border-radius:50%;background:#eaf2f9;color:#3478ba;font-size:2rem;line-height:1}
.favorites-empty h2{margin:6px 0 0;color:#22302b;font-size:1.35rem}
.favorites-empty p{max-width:420px;margin:0;color:#718079;font-size:.82rem;line-height:1.6}
.favorites-empty .button{margin-top:8px;text-decoration:none}

@media(max-width:760px){
 .site-header .header-actions>.header-favorites-button,.site-header .header-actions>.header-favorites-button:hover,.site-header .header-actions>.header-favorites-button:active{display:grid!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;place-items:center;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#929a97;box-shadow:none!important}
 .site-header .header-actions>.header-favorites-button.is-authenticated{color:#216dbb}
 .site-header .header-favorites-button span{display:none}
 .site-header .header-favorites-button svg{width:23px;height:23px}
 .favorites-main{padding-top:20px}
 .favorites-hero{align-items:start;flex-direction:column;margin-bottom:20px;padding:22px 20px;border-radius:18px}
 .favorites-hero h1{font-size:2rem}
 .favorites-total{min-width:0;padding:9px 13px}
 .product-image-wrap>.product-favorite-button{left:10px;bottom:10px;width:44px;height:44px}
 .product-image-wrap>.product-favorite-button svg{width:22px;height:22px}
}
@media(max-width:380px){
 .site-header .header-actions>.header-favorites-button{width:37px!important;min-width:37px!important;height:37px!important;min-height:37px!important}
 .site-header .header-favorites-button svg{width:21px;height:21px}
}
@media(prefers-reduced-motion:reduce){.site-header .header-favorites-button,.product-image-wrap>.product-favorite-button,.product-image-wrap>.product-favorite-button svg{transition:none}}

/* Right-side customer centre drawer. */
body.account-drawer-open{overflow:hidden}.customer-account-drawer{inset:0 0 0 auto;width:min(94vw,560px);max-width:560px;height:100vh;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:transparent;box-shadow:-24px 0 70px rgba(7,25,22,.2);overflow:visible}.customer-account-drawer::backdrop{background:rgba(8,18,18,.42);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}.customer-account-drawer[open]{animation:account-drawer-enter .34s cubic-bezier(.2,.78,.25,1) both}.customer-account-drawer[open].is-closing{animation:account-drawer-exit .26s cubic-bezier(.4,0,1,1) both;pointer-events:none}.customer-account-drawer-shell{display:grid;height:100%;grid-template-rows:auto minmax(0,1fr);background:#f1f5f3}.customer-account-drawer-shell>header{display:flex;align-items:center;justify-content:space-between;min-height:72px;padding:12px 18px;border-bottom:1px solid #dfe8e4;background:rgba(255,255,255,.96)}.customer-account-drawer-shell>header div{display:grid;gap:2px}.customer-account-drawer-shell>header small{color:#0f766e;font-size:.58rem;font-weight:850;letter-spacing:.16em}.customer-account-drawer-shell>header strong{color:#17231f;font-size:1.12rem}.customer-account-drawer-shell>header button{display:grid;width:44px;height:44px;place-items:center;padding:0;border:1px solid #d9e3df;border-radius:50%;background:#fff;color:#25322e;font-size:27px;line-height:1;cursor:pointer}.customer-account-drawer-shell>header button:hover{background:#eef5f2}.customer-account-drawer-shell>header button:focus-visible{outline:3px solid rgba(15,118,110,.2);outline-offset:2px}.customer-account-drawer iframe{display:block;width:100%;height:100%;border:0;background:#f1f5f3}@keyframes account-drawer-enter{from{opacity:.72;transform:translateX(100%)}to{opacity:1;transform:none}}@keyframes account-drawer-exit{from{opacity:1;transform:none}to{opacity:.55;transform:translateX(100%)}}@media(max-width:600px){.customer-account-drawer{width:100vw;max-width:none}.customer-account-drawer-shell>header{min-height:66px;padding:10px 14px}}@media(prefers-reduced-motion:reduce){.customer-account-drawer[open],.customer-account-drawer[open].is-closing{animation:none}}

/* Customer login modal shared by every storefront page. */
.customer-login-dialog{width:min(92vw,440px);max-width:440px;padding:0;border:0;border-radius:24px;background:transparent;color:#17231f;box-shadow:0 28px 80px rgba(5,17,18,.32)}
.customer-login-dialog::backdrop{background:rgba(8,18,18,.56);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.customer-login-dialog[open]{animation:customer-login-fade .2s ease-out both}
.customer-login-shell{position:relative;box-sizing:border-box;padding:30px;border:1px solid rgba(255,255,255,.78);border-radius:24px;background:rgba(255,255,255,.98)}
.customer-login-close{position:absolute;top:16px;right:16px;display:grid;width:38px;height:38px;place-items:center;padding:0;border:1px solid #dce3e0;border-radius:50%;background:#fff;color:#27312e;font-size:25px;line-height:1;cursor:pointer}
.customer-login-eyebrow{margin:0 48px 8px 0;color:#0f766e;font-size:.64rem;font-weight:850;letter-spacing:.18em}
.customer-login-shell h2{margin:0;color:#17231f;font-size:1.55rem;line-height:1.2}
.customer-login-intro{margin:10px 0 22px;color:#6c7772;font-size:.76rem;line-height:1.65}
.customer-login-dialog form{display:grid;gap:14px}
.customer-login-shell h2+.customer-login-message[hidden]+form{margin-top:22px}
.customer-login-dialog label{display:grid;gap:7px;color:#26332f;font-size:.7rem;font-weight:800}
.customer-login-dialog input:not([type=hidden]){box-sizing:border-box;width:100%;height:48px;padding:0 14px;border:1px solid #d6dedb;border-radius:12px;background:#fff;color:#17231f;font:inherit;font-size:.8rem;outline:0;transition:border-color .18s ease,box-shadow .18s ease}
.customer-login-dialog input:not([type=hidden]):focus{border-color:#2b9484;box-shadow:0 0 0 4px rgba(43,148,132,.12)}
.customer-login-dialog form button{height:48px;margin-top:3px;border:0;border-radius:12px;background:#0f766e;color:#fff;font-size:.78rem;font-weight:850;cursor:pointer}
.customer-login-dialog form button:disabled{cursor:wait;opacity:.62}
.customer-login-dialog .customer-login-remember{display:flex;align-items:center;gap:8px;margin:-2px 0 1px;color:#697570;font-size:.66rem;font-weight:700;cursor:pointer}
.customer-login-dialog .customer-login-remember input{width:17px;height:17px;margin:0;accent-color:#0f766e}
.customer-login-message{margin:0 0 14px;padding:10px 12px;border-radius:10px;background:#fff0ef;color:#b43a32;font-size:.68rem;font-weight:700;line-height:1.45}
.customer-login-message[hidden]{display:none}
.customer-login-footnote{margin:14px 0 0;color:#7a8581;font-size:.64rem;text-align:center}
.customer-login-types{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.customer-login-types button{display:grid;height:48px;place-content:center;gap:2px;padding:0 12px;border:1px solid #d8e1dd;border-radius:11px;background:#f7faf9;color:#52605b;cursor:pointer;transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease}
.customer-login-types button small{color:#0f766e;font-size:.52rem;font-weight:850;letter-spacing:.08em}
.customer-login-types button strong{font-size:.7rem;font-weight:850}
.customer-login-types button:hover{border-color:#91bdb2;background:#eef7f4;color:#0f766e}
.customer-login-types button:active{transform:scale(.98)}
.customer-login-types button:focus-visible{outline:3px solid rgba(15,118,110,.16);outline-offset:2px}
@keyframes customer-login-fade{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:520px){.customer-login-shell{padding:25px 20px 22px}.customer-login-shell h2{font-size:1.38rem}.customer-login-intro{margin-right:20px}.customer-login-dialog input:not([type=hidden]),.customer-login-dialog form button{height:46px}}
@media(prefers-reduced-motion:reduce){.customer-login-dialog[open]{animation:none}}
@media(prefers-reduced-motion:reduce){.site-header .header-account-hint{transition:none}}

/* Refined login hierarchy and tutorial cards. */
.customer-login-shell{overflow:hidden;padding:28px 26px 24px}
.customer-login-accent{position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,#0f766e 0 58%,#d8a134 58% 72%,#31526a 72%)}
.customer-login-heading{display:flex;align-items:center;gap:12px;margin:2px 48px 22px 0}
.customer-login-heading-icon{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:13px;background:#e9f5f1;color:#0f766e;font-size:.72rem;font-weight:900}
.customer-login-heading-icon svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.customer-login-heading .customer-login-eyebrow{margin:0 0 3px;font-size:.52rem}
.customer-login-heading h2{font-size:1.34rem}
.customer-login-shell h2+.customer-login-message[hidden]+form{margin-top:0}
.customer-login-dialog form{gap:12px}
.customer-login-dialog label:not(.customer-login-remember){gap:6px;font-size:.64rem}
.customer-login-dialog input:not([type=hidden]){height:46px;border-color:#dce3e0;border-radius:11px;background:#f8faf9}
.customer-login-dialog input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #f8faf9 inset!important;-webkit-text-fill-color:#17231f!important}
.customer-login-dialog .customer-login-remember{position:relative;display:grid;grid-template-columns:34px 1fr;gap:10px;min-height:45px;margin:1px 0;padding:8px 10px;border:1px solid #e1e7e4;border-radius:11px;background:#f8faf9}
.customer-login-dialog .customer-login-remember input{position:absolute;width:1px;height:1px;opacity:0}
.customer-login-dialog .customer-login-remember>i{position:relative;width:32px;height:20px;border-radius:999px;background:#cbd4d0;transition:background .18s ease}
.customer-login-dialog .customer-login-remember>i::after{position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);content:"";transition:transform .18s ease}
.customer-login-dialog .customer-login-remember input:checked+i{background:#0f766e}
.customer-login-dialog .customer-login-remember input:checked+i::after{transform:translateX(12px)}
.customer-login-dialog .customer-login-remember>span{display:grid;gap:1px}
.customer-login-dialog .customer-login-remember strong{color:#35423e;font-size:.63rem}
.customer-login-dialog .customer-login-remember small{color:#87918d;font-size:.52rem;font-weight:600}
.customer-login-dialog form>button{height:46px;margin-top:1px;background:linear-gradient(135deg,#0f766e,#278d7d);box-shadow:0 8px 18px rgba(15,118,110,.18)}
.customer-login-forgot{display:flex;min-height:38px;align-items:center;justify-content:flex-end;margin-top:-9px;color:#0f766e;font-size:.68rem;font-weight:800;text-decoration:none}.customer-login-forgot:hover{text-decoration:underline}.customer-login-forgot:focus-visible{outline:3px solid rgba(15,118,110,.16);outline-offset:2px;border-radius:5px}
.customer-login-types{gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #edf0ee}
.customer-login-types button{display:grid;height:58px;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;padding:7px 9px;text-align:left}
.customer-login-types button>span{display:grid;width:28px;height:28px;place-items:center;border-radius:9px;background:#e7f4f0;color:#0f766e;font-size:.66rem;font-weight:900}
.customer-login-types button>div{display:grid;gap:1px}
.customer-login-types button small{font-size:.48rem;letter-spacing:.04em}
.customer-login-types button strong{font-size:.66rem}
.customer-login-types button>b{color:#7e8a85;font-size:.75rem}
@media(max-width:520px){.customer-login-shell{padding:25px 18px 20px}.customer-login-heading{margin-bottom:18px}.customer-login-heading-icon{width:38px;height:38px;flex-basis:38px}.customer-login-heading h2{font-size:1.22rem}}

/* Readable login typography. */
.customer-login-heading .customer-login-eyebrow{font-size:.61rem!important}
.customer-login-heading h2{font-size:1.48rem!important}
.customer-login-dialog label:not(.customer-login-remember){font-size:.75rem!important}
.customer-login-dialog input:not([type=hidden]){font-size:.86rem!important}
.customer-login-dialog .customer-login-remember strong{font-size:.73rem!important}
.customer-login-dialog .customer-login-remember small{font-size:.62rem!important;line-height:1.35!important}
.customer-login-dialog form>button{font-size:.82rem!important}
.customer-login-types button small{font-size:.58rem!important}
.customer-login-types button strong{font-size:.78rem!important}
.customer-login-types button>b{font-size:.86rem!important}
.customer-login-tutorial{margin-top:14px;padding-top:13px;border-top:1px solid #edf0ee}.customer-login-tutorial h3{margin:0 0 9px;color:#586660;font-size:.68rem;letter-spacing:.08em}.customer-login-tutorial .customer-login-types{margin:0;padding:0;border:0}.customer-login-tutorial-panel{margin-top:8px;padding:12px 13px;border:1px solid #dce8e3;border-radius:12px;background:#f4f9f7;color:#53625d;font-size:.7rem;line-height:1.6}.customer-login-tutorial-panel strong{color:#17231f;font-size:.75rem}.customer-login-tutorial-panel p{margin:3px 0 0}.customer-login-tutorial-panel b{color:#0f766e;font-size:.78rem}.customer-login-types button[aria-expanded="true"]{border-color:#78b6a7;background:#eaf6f2;color:#0f766e}
@media(max-width:520px){.customer-login-heading h2{font-size:1.34rem!important}.customer-login-dialog label:not(.customer-login-remember){font-size:.7rem!important}.customer-login-dialog input:not([type=hidden]){font-size:.82rem!important}.customer-login-dialog .customer-login-remember strong{font-size:.68rem!important}.customer-login-dialog .customer-login-remember small{font-size:.58rem!important}.customer-login-types button strong{font-size:.73rem!important}}

/* Smaller mobile wordmark; keep the symbol and controls unchanged. */
@media(max-width:760px){
 .site-header .brand img{width:76px!important;height:30px!important;flex-basis:76px!important}
}
@media(max-width:380px){
 .site-header .brand img{width:70px!important;height:28px!important;flex-basis:70px!important}
}

/* Mobile header proportion refinement. */
@media(max-width:760px){
 .site-header .nav,.product-detail-page .nav{min-height:68px!important;padding-block:4px!important}
 .site-header .brand::before{width:41px!important;height:42px!important;flex-basis:41px!important;background-size:56px 56px!important}
 .site-header .brand img{width:92px!important;height:35px!important;flex-basis:92px!important}
 .site-header .header-actions{gap:4px!important}
 .site-header .header-actions>.header-account-button,
 .site-header .header-actions>.cart-button,
 .site-header .header-actions>.mobile-nav-toggle,
 .site-header .header-actions>.header-account-button:hover,
 .site-header .header-actions>.cart-button:hover,
 .site-header .header-actions>.mobile-nav-toggle:hover,
 .site-header .header-actions>.header-account-button:active,
 .site-header .header-actions>.cart-button:active,
 .site-header .header-actions>.mobile-nav-toggle:active{width:44px!important;height:44px!important;min-height:44px!important}
 .site-header .header-account-button svg{width:26px!important;height:26px!important}
 .site-header .header-actions>.cart-button::before{width:27px!important;height:27px!important}
 .site-header .header-actions>.mobile-nav-toggle img{width:27px!important;height:27px!important}
}
@media(max-width:380px){
 .site-header .nav,.product-detail-page .nav{min-height:64px!important;padding-block:3px!important}
 .site-header .brand::before{width:37px!important;height:39px!important;flex-basis:37px!important;background-size:51px 51px!important}
 .site-header .brand img{width:84px!important;height:33px!important;flex-basis:84px!important}
 .site-header .header-actions>.header-account-button,
 .site-header .header-actions>.cart-button,
 .site-header .header-actions>.mobile-nav-toggle{width:41px!important;height:41px!important;min-height:41px!important}
}

/* Compact borderless mobile header controls. */
@media(max-width:760px){
 .site-header .brand{gap:2px!important}
 .site-header .brand::before{width:43px!important;height:44px!important;flex-basis:43px!important;background-size:58px 58px!important}
 .site-header .brand img{width:108px!important;height:39px!important;flex-basis:108px!important}
 .site-header .header-actions{gap:3px!important}
 .site-header .header-actions>.header-account-button,
 .site-header .header-actions>.cart-button,
 .site-header .header-actions>.mobile-nav-toggle,
 .site-header .header-actions>.header-account-button:hover,
 .site-header .header-actions>.cart-button:hover,
 .site-header .header-actions>.mobile-nav-toggle:hover,
 .site-header .header-actions>.header-account-button:active,
 .site-header .header-actions>.cart-button:active,
 .site-header .header-actions>.mobile-nav-toggle:active{width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:none!important}
 .site-header .header-account-button svg{width:23px!important;height:23px!important}
 .site-header .header-actions>.cart-button::before{width:24px!important;height:24px!important}
 .site-header .header-actions>.mobile-nav-toggle img{width:24px!important;height:24px!important}
}
@media(max-width:380px){
 .site-header .brand::before{width:39px!important;height:41px!important;flex-basis:39px!important;background-size:53px 53px!important}
 .site-header .brand img{width:99px!important;height:37px!important;flex-basis:99px!important}
 .site-header .header-actions>.header-account-button,
 .site-header .header-actions>.cart-button,
 .site-header .header-actions>.mobile-nav-toggle{width:37px!important;height:37px!important;min-height:37px!important}
}

/* Stable product loading shell and per-image shimmer. */
.product-page-skeleton{display:none}
body.storefront-products-loading main.section>.container>.product-page-skeleton,
body.storefront-products-loading .korea-products>.container>.product-page-skeleton{display:grid;gap:34px;min-height:720px;padding:10px 0 42px}
body.storefront-products-loading main.section>.container>:not(.product-page-skeleton),
body.storefront-products-loading .korea-products>.container>:not(.product-page-skeleton){display:none!important}
.product-skeleton-status{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
.product-skeleton-section{display:grid;gap:18px}
.product-skeleton-heading{position:relative;display:grid;width:min(260px,58%);gap:10px;overflow:hidden}
.product-skeleton-heading i,.product-skeleton-heading b,.product-skeleton-line,.product-skeleton-button,.product-skeleton-search{display:block;border-radius:999px;background:#e5eae7}
.product-skeleton-heading i{width:42%;height:11px}
.product-skeleton-heading b{width:72%;height:30px}
.product-skeleton-search{position:relative;width:min(460px,100%);height:52px;overflow:hidden;border:1px solid #e0e6e3;background:#f1f4f2}
.product-skeleton-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.product-skeleton-card{position:relative;display:grid;min-width:0;height:100%;grid-template-rows:auto 13px 20px 13px 48px;align-content:start;gap:13px;padding:0 0 14px;overflow:hidden;border:1px solid #e2e7e4;border-radius:22px;background:#fff;box-shadow:0 9px 24px rgba(33,55,48,.045)}
.product-skeleton-media{position:relative;display:block;width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:21px 21px 0 0;background:#e7ebe9}
.product-skeleton-media::before{position:absolute;inset:0;display:grid;place-items:center;color:#89948f;font-size:.72rem;font-weight:800;letter-spacing:.08em;content:"載入中…"}
.product-skeleton-line{height:13px;margin-inline:12px}
.product-skeleton-line.is-short{width:42%}
.product-skeleton-line.is-title{width:78%;height:20px}
.product-skeleton-line.is-meta{width:62%}
.product-skeleton-button{height:48px;margin:0 12px;border-radius:13px;background:#dfe5e2}
.product-skeleton-card::after,.product-skeleton-heading::after,.product-skeleton-search::after,.product-image-placeholder::after{position:absolute;inset:0;content:"";pointer-events:none;transform:translateX(-120%);background:linear-gradient(104deg,transparent 28%,rgba(255,255,255,.18) 39%,rgba(255,255,255,.92) 50%,rgba(255,255,255,.24) 61%,transparent 72%);animation:product-loading-shimmer 1.4s cubic-bezier(.4,0,.2,1) infinite}
.product-skeleton-grid{align-items:stretch;grid-auto-rows:1fr}
.product-skeleton-grid .product-skeleton-card:nth-child(2)::after{animation-delay:.08s}
.product-skeleton-grid .product-skeleton-card:nth-child(3)::after{animation-delay:.16s}
.product-skeleton-grid .product-skeleton-card:nth-child(4)::after{animation-delay:.24s}
@keyframes product-loading-shimmer{from{transform:translateX(-120%)}to{transform:translateX(120%)}}

.product-image-wrap{position:relative}
.product-image-wrap>.product-image-placeholder{position:absolute;z-index:3;inset:0;overflow:hidden;border-radius:inherit;background:#e7ebe9;opacity:1;visibility:visible;transition:opacity .22s ease,visibility .22s ease}
.product-image-wrap>.product-image-trigger{position:relative;z-index:1;opacity:1;transition:opacity .24s ease}
.product-image-wrap.is-image-loading>.product-image-trigger{opacity:0}
.product-image-wrap.is-image-ready>.product-image-placeholder{opacity:0;visibility:hidden;pointer-events:none}
.product-image-wrap.is-image-error>.product-image-placeholder::after{animation:none}
.product-image-wrap.is-image-error>.product-image-placeholder::before{position:absolute;z-index:1;inset:0;display:grid;place-items:center;padding:16px;color:#7b8782;font-size:.72rem;font-weight:750;text-align:center;content:"圖片暫時無法載入"}

@media(max-width:900px){.product-skeleton-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 body.storefront-products-loading main.section>.container>.product-page-skeleton,
 body.storefront-products-loading .korea-products>.container>.product-page-skeleton{gap:30px;min-height:620px;padding:10px 0 32px}
 .product-skeleton-grid{grid-template-columns:minmax(0,1fr);gap:16px}
 .product-skeleton-grid .product-skeleton-card:nth-child(n+3){display:none}
 .product-skeleton-card{border-radius:20px}
 .product-skeleton-media{border-radius:19px 19px 0 0}
 .product-skeleton-heading b{height:27px}
}
@media(prefers-reduced-motion:reduce){
 .product-skeleton-card::after,.product-skeleton-heading::after,.product-skeleton-search::after,.product-image-placeholder::after{animation:none}
 .product-image-wrap>.product-image-placeholder,.product-image-wrap>.product-image-trigger{transition:none}
}
