[data-season="halloween"] {
  --ink:#26152f; --wine:#321341; --rose:#85385b; --paper:#fff9f3;
  --gold:#ffba70; --line:#e5d2dc; --blush:#eee0ef;
  --festive-glow:#6f365a; --hero-shadow:#220e32;
}
[data-season="halloween"] .top { border-bottom:2px solid #e4a062; }
.hero .intro { position:relative; isolation:isolate; }
.hero .intro::after {
  content:""; position:absolute; z-index:-1; inset:0; pointer-events:none;
  background:radial-gradient(circle at 90% 15%,#ffce91 0 16px,#ffd1a530 18px,transparent 47px),
    radial-gradient(circle at 12% 11%,#ffd1a5 0 1px,transparent 2px),
    radial-gradient(circle at 80% 24%,#ffd1a5 0 1px,transparent 2px),
    radial-gradient(circle at 71% 9%,#ffd1a5 0 1px,transparent 2px);
}
.halloween-strip { position:fixed; inset:auto 0 0; height:clamp(62px,8vw,90px); z-index:9; pointer-events:none; overflow:hidden;
  background:linear-gradient(0deg,#220e32,#3d1d4ccd 24%,transparent); }
[data-season="halloween"] body { padding-bottom:clamp(62px,8vw,90px); }

.halloween-strip .pumpkin-prop,.halloween-strip .ghost-prop {
  position:absolute; bottom:4px; width:clamp(40px,7vw,78px); height:calc(100% - 8px);
  background:var(--art) center bottom / contain no-repeat; filter:drop-shadow(0 2px 5px #0008);
}
.halloween-strip .pumpkin-prop { right:max(14px,5vw); --art:url("halloween-pumpkin.png"); }
.halloween-strip .ghost-prop { left:max(14px,5vw); --art:url("halloween-ghost.png"); }
.bat { position:absolute; bottom:38%; left:-92px; width:75px; height:40px;
  background:url("halloween-bat.png") center / contain no-repeat;
  filter:drop-shadow(0 1px 3px #e7a67388); animation:bat-flight 17s -4s linear infinite; }
.bat:nth-child(2) { animation-delay:-10s; bottom:48%; width:55px; }
.bat:nth-child(3) { animation-delay:-14s; bottom:18%; width:62px; }
@keyframes bat-flight { 0% { transform:translateX(0) scaleY(.75); } 26% { transform:translateX(31vw) translateY(-12px) scaleY(1); }
  59% { transform:translateX(67vw) translateY(8px) scaleY(.72); } 100% { transform:translateX(calc(100vw + 140px)) scaleY(1); } }
.halloween-trim { display:flex; gap:12px; align-items:center; min-height:62px; padding:10px 22px; color:#ffbd7c;
  background:linear-gradient(115deg,#592557,#261133); border-bottom:1px solid #b97c60; font-size:1.4rem; }
@media(max-width:610px) {
  .halloween-strip { bottom:calc(65px + env(safe-area-inset-bottom)); }
  [data-season="halloween"] body { padding-bottom:calc(127px + env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) { .bat { animation:none; left:20%; } .bat:nth-child(2) { left:46%; } .bat:nth-child(3) { left:65%; } }

/* Seasonal illustrations sit on the edges of controls and leave the labels clickable. */
:is(.catalog-head h2,.feature h2,.story h2,.info h2,.guide-hero h1,.guide-intro h1)::after {
  content:""; display:inline-block; width:1.1em; height:.8em; margin-inline-start:.27em;
  vertical-align:-.06em; background:url("halloween-bat.png") center / contain no-repeat;
}
.intro .hero-actions :is(.pill,.hero-link),.card-bottom :is(.details,.card-buy),
:is(.top-shop,.order-links a) { position:relative; }
.intro .hero-actions :is(.pill,.hero-link)::after,.top-shop::after,
.order-links a::after,
.card-bottom :is(.details,.card-buy)::after {
  position:absolute; z-index:1; right:0; bottom:calc(100% - 8px); pointer-events:none;
  width:27px; height:27px; font:1.28rem/27px system-ui,sans-serif; text-align:center;
  filter:drop-shadow(0 2px 3px #260b31a0);
}

.intro .hero-actions .pill::after,.top-shop::after,.order-links a:nth-child(odd)::after { --art:url("halloween-pumpkin.png"); }
.intro .hero-actions .hero-link::after,.order-links a:nth-child(even)::after { --art:url("halloween-ghost.png"); }
.card-bottom .details::after { --art:url("halloween-vampire.png"); }
.intro .hero-actions :is(.pill,.hero-link)::after,.top-shop::after,.order-links a::after,.card-bottom .details::after {
  content:""; background:var(--art) center / contain no-repeat;
}
.halloween-trim img { width:clamp(30px,10vw,46px); height:34px; object-fit:contain; }
.card-bottom .card-buy::after,.halloween-mask {
  content:""; background:radial-gradient(ellipse at 35% 40%,#361b42 0 8%,transparent 10%),
    radial-gradient(ellipse at 65% 40%,#361b42 0 8%,transparent 10%),
    radial-gradient(ellipse at 50% 68%,#361b42 0 8%,transparent 10%),
    radial-gradient(ellipse at 50% 48%,#faf2e6 0 54%,#3b1a49 57% 76%,transparent 77%);
  clip-path:polygon(50% 0,84% 12%,100% 53%,86% 88%,50% 100%,14% 88%,0 53%,16% 12%);
}
.halloween-mask { display:inline-block; width:31px; height:31px; flex:none; }
@media(max-width:610px) {
  .card-bottom :is(.details,.card-buy)::after { width:22px; height:22px; line-height:22px; font-size:1.05rem; }
}
