/**
 * School Band Class — Halloween overlay (2026)
 * All rules are under html.sbc-halloween so Nov 1 (PT) the storefront
 * is the normal black/red theme even if this file is still cached.
 */
html.sbc-halloween {
  --sbc-red: #ff6a12;
  --sbc-red-hot: #ffb347;
  --sbc-red-dim: #7a2e00;
  --sbc-hw-orange: #ff6a12;
  --sbc-hw-gold: #ffb347;
  --sbc-hw-purple: #3b1a5c;
}

html.sbc-halloween meta[name="theme-color"] {
  content: #140a00;
}

html.sbc-halloween #header {
  box-shadow: 0 8px 32px rgba(255, 106, 18, 0.18) !important;
}

html.sbc-halloween #header::after {
  background: linear-gradient(90deg, transparent, #ff6a12, #ffb347, #ff6a12, transparent) !important;
}

html.sbc-halloween #header a:hover,
html.sbc-halloween #header a:focus-visible,
html.sbc-halloween .menu a:hover,
html.sbc-halloween #footer a:hover {
  color: #ffb347 !important;
}

html.sbc-halloween .sbc-header-home-link,
html.sbc-halloween .sbc-header-home-link-mobile,
html.sbc-halloween .sbc-brand-logo,
html.sbc-halloween .sbc-hdr-wordmark {
  color: #ff6a12 !important;
  border-color: rgba(255, 106, 18, 0.45);
  background: rgba(255, 106, 18, 0.1);
}

html.sbc-halloween .sbc-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255, 106, 18, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(59, 26, 92, 0.35), transparent 50%),
    linear-gradient(180deg, #000 0%, #0a0704 50%, #000 100%) !important;
}

html.sbc-halloween .sbc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../img/halloween-hero.jpg") center 30% / cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

html.sbc-halloween .sbc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(225deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 140px 140px, 180px 180px;
  background-position: -20px -20px, 80% 0;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}

html.sbc-halloween .sbc-hero-inner {
  z-index: 1;
}

html.sbc-halloween .sbc-kicker {
  color: #ffb347 !important;
  border-color: rgba(255, 106, 18, 0.45) !important;
  background: rgba(255, 106, 18, 0.12) !important;
}

html.sbc-halloween .sbc-btn-primary {
  background: #ff6a12 !important;
  color: #140a00 !important;
  box-shadow: 0 0 28px rgba(255, 106, 18, 0.35) !important;
}

html.sbc-halloween .sbc-btn-primary:hover,
html.sbc-halloween .sbc-btn-primary:focus-visible {
  background: #ffb347 !important;
  color: #140a00 !important;
}

html.sbc-halloween .sbc-btn-ghost {
  border-color: #ff6a12 !important;
  color: #ffb347 !important;
}

html.sbc-halloween .sbc-btn-ghost:hover,
html.sbc-halloween .sbc-btn-ghost:focus-visible {
  background: rgba(255, 106, 18, 0.14) !important;
  color: #fff !important;
}

html.sbc-halloween .sbc-halloween-banner {
  position: relative;
  z-index: 5003;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding: 0.45rem 0.9rem;
  background: linear-gradient(90deg, #140a00, #2a1200 40%, #3b1a5c 100%);
  color: #ffeccc;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-align: center;
  border-bottom: 1px solid rgba(255, 106, 18, 0.45);
}

html.sbc-halloween .sbc-halloween-banner a {
  color: #ffb347 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html.sbc-halloween .sbc-halloween-mark {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

html.sbc-halloween body#checkout .sbc-halloween-banner {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
}

html.sbc-halloween body#checkout .sbc-hero::before,
html.sbc-halloween body#checkout .sbc-hero::after {
  display: none;
}

@media (max-width: 767px) {
  html.sbc-halloween .sbc-halloween-banner {
    font-size: 0.75rem;
    padding: 0.4rem 0.65rem;
  }
  html.sbc-halloween .sbc-hero::before {
    opacity: 0.16;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.sbc-halloween .sbc-btn-primary,
  html.sbc-halloween .sbc-btn-ghost {
    transition: none !important;
  }
}
