/* Fab seasonal themes - only active when js/season.js adds html.season-* */

/* Fairy lights along the header's bottom edge */
.season-lights{position:absolute;left:0;right:0;bottom:-7px;height:16px;display:flex;justify-content:space-between;padding:0 18px;pointer-events:none;z-index:2}
.season-lights::before{content:"";position:absolute;left:0;right:0;top:3px;height:1px;background:linear-gradient(90deg,transparent,rgba(214,178,114,.55) 8%,rgba(214,178,114,.55) 92%,transparent)}
.season-lights span{position:relative;width:6px;height:9px;margin-top:4px;border-radius:50% 50% 45% 45%;background:#FFE9B8;box-shadow:0 0 6px 2px rgba(255,214,140,.75),0 0 14px 4px rgba(255,190,90,.35);animation:seasonTwinkle 2.8s ease-in-out infinite;animation-delay:calc(var(--i) * -.41s)}
.season-lights span:nth-child(3n+2){background:#FFF6E2}
.season-lights span:nth-child(4n){background:#F4CF86}
@keyframes seasonTwinkle{0%,100%{opacity:1}45%{opacity:.45}60%{opacity:.9}}

/* Hanging ornaments in the hero */
.season-ornaments{position:absolute;top:0;right:4%;width:min(360px,34vw);height:0;z-index:2;pointer-events:none}
.season-orn{position:absolute;top:0;width:54px;transform-origin:50% 0;animation:seasonSway 6s ease-in-out infinite}
.season-orn::before{content:"";position:absolute;left:50%;top:0;width:1px;height:var(--len);background:linear-gradient(rgba(214,178,114,.15),rgba(214,178,114,.85));transform:translateX(-.5px)}
.season-orn svg{position:absolute;top:var(--len);left:0;width:54px;height:auto;filter:drop-shadow(0 8px 14px rgba(0,0,0,.45))}
.season-orn--0{left:0}.season-orn--1{left:28%;width:64px}.season-orn--1 svg{width:64px}
.season-orn--2{left:56%;width:46px}.season-orn--2 svg{width:46px}.season-orn--3{left:80%}
@keyframes seasonSway{0%,100%{transform:rotate(2.2deg)}50%{transform:rotate(-2.2deg)}}
@media (max-width:640px){.season-ornaments{display:none}}
@media (max-width:899px){.season-ornaments{right:2%;width:150px}.season-orn{width:36px}.season-orn svg,.season-orn--1 svg,.season-orn--2 svg{width:36px}.season-orn--2,.season-orn--3{display:none}.season-orn--1{left:55%}.season-orn::before{height:calc(var(--len) * .55)}.season-orn svg{top:calc(var(--len) * .55)}}

/* Snowfall canvas: above the photo + shade, below the text (hero-inner is z-index 2) */
.season-snow{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;opacity:0;transition:opacity 2s ease}
.season-snow.is-in{opacity:1}

/* Seasonal hero photo: fades in over the normal photo once loaded */
.season-hero{opacity:0;transition:opacity 1.8s ease}
.season-hero.is-in{opacity:1}
.season-hero img{object-fit:cover;object-position:50% 40%}

/* Sale pill (bottom-left, never covers the page layout) */
.season-offer{position:fixed;left:16px;bottom:16px;z-index:90;display:flex;gap:12px;align-items:center;padding:12px 18px;border-radius:999px;background:#10203A;color:#fff;text-decoration:none;font-size:.95rem;box-shadow:0 10px 30px rgba(8,15,27,.35);border:1px solid rgba(214,178,114,.6)}
.season-offer strong{color:#D6B272;font-family:var(--serif);font-size:1.15rem;letter-spacing:.02em}
.season-blackfriday .season-offer{background:#0B0B0B}

/* Halloween tweaks */
.season-halloween .season-lights span{background:#FFB25B;box-shadow:0 0 6px 2px rgba(255,140,40,.7),0 0 14px 4px rgba(255,110,20,.3)}
.season-halloween .season-lights span:nth-child(3n+2){background:#C9A0FF;box-shadow:0 0 6px 2px rgba(160,110,255,.6)}

/* Accessibility: no motion when the visitor asks for less */
@media (prefers-reduced-motion:reduce){.season-lights span,.season-orn{animation:none}.season-hero{transition:none}}
@media print{.season-lights,.season-ornaments,.season-offer,.season-hero{display:none!important}}

/* Inner-page banners: smaller, tucked to the far right so they never cover the headline */
.page-hero .season-ornaments{width:210px;right:1.5%}.page-hero .season-orn::before{height:calc(var(--len) * .6)}.page-hero .season-orn svg{top:calc(var(--len) * .6)}.page-hero .season-orn--2,.page-hero .season-orn--3{display:none}.page-hero .season-orn--1{left:55%}
@media (max-width:1100px){.page-hero .season-ornaments{display:none}}
/* QA 1 Dec: no baubles below laptop width (string crossed the MENU button at 768) */
@media (max-width:1024px){.season-ornaments{display:none!important}}

/* Roddy 1 Dec: Christmas = tree photo + snow only (no baubles, no header lights) */
.season-christmas .season-lights,.season-christmas .season-ornaments{display:none!important}

/* 1 Dec night (Roddy: no tree on the phone): lighter shade + tree framed on phones and tablets */
@media (max-width:999px){.season-christmas .season-hero img{object-position:70% 45%}.season-christmas .hero .hero-shade{background:linear-gradient(180deg,rgba(8,15,27,.6) 0%,rgba(8,15,27,.42) 34%,rgba(8,15,27,.55) 62%,rgba(8,15,27,.9) 100%)}.season-christmas .hero h1,.season-christmas .hero .eyebrow,.season-christmas .hero .hero-slogan,.season-christmas .hero .lead{text-shadow:0 2px 14px rgba(8,15,27,.85),0 1px 3px rgba(8,15,27,.9)}}
