/* Christmas look (body.season-xmas): loaded after site.css only while the season is on. Brand red is --brand (#E3121B). */

/* The hat: drawn inside the mask's own <svg> (storefront/templatetags/sf.py sf_mask), so it scales and floats with the helmet. */
.sf-mask--hat{overflow:visible}
.sf-hat__pom{transform-box:fill-box;transform-origin:50% 12%}
@media (prefers-reduced-motion:no-preference){
.sf-hat__pom{animation:xSway 7s ease-in-out infinite}
@keyframes xSway{0%,100%{transform:rotate(-3.5deg)}50%{transform:rotate(3.5deg)}}
}

/* Snow in the home hero (season.js adds the canvas): behind the text, never takes a tap, no layout shift. */
.season-xmas .hero{position:relative}
.season-snow{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:1}
.season-xmas .hero__in{z-index:2}

/* Snow cap on the hero's "Shop the catalog" button: a drift of overlapping lumps on the top edge, a little wider than the button.
   Pure decoration (a pseudo-element): same size, hit area, focus ring and text contrast as the plain button. */
.season-xmas .hero__acts .btn.buy{position:relative}
.season-xmas .hero__acts .btn.buy::before{content:"";position:absolute;left:2px;right:2px;top:-8px;height:12px;pointer-events:none;z-index:1;
background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23fff'/%3E%3Cstop offset='.7' stop-color='%23f3f5f8'/%3E%3Cstop offset='1' stop-color='%23d9e1ea'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url%28%23g%29' d='M0 13C2 9 6 8 12 8C18 5 28 4 36 7C44 3 58 3 66 6C74 4 84 5 90 8C100 4 116 3 126 6C136 2 152 2 162 6C170 4 182 5 188 8C198 4 214 4 222 7C232 3 246 3 256 6C264 5 276 6 282 8C290 7 297 9 300 13C298 14 292 14 288 14C284 14 283 17 280 17C277 17 276 14 272 14L214 14C210 14 209 18 206 18C203 18 203 14 199 14L120 14C116 14 115 16 112 16C109 16 109 14 105 14L52 14C48 14 47 18 44 18C41 18 41 14 37 14L6 14C3 14 1 14 0 13Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
filter:drop-shadow(0 1px 1px rgba(8,9,10,.35))}

/* 404: the hatted helmet and one line above the usual help. */
.season-xmas .sf-error__mask{width:96px;margin-top:44px}
.sf-error__xmas{margin:-4px 0 12px;font-weight:600;color:var(--t1)}
