/* Seasonal layer: switching Winter off restores the underlying shop unchanged. */
body.winter-on{--canvas:#f2f6fa;--paper:#fffefd;--paper-2:#f5f7fb;--ink:#263748;--muted:#5d6f80;--subtle:#75889a;--line:#dce5ee;--line-2:#e7edf3;--accent:#647fa9;--accent-bg:#e9eff8;--accent-ink:#435f8a;--winter-snow:#fbfdff;--winter-snow-edge:#d7e7f4;--winter-rose:#d6b5c0;--winter-glow:#f1d7a9;background-image:radial-gradient(ellipse at 80% 0,rgba(187,207,232,.15),transparent 45%)}
:root[data-theme="dark"] body.winter-on{--canvas:#090c11;--paper:#151b24;--paper-2:#1c2531;--ink:#eff5fc;--muted:#b4c3d2;--subtle:#91a5ba;--line:#303e50;--line-2:#253244;--accent:#718db7;--accent-bg:#26364b;--accent-ink:#cbddf5;--winter-snow:#dbeaf7;--winter-snow-edge:#acc5dd;--winter-rose:#d0a9b8;--winter-glow:#f1d7a9;background-image:radial-gradient(ellipse at 80% 0,rgba(110,139,184,.09),transparent 43%)}
.winter-toggle{display:inline-grid;place-items:center;flex:none;position:relative}
.winter-toggle svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;fill:none}
.winter-toggle[aria-pressed="true"]{color:var(--accent-ink);background:var(--accent-bg);border-color:var(--line)}
.winter-toggle[aria-pressed="true"]::after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:currentColor;bottom:3px;right:4px}
body.winter-on .topbar{box-shadow:0 3px 20px rgba(77,111,151,.035)}
body.winter-on .topbar::before{content:"";position:absolute;inset:0 0 auto;height:8px;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='8' viewBox='0 0 160 8'%3E%3Cpath d='M0 1Q40 8 80 1T160 1' stroke='%237c8fa8' opacity='.45' fill='none'/%3E%3Ccircle cx='20' cy='4' r='1.7' fill='%23ecd5af'/%3E%3Ccircle cx='60' cy='4' r='1.7' fill='%23b9cddd'/%3E%3Ccircle cx='100' cy='2' r='1.7' fill='%23d0b6cd'/%3E%3Ccircle cx='140' cy='2' r='1.7' fill='%23ecd5af'/%3E%3C/svg%3E");background-repeat:repeat-x}
body.winter-on .brand-mark-fire{position:relative}
body.winter-on .brand-mark-fire::after{content:"";position:absolute;right:-5px;top:-9px;width:30px;height:22px;transform:rotate(13deg);pointer-events:none;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cpath d='M5 22C5 7 14-2 28 7l6 10-7-4-7 10' fill='%23be7a8e'/%3E%3Crect x='2' y='20' width='26' height='7' rx='3.5' fill='%23f5f9fc'/%3E%3Ccircle cx='34' cy='18' r='5' fill='%23f5f9fc'/%3E%3C/svg%3E")}
body.winter-on .sidebar{background:var(--paper)}
body.winter-on .support-card{position:relative;border-color:var(--line);background:var(--paper-2)}
body.winter-on .support-card::after{content:"";position:absolute;right:11px;top:-14px;width:25px;height:31px;pointer-events:none;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 36'%3E%3Cpath d='M14 3 23 17h-5l8 13H2l8-13H5L14 3Z' fill='%2390aabd'/%3E%3Cpath d='m14 3 5 8-5-2-5 2 5-8ZM5 17l9-3 9 3-9 3-9-3Z' fill='%23eef5fb'/%3E%3Cpath d='M14 30v5' stroke='%23b6a394' stroke-width='3'/%3E%3Ccircle cx='14' cy='2' r='2' fill='%23e6c891'/%3E%3C/svg%3E")}
body.winter-on .winter-shop-head{display:grid;grid-template-columns:minmax(0,1fr) 164px;align-items:center;column-gap:16px;row-gap:12px;min-height:114px;margin-bottom:22px}
body.winter-on .winter-shop-head>div:first-child{grid-column:1;grid-row:1;align-self:end}
body.winter-on .winter-shop-head>.page-actions{grid-column:1;grid-row:2;align-self:start}
body.winter-on .winter-village{grid-column:2;grid-row:1/span 2;align-self:center;width:164px;height:112px;pointer-events:none;user-select:none}
.winter-village img{display:block;width:100%;height:100%;object-fit:contain}
.winter-greeting{display:inline-flex;align-items:center;gap:6px;color:var(--accent-ink);font-size:11px;font-weight:650;letter-spacing:.015em;line-height:1.4;margin:0 0 2px}
.winter-greeting svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round}
body.winter-on .winter-shop-head .eyebrow{display:none}
body.winter-on .winter-shop-head h1{margin-top:5px}
body.winter-on .featured-hero{position:relative;border-color:var(--line);background:radial-gradient(ellipse at 10% 0,rgba(150,176,211,.085),transparent 60%),var(--paper)}
body.winter-on .featured-copy{position:relative;z-index:1}
body.winter-on .featured-art{border-color:var(--line);background:var(--paper-2)}
body.winter-on .product-card{position:relative;border-color:var(--line)}
body.winter-on .product-card::after,body.winter-on .featured-hero::after{content:"";pointer-events:none;position:absolute;inset:-1px 0 auto;height:10px;z-index:2;background:var(--winter-snow);border-bottom:1px solid var(--winter-snow-edge);opacity:.9;clip-path:polygon(0 0,100% 0,100% 35%,96% 29%,93% 56%,86% 37%,81% 31%,77% 65%,68% 32%,62% 42%,57% 23%,52% 67%,44% 38%,38% 55%,32% 22%,27% 34%,23% 70%,17% 34%,10% 53%,4% 31%,0 47%)}
body.winter-on .product-card:hover{border-color:var(--accent)}
body.winter-on .product-art::after{content:"";position:absolute;right:9px;bottom:9px;width:29px;height:30px;pointer-events:none;opacity:.96;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 38'%3E%3Crect x='5' y='15' width='26' height='20' rx='4' fill='%23bfafcd'/%3E%3Crect x='3' y='11' width='30' height='8' rx='3' fill='%23cebfda'/%3E%3Cpath d='M18 11v24' stroke='%23f1e4d2' stroke-width='4'/%3E%3Cpath d='M18 12C3 13 5 1 12 5l6 7Zm0 0C33 13 31 1 24 5l-6 7Z' stroke='%23f1e4d2' stroke-width='2.5' fill='none'/%3E%3C/svg%3E")}
body.winter-on .product-card:nth-child(even) .product-art::after{filter:hue-rotate(33deg);transform:rotate(6deg)}
body.winter-on .modal{border-color:var(--line);box-shadow:0 25px 90px rgba(9,25,45,.25)}
body.winter-on .modal-head{position:relative;background:linear-gradient(105deg,var(--paper),var(--paper-2));overflow:hidden}
body.winter-on .modal-head::after{content:"";position:absolute;right:57px;top:9px;width:43px;height:44px;opacity:.4;pointer-events:none;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg stroke='%239ab6cf' fill='none' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M30 4v52M7 17l46 26M7 43l46-26M23 9l7 7 7-7M23 51l7-7 7 7M9 25l10-2-2-10M51 35l-10 2 2 10M17 47l2-10-10-2M43 13l-2 10 10 2'/%3E%3C/g%3E%3C/svg%3E")}
body.winter-on .modal-head>div,body.winter-on .modal-head h2,body.winter-on .modal-close{position:relative;z-index:1}
body.winter-on .button[data-action="buy-selected"]::before,body.winter-on .purchase-confirm-actions .button.primary::before{content:"";display:inline-block;vertical-align:-3px;width:16px;height:17px;margin-right:7px;pointer-events:none;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 26'%3E%3Cpath d='M4 11h16v13H4zM2 7h20v5H2z' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M12 8v16m0-16C2 9 3 0 8 3l4 5Zm0 0c10 1 9-8 4-5l-4 5Z' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")}
.winter-snow{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:44;contain:strict;user-select:none}
.winter-snow i{position:absolute;top:-16px;left:var(--x);display:block;width:var(--size);height:var(--size);border-radius:50%;background:#dceaf7;opacity:0;animation:winter-fall var(--duration) linear infinite;animation-delay:var(--delay);will-change:transform}
:root:not([data-theme="dark"]) .winter-snow i{background:#8eabc3}
@keyframes winter-fall{0%{transform:translate3d(0,-15px,0);opacity:0}10%{opacity:var(--opacity)}85%{opacity:var(--opacity)}100%{transform:translate3d(var(--drift),105vh,0);opacity:0}}
body.winter-paused .winter-snow i{animation-play-state:paused}
@media(min-width:1060px){body.winter-on .winter-shop-head{grid-template-columns:minmax(0,1fr) 195px;min-height:126px}body.winter-on .winter-village{width:195px;height:126px}}
@media(max-width:780px){body.winter-on .winter-shop-head{grid-template-columns:minmax(0,1fr) 110px;column-gap:8px;min-height:106px}body.winter-on .winter-village{width:110px;height:98px;grid-row:1;align-self:center}body.winter-on .winter-shop-head>.page-actions{grid-column:1/-1;grid-row:2}body.winter-on .winter-shop-head h1{font-size:25px;line-height:1.13}body.winter-on .winter-shop-head p{font-size:12px;line-height:1.5}body.winter-on .breadcrumbs{position:relative}body.winter-on .breadcrumbs::before{content:"";position:absolute;left:9px;top:-8px;width:23px;height:18px;transform:rotate(14deg);pointer-events:none;z-index:1;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cpath d='M5 22C5 7 14-2 28 7l6 10-7-4-7 10' fill='%23be7a8e'/%3E%3Crect x='2' y='20' width='26' height='7' rx='3.5' fill='%23f5f9fc'/%3E%3Ccircle cx='34' cy='18' r='5' fill='%23f5f9fc'/%3E%3C/svg%3E")}}
@media(max-width:400px){body.winter-on .winter-shop-head{grid-template-columns:minmax(0,1fr) 90px;column-gap:5px}body.winter-on .winter-village{width:90px;height:90px}body.winter-on .winter-shop-head h1{font-size:24px}body.winter-on .winter-shop-head p{font-size:11px}.winter-toggle{width:31px;height:33px}body.winter-on .topbar-actions{gap:6px}body.winter-on .connection-dot{display:none}}
@media(prefers-reduced-motion:reduce){.winter-snow{display:none}.winter-snow i{animation:none}}
@media print{.winter-snow,.winter-village,.winter-toggle,.winter-greeting{display:none!important}body.winter-on .product-card::after,body.winter-on .featured-hero::after,body.winter-on .product-art::after,body.winter-on .modal-head::after,body.winter-on .topbar::before{display:none!important}}
