/* Header-only polish. Existing cart and theme state owners are unchanged. */
.sticky-header-shell .header-actions{gap:18px;flex-shrink:0;align-items:center}
.sticky-header-shell .desktop-theme-control{display:flex;align-items:center}
.sticky-header-shell .theme-toggle{display:inline-flex;width:auto;min-width:88px;height:44px;gap:7px;padding:0 2px;border:0;border-radius:5px;background:transparent;color:var(--ink)}
.sticky-header-shell .theme-toggle:hover{background:transparent}
.sticky-header-shell .theme-toggle svg{display:block;width:15px;height:15px;opacity:.65}
.sticky-header-shell .theme-track{display:block;position:relative;width:36px;height:20px;flex-shrink:0;border:1px solid #858b96;border-radius:20px;background:#d8dce3}
.sticky-header-shell .theme-thumb{display:block;position:absolute;left:3px;top:3px;width:12px;height:12px;border-radius:50%;background:#343942;transition:transform .16s ease}
[data-theme=dark] .sticky-header-shell .theme-track{background:#343942;border-color:#9198a5}
[data-theme=dark] .sticky-header-shell .theme-thumb{background:#eef0f4;transform:translateX(16px)}
[data-theme=light] .sticky-header-shell .theme-sun,[data-theme=dark] .sticky-header-shell .theme-moon{opacity:1;stroke-width:2}
.sticky-header-shell .header-actions .cart-link{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;flex-shrink:0;padding:8px 12px 10px;border:1px solid #747b86;border-radius:5px;background:#252a32;color:#f6f7fa;white-space:nowrap;line-height:1;transition:background .16s ease,transform .12s ease}
.sticky-header-shell .cart-link::after{content:'';position:absolute;bottom:0;left:8px;right:8px;height:2px;border-radius:2px;background:var(--brand-gradient);pointer-events:none}
.sticky-header-shell .header-actions .cart-link:hover{background:#363d48;color:#fff;border-color:#747b86}
.sticky-header-shell .cart-link:active{transform:translateY(1px)}
.sticky-header-shell .header-cart-icon{width:18px;height:18px;flex-shrink:0}
.sticky-header-shell .cart-label{display:inline;font-weight:600}
.sticky-header-shell .cart-link .cart-count{display:inline-flex;align-items:center;justify-content:center;width:25px;min-width:25px;height:25px;margin:0;padding:0 2px;border:0;border-radius:50%;background:#932ca4;color:#fff;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:0;line-height:1}
.sticky-header-shell .cart-link:focus-visible,.sticky-header-shell .theme-toggle:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
.sticky-header-shell .mobile-theme-control{display:none}
@media(max-width:1279px){.sticky-header-shell .desktop-theme-control{display:none}.sticky-header-shell .mobile-theme-control{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--rule);margin-top:12px;padding:14px 0 2px}.mobile-theme-control b{font-size:13px;font-weight:500}.sticky-header-shell .header-actions{gap:10px}}
@media(max-width:760px){.sticky-header-shell .header-actions{gap:6px}.sticky-header-shell .brand{width:148px;flex-basis:148px;max-width:calc(100% - 170px)}.sticky-header-shell .header-actions .cart-link{padding-inline:9px;gap:6px}.sticky-header-shell .cart-label{display:inline}.sticky-header-shell .site-header{gap:8px;padding-inline:16px}}
@media(max-width:359px){.sticky-header-shell .brand{width:116px;flex-basis:116px}.sticky-header-shell .site-header{padding-inline:12px;gap:4px}.sticky-header-shell .header-actions{gap:4px}.sticky-header-shell .header-actions .cart-link{padding-inline:7px;gap:5px}.sticky-header-shell .header-cart-icon{width:16px;height:16px}}
@media(prefers-reduced-motion:reduce){.sticky-header-shell .theme-thumb,.sticky-header-shell .cart-link{transition:none}}
@media(forced-colors:active){.sticky-header-shell .theme-track,.sticky-header-shell .cart-link,.sticky-header-shell .cart-count{border:1px solid ButtonText}.sticky-header-shell .theme-thumb{background:ButtonText}.sticky-header-shell .cart-link::after{background:Highlight}}
@media(min-width:1280px) and (max-width:1399px){.sticky-header-shell .brand{width:190px;flex-basis:190px}.sticky-header-shell .desktop-nav{gap:14px}.sticky-header-shell .header-actions{gap:12px}body .sticky-header-shell .site-header{gap:16px}}
.sticky-header-shell .cart-link .cart-label{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:nowrap}
