/* ============================================================
   temporada.css · Hermadi Tools · la página de una temporada de ofertas (single-ht_temporada.php, pagina = temporada).
   Se imprime con paginas.css (de ahí salen .ht-faq y .ht-prosa); los tokens son los de main.css.

   Una estructura y tres diseños, elegibles por temporada en Marketing → Temporadas. Cada diseño es una clase en el
   <main> (.ht-temporada--noche | --neon | --taller) que cambia las variables --t-* y añade sus fondos; lo demás (rejilla,
   tipografías, tarjetas, formulario, acordeón) es común, así los tres aguantan igual el móvil y el escritorio.
     · noche  (Black Friday): negro de arriba abajo, titular enorme en blanco, la cifra en rojo vivo, rayas rojas en
                diagonal, cuenta atrás en fichas negras con borde rojo y la cinta roja que se desliza.
     · neón   (Cyber Monday): azul noche con una rejilla de luz, destellos cian y violeta, la cifra en degradado, la
                cuenta atrás en letra de máquina cian y una cinta oscura con filo de neón.
     · taller (La semana Festool): abedul claro, titular en carbón con la cifra en verde, una banda verde en diagonal y
                las fotos de los primeros productos inclinadas como fichas sobre el banco.
   Los botones siguen siendo los de la marca (rojo). Cabecera y pie, los de siempre.
   Caché: temporada.css?v=<css_version>-<temporada_version> (complements/versiones.php).
   ============================================================ */

.ht-temporada{
  --t-fondo:var(--ht-negro); --t-tinta:#fff; --t-tinta-suave:rgba(255,255,255,.74);
  --t-acento:var(--ht-accion-vivo); --t-acento-2:var(--ht-accion);
  --t-cinta-fondo:var(--ht-accion); --t-cinta-tinta:#fff;
  --t-ficha:rgba(255,255,255,.06); --t-ficha-borde:rgba(255,255,255,.16); --t-ficha-cifra:#fff;
  --t-chip:var(--ht-carbon);
}
.ht-temporada--neon{
  --t-fondo:#0B1220; --t-tinta:#fff; --t-tinta-suave:rgba(220,232,255,.76);
  --t-acento:#2EE6D6; --t-acento-2:#B14BFF;
  --t-cinta-fondo:#0B1220; --t-cinta-tinta:#2EE6D6;
  --t-ficha:rgba(11,18,32,.72); --t-ficha-borde:rgba(46,230,214,.38); --t-ficha-cifra:#2EE6D6;
  --t-chip:#162739;
}
.ht-temporada--taller{
  --t-fondo:var(--ht-abedul); --t-tinta:var(--ht-carbon); --t-tinta-suave:var(--ht-gris-600);
  --t-acento:#0A9A3C; --t-acento-2:#0A9A3C;
  --t-cinta-fondo:#0A9A3C; --t-cinta-tinta:#fff;
  --t-ficha:#fff; --t-ficha-borde:var(--ht-abedul-borde); --t-ficha-cifra:#0A9A3C;
  --t-chip:#0A9A3C;
}

/* ---- Vista previa (solo quien puede editar) ---- */
.ht-temporada__previa{background:var(--ht-ambar-suave);color:var(--ht-ambar);font-size:14px;padding:8px 0;border-bottom:1px solid #EAD9A6}
.ht-temporada__previa a{color:inherit;font-weight:600;margin-left:6px}

/* ============================================================
   HERO (a sangre)
   ============================================================ */
.ht-temporada__hero{position:relative;overflow:hidden;background:var(--t-fondo);color:var(--t-tinta);isolation:isolate}
.ht-temporada__hero-in{position:relative;z-index:2;display:grid;gap:28px;padding-top:36px;padding-bottom:40px}
.ht-temporada__texto{min-width:0}
.ht-temporada__texto .ht-sierra{margin-bottom:18px}
.ht-temporada__eyebrow{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px;font:600 12px/1 var(--ht-font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--t-tinta-suave)}
.ht-temporada__estado{padding:6px 9px 5px;border-radius:var(--ht-radio-badge);border:1px solid var(--t-acento);color:var(--t-acento);letter-spacing:.1em}
.ht-temporada--activa .ht-temporada__estado{background:var(--t-acento);color:var(--t-fondo);border-color:var(--t-acento)}
.ht-temporada--taller.ht-temporada--activa .ht-temporada__estado{color:#fff}
.ht-temporada__hero h1{margin:0 0 18px;color:var(--t-tinta);text-transform:uppercase;line-height:.92;letter-spacing:-.005em;font-size:clamp(2.5rem,9vw,5.75rem);overflow-wrap:anywhere}
.ht-temporada__hero h1 > span{display:block}
.ht-temporada__cifra{display:block;font-style:normal;color:var(--t-acento);font-size:clamp(3.25rem,14vw,9.5rem);line-height:.84;letter-spacing:-.03em;margin:0 0 .08em;white-space:nowrap}
.ht-temporada__intro{margin:0;max-width:52ch;font-size:clamp(1.0625rem,1.3vw,1.25rem);line-height:1.5;color:var(--t-tinta-suave)}
.ht-temporada__acciones{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.ht-temporada__acciones .ht-btn--fantasma{color:var(--t-tinta)}
.ht-temporada__acciones .ht-btn--fantasma:hover{color:var(--t-acento)}
.ht-temporada--taller .ht-temporada__acciones .ht-btn--fantasma:hover{color:var(--ht-accion)}

/* La cuenta atrás (o la fecha de la edición cuando ya pasó) */
.ht-temporada__lado{display:grid;gap:10px;justify-items:start;align-content:end}
.ht-temporada__reloj-txt{margin:0;font:600 12px/1 var(--ht-font-body);letter-spacing:.14em;text-transform:uppercase;color:var(--t-tinta-suave)}
.ht-temporada__cuenta{display:flex;flex-wrap:wrap;gap:8px}
.ht-temporada__cuenta span{display:flex;flex-direction:column;align-items:center;min-width:62px;padding:12px 8px 9px;border-radius:6px;background:var(--t-ficha);border:1px solid var(--t-ficha-borde)}
.ht-temporada__cuenta b{font:700 clamp(1.75rem,3.6vw,2.5rem)/1 var(--ht-font-display);font-variant-numeric:tabular-nums;color:var(--t-ficha-cifra)}
.ht-temporada__cuenta small{margin-top:5px;font:400 10px/1 var(--ht-font-body);letter-spacing:.1em;text-transform:uppercase;color:var(--t-tinta-suave)}
.ht-temporada__fechas{margin:0;font-size:14px;color:var(--t-tinta-suave);max-width:34ch}
.ht-temporada__fechas--grande{font:700 clamp(1.5rem,3vw,2.25rem)/1.05 var(--ht-font-display);text-transform:uppercase;color:var(--t-tinta);max-width:none}

/* La cinta que se desliza */
.ht-temporada__cinta{position:relative;z-index:2;overflow:hidden;background:var(--t-cinta-fondo);color:var(--t-cinta-tinta);font:700 15px/1 var(--ht-font-display);text-transform:uppercase;letter-spacing:.1em;padding:11px 0;white-space:nowrap}
.ht-temporada__cinta > div{display:flex;width:max-content;animation:ht-cinta 36s linear infinite}
.ht-temporada__cinta-grupo{display:inline-flex;align-items:center;gap:22px;padding-right:22px}
.ht-temporada__cinta i{font-style:normal;opacity:.55}
@keyframes ht-cinta{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){ .ht-temporada__cinta > div{animation:none} }

@media (min-width:640px){
  .ht-temporada__hero-in{padding-top:56px;padding-bottom:56px}
  .ht-temporada__cuenta span{min-width:76px;padding:14px 10px 11px}
}
@media (min-width:1024px){
  .ht-temporada__hero-in{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);align-items:end;padding-top:80px;padding-bottom:72px;gap:40px}
  .ht-temporada__lado{justify-items:end;text-align:right}
  .ht-temporada__cuenta{justify-content:flex-end}
  .ht-temporada__hero-in--collage{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);grid-template-rows:auto auto;align-items:center}
  .ht-temporada__hero-in--collage .ht-temporada__texto{grid-row:1}
  .ht-temporada__hero-in--collage .ht-temporada__collage{grid-column:2;grid-row:1 / span 2;align-self:center}
  .ht-temporada__hero-in--collage .ht-temporada__lado{grid-column:1;grid-row:2;justify-items:start;text-align:left}
  .ht-temporada__hero-in--collage .ht-temporada__cuenta{justify-content:flex-start}
}

/* ---- Noche: rojo vivo sobre negro, rayas en diagonal ---- */
.ht-temporada--noche .ht-temporada__hero::before{content:"";position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse 70% 60% at 18% 0%,rgba(242,84,91,.22),transparent 60%),linear-gradient(180deg,#1A1412,var(--ht-negro) 60%)}
.ht-temporada--noche .ht-temporada__rayas{position:absolute;z-index:1;right:-18%;bottom:-14%;width:72%;height:78%;background:repeating-linear-gradient(135deg,var(--ht-accion) 0 12px,transparent 12px 34px);opacity:.14;transform:skewY(-7deg);pointer-events:none}
.ht-temporada--noche .ht-temporada__cuenta span{background:var(--ht-negro);border-color:rgba(242,84,91,.48);box-shadow:0 0 0 1px rgba(242,84,91,.12),0 14px 34px rgba(0,0,0,.55)}
.ht-temporada--noche .ht-temporada__cuenta b{color:var(--ht-accion-vivo)}
.ht-temporada--noche .ht-temporada__cinta{border-top:1px solid rgba(255,255,255,.14)}
@media (min-width:1024px){ .ht-temporada--noche .ht-temporada__rayas{right:-6%;width:46%;height:95%} }

/* ---- Neón: rejilla de luz, destellos cian y violeta, cifra en degradado ---- */
.ht-temporada--neon .ht-temporada__hero{background-image:linear-gradient(rgba(46,230,214,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(46,230,214,.07) 1px,transparent 1px);background-size:44px 44px;background-position:center top}
.ht-temporada--neon .ht-temporada__hero::before{content:"";position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse 55% 60% at 85% 15%,rgba(177,75,255,.38),transparent 62%),radial-gradient(ellipse 50% 55% at 8% 95%,rgba(46,230,214,.26),transparent 60%);pointer-events:none}
.ht-temporada--neon .ht-temporada__hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:40%;z-index:0;background:linear-gradient(180deg,transparent,rgba(11,18,32,.9));pointer-events:none}
.ht-temporada--neon .ht-temporada__cifra{background:linear-gradient(92deg,#2EE6D6 15%,#B14BFF 85%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 0 22px rgba(46,230,214,.42))}
.ht-temporada--neon .ht-temporada__hero h1 > span{text-shadow:0 0 28px rgba(46,230,214,.32)}
.ht-temporada--neon .ht-temporada__cuenta b{font-family:var(--ht-font-mono);font-weight:400;letter-spacing:-.02em;text-shadow:0 0 14px rgba(46,230,214,.65)}
.ht-temporada--neon .ht-temporada__cuenta span{box-shadow:0 0 0 1px rgba(177,75,255,.18) inset,0 12px 30px rgba(0,0,0,.4)}
.ht-temporada--neon .ht-temporada__estado{box-shadow:0 0 14px rgba(46,230,214,.35)}
.ht-temporada--neon.ht-temporada--activa .ht-temporada__estado{color:#0B1220}
.ht-temporada--neon .ht-temporada__cinta{border-top:1px solid #2EE6D6;border-bottom:1px solid #B14BFF;text-shadow:0 0 10px rgba(46,230,214,.6)}
.ht-temporada--neon .ht-temporada__cinta i{color:#B14BFF;opacity:1}

/* ---- Taller: abedul y verde, banda en diagonal y las fotos como fichas sobre el banco ---- */
.ht-temporada--taller .ht-temporada__hero{background:linear-gradient(180deg,#F8F3EB,var(--ht-abedul) 70%)}
.ht-temporada--taller .ht-temporada__banda{position:absolute;z-index:1;left:-12%;right:-12%;bottom:-6%;height:30%;background:#0A9A3C;transform:rotate(-5deg);pointer-events:none}
/* La cuenta atrás y las fechas van en una tarjeta blanca (una etiqueta sobre el banco): la banda verde pasa por detrás y se leen igual */
.ht-temporada--taller .ht-temporada__lado{background:#fff;padding:16px 18px;border-radius:var(--ht-radio-tile);box-shadow:0 14px 30px rgba(33,25,21,.12);justify-self:start}
.ht-temporada--taller .ht-temporada__cuenta span{background:var(--ht-abedul);border-color:var(--ht-abedul-borde)}
.ht-temporada--taller .ht-temporada__cinta{border-top:1px solid rgba(255,255,255,.25)}
.ht-temporada__collage{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:end;padding:8px 0 4px}
.ht-temporada__collage figure{margin:0;padding:8px;aspect-ratio:1;display:grid;place-items:center;background:#fff;border-radius:var(--ht-radio-tile);box-shadow:0 16px 34px rgba(33,25,21,.2);transform:rotate(var(--r,0deg)) translateY(var(--y,0));overflow:hidden}
.ht-temporada__collage img{width:100%;height:100%;object-fit:contain}
.ht-temporada__collage figure:nth-child(1){--r:-4deg}
.ht-temporada__collage figure:nth-child(2){--r:3deg;--y:-14px}
.ht-temporada__collage figure:nth-child(3){--r:-2deg;--y:-4px}
.ht-temporada__collage figure:nth-child(4){--r:5deg;--y:-18px}
@media (min-width:1024px){
  .ht-temporada--taller .ht-temporada__banda{bottom:-8%;height:34%}
  .ht-temporada--taller .ht-temporada__lado{justify-self:start}
  .ht-temporada__collage{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:16px 0 16px 24px}
  .ht-temporada__collage figure{padding:12px}
  .ht-temporada__collage figure:nth-child(1){--r:-5deg;--y:18px}
  .ht-temporada__collage figure:nth-child(2){--r:4deg;--y:-26px}
  .ht-temporada__collage figure:nth-child(3){--r:2deg;--y:10px}
  .ht-temporada__collage figure:nth-child(4){--r:-3deg;--y:-30px}
}

/* ============================================================
   PRODUCTOS (activa)
   ============================================================ */
.ht-temporada__productos{padding:var(--ht-sp-12) 0 var(--ht-sp-8);background:#fff}
.ht-temporada__productos .ht-seccion__cab{align-items:flex-start;flex-direction:column;gap:4px}
.ht-temporada__productos .ht-seccion__sub{margin:0;color:var(--ht-gris-600);max-width:62ch}
.ht-temporada__filtros{margin:4px 0 22px;padding:0}
.ht-temporada__filtros .ht-chip{cursor:pointer;padding:0 14px;color:var(--ht-carbon);text-decoration:none;transition:background var(--ht-t-rapido),border-color var(--ht-t-rapido),color var(--ht-t-rapido)}
.ht-temporada__filtros .ht-chip small{color:var(--ht-gris-600);font-weight:400}
.ht-temporada__filtros .ht-chip:hover{border-color:var(--ht-carbon)}
.ht-temporada__filtros .ht-chip.is-activo{background:var(--t-chip);border-color:var(--t-chip);color:#fff}
.ht-temporada__filtros .ht-chip.is-activo small{color:rgba(255,255,255,.75)}
.ht-temporada__lista .ht-listado > li.is-fuera{display:none}
.ht-temporada__lista .ht-listado.is-recortado > li:nth-child(n+25){display:none}
.ht-temporada__mas{margin:28px 0 0;text-align:center}
.ht-temporada__vacio{padding:24px;border-radius:var(--ht-radio-tile);background:var(--ht-gris-100);color:var(--ht-gris-600);max-width:62ch}

/* ============================================================
   AVÍSAME (antes y después)
   ============================================================ */
.ht-temporada__avisame{padding:var(--ht-sp-12) 0;background:var(--ht-abedul);border-bottom:1px solid var(--ht-abedul-borde)}
.ht-temporada__avisame-in{display:grid;gap:28px}
.ht-temporada__avisame-texto .ht-sierra{margin-bottom:16px}
.ht-temporada__avisame-texto h2{margin:0 0 10px}
.ht-temporada__avisame-texto p{margin:0;color:var(--ht-gris-700);font-size:17px;max-width:48ch}
.ht-temporada__promesas{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:8px}
.ht-temporada__promesas li{position:relative;padding-left:28px;color:var(--ht-carbon)}
.ht-temporada__promesas li::before{content:"";position:absolute;left:3px;top:.5em;width:12px;height:7px;border-left:2px solid var(--t-acento-2);border-bottom:2px solid var(--t-acento-2);transform:rotate(-45deg)}
.ht-temporada--noche .ht-temporada__promesas li::before{border-color:var(--ht-accion)}
.ht-temporada--neon .ht-temporada__promesas li::before{border-color:#7C3AED}
.ht-temporada__form{background:#fff;padding:24px;border-radius:var(--ht-radio-tile);box-shadow:var(--ht-sombra-flotante);align-self:center}
.ht-temporada__form-etiqueta{display:block;font-weight:600;margin:0 0 8px}
.ht-temporada__form .ht-boletin__check{color:var(--ht-gris-600)}
.ht-temporada__form .ht-boletin__check a{color:inherit}
.ht-temporada__form .ht-boletin__fila .ht-btn{min-height:48px}
@media (min-width:640px){ .ht-temporada__form{padding:32px} }
@media (min-width:1024px){ .ht-temporada__avisame-in{grid-template-columns:1.05fr .95fr;gap:56px;align-items:center} }

/* ============================================================
   PREGUNTAS (siempre) y CIERRE
   ============================================================ */
.ht-temporada__preguntas{padding:var(--ht-sp-12) 0;background:#fff;scroll-margin-top:24px}
.ht-temporada__preguntas .ht-seccion__cab{align-items:flex-start;flex-direction:column;gap:4px}
.ht-temporada__preguntas .ht-seccion__sub{margin:0;color:var(--ht-gris-600)}
.ht-temporada__preguntas .ht-faq{margin-top:8px}
.ht-temporada__cierre{padding:var(--ht-sp-8) 0 var(--ht-sp-12);background:var(--ht-gris-100);border-top:var(--ht-borde)}
.ht-temporada__cierre-in{display:grid;gap:32px}
.ht-temporada__pie{color:var(--ht-gris-700);max-width:72ch}
.ht-temporada__pie > :last-child{margin-bottom:0}
.ht-temporada__otras-nav h2{font-size:var(--ht-h3);margin:0 0 12px}
.ht-temporada__otras{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ht-temporada__otras a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;background:#fff;border:var(--ht-borde);border-radius:var(--ht-radio-card);text-decoration:none;font-weight:600;transition:border-color var(--ht-t-rapido)}
.ht-temporada__otras a:hover{border-color:var(--ht-carbon)}
.ht-temporada__otras small{font-weight:400;color:var(--ht-gris-600);text-align:right}
@media (min-width:1024px){ .ht-temporada__cierre-in{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:56px} }
