/* ════════════════════════════════════════════════════════════════
   TICOTRAGOS · EDICIÓN MALDITA — tema de Halloween (octubre 2026)
   Implementa el canvas "TicoTragos Halloween v3".

   TODO cuelga de  <body class="halloween">.
   Apagarlo = quitar esa clase en index.html. Las secciones propias
   del tema (barra, combos, banners, pociones) se ocultan solas.
   ════════════════════════════════════════════════════════════════ */

.halloween {
  --hw-bg:        #08060c;
  --hw-bg-2:      #0f0b14;
  --hw-bg-3:      #150d20;
  --hw-purple:    #6d34c4;
  --hw-purple-lt: #8a52e0;
  --hw-line:      #3b2650;
  --hw-line-2:    #231a30;
  --hw-orange:    #ff7a1a;
  --hw-orange-2:  #ff8c2e;
  --hw-orange-3:  #ffa040;
  --hw-orange-4:  #ffb35c;
  --hw-gold:      #d9ad55;
  --hw-green:     #8fbf6a;
  --hw-text:      #e9e1d3;
  --hw-text-hi:   #efe6d6;
  --hw-text-2:    #c4b8c9;
  --hw-text-3:    #9d8fa6;
  --hw-text-4:    #8d7f96;
  --font-scare:   'Creepster', cursive;
  --font-mono:    'JetBrains Mono', monospace;
}

/* ── Base ───────────────────────────────────────────────────── */
body.halloween { background: var(--hw-bg); color: var(--hw-text); }
.halloween a { color: var(--hw-orange-2); }
.halloween a:hover { color: var(--hw-orange-4); }
.halloween ::placeholder { color: var(--hw-text-4); }

/* Viñeta general: oscurece los bordes de la pantalla */
.halloween .hw-vignette {
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.75) 100%);
}

/* ── Barra superior de temporada ────────────────────────────── */
.hw-topbar { display: none; }
.halloween .hw-topbar {
  position: relative; z-index: 101;
  display: flex; justify-content: center; align-items: center;
  gap: 14px; flex-wrap: wrap;
  padding: 9px 20px;
  background: var(--hw-purple);
  color: #f3dcd6; font-size: 13px; letter-spacing: .06em; text-align: center;
}
.halloween .hw-topbar .hw-date {
  font-family: var(--font-scare); font-size: 17px; letter-spacing: .08em; color: #fff;
}

/* ── Header ─────────────────────────────────────────────────── */
.halloween header {
  background: rgba(8,6,12,.9);
  border-bottom: 1px solid #241a33;
}
.halloween .hw-tagline {
  display: block; font-size: 10px; color: var(--hw-text-3);
  letter-spacing: .14em; text-transform: uppercase; margin-top: 4px;
}
.halloween .header-cart {
  border-color: var(--hw-line); background: #120d18; color: var(--hw-orange-2);
}
.halloween .header-cart-badge { background: var(--hw-orange-3); color: #160900; }
.halloween .header-wa { border-color: var(--hw-line); background: #120d18; color: var(--hw-text); }

/* ── Logo de temporada ──────────────────────────────────────────
   El PNG viene sobre negro puro. `mix-blend-mode: screen` vuelve ese
   negro transparente y deja pasar solo el resplandor, así se funde con
   el header sin un recuadro visible. */
.hw-logo { display: none; }
.halloween .hw-logo { display: block; mix-blend-mode: screen; }
.halloween .hw-logo img { height: 68px; width: auto; max-width: 300px; object-fit: contain; display: block; }
.halloween .brand-logo { display: none; }

@media (max-width: 760px) {
  .halloween .hw-logo img { height: 46px; max-width: 210px; }
}

/* ── Navegación del tema ────────────────────────────────────── */
.hw-nav { display: none; }
.halloween .hw-nav {
  display: flex; gap: 28px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
}
.halloween .hw-nav a { color: var(--hw-text); text-decoration: none; transition: color .15s; }
.halloween .hw-nav a:hover { color: var(--hw-orange-2); }

/* ── HERO ───────────────────────────────────────────────────── */
.halloween .hero {
  position: relative;
  padding: 110px 24px;
  text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, #160c22, var(--hw-bg) 70%);
  overflow: hidden;
}
.halloween .hero > *:not(.hw-fx):not(.hw-hero-img):not(.hw-hero-scrim):not(.hw-spider) { position: relative; z-index: 3; }

.hw-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .55; pointer-events: none; z-index: 0; display: block;
}
.hw-hero-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block;
}
.hw-hero-scrim {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(8,6,12,.55), rgba(8,6,12,.2) 60%, var(--hw-bg) 100%),
    linear-gradient(180deg, rgba(8,6,12,.4), transparent 30%, transparent 70%, var(--hw-bg));
}

.halloween .hero-eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .3em;
  color: var(--hw-orange-2); text-transform: uppercase;
}
.halloween .hero h1 {
  font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: clamp(42px, 6.6vw, 84px); line-height: 1.02; letter-spacing: -.02em;
  color: var(--hw-text-hi); text-wrap: balance; margin: 0 auto 0;
  max-width: 860px;
}
.halloween .hero h1 em {
  font-family: var(--font-scare); font-style: normal; font-weight: 400;
  color: var(--hw-orange-2); letter-spacing: .03em; display: inline-block;
  text-shadow: 0 0 24px rgba(255,122,26,.7);
  animation: hw-flicker 5s infinite;
}
.halloween .hero p {
  max-width: 540px; font-size: 17px; line-height: 1.6; color: var(--hw-text-2);
  margin: 22px auto 0; font-weight: 400;
}
.halloween .hero-delivery { font-size: 13px; color: var(--hw-text-4); margin-top: 18px; }
.halloween .hero-delivery strong { color: var(--hw-text-2); font-weight: 600; }

.halloween .hero-actions { margin-top: 26px; gap: 12px; }
.halloween .hero-track {
  background: var(--hw-orange); border: none; color: #160900;
  font-weight: 700; font-size: 15px; height: 52px; padding: 0 26px; border-radius: 26px;
  animation: hw-pulse 2.6s ease-in-out infinite;
  box-shadow: none;
}
.halloween .hero-track:hover { background: var(--hw-orange-3); color: #160900; transform: none; }
/* Combos es la acción de temporada y va en relleno; el del catálogo va en
   contorno para que los dos no compitan y se distingan de un vistazo. */
.halloween .hero-catalogo {
  background: transparent; border: 1.5px solid var(--hw-orange); color: var(--hw-orange-4);
}
.halloween .hero-catalogo:hover { background: var(--hw-orange); color: #160900; }
.halloween .hero-wa { height: 52px; padding: 0 26px; border-radius: 26px; color: #06200f; }
.halloween .hero-wa:hover { background: #2ee672; color: #06200f; }
/* El verde de WhatsApp es marca: no se tiñe de naranja aunque sea un <a>. */
.halloween .wa-fab, .halloween .wa-fab:hover { color: #06200f; }

/* ── Cuenta regresiva ───────────────────────────────────────── */
.hw-countdown { display: none; }
.halloween .hw-countdown {
  display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 28px;
}
.halloween .hw-cd-row { display: flex; gap: 10px; }
.halloween .hw-cd-unit {
  width: 84px; padding: 14px 0 10px;
  border: 1px solid #4a2a70; border-radius: 6px;
  background: linear-gradient(180deg, #1c1028, #0b0710);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  box-shadow: inset 0 -10px 20px rgba(120,60,210,.25);
}
.halloween .hw-cd-num {
  font-family: var(--font-scare); font-size: 42px; color: var(--hw-orange-3);
  line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(255,122,26,.6);
}
.halloween .hw-cd-lbl { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--hw-text-3); }
.halloween .hw-cd-note { font-size: 13px; color: var(--hw-text-3); }

/* ── Efectos: goteo, ojos, niebla, relámpago ────────────────── */
.hw-fx { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hw-drips { position: absolute; left: 0; right: 0; top: 0; height: 0; pointer-events: none; }
.hw-drip { position: absolute; top: 0; transform-origin: top; }
.hw-drip i {
  display: block; background: var(--hw-purple); transform-origin: top;
  border-radius: 0 0 99px 99px; animation: hw-drip 3.6s ease-out both;
}
.hw-drip u {
  position: absolute; width: 6px; height: 8px; background: var(--hw-purple-lt);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: hw-drop 5s ease-in infinite;
}
.hw-eye { position: absolute; display: flex; opacity: 0; animation: hw-eyes 11s ease-in-out infinite; }
.hw-eye b { display: block; border-radius: 50%; animation: hw-blink 4s infinite; }
.hw-fog {
  position: absolute; left: -10%; right: -10%; bottom: 0; height: 70%; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 50% at 25% 85%, rgba(160,150,150,.10), transparent 70%),
    radial-gradient(ellipse 45% 40% at 75% 95%, rgba(120,60,210,.14), transparent 70%);
  animation: hw-fog 18s ease-in-out infinite;
}
.hw-flash {
  position: fixed; inset: 0; z-index: 41; pointer-events: none;
  background: #dfe6ff; opacity: 0; animation: hw-flash 11s linear 3s infinite;
}

@keyframes hw-fog    { 0%{transform:translateX(-8%)} 50%{transform:translateX(8%)} 100%{transform:translateX(-8%)} }
@keyframes hw-flicker{ 0%,100%{opacity:1;text-shadow:0 0 24px rgba(255,122,26,.7)} 8%{opacity:.4} 10%{opacity:1} 52%{opacity:1} 54%{opacity:.2;text-shadow:none} 57%{opacity:1} 80%{opacity:.85} }
@keyframes hw-drip   { 0%{transform:scaleY(.25)} 70%{transform:scaleY(1)} 100%{transform:scaleY(1)} }
@keyframes hw-drop   { 0%,60%{transform:translateY(0);opacity:0} 65%{opacity:1} 100%{transform:translateY(240px);opacity:0} }
@keyframes hw-blink  { 0%,44%,50%,100%{transform:scaleY(1)} 47%{transform:scaleY(.08)} }
@keyframes hw-eyes   { 0%,100%{opacity:0} 20%,80%{opacity:1} }
@keyframes hw-flash  { 0%,93%,100%{opacity:0} 94%{opacity:.55} 95%{opacity:.05} 96.5%{opacity:.35} 98%{opacity:0} }
@keyframes hw-pulse  { 0%,100%{box-shadow:0 0 0 0 rgba(255,122,26,.5)} 50%{box-shadow:0 0 30px 6px rgba(255,122,26,.25)} }

/* ── Separador morado ───────────────────────────────────────── */
.hw-rule { display: none; }
.halloween .hw-rule { display: block; height: 1px; background: linear-gradient(90deg, transparent, var(--hw-purple), transparent); }

/* ── Encabezados de sección ─────────────────────────────────── */
.halloween .hw-sec-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; flex-wrap: wrap; margin-bottom: 30px;
}
.halloween .hw-kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .24em;
  color: var(--hw-orange-2); text-transform: uppercase; margin: 0 0 10px;
}
.halloween .hw-sec-head h2 {
  margin: 0; font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 50px); font-weight: 800; color: var(--hw-text-hi); letter-spacing: -.01em;
}
.halloween .hw-scare {
  font-family: var(--font-scare); font-weight: 400; color: var(--hw-orange);
  letter-spacing: .04em; text-shadow: 0 0 20px rgba(255,122,26,.45);
}
.halloween .hw-sec-head p { margin: 0; max-width: 360px; color: var(--hw-text-2); font-size: 15px; line-height: 1.6; }

/* ── COMBOS ─────────────────────────────────────────────────── */
.hw-combos { display: none; }
.halloween .hw-combos { display: block; max-width: 1240px; margin: 0 auto; padding: 70px 24px 30px; }
.halloween .hw-combo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px;
}
.halloween .hw-combo {
  position: relative; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--hw-line);
  background: linear-gradient(170deg, var(--hw-bg-3), #0a0606 70%);
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
}
.halloween .hw-combo:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(120,60,210,.35);
  border-color: var(--hw-purple);
}
/* Las fotos de producto son botellas verticales sobre fondo claro: se muestran
   completas con `contain` (igual que el catálogo). Con `cover` se recortaban
   y se veían ampliadas/deformadas. */
.halloween .hw-combo-shot {
  position: relative; height: 200px; background: #F4EFE6; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.halloween .hw-combo-shot img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 16px 12px; box-sizing: border-box;
  filter: sepia(.18) drop-shadow(0 4px 14px rgba(0,0,0,.22));
}
/* Título sin nombre de fantasía: el nombre real es largo, va en la serif
   del catálogo y no en Creepster, que a ese tamaño ocupa tres líneas. */
.halloween .hw-combo-body h3.plain {
  font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: 19px; letter-spacing: 0; text-transform: uppercase;
  color: var(--hw-text-hi); line-height: 1.25;
}
.halloween .hw-combo-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 10px; border-radius: 3px; background: var(--hw-orange); color: #160900;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.halloween .hw-combo-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.halloween .hw-combo-body h3 {
  margin: 0; font-family: var(--font-scare); font-weight: 400;
  font-size: 32px; letter-spacing: .04em; color: var(--hw-orange-3); line-height: 1.1;
}
.halloween .hw-combo-real {
  margin: 0; font-size: 12.5px; color: var(--hw-text-3); line-height: 1.4;
  text-transform: uppercase; letter-spacing: .04em;
}
.halloween .hw-combo-desc { margin: 0; color: var(--hw-text-2); font-size: 14px; line-height: 1.55; flex: 1; }
.halloween .hw-combo-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 14px; border-top: 1px solid #2a1c3a; margin-top: 6px;
}
.halloween .hw-combo-price {
  font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 800; color: var(--hw-text-hi);
  white-space: nowrap;
}
.halloween .hw-combo-price span { font-family: 'DM Sans', sans-serif; font-size: 11px; color: var(--hw-text-3); font-weight: 500; }

/* ── BANNERS DE IMAGEN ──────────────────────────────────────── */
.hw-banners { display: none; }
.halloween .hw-banners {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px;
  max-width: 1240px; margin: 0 auto; padding: 60px 24px 20px;
}
/* Las piezas traen el logo incrustado a la derecha: el banner toma la
   proporción 3:2 de la imagen para que `cover` no recorte los lados y se
   corte la marca. */
.halloween .hw-banner {
  position: relative; aspect-ratio: 3 / 2; min-height: 0; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--hw-line); display: flex; align-items: flex-end;
  background: linear-gradient(160deg, #1a1226, #0a0710);
}
.halloween .hw-banner img,
.halloween .hw-banner picture {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center; filter: contrast(1.04) saturate(.95);
}
.halloween .hw-banner picture img { position: static; filter: none; }
.halloween .hw-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(8,6,12,.72) 62%, rgba(8,6,12,.97));
}
.halloween .hw-banner-txt { position: relative; z-index: 2; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.halloween .hw-banner-txt h3 {
  margin: 0; font-family: var(--font-scare); font-weight: 400;
  font-size: clamp(30px, 3.2vw, 40px); letter-spacing: .04em; line-height: 1;
  color: var(--hw-orange-3); text-shadow: 0 0 20px rgba(255,122,26,.5);
}
.halloween .hw-banner.pale .hw-banner-txt h3 { color: var(--hw-text); text-shadow: none; }
.halloween .hw-banner-txt p { margin: 0; color: #d6c9c0; font-size: 15px; max-width: 380px; line-height: 1.55; }
.halloween .hw-banner-cta {
  border: none; font-family: inherit; cursor: pointer;
  align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center;
  height: 44px; padding: 0 22px; border-radius: 22px;
  background: var(--hw-orange); color: #160900; font-weight: 700; font-size: 14px; text-decoration: none;
}
.halloween .hw-banner-cta:hover { background: var(--hw-orange-3); color: #160900; }

/* ── POCIONES ───────────────────────────────────────────────── */
.hw-potions { display: none; }
.halloween .hw-potions { display: block; max-width: 1240px; margin: 0 auto; padding: 60px 24px; }
.halloween .hw-potions-box {
  position: relative; border: 1px solid #2a1c3a; border-radius: 10px;
  padding: 44px clamp(20px, 4vw, 48px); overflow: hidden;
  background: linear-gradient(180deg, rgba(8,6,10,.72), rgba(8,5,5,.92) 60%), #0c0812;
  background-size: cover; background-position: center;
}
.halloween .hw-potions .hw-kicker { color: var(--hw-green); }
.halloween .hw-potions-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px;
}
.halloween .hw-potion { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--hw-line); }
.halloween .hw-potion-n { font-family: var(--font-mono); font-size: 12px; color: var(--hw-orange-2); }
.halloween .hw-potion h3 {
  margin: 0; font-family: var(--font-scare); font-weight: 400;
  font-size: 30px; letter-spacing: .04em;
}
.halloween .hw-potion p { margin: 0; color: var(--hw-text-2); font-size: 14px; line-height: 1.6; flex: 1; }
.halloween .hw-potion-btn {
  align-self: flex-start; height: 38px; padding: 0 16px; border-radius: 19px;
  border: 1px solid var(--hw-line); background: transparent; color: var(--hw-text);
  font-size: 13px; cursor: pointer; font-family: inherit; transition: .15s;
}
.halloween .hw-potion-btn:hover { border-color: var(--hw-orange-2); color: var(--hw-orange-4); }

/* ── CATÁLOGO ───────────────────────────────────────────────── */
.hw-cat-title { display: none; }
.halloween .hw-cat-title {
  display: block; max-width: 1240px; margin: 0 auto 22px; padding: 0 24px; box-sizing: border-box; font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; color: var(--hw-text-hi);
}
.halloween .search-wrap { border-color: var(--hw-line); background: var(--hw-bg-2); border-radius: 6px; }
.halloween #search { color: var(--hw-text); }
.halloween .filter-btn { color: #b0a2b8; }
.halloween .filter-btn.active { color: var(--hw-orange-4); border-bottom-color: var(--hw-orange-2); }
.halloween .filter-btn.filter-promo { color: var(--hw-orange); }
.halloween .filter-btn.filter-promo.active { color: var(--hw-orange-4); border-bottom-color: var(--hw-orange-2); }
.halloween .catalog-count { color: var(--hw-text-3); }
.halloween .catalog-count strong { color: var(--hw-orange-3); }

.halloween .card {
  border-radius: 6px; border-color: var(--hw-line-2); background: var(--hw-bg-2);
  transition: box-shadow .3s, border-color .3s;
}
.halloween .card:hover {
  transform: none; border-color: var(--hw-purple); box-shadow: 0 0 40px rgba(120,60,210,.35);
}
.halloween .card-img { filter: sepia(.22) brightness(.94); }
.halloween .card-category {
  background: var(--hw-orange); color: #160900; border: none;
  letter-spacing: .14em; font-weight: 700;
}
.halloween .card-name { font-family: 'Playfair Display', serif; text-transform: uppercase; color: var(--hw-text-hi); }
.halloween .card-presentation { border-color: #4b3268; color: #d9c2e8; }
.halloween .card-price { font-family: 'Playfair Display', serif; color: var(--hw-gold); }
.halloween .card-price span { color: var(--hw-text-3); }
.halloween .btn-add {
  border-radius: 4px; border: 1px solid var(--hw-orange); background: transparent;
  color: var(--hw-orange-4); font-weight: 700;
}
.halloween .btn-add:hover { background: var(--hw-orange); color: #160900; opacity: 1; }

/* ── Pie ────────────────────────────────────────────────────── */
.halloween footer { border-top-color: #241a33; background: #060409; }
.hw-foot-spell { display: none; }
.halloween .hw-foot-spell {
  display: block; font-family: var(--font-scare); font-size: 20px;
  color: #8a6ab8; letter-spacing: .06em; margin: 14px 0 0;
}

/* ── Telarañas de esquina ───────────────────────────────────────
   Dibujo vectorial propio (assets/hw-web.svg, 1.8 KB) repetido en las
   esquinas vacías de cada sección. Van en ::before/::after para no tocar
   el HTML: si se quita `class="halloween"` desaparecen solas.
   Cada sección anfitriona crea su propio contexto de apilado con
   `isolation` para que el `z-index:-1` de la tela quede sobre el fondo
   pero debajo del texto, sin pelear con el resto de la página.       */
.halloween .hw-combos,
.halloween .hw-banners,
.halloween .hw-cat-title,
.halloween footer { position: relative; isolation: isolate; }

.halloween .hero::before,
.halloween .hero::after,
.halloween .hw-combos::before,
.halloween .hw-banners::before,
.halloween .hw-potions-box::before,
.halloween .hw-cat-title::before,
.halloween footer::before,
.halloween footer::after {
  content: ''; position: absolute; inset: auto; top: 0; z-index: -1;
  background: url('/assets/hw-web.svg') no-repeat center / 100% 100%;
  aspect-ratio: 1; pointer-events: none;
  /* el borde de la tela se desvanece en vez de cortarse en seco */
  -webkit-mask-image: radial-gradient(circle at 0 0, #000 52%, transparent 94%);
          mask-image: radial-gradient(circle at 0 0, #000 52%, transparent 94%);
}
/* Variante derecha: la misma tela espejada. */
.halloween .hero::before,
.halloween .hw-combos::before,
.halloween .hw-potions-box::before,
.halloween footer::after { right: 0; left: auto; transform: scaleX(-1); }

.halloween .hero::after        { left: 0;  width: min(330px, 46vw); opacity: .24; z-index: 2; }
.halloween .hero::before       { width: min(250px, 36vw); opacity: .17; z-index: 2;
                                 background: url('/assets/hw-web.svg') no-repeat center / 100% 100%; }
.halloween .hw-combos::before  { width: min(260px, 38vw); opacity: .16; }
.halloween .hw-banners::before { left: 0; right: auto; width: min(210px, 32vw); opacity: .14; }
.halloween .hw-potions-box::before { width: min(230px, 34vw); opacity: .13; z-index: 0; }
.halloween .hw-cat-title::before { right: 0; left: auto; transform: scaleX(-1); width: min(250px, 34vw); opacity: .15; }
.halloween footer::before      { left: 0; right: auto; width: min(270px, 38vw); opacity: .17; }
.halloween footer::after       { width: min(210px, 30vw); opacity: .13; }

/* El hero ya tiene su propio apilado (foto, velo, efectos): las telas van
   encima de la foto pero debajo del texto, que está en z-index 3. */

/* ── Araña colgante ─────────────────────────────────────────── */
.hw-spider { display: none; }
.halloween .hw-spider {
  display: block; position: absolute; top: 0; right: clamp(16px, 9vw, 130px);
  width: 46px; height: 190px; z-index: 2; pointer-events: none;
  transform-origin: 50% 0;
  animation: hw-swing 6.5s ease-in-out infinite;
  background:
    url('/assets/hw-spider.svg') no-repeat center bottom / 42px auto,
    linear-gradient(#b9aec8, #b9aec8) no-repeat 50% 0 / 1px calc(100% - 34px);
}
@keyframes hw-swing {
  0%, 100% { transform: rotate(-3.5deg); }
  50%      { transform: rotate(3.5deg); }
}

/* ── Accesibilidad ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .halloween .hero h1 em,
  .hw-drip i, .hw-drip u, .hw-eye, .hw-eye b, .hw-fog, .hw-flash,
  .halloween .hero-track, .halloween .hw-spider { animation: none !important; }
  .hw-flash { display: none; }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 860px) {
  .halloween .hw-nav { display: none; }
}
@media (max-width: 760px) {
  .halloween .hw-topbar { font-size: 11px; padding: 8px 14px; gap: 8px; letter-spacing: .03em; }
  .halloween .hw-topbar .hw-date { font-size: 15px; }
  .halloween .hero { padding: 54px 18px 60px; }
  .halloween .hero p { font-size: 15px; }
  .halloween .hw-cd-unit { width: 64px; padding: 10px 0 8px; }
  .halloween .hw-cd-num { font-size: 30px; }
  .halloween .hw-combos { padding: 44px 18px 20px; }
  .halloween .hw-banners { padding: 36px 18px 12px; gap: 14px; }
  .halloween .hw-banner { aspect-ratio: 3 / 2; }
  .halloween .hw-potions { padding: 36px 18px; }
  .halloween .hw-cat-title { padding: 0 18px; }
  .halloween .hw-potions-box { padding: 28px 18px; }
  .halloween .hw-combo-shot { height: 170px; }
  .halloween .hw-sec-head { margin-bottom: 22px; }
  .hw-eye { display: none; }
  .halloween .hw-spider { right: 14px; width: 38px; height: 140px; background-size: 34px auto, 1px calc(100% - 28px); }
  .halloween .hw-banners::before, .halloween .hw-potions-box::before { display: none; }
}
