/*
 * Black Friday 2026 · T-212 (Toni, 12/11/2026).
 *
 * Tres piezas, las tres se apagan con `"activa": false` en
 * `assets/data/black-friday-2026.json`:
 *
 * 1. Portada: héroe con 3 fondos (foto o vídeo en bucle) que cambian con un
 *    «corte de espada» lima, título que cae palabra a palabra y la cifra del
 *    ahorro rodando como el reloj contador. Reutiliza el reparto de la portada
 *    de siempre (`.gp-hero__inner`, CTA, cinta) con la variante
 *    `data-gp-hero-variant="black-friday"`.
 * 2. Portada: «Ofertas de Black Friday» debajo del héroe.
 * 3. Ficha: «Así se usa», justo encima de «El catálogo».
 *
 * Paleta de la marca (negro, blanco y lima). Rojo solo como toque: punto del
 * antetítulo, sello del ahorro y dos puntos de la cuenta atrás (Toni, 13/11).
 * El sello enseña el porcentaje «−NN %», no euros (Toni, 16/11).
 */

/* ------------------------------------------------------------------ */
/* 1. Héroe                                                            */
/* ------------------------------------------------------------------ */

.gp-hero[data-gp-hero-variant="black-friday"] {
  background-image: none;
  isolation: isolate;
}

/* La foto del móvil iba en `::after`: aquí la ponen los fondos. */
.gp-hero[data-gp-hero-variant="black-friday"]::after {
  content: none;
}

.gp-bf-hero__pase {
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.gp-bf-hero__diapo {
  inset: 0;
  opacity: 0;
  position: absolute;
  z-index: 0;
}

.gp-bf-hero__diapo.is-activa {
  opacity: 1;
}

.gp-bf-hero__diapo picture,
.gp-bf-hero__diapo img,
.gp-bf-hero__diapo video {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center bottom;
  position: absolute;
  width: 100%;
}

/* El vídeo tapa al póster solo cuando ya está pintando. */
.gp-bf-hero__diapo video {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gp-bf-hero__diapo video.is-listo {
  opacity: 1;
}

/* Zoom lento, del 100 al 106 %, mientras dura cada fondo. */
.gp-bf-hero__diapo.is-activa img,
.gp-bf-hero__diapo.is-activa video {
  animation: gp-bf-acerca var(--gp-bf-duracion, 6s) linear forwards;
}

@keyframes gp-bf-acerca {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/*
 * Corte de espada: el fondo nuevo entra por un corte diagonal que avanza de
 * izquierda a derecha; una línea lima va justo en el filo.
 */
.gp-bf-hero__diapo.is-entrando {
  animation: gp-bf-corte var(--gp-bf-corte, 700ms) cubic-bezier(0.75, 0, 0.2, 1) both;
  z-index: 1;
}

@keyframes gp-bf-corte {
  from { clip-path: polygon(0 0, 0 0, -28% 100%, 0 100%); }
  to { clip-path: polygon(0 0, 128% 0, 100% 100%, 0 100%); }
}

.gp-bf-hero__tajo {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.gp-bf-hero__tajo::before,
.gp-bf-hero__tajo::after {
  content: "";
  inset: 0;
  position: absolute;
}

/* El filo y su brillo: dos tiras, una fina y opaca y otra ancha y suave. */
.gp-bf-hero__tajo::before { background: var(--gp-volt); }
.gp-bf-hero__tajo::after { background: rgba(199, 240, 0, 0.28); }

.gp-bf-hero__tajo.is-cortando {
  animation: gp-bf-tajo-visible var(--gp-bf-corte, 700ms) linear both;
}

.gp-bf-hero__tajo.is-cortando::before {
  animation: gp-bf-filo var(--gp-bf-corte, 700ms) cubic-bezier(0.75, 0, 0.2, 1) both;
}

.gp-bf-hero__tajo.is-cortando::after {
  animation: gp-bf-brillo var(--gp-bf-corte, 700ms) cubic-bezier(0.75, 0, 0.2, 1) both;
}

@keyframes gp-bf-tajo-visible {
  0%, 92% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes gp-bf-filo {
  from { clip-path: polygon(-0.5% 0, 0% 0, -28% 100%, -28.5% 100%); }
  to { clip-path: polygon(127.5% 0, 128% 0, 100% 100%, 99.5% 100%); }
}

@keyframes gp-bf-brillo {
  from { clip-path: polygon(-2.5% 0, 0% 0, -28% 100%, -30.5% 100%); }
  to { clip-path: polygon(125.5% 0, 128% 0, 100% 100%, 97.5% 100%); }
}

/*
 * Cartel tipográfico (fondo 3, sin foto; Toni, 12/11). Negro y lima, como los
 * carteles de Black Friday que le gustan: BLACK FRIDAY enorme y condensado
 * (Inter 900 estrechado), «FRIDAY» en contorno lima, dos bandas en diagonal con
 * la cinta corriendo en sentidos opuestos y la cifra en un bloque lima. En
 * escritorio ocupa la mitad derecha (el título de la portada va a la izquierda).
 */
.gp-bf-cartel {
  background:
    radial-gradient(60% 70% at 72% 45%, rgba(199, 240, 0, 0.16) 0%, rgba(199, 240, 0, 0) 60%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 22px),
    #050505;
  overflow: hidden;
}

.gp-bf-cartel__banda {
  /* En escritorio solo en la mitad derecha, fundiéndose hacia el texto. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  left: 42%;
  overflow: hidden;
  position: absolute;
  right: -20%;
  white-space: nowrap;
  z-index: 1;
}

.gp-bf-cartel__banda--a {
  background: var(--gp-volt);
  color: #050505;
  top: 14%;
  transform: rotate(-7deg);
}

/* Las dos bandas se cruzan en X arriba, por encima de «BLACK»: abajo queda
   libre para el bloque de la cifra (nada se mete por debajo cortando texto). */
.gp-bf-cartel__banda--b {
  border-block: 2px solid var(--gp-volt);
  background: #050505;
  color: var(--gp-volt);
  top: 14%;
  transform: rotate(5deg);
}

.gp-bf-cartel__cinta {
  animation: gp-bf-cinta 26s linear infinite;
  display: inline-flex;
  font-size: clamp(0.85rem, 1.3vw, 1.15rem);
  font-weight: 900;
  gap: 1.1rem;
  letter-spacing: 0.14em;
  padding: 0.55rem 0;
}

.gp-bf-cartel__banda--b .gp-bf-cartel__cinta {
  animation-direction: reverse;
  animation-duration: 32s;
}

.gp-bf-cartel__punto {
  font-size: 0.6em;
  line-height: 1.9;
}

@keyframes gp-bf-cinta {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.gp-bf-cartel__titulo {
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: clamp(7rem, 15vw, 17rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.8;
  position: absolute;
  right: 4%;
  text-transform: uppercase;
  top: 50%;
  transform: translateY(-58%) scaleX(0.72);
  transform-origin: right center;
  z-index: 2;
}

.gp-bf-cartel__titulo span:last-child {
  -webkit-text-stroke: 0.035em var(--gp-volt);
  color: transparent;
}

.gp-bf-cartel__bloque {
  background: var(--gp-volt);
  bottom: 13%;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.45);
  color: #050505;
  display: flex;
  flex-direction: column;
  padding: 0.9rem 1.4rem 1rem;
  position: absolute;
  right: 6%;
  transform: rotate(-4deg);
  z-index: 3;
}

.gp-bf-cartel__bloque small {
  font-size: clamp(0.75rem, 0.9vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gp-bf-cartel__bloque strong {
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

/* Con el cartel delante, el degradado solo oscurece el lado del texto. */
.gp-hero[data-gp-bf-fondo="cartel"]::before {
  background: linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.85) 28%, rgba(5, 5, 5, 0) 55%);
  transition: background 0.4s ease;
}

@media (max-width: 760px) {
  .gp-hero[data-gp-bf-fondo="cartel"]::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0.9) 82%);
  }

  /* Repartido en el hueco medido (cabecera → antetítulo): título arriba, a un
     tamaño que quepa, y el bloque de la cifra abajo, sin tocarse. */
  .gp-bf-cartel__titulo {
    font-size: min(27vw, calc(var(--gp-bf-hueco-alto, 22rem) * 0.26));
    left: 50%;
    right: auto;
    top: calc(var(--gp-bf-hueco-arriba, 7.5rem) + 1.75rem);
    transform: translateX(-50%) scaleX(0.72);
    transform-origin: center top;
  }

  .gp-bf-cartel__bloque strong {
    font-size: 2.1rem;
  }

  .gp-bf-cartel__bloque small {
    font-size: 0.66rem;
  }

  .gp-bf-cartel__banda {
    -webkit-mask-image: none;
    left: -20%;
    mask-image: none;
  }

  /* Las dos bandas se cruzan en X encima de «BLACK», lejos del título de abajo. */
  .gp-bf-cartel__banda--a { top: 11%; }
  .gp-bf-cartel__banda--b { top: 11%; transform: rotate(6deg); }

  /* Siempre por encima del antetítulo (hueco medido), nunca encima del texto;
     más compacto que en escritorio para que no tape «FRIDAY». */
  .gp-bf-cartel__bloque {
    bottom: calc(var(--gp-bf-hueco-abajo, 30%) + 0.75rem);
    left: 50%;
    padding: 0.55rem 1rem 0.65rem;
    right: auto;
    transform: translateX(-50%) rotate(-4deg);
  }
}

/* El degradado de siempre queda por encima de los fondos. */
.gp-hero[data-gp-hero-variant="black-friday"]::before {
  z-index: 1;
}

.gp-hero[data-gp-hero-variant="black-friday"] .gp-hero__inner {
  position: relative;
  z-index: 2;
}

.gp-hero .gp-bf-hero__antetitulo {
  color: var(--gp-volt);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 0.9rem;
  text-transform: uppercase;
}

/*
 * «El Black Friday se juega en tu arena» (aprobado por Toni el 12/11). Cada
 * palabra cae con peso (de 1,04 a 1, con un desenfoque leve que se va), una cada
 * 60 ms. Todo dura menos de 1 s y PARTE DE VISIBLE: no hay opacidad 0, así que
 * aunque la animación no llegue a correr (pestaña en segundo plano, captura)
 * el título se lee desde el primer pintado. Solo ocurre al cargar: no se
 * reinicia con cada fondo. Después, un barrido lima pasa una vez por «Black».
 */
.gp-hero[data-gp-hero-variant="black-friday"] h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 11ch;
}

.gp-bf-titulo__palabra {
  animation: gp-bf-cae 420ms cubic-bezier(0.2, 0.9, 0.25, 1.15) both;
  animation-delay: calc(var(--i, 0) * 60ms);
  display: inline-block;
  transform-origin: 50% 80%;
}

@keyframes gp-bf-cae {
  0% { filter: blur(1px); transform: scale(1.04) translateY(-0.04em); }
  100% { filter: blur(0); transform: none; }
}

.gp-bf-titulo__palabra--luz {
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(100deg, #fff 0%, #fff 40%, var(--gp-volt) 50%, #fff 60%, #fff 100%);
  background-position: 100% 0;
  background-size: 250% 100%;
  color: transparent;
  animation:
    gp-bf-cae 420ms cubic-bezier(0.2, 0.9, 0.25, 1.15) both,
    gp-bf-barrido 900ms ease-in-out both;
  animation-delay: calc(var(--i, 0) * 60ms), 700ms;
}

@keyframes gp-bf-barrido {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}

.gp-bf-hero__texto {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  margin: 1rem 0 0;
  max-width: 30rem;
}

/* La cifra del ahorro, en lima y con rodillos como el reloj contador. */
.gp-bf-cifra {
  color: inherit;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  white-space: nowrap;
}

.gp-bf-rodillo {
  display: inline-block;
  height: 1lh;
  overflow: hidden;
  vertical-align: top;
}

/* Cada dígito mide una línea del propio texto (1lh): rueda sin descuadrar. */
.gp-bf-rodillo--fijo {
  line-height: inherit;
}

.gp-bf-rodillo__tira {
  display: block;
  transform: translateY(calc(var(--d, 0) * -1lh));
}

/* Una vuelta entera, de su dígito a su dígito: legible al principio y al final. */
.gp-bf-cifra.is-rodando .gp-bf-rodillo__tira {
  animation: gp-bf-rueda 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--j, 0) * 40ms);
}

@keyframes gp-bf-rueda {
  from { transform: translateY(calc(var(--d, 0) * -1lh)); }
  to { transform: translateY(calc((var(--d, 0) + 10) * -1lh)); }
}

/* Puntos y pausa: los fondos se mueven solos, así que se tienen que poder parar. */
.gp-bf-hero__mandos {
  align-items: center;
  bottom: 3.6rem;
  display: flex;
  gap: 0.5rem;
  position: absolute;
  right: max(1.5rem, calc((100vw - var(--gp-max-width)) / 2));
  z-index: 3;
}

.gp-bf-hero__punto {
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 0.4rem;
  padding: 0;
  transition: width 0.3s ease, background 0.3s ease;
  width: 0.9rem;
}

.gp-bf-hero__punto[aria-current="true"] {
  background: var(--gp-volt);
  width: 2rem;
}

.gp-bf-hero__pausa {
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--gp-white);
  cursor: pointer;
  display: inline-flex;
  height: 2rem;
  justify-content: center;
  margin-left: 0.4rem;
  padding: 0;
  width: 2rem;
}

.gp-bf-hero__pausa svg {
  fill: currentColor;
  height: 0.8rem;
  width: 0.8rem;
}

@media (max-width: 760px) {
  /* Como la portada de siempre: el fondo ocupa el 80 % de arriba. */
  .gp-bf-hero__pase {
    bottom: 20%;
  }

  /* Dos líneas justas: «El Black Friday / se juega en tu arena», sin dejar
     «arena» sola. 8,2vw ≈ 36 px a 440 de ancho: cabe «se juega en tu arena». */
  .gp-hero[data-gp-hero-variant="black-friday"] h1 {
    font-size: clamp(1.75rem, 8.2vw, 2.6rem);
    margin-top: 0;
    max-width: none;
    white-space: nowrap;
  }

  /* Texto abajo, como la portada de siempre: el antetítulo empuja el bloque. */
  .gp-hero .gp-bf-hero__antetitulo {
    margin-top: auto;
    order: 0;
  }

  .gp-bf-hero__texto {
    order: 1;
    text-align: center;
  }

  /* Los puntos, fuera del producto: abajo, centrados entre el botón y la cinta. */
  .gp-hero[data-gp-hero-variant="black-friday"] .gp-hero__inner {
    padding-bottom: 6.5rem;
  }

  .gp-bf-hero__mandos {
    bottom: 3.35rem;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
  }

  /* «entera»: el producto completo y grande, del borde de la cabecera al
     antetítulo (hueco medido por black-friday.js), con un halo detrás para
     que no flote en negro. */
  .gp-bf-hero__diapo[data-encaje-movil="entera"] img,
  .gp-bf-hero__diapo[data-encaje-movil="entera"] video {
    bottom: auto;
    height: var(--gp-bf-hueco-alto, calc(66% - 7.5rem));
    object-fit: contain;
    object-position: center;
    top: var(--gp-bf-hueco-arriba, 7.5rem);
  }

  .gp-bf-hero__diapo[data-encaje-movil="entera"]::before {
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), rgba(199, 240, 0, 0.07) 55%, rgba(0, 0, 0, 0) 100%);
    content: "";
    height: var(--gp-bf-hueco-alto, calc(66% - 7.5rem));
    left: 0;
    position: absolute;
    right: 0;
    top: var(--gp-bf-hueco-arriba, 7.5rem);
    z-index: 0;
  }

  .gp-bf-hero__diapo[data-encaje-movil="entera"] picture {
    z-index: 1;
  }
}

@media (min-width: 761px) {
  .gp-bf-hero__diapo img,
  .gp-bf-hero__diapo video {
    object-position: right center;
  }

  /* Los puntos bajo el botón, a la izquierda: la derecha es del producto y del cartel. */
  .gp-bf-hero__mandos {
    bottom: 3.4rem;
    left: max(1.5rem, calc((100vw - var(--gp-max-width)) / 2));
    right: auto;
  }

  /* Fondos verticales (producto sobre negro): enteros a la derecha, sobre el
     negro del héroe, en vez de agrandarlos hasta recortarlos. */
  .gp-bf-hero__diapo[data-encaje="derecha"] {
    background: #000;
  }

  /* La pieza vertical, a su proporción y a la derecha, fundida con el negro
     por los cuatro lados (máscara degradada): sin la «caja» de borde recto.
     Hasta que haya versión horizontal del vídeo de los seis productos. */
  .gp-bf-hero__diapo[data-encaje="derecha"] img,
  .gp-bf-hero__diapo[data-encaje="derecha"] video {
    -webkit-mask-composite: source-in;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0, #000 24%, #000 76%, transparent 100%),
      linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%);
    aspect-ratio: 0.5581;
    height: calc(100% - 6.25rem);
    inset: 6.25rem 7% 0 auto;
    mask-composite: intersect;
    mask-image:
      linear-gradient(90deg, transparent 0, #000 24%, #000 76%, transparent 100%),
      linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%);
    object-fit: cover;
    object-position: center;
    width: auto;
  }

  /* Parte solo donde marca el JSON: «El Black Friday / se juega en tu arena». */
  .gp-hero[data-gp-hero-variant="black-friday"] h1 {
    font-size: clamp(3.4rem, 5vw, 5.6rem);
    max-width: none;
    white-space: nowrap;
  }
}

/* ------------------------------------------------------------------ */
/* 1b. Portada de campaña (Toni, 13/11, segunda vuelta)                */
/* ------------------------------------------------------------------ */

/*
 * Paleta de la marca: negro, blanco y lima en botones y acentos. El rojo es
 * solo un toque en tres sitios pequeños: el punto del antetítulo, el sello del
 * ahorro y los dos puntos de la cuenta atrás. Sin brillos: superficies planas,
 * sombras neutras y cortas. Todo arranca en el borde del logo de la cabecera
 * (`--gp-borde-cabecera`, lo mide assets/js/borde-cabecera.js). Medidas
 * verticales en múltiplos de 8.
 */
.gp-bf-portada,
.gp-bf-ofertas {
  --gp-bf-rojo: #e10600;
  --gp-borde: var(--gp-borde-cabecera, max(24px, calc((100vw - 1240px) / 2 + 22px)));
}

/*
 * Tercera vuelta (13/11): la portada de siempre, vestida de campaña. Una foto
 * real de producto sobre negro a toda la altura y el texto en su columna,
 * alineado con el logo. El fondo es el negro de la foto, para que no se vea
 * dónde acaba. Sin capas, cintas ni efectos: solo foto, texto y dos botones.
 */
.gp-hero.gp-bf-portada {
  aspect-ratio: auto;
  background: #000;
  color: #fff;
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

/* Móvil: la foto arriba, a sangre; el texto abajo, sobre el negro del reflejo. */
.gp-bf-portada__rejilla {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  /* El texto empieza donde acaba el producto en la foto (la foto mide 118 vw de alto). */
  padding: calc(44px + 108vw) var(--gp-borde) 32px;
  position: relative;
}

.gp-bf-portada__escena {
  inset: 28px 0 auto 0;
  height: 118vw;
  position: absolute;
  z-index: 0;
}

.gp-bf-portada__caja,
.gp-bf-portada__foto {
  display: block;
  height: 100%;
  width: 100%;
}

.gp-bf-portada__foto img {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 90%, transparent 100%);
  animation: gp-bf-entra 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  display: block;
  height: 100%;
  mask-image: linear-gradient(180deg, #000 0, #000 90%, transparent 100%);
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

@keyframes gp-bf-entra {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: none; }
}

.gp-bf-portada__texto,
.gp-bf-portada__acciones {
  position: relative;
  z-index: 1;
}

.gp-bf-portada__antetitulo {
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0.14em;
  line-height: 16px;
  margin: 0;
  text-transform: uppercase;
}

/* Antetítulo: en móvil, la versión corta en una línea. */
.gp-bf-portada__ante-largo {
  display: none;
}

.gp-bf-portada__antetitulo {
  white-space: nowrap;
}

.gp-bf-portada__punto {
  background: var(--gp-bf-rojo);
  border-radius: 50%;
  flex: none;
  height: 8px;
  margin-top: 4px;
  width: 8px;
}

.gp-hero.gp-bf-portada .gp-bf-portada__titulo {
  color: #fff;
  font-size: clamp(2.25rem, 9.6vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 16px 0 0;
  max-width: none;
}

.gp-bf-portada__titulo span {
  color: #a1a1a6;
  display: block;
}

.gp-hero.gp-bf-portada .gp-bf-portada__oferta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.0625rem;
  line-height: 1.5;
  margin: 16px 0 0;
  max-width: 32rem;
}

.gp-bf-portada__oferta .gp-bf-cifra {
  color: #fff;
  font-weight: 800;
}

/* Dos botones de la misma altura y línea base. */
.gp-bf-portada__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.gp-bf-boton {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  box-sizing: border-box;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  height: 48px;
  justify-content: center;
  line-height: 1;
  padding: 0 24px;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.gp-bf-boton--primario {
  background: var(--gp-volt, #c7f000);
  color: var(--gp-black, #0b0b0c);
}

.gp-bf-boton--primario:hover,
.gp-bf-boton--primario:focus-visible {
  background: #d6ff1a;
  color: var(--gp-black, #0b0b0c);
}

.gp-bf-boton--contorno {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.gp-bf-boton--contorno:hover,
.gp-bf-boton--contorno:focus-visible {
  border-color: #fff;
  color: #fff;
}

.gp-bf-portada__acciones .gp-bf-boton {
  flex: 1 1 auto;
  font-size: 0.9375rem;
  padding: 0 16px;
}

@media (min-width: 761px) {
  /* Escritorio: el héroe ocupa la pantalla; texto a la izquierda, foto a la derecha a toda la altura. */
  .gp-bf-portada__rejilla {
    justify-content: center;
    min-height: clamp(560px, calc(100svh - 38px), 960px);
    padding: 96px var(--gp-borde) 0;
  }

  .gp-bf-portada__texto,
  .gp-bf-portada__acciones {
    max-width: calc(46vw - var(--gp-borde));
  }

  /* La foto empieza bajo la cabecera, para que no tape el producto. */
  .gp-bf-portada__escena {
    height: auto;
    /* A la derecha, hasta el borde de la rejilla (el mismo que la cabecera). */
    inset: 112px calc(var(--gp-borde) - 32px) 0 46%;
    width: auto;
  }

  .gp-bf-portada__foto img {
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0, #000 14%, #000 90%, transparent 100%),
      linear-gradient(180deg, transparent 0, #000 12%, #000 82%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    mask-image:
      linear-gradient(90deg, transparent 0, #000 14%, #000 90%, transparent 100%),
      linear-gradient(180deg, transparent 0, #000 12%, #000 82%, transparent 100%);
    object-fit: contain;
    object-position: right bottom;
  }

  .gp-bf-portada__ante-largo {
    display: inline;
  }

  .gp-bf-portada__ante-corto {
    display: none;
  }

  .gp-hero.gp-bf-portada .gp-bf-portada__titulo {
    font-size: clamp(2.25rem, 3.6vw, 3.75rem);
    margin-top: 24px;
  }

  .gp-hero.gp-bf-portada .gp-bf-portada__oferta {
    font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
    margin-top: 24px;
  }

  .gp-bf-portada__acciones {
    margin-top: 40px;
  }

  .gp-bf-portada__acciones .gp-bf-boton {
    flex: 0 0 auto;
    font-size: 1rem;
    height: 56px;
    padding: 0 32px;
  }
}

/* ------------------------------------------------------------------ */
/* 1c. La portada como cartel (Toni, 13/11; referencias I-0541, I-0542) */
/* ------------------------------------------------------------------ */

/*
 * Cuatro cintas rojas planas (dos arriba, dos abajo) con «OFERTAS» corriendo:
 * son los pseudo-elementos del héroe y de la rejilla, con el texto en un SVG
 * de fondo que se desplaza. Van por delante de la foto, donde la foto es
 * negra (sobre los botes y sobre el reflejo), y por detrás del texto.
 */
.gp-hero.gp-bf-portada::before,
.gp-hero.gp-bf-portada::after,
.gp-bf-portada__rejilla::before,
.gp-bf-portada__rejilla::after {
  animation: gp-bf-cinta 16s linear infinite;
  background-color: var(--gp-bf-rojo);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='40'%3E%3Ctext x='0' y='27' font-family='Arial Black,Helvetica Neue,Arial,sans-serif' font-weight='900' font-size='19' letter-spacing='3' fill='%23fff'%3EOFERTAS%3C/text%3E%3Ccircle cx='190' cy='20' r='3.5' fill='%23fff'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 220px 40px;
  content: "";
  height: 40px;
  left: -10%;
  pointer-events: none;
  position: absolute;
  width: 120%;
  z-index: 1;
}

@keyframes gp-bf-cinta {
  to { background-position-x: -220px; }
}

.gp-hero.gp-bf-portada::before { top: 132px; transform: rotate(-4deg); }
.gp-bf-portada__rejilla::before { animation-direction: reverse; top: 148px; transform: rotate(3deg); }
.gp-hero.gp-bf-portada::after { bottom: 44px; transform: rotate(3.5deg); }
.gp-bf-portada__rejilla::after { animation-direction: reverse; bottom: 28px; transform: rotate(-3deg); }

.gp-bf-portada__texto,
.gp-bf-portada__acciones {
  z-index: 2;
}

/* «BLACK / FRIDAY» gigante, de lado a lado en móvil. */
.gp-bf-portada__texto {
  --fs: 24.5vw;
}

.gp-hero.gp-bf-portada .gp-bf-portada__titulo {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: linear-gradient(180deg, #fff 0, #fff 45%, #a6a6ab 100%);
  color: #fff;
  font-size: var(--fs);
  letter-spacing: -0.045em;
  line-height: 0.84;
  margin: 0;
  text-transform: uppercase;
}

.gp-bf-portada__titulo span {
  color: inherit;
}

/* La etiqueta roja con las fechas, pisando las letras entre las dos líneas. */
.gp-hero.gp-bf-portada .gp-bf-portada__antetitulo {
  background: var(--gp-bf-rojo);
  color: #fff;
  font-size: 0.6875rem;
  left: 18%;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 7px 10px;
  position: absolute;
  top: calc(var(--fs) * 0.84 - 13px);
  transform: rotate(-3deg);
  z-index: 3;
}

.gp-hero.gp-bf-portada .gp-bf-portada__punto {
  display: none;
}

/* «HASTA 21,15 € MENOS»: la cifra grande, en rojo y cursiva. */
.gp-hero.gp-bf-portada .gp-bf-portada__oferta {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  margin: 20px 0 0;
  max-width: none;
  text-transform: uppercase;
}

.gp-hero.gp-bf-portada .gp-bf-portada__oferta .gp-bf-cifra {
  color: var(--gp-bf-rojo);
  display: block;
  font-size: clamp(3.25rem, 17vw, 4.5rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 2px 0 4px -0.04em;
  text-transform: none;
}

/*
 * Móvil, en el orden del cartel: cintas, «BLACK FRIDAY», la cifra y los
 * botones en la primera pantalla; debajo, la foto a sangre con las otras dos
 * cintas sobre su reflejo.
 */
.gp-bf-portada__rejilla {
  padding: 212px var(--gp-borde) 0;
}

.gp-bf-portada__escena {
  height: auto;
  inset: auto;
  margin: 8px calc(-1 * var(--gp-borde)) 0;
  order: 3;
  position: relative;
}

.gp-bf-portada__foto img {
  aspect-ratio: 1320 / 1560;
  height: auto;
}

.gp-hero.gp-bf-portada .gp-bf-portada__titulo {
  margin-left: -0.03em;
}

@media (min-width: 761px) {
  .gp-hero.gp-bf-portada::before { top: 150px; transform: rotate(-2.2deg); }
  .gp-bf-portada__rejilla::before { top: 168px; transform: rotate(1.6deg); }
  .gp-hero.gp-bf-portada::after { bottom: 46px; transform: rotate(1.8deg); }
  .gp-bf-portada__rejilla::after { bottom: 30px; transform: rotate(-1.6deg); }

  .gp-bf-portada__rejilla {
    padding: 200px var(--gp-borde) 104px;
  }

  .gp-bf-portada__texto {
    --fs: clamp(5rem, min(10.4vw, 17vh), 12.5rem);
    max-width: none;
  }

  .gp-bf-portada__escena {
    inset: 196px calc(var(--gp-borde) - 32px) 0 50%;
    margin: 0;
    order: 0;
    position: absolute;
  }

  .gp-bf-portada__foto img {
    aspect-ratio: auto;
    height: 100%;
  }

  .gp-hero.gp-bf-portada .gp-bf-portada__antetitulo {
    font-size: 0.8125rem;
    left: 11%;
    padding: 9px 14px;
    top: calc(var(--fs) * 0.84 - 16px);
  }

  .gp-hero.gp-bf-portada .gp-bf-portada__oferta {
    font-size: 0.875rem;
    margin-top: 28px;
  }

  .gp-hero.gp-bf-portada .gp-bf-portada__oferta .gp-bf-cifra {
    font-size: clamp(3.5rem, 5.4vw, 6rem);
  }

  .gp-bf-portada__acciones {
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gp-hero.gp-bf-portada::before,
  .gp-hero.gp-bf-portada::after,
  .gp-bf-portada__rejilla::before,
  .gp-bf-portada__rejilla::after {
    animation: none;
  }
}

/* ------------------------------------------------------------------ */
/* 1d. Portada «arena» (Toni, 13/11, cuarta vuelta)                    */
/* ------------------------------------------------------------------ */

/*
 * Parte de la versión «rojo sobre negro» que gustó (d2a8474): luz roja de
 * contra, bruma, grano, la caja con su filo rojo y la etiqueta colgada. Lo
 * nuevo: «BLACK FRIDAY» encima de todo (ya no detrás), cintas rojas de
 * plástico con «BLACK FRIDAY» en negro que se cruzan y corren (referencia de
 * Pinterest de Toni), y un pase de cajas (Premium → Attack → Control) con su
 * barra de progreso. Octava vuelta (Toni, 14/11, tras ver es.venum.com):
 * portada corta y sin texto; bajo la escena solo las pestañas y dos botones
 * planos, y «BLACK FRIDAY» es el h1. Las secciones 1b y 1c ya no pintan la
 * portada (su marcado era `gp-bf-portada`); quedan por lo que comparten con
 * las ofertas.
 */
.gp-hero.gp-bf-arena {
  --gp-bf-rojo: #e10600;
  --gp-bf-rojo-vivo: #ff2d1f;
  --gp-bf-negro: #070606;
  --gp-borde: var(--gp-borde-cabecera, max(24px, calc((100vw - 1240px) / 2 + 22px)));
  aspect-ratio: auto;
  background: var(--gp-bf-negro);
  color: #fff;
  display: block;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.gp-hero.gp-bf-arena::before,
.gp-hero.gp-bf-arena::after {
  content: none;
}

/* Fondo: viñeta roja, bruma lenta y grano fino. */
.gp-bf-arena__fondo {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.gp-bf-arena__luz {
  background:
    radial-gradient(70% 45% at 50% 34%, rgba(225, 6, 0, 0.24), rgba(225, 6, 0, 0) 70%),
    radial-gradient(90% 50% at 50% 100%, rgba(122, 4, 0, 0.4), rgba(122, 4, 0, 0) 70%);
  inset: 0;
  position: absolute;
}

.gp-bf-arena__bruma {
  background: radial-gradient(closest-side, rgba(225, 6, 0, 0.35), rgba(225, 6, 0, 0));
  border-radius: 50%;
  filter: blur(40px);
  height: 36%;
  opacity: 0.5;
  position: absolute;
  width: 70%;
}

.gp-bf-arena__bruma--1 { animation: gp-bf-arena-bruma 22s ease-in-out infinite alternate; right: -15%; top: 18%; }
.gp-bf-arena__bruma--2 { animation: gp-bf-arena-bruma 28s ease-in-out -9s infinite alternate-reverse; bottom: 18%; left: -10%; opacity: 0.32; }

@keyframes gp-bf-arena-bruma {
  from { transform: translate3d(-6%, 0, 0) scale(1); }
  to { transform: translate3d(8%, -6%, 0) scale(1.15); }
}

.gp-bf-arena__grano {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  inset: 0;
  mix-blend-mode: overlay;
  opacity: 0.12;
  position: absolute;
}

/* Móvil: escena, packs y botones, uno debajo de otro. Corta (Toni, 14/11):
   con la cinta de garantías y el título de las ofertas en la primera pantalla. */
.gp-bf-arena__rejilla {
  display: grid;
  grid-template-areas: "escena" "packs" "botones";
  padding: 5.25rem var(--gp-borde) 1rem;
  position: relative;
  z-index: 1;
}

.gp-bf-arena__escena { grid-area: escena; }
.gp-bf-arena__packs { grid-area: packs; }
.gp-bf-arena__botones { grid-area: botones; }

/* La escena va de borde a borde; todo dentro se mide en su ancho (cqi). */
.gp-bf-arena__escena {
  aspect-ratio: 1 / 0.88;
  container-type: inline-size;
  margin: 0 calc(-1 * var(--gp-borde));
  position: relative;
}

/* «BLACK / FRIDAY»: encima de las cintas y de la caja. */
.gp-hero.gp-bf-arena .gp-bf-arena__rotulo {
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #cfc8c7 72%, #8f8584 100%);
  background-clip: text;
  color: transparent;
  display: flex;
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.55)) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.75));
  flex-direction: column;
  font-size: 20cqi;
  font-style: normal;
  font-weight: 900;
  left: 0;
  letter-spacing: -0.055em;
  line-height: 0.8;
  margin: 0;
  max-width: none;
  pointer-events: none;
  position: absolute;
  right: 0;
  text-align: center;
  text-transform: uppercase;
  top: 1cqi;
  user-select: none;
  z-index: 4;
}

.gp-bf-arena__rotulo span {
  animation: gp-bf-arena-rotulo 900ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
  display: block;
  padding-right: 0.06em;
}

.gp-bf-arena__rotulo span + span { animation-delay: 120ms; }

@keyframes gp-bf-arena-rotulo {
  from { opacity: 0; transform: translate3d(0, 18%, 0) scale(1.06); }
  to { opacity: 1; transform: none; }
}

/* Cintas de plástico rojo con «BLACK FRIDAY» en negro: brillo arriba, sombra
   abajo y sombra proyectada; corren sin parar y entran desenrollándose. */
.gp-bf-arena__cinta {
  align-items: center;
  animation: gp-bf-arena-desenrolla 900ms cubic-bezier(0.7, 0, 0.2, 1) both;
  background: linear-gradient(180deg, #ff4b3a 0%, #e10600 16%, #d10500 54%, #a40300 86%, #6a0200 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(0, 0, 0, 0.28),
    0 14px 22px -8px rgba(0, 0, 0, 0.8);
  display: flex;
  height: 9.6cqi;
  left: -12%;
  overflow: hidden;
  position: absolute;
  right: -12%;
}

.gp-bf-arena__cinta::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0));
  content: "";
  height: 34%;
  left: 0;
  position: absolute;
  right: 0;
  top: 6%;
}

.gp-bf-arena__cinta--a { animation-delay: 150ms; top: 11%; transform: rotate(-9deg); z-index: 1; }
.gp-bf-arena__cinta--b { animation-delay: 300ms; top: 20%; transform: rotate(7deg); z-index: 2; }
.gp-bf-arena__cinta--c { animation-delay: 450ms; bottom: 2%; transform: rotate(-4deg); z-index: 6; }
.gp-bf-arena__cinta--d { animation-delay: 600ms; bottom: 12%; opacity: 0.92; transform: rotate(6deg); z-index: 2; }

@keyframes gp-bf-arena-desenrolla {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.gp-bf-arena__tira {
  align-items: center;
  animation: gp-bf-arena-corre 30s linear infinite;
  color: #0a0606;
  display: inline-flex;
  flex: none;
  font-size: 4.9cqi;
  font-weight: 900;
  gap: 0.55em;
  letter-spacing: 0.02em;
  position: relative;
  white-space: nowrap;
}

.gp-bf-arena__cinta--b .gp-bf-arena__tira,
.gp-bf-arena__cinta--d .gp-bf-arena__tira {
  animation-direction: reverse;
  animation-duration: 36s;
}

.gp-bf-arena__tira i {
  background: currentColor;
  display: block;
  height: 0.32em;
  transform: rotate(45deg);
  width: 0.32em;
}

@keyframes gp-bf-arena-corre {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* El pase: las cajas apoyadas abajo, una encima de otra. */
.gp-bf-arena__pase {
  bottom: 6cqi;
  left: 0;
  position: absolute;
  right: 0;
  top: 30cqi;
  z-index: 3;
}

/* Luz roja de contra que respira detrás de la caja. */
.gp-bf-arena__pase::before {
  animation: gp-bf-arena-respira 5.5s ease-in-out infinite alternate;
  background: radial-gradient(closest-side, rgba(255, 45, 31, 0.75), rgba(225, 6, 0, 0.34) 45%, rgba(225, 6, 0, 0) 74%);
  border-radius: 50%;
  content: "";
  filter: blur(16px);
  height: 96%;
  left: 50%;
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 92%;
}

@keyframes gp-bf-arena-respira {
  from { opacity: 0.7; transform: translate(-50%, -50%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.gp-bf-arena__caja {
  bottom: 0;
  filter: blur(12px);
  left: 50%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: translate3d(16%, 2%, 0) scale(0.92) rotate(2deg);
  transition:
    opacity 600ms ease,
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 700ms ease;
  translate: -50% 0;
  /* En móvil, un 78 % del tamaño de escritorio: caben enteras en la escena corta. */
  width: calc(var(--tam, 80%) * var(--gp-bf-escala, 0.78));
}

.gp-bf-arena__caja.is-activa {
  filter: blur(0);
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition-delay: 120ms;
}

.gp-bf-arena__caja.is-sale {
  transform: translate3d(-18%, 0, 0) scale(0.88) rotate(-3deg);
  transition-delay: 0ms;
}

.gp-bf-arena__foto {
  position: relative;
}

/* T-214 · la foto de la caja activa lleva a la ficha del pack. */
.gp-bf-arena__ir {
  border-radius: 0.5rem;
  cursor: pointer;
  inset: 0;
  position: absolute;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-drag: none;
  z-index: 1;
}

.gp-bf-arena__ir:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 6px;
}

/* El filo rojo de la caja (el brillo que gustó). */
.gp-bf-arena__foto img {
  display: block;
  filter:
    drop-shadow(0 0 1px rgba(255, 70, 50, 0.95))
    drop-shadow(0 -4px 16px rgba(225, 6, 0, 0.55))
    drop-shadow(0 26px 30px rgba(0, 0, 0, 0.85));
  height: auto;
  width: 100%;
}

/* Al entrar, un destello cruza la caja (recortado a su silueta). */
.gp-bf-arena__destello {
  -webkit-mask: var(--mascara) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 62%) 120% 0 / 300% 100% no-repeat;
  inset: 0;
  mask: var(--mascara) center / 100% 100% no-repeat;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.gp-bf-arena__caja.is-activa .gp-bf-arena__destello {
  animation: gp-bf-arena-destello 1400ms 650ms ease-out both;
}

@keyframes gp-bf-arena-destello {
  0% { background-position: 120% 0; opacity: 1; }
  85% { opacity: 1; }
  100% { background-position: -20% 0; opacity: 0; }
}

.gp-bf-arena__reflejo {
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 60%);
  height: 30%;
  left: 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 60%);
  opacity: 0.4;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 99%;
}

.gp-bf-arena__reflejo picture {
  display: block;
  transform: scaleY(-1);
}

.gp-bf-arena__reflejo img {
  display: block;
  filter: blur(1.5px) brightness(0.7);
  height: auto;
  width: 100%;
}

/* Etiqueta roja colgada: cae al entrar su caja y se mece. */
.gp-bf-arena__etiqueta {
  align-items: center;
  display: flex;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.6));
  flex-direction: column;
  position: absolute;
  right: var(--etiqueta-x, -3%);
  top: 13%;
  transform-origin: 50% 0;
  z-index: 2;
}

.gp-bf-arena__caja.is-activa .gp-bf-arena__etiqueta {
  animation:
    gp-bf-arena-cae 900ms 500ms cubic-bezier(0.3, 1.5, 0.5, 1) both,
    gp-bf-arena-mece 4.5s 1400ms ease-in-out infinite alternate;
}

@keyframes gp-bf-arena-cae {
  from { opacity: 0; transform: translateY(-30%) rotate(-18deg); }
  to { opacity: 1; transform: rotate(5deg); }
}

@keyframes gp-bf-arena-mece {
  from { transform: rotate(5deg); }
  to { transform: rotate(-3deg); }
}

.gp-bf-arena__cordon {
  background: linear-gradient(180deg, #e9e4e3, #8b8483);
  display: block;
  height: 1.8rem;
  width: 1.5px;
}

.gp-bf-arena__tarjeta {
  align-items: center;
  background: linear-gradient(160deg, var(--gp-bf-rojo-vivo), #b10400 75%);
  clip-path: polygon(22% 0, 78% 0, 100% 16%, 100% 100%, 0 100%, 0 16%);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 1.05rem 0.85rem 0.7rem;
  position: relative;
  text-align: center;
}

.gp-bf-arena__tarjeta::before {
  background: var(--gp-bf-negro);
  border: 1.5px solid #e9e4e3;
  border-radius: 50%;
  content: "";
  height: 0.42rem;
  left: 50%;
  position: absolute;
  top: 0.32rem;
  transform: translateX(-50%);
  width: 0.42rem;
}

.gp-bf-arena__tarjeta small {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  opacity: 0.92;
  text-transform: uppercase;
  white-space: nowrap;
}

.gp-bf-arena__tarjeta strong {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

/* Qué pack se ve, con su barra de progreso (marca el paso del pase). */
.gp-bf-arena__packs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.25rem;
  position: relative;
  z-index: 2;
}

.gp-bf-arena__pack {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  flex: 1 1 0;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  max-width: 7rem;
  padding: 0.6rem 0 0.65rem;
  position: relative;
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.gp-bf-arena__pack::before,
.gp-bf-arena__pack::after {
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
}

.gp-bf-arena__pack::before { background: rgba(255, 255, 255, 0.18); }

.gp-bf-arena__pack::after {
  background: var(--gp-bf-rojo-vivo);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.gp-bf-arena__pack.is-activa { color: #fff; }

.gp-bf-arena__pack.is-activa::after {
  animation: gp-bf-arena-barra var(--gp-bf-intervalo, 4200ms) linear forwards;
}

.gp-bf-arena.is-pausada .gp-bf-arena__pack::after,
.gp-bf-arena.is-pausada .gp-bf-arena__tira,
.gp-bf-arena.is-pausada .gp-bf-arena__bruma {
  animation-play-state: paused;
}

@keyframes gp-bf-arena-barra {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Dos botones en una fila, también en móvil. */
.gp-bf-arena__botones {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
  position: relative;
  z-index: 2;
}

/* Botones planos: sin halo ni brillo (Toni, 13/11). */
.gp-bf-arena__boton {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  flex: 1 1 0;
  font-size: 1rem;
  font-weight: 800;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

/* «Ver packs Black», en el lima de la marca, como «Ver el pack» de las
   tarjetas de oferta (Toni, 15/11). La clase conserva su nombre antiguo. */
.gp-bf-arena__boton--rojo,
.gp-bf-arena__boton--rojo:visited {
  background: var(--gp-volt, #c7f000);
  color: var(--gp-black, #0b0b0c);
}

.gp-bf-arena__boton--rojo:hover,
.gp-bf-arena__boton--rojo:focus-visible {
  background: #d6ff1a;
  color: var(--gp-black, #0b0b0c);
}

.gp-bf-arena__boton--contorno,
.gp-bf-arena__boton--contorno:visited {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
}

.gp-bf-arena__boton--contorno:hover,
.gp-bf-arena__boton--contorno:focus-visible {
  border-color: #fff;
  color: #fff;
}

/*
 * Escritorio, novena vuelta (Toni, 15/11). Dos columnas: a la izquierda
 * «BLACK / FRIDAY» en dos líneas, grande y alineado a la izquierda, con los
 * dos botones en fila justo debajo; a la derecha el pase de cajas, alto como
 * toda la columna, y debajo, centradas con él, las pestañas en horizontal con
 * su barra (como en móvil). Las cintas siguen cruzando la portada pero van por
 * detrás de todo: no tapan el rótulo, los botones ni la etiqueta. La escena se
 * disuelve en la rejilla (display: contents) para que cada pieza vaya a su sitio.
 */
@media (min-width: 761px) {
  .gp-bf-arena__rejilla {
    --gp-bf-pase-alto: clamp(17rem, 27vw, 26rem);
    align-items: center;
    column-gap: clamp(1.5rem, 4cqi, 4.5rem);
    container-type: inline-size;
    grid-template-areas:
      ".       pase"
      "rotulo  pase"
      "botones pase"
      ".       pase"
      ".       packs";
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr auto auto 1fr auto;
    padding: 7.25rem var(--gp-borde) 3.75rem;
  }

  .gp-bf-arena__escena {
    display: contents;
  }

  .gp-hero.gp-bf-arena .gp-bf-arena__rotulo {
    align-items: flex-start;
    flex-direction: column;
    font-size: clamp(4.5rem, 14cqi, 15rem);
    grid-area: rotulo;
    justify-self: start;
    line-height: 0.8;
    margin: 0 0 0 -0.04em;
    position: relative;
    text-align: left;
    top: auto;
  }

  /* Más ancho que alto: la caja va algo a la izquierda y la etiqueta cuelga
     a su derecha, fuera del producto (centro de la caja al 37 %). */
  .gp-bf-arena__pase {
    aspect-ratio: 1.5 / 1;
    bottom: auto;
    grid-area: pase;
    height: var(--gp-bf-pase-alto);
    justify-self: end;
    left: auto;
    position: relative;
    right: auto;
    top: auto;
    width: auto;
  }

  .gp-bf-arena__pase::before {
    left: 40%;
  }

  .gp-bf-arena__caja {
    --gp-bf-escala: 0.8;
    left: 37%;
  }

  /* La etiqueta, más grande y fuera de la caja: colgada a su derecha, sin
     tapar el producto (Toni, 15/11). */
  .gp-bf-arena__etiqueta {
    left: calc(100% - 0.4rem);
    right: auto;
    top: 3%;
  }

  .gp-bf-arena__cordon { height: 1.4rem; }

  .gp-bf-arena__tarjeta {
    padding: 1.25rem 1.1rem 0.85rem;
  }

  .gp-bf-arena__tarjeta small {
    font-size: 0.68rem;
  }

  .gp-bf-arena__tarjeta strong {
    font-size: clamp(1.6rem, 1.4vw, 2rem);
  }

  /* Pestañas en horizontal, centradas bajo el pase, con su barra. */
  .gp-bf-arena__packs {
    gap: 0.75rem;
    grid-area: packs;
    justify-self: end;
    margin: 0.35rem 0 0;
    width: calc(var(--gp-bf-pase-alto) * 1.5);
    z-index: 5;
  }

  .gp-bf-arena__pack {
    font-size: 0.75rem;
    max-width: none;
  }

  .gp-bf-arena__botones {
    grid-area: botones;
    justify-self: start;
    margin: clamp(1.25rem, 2.2cqi, 2rem) 0 0;
    z-index: 5;
  }

  .gp-bf-arena__botones .gp-bf-arena__boton {
    flex: 0 0 auto;
    min-height: 3.25rem;
    padding: 0 1.75rem;
  }

  /* Cintas de borde a borde, por detrás de todo: dos arriba, que cruzan
     bajo el rótulo y la caja, y dos abajo, bajo las pestañas. */
  .gp-bf-arena__cinta {
    height: clamp(2.4rem, 3cqi, 3.1rem);
    left: -6vw;
    right: -6vw;
    z-index: 0;
  }

  .gp-bf-arena__tira {
    font-size: clamp(1.1rem, 1.6cqi, 1.6rem);
  }

  .gp-bf-arena__cinta--a { top: calc(6.6rem + 0.5cqi); transform: rotate(-1.6deg); z-index: 0; }
  .gp-bf-arena__cinta--b { top: calc(6.6rem + 0.5cqi); transform: rotate(1.4deg); z-index: 0; }
  .gp-bf-arena__cinta--c { bottom: -0.2rem; transform: rotate(-1.2deg); z-index: 0; }
  .gp-bf-arena__cinta--d { bottom: 0.5rem; transform: rotate(1.4deg); z-index: 0; }
}

/* Escritorio estrecho: la etiqueta, algo más pequeña, cabe sin salirse. */
@media (min-width: 761px) and (max-width: 1199px) {
  .gp-bf-arena__caja { left: 35%; }
  .gp-bf-arena__tarjeta { padding: 1rem 0.8rem 0.7rem; }
  .gp-bf-arena__tarjeta small { font-size: 0.58rem; }
  .gp-bf-arena__tarjeta strong { font-size: 1.4rem; }
}

@media (max-width: 380px) {
  .gp-bf-arena__boton { font-size: 0.92rem; padding: 0 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gp-bf-arena__bruma,
  .gp-bf-arena__rotulo span,
  .gp-bf-arena__cinta,
  .gp-bf-arena__tira,
  .gp-bf-arena__pase::before,
  .gp-bf-arena__caja.is-activa .gp-bf-arena__destello,
  .gp-bf-arena__caja.is-activa .gp-bf-arena__etiqueta {
    animation: none;
  }

  .gp-bf-arena__caja { transition: none; }
  .gp-bf-arena__caja.is-activa .gp-bf-arena__etiqueta { transform: rotate(3deg); }
  .gp-bf-arena__pack.is-activa::after { animation: none; transform: scaleX(1); }
}

/* ------------------------------------------------------------------ */
/* 2. Ofertas de Black Friday                                          */
/* ------------------------------------------------------------------ */

.gp-bf-ofertas {
  background: #000;
  color: #fff;
  overflow: hidden;
  padding: 40px 0 64px;
  position: relative;
}

.gp-bf-ofertas__interior {
  padding: 0 var(--gp-borde);
}

.gp-bf-ofertas__cabecera {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.gp-bf-ofertas__titulo {
  color: #fff;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.gp-bf-ofertas__texto {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.5;
  margin: 16px 0 0;
  max-width: 34rem;
}

/* Cuenta atrás hasta el último día a las 23:59. */
.gp-bf-ofertas__reloj > p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 16px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.gp-bf-cuenta {
  align-items: flex-start;
  display: flex;
  gap: 8px;
}

.gp-bf-cuenta__bloque {
  align-items: center;
  display: flex;
  flex-direction: column;
}

.gp-bf-cuenta__num {
  background: #161617;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: block;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  height: 1.6em;
  letter-spacing: -0.02em;
  line-height: 1.6em;
  min-width: 2.2em;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.gp-bf-cuenta__num > span {
  display: block;
}

.gp-bf-cuenta__num > span.is-entrando,
.gp-bf-cuenta__num > span.is-saliendo {
  inset: 0;
  position: absolute;
}

.gp-bf-cuenta__num > span.is-entrando { animation: gp-bf-num-entra 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.gp-bf-cuenta__num > span.is-saliendo { animation: gp-bf-num-sale 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both; }

@keyframes gp-bf-num-entra { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes gp-bf-num-sale { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }

.gp-bf-cuenta__bloque small {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 16px;
  margin-top: 8px;
  text-transform: uppercase;
}

.gp-bf-cuenta__dos {
  color: var(--gp-bf-rojo);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 900;
  line-height: calc(1.6 * clamp(1.75rem, 3.2vw, 2.5rem));
}

/* Tarjeta: manda el porcentaje (Toni, 16/11). Plana, sin luz. */
.gp-bf-oferta {
  background: #131314;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s ease;
}

.gp-bf-oferta:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.gp-bf-oferta__foto {
  aspect-ratio: 1 / 1;
  background: #f3f2f0;
  display: block;
  overflow: hidden;
  position: relative;
}

.gp-bf-oferta__foto img {
  display: block;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.gp-bf-oferta:hover .gp-bf-oferta__foto img {
  transform: scale(1.03);
}

.gp-bf-oferta__foto--vacia {
  align-items: center;
  background: #1c1c1e;
  display: flex;
  justify-content: center;
}

.gp-bf-oferta__sin-foto {
  font-size: 1.375rem;
  font-weight: 900;
}

/* Marco de oferta por código sobre la foto: cinta de esquina y sello. */
.gp-bf-oferta__esquina {
  height: 112px;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 112px;
  z-index: 2;
}

.gp-bf-oferta__esquina span {
  background: var(--gp-bf-rojo);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 800;
  left: -40px;
  letter-spacing: 0.16em;
  line-height: 24px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 20px;
  transform: rotate(-45deg);
  width: 160px;
}

/*
 * El sello del porcentaje (Toni, 16/11, como «Reducción 30 %» de Venum): rojo,
 * grande y encabezando el cuerpo de la tarjeta, fuera de la foto para no tapar
 * el producto. Blanco sobre #e10600: 4,9:1, y el texto es grande.
 */
.gp-bf-oferta__sello-ahorro {
  align-items: baseline;
  align-self: flex-start;
  background: var(--gp-bf-rojo);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  gap: 8px;
  margin: 0 0 4px;
  padding: 4px 12px;
}

.gp-bf-oferta__sello-ahorro strong {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}

.gp-bf-oferta__sello-ahorro small {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Texto solo para lectores de pantalla («Por separado: …»). */
.gp-bf-sr {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.gp-bf-oferta__cuerpo {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}

.gp-bf-oferta__nivel {
  color: var(--gp-volt, #c7f000);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 16px;
  margin: 0;
  text-transform: uppercase;
}

.gp-bf-oferta__nombre {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.gp-bf-oferta__nombre a {
  color: #fff;
  text-decoration: none;
}

.gp-bf-oferta__subtitulo {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
}

/*
 * Precios como Venum (Toni, 16/11): el tachado y, al lado, el del pack grande.
 * El tachado es la suma por separado, no un precio anterior: lleva encima su
 * etiqueta «por separado» («más de» si el pack trae piezas sin precio suelto).
 */
.gp-bf-oferta__precios {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 4px;
}

.gp-bf-oferta__ahora {
  font-size: clamp(2rem, 2.6vw, 2.25rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.gp-bf-oferta__separado {
  color: rgba(255, 255, 255, 0.64);
  display: flex;
  flex-direction: column;
  padding-bottom: 2px;
}

.gp-bf-oferta__separado small {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 16px;
  white-space: nowrap;
}

.gp-bf-oferta__separado s {
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 24px;
  text-decoration-thickness: 2px;
  white-space: nowrap;
}

.gp-bf-oferta__resumen {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  gap: 8px;
  line-height: 24px;
  margin: 0;
}

.gp-bf-oferta__resumen span {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-weight: 700;
  padding: 0 12px;
}

.gp-bf-oferta__cuentas summary {
  color: rgba(255, 255, 255, 0.64);
  cursor: pointer;
  font-size: 0.8125rem;
  line-height: 24px;
}

.gp-bf-oferta__lleva {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.gp-bf-oferta__lleva li {
  align-items: center;
  display: grid;
  font-size: 0.875rem;
  gap: 8px;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  line-height: 24px;
}

.gp-bf-oferta__lleva svg {
  color: var(--gp-volt, #c7f000);
  height: 16px;
  width: 16px;
}

.gp-bf-oferta__lleva a {
  color: #fff;
  text-decoration: none;
}

.gp-bf-oferta__lleva a:hover {
  text-decoration: underline;
}

.gp-bf-oferta__lleva li > span {
  color: rgba(255, 255, 255, 0.56);
  font-variant-numeric: tabular-nums;
}

.gp-bf-oferta__lleva .gp-bf-oferta__sin-precio {
  color: rgba(255, 255, 255, 0.56);
  display: block;
  font-size: 0.8125rem;
}

.gp-bf-oferta__boton {
  margin-top: auto;
  width: 100%;
}

/* Premium: el primero del carrusel, más ancho y con el borde rojo de campaña. */
.gp-bf-oferta--destacada {
  border: 2px solid var(--gp-bf-rojo);
}

.gp-bf-oferta--destacada:hover {
  border-color: var(--gp-bf-rojo);
}

.gp-bf-oferta__mejor {
  background: var(--gp-volt, #c7f000);
  border-radius: 999px;
  color: var(--gp-black, #0b0b0c);
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 32px;
  margin: 0;
  padding: 0 16px;
  position: absolute;
  right: 16px;
  text-transform: uppercase;
  top: 16px;
  z-index: 4;
}

/* Más ancha, pero la foto a la misma altura que las demás (7/6 en móvil,
   26/19 en escritorio): las tarjetas siguen alineadas en la fila. */
.gp-bf-oferta--destacada .gp-bf-oferta__foto {
  aspect-ratio: 7 / 6;
  background: #000;
}

/* La foto del Premium es sobre negro: llena el hueco, sin franjas claras. */
.gp-bf-oferta--destacada .gp-bf-oferta__foto img {
  object-fit: cover;
}

/* Todas: misma estructura a la misma altura. */
.gp-bf-ofertas__lista .gp-bf-oferta__nombre {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-bf-ofertas__lista .gp-bf-oferta__boton {
  margin-top: auto;
}

.gp-bf-ofertas__lista .gp-bf-oferta__cuentas {
  margin-bottom: 8px;
}

/* Un solo carrusel, en móvil y en escritorio, hasta el borde de la pantalla:
   el hueco lateral es sangría de inicio y fin del deslizamiento. */
.gp-bf-ofertas__lista {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0 calc(-1 * var(--gp-borde));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 var(--gp-borde) 8px;
  scroll-padding-inline: var(--gp-borde);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gp-bf-ofertas__lista::-webkit-scrollbar {
  display: none;
}

.gp-bf-ofertas__lista > li {
  flex: 0 0 min(72%, 18rem);
  scroll-snap-align: start;
}

.gp-bf-ofertas__lista > .gp-bf-ofertas__item--destacada {
  flex-basis: min(84%, 22rem);
}

.gp-bf-ofertas__pie {
  margin: 32px 0 0;
  text-align: center;
}

.gp-bf-ofertas__enlace {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

@media (min-width: 761px) {
  .gp-bf-ofertas {
    padding: 48px 0 96px;
  }

  .gp-bf-ofertas__cabecera {
    margin-bottom: 32px;
  }

  .gp-bf-ofertas__lista {
    gap: 24px;
  }

  .gp-bf-ofertas__lista > li {
    flex-basis: 19rem;
  }

  .gp-bf-ofertas__lista > .gp-bf-ofertas__item--destacada {
    flex-basis: 26rem;
  }

  .gp-bf-oferta--destacada .gp-bf-oferta__foto {
    aspect-ratio: 26 / 19;
  }
}

/*
 * Móvil más visual y más simple (Toni, 13/11): sin el párrafo y la cuenta
 * atrás en una fila; lo que lleva cada pack, plegado.
 */
@media (max-width: 760px) {
  .gp-bf-ofertas { padding: 24px 0 48px; }
  .gp-bf-ofertas__cabecera { gap: 12px; margin-bottom: 20px; }
  .gp-bf-ofertas__titulo { font-size: 2.1rem; }
  .gp-bf-ofertas__texto { display: none; }

  .gp-bf-ofertas__reloj { align-items: center; display: flex; gap: 12px; }
  .gp-bf-ofertas__reloj > p { margin: 0; }
  .gp-bf-cuenta { gap: 4px; }
  .gp-bf-cuenta__num { border-radius: 6px; font-size: 1.15rem; min-width: 2.1em; }
  .gp-bf-cuenta__dos { font-size: 1rem; line-height: 1.84rem; }
  .gp-bf-cuenta__bloque small { font-size: 0.55rem; margin-top: 4px; }
}

/* Entrada: las tarjetas suben escalonadas y el sello cae en su sitio. */
.gp-bf-ofertas--anima [data-gp-bf-entra] {
  opacity: 0;
  transform: translateY(24px);
}

.gp-bf-ofertas--anima [data-gp-bf-entra].is-dentro {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease var(--gp-bf-retraso, 0ms), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) var(--gp-bf-retraso, 0ms), border-color 0.2s ease;
}

.gp-bf-ofertas--anima [data-gp-bf-entra] .gp-bf-oferta__sello-ahorro {
  opacity: 0;
}

.gp-bf-ofertas--anima [data-gp-bf-entra].is-dentro .gp-bf-oferta__sello-ahorro {
  animation: gp-bf-golpe 0.45s cubic-bezier(0.3, 1.4, 0.5, 1) calc(var(--gp-bf-retraso, 0ms) + 300ms) both;
}

@keyframes gp-bf-golpe {
  from { opacity: 0; transform: scale(1.4); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ */
/* 2b. Filtro «Black Friday» del catálogo (Toni, 15/11)                */
/* ------------------------------------------------------------------ */

/* La burbuja, la primera de la fila: rojo sobre negro, sin brillos. */
.gp-catalogo-tipo--bf .gp-catalogo-tipo__foto {
  align-items: center;
  background: #000;
  box-shadow: 0 0 0 1px #000;
  display: flex;
  justify-content: center;
}

.gp-catalogo-tipo__bf {
  color: #e10600;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
}

.gp-catalogo-tipo--bf,
.gp-catalogo-tipo--bf.is-active {
  color: #e10600;
  font-weight: 800;
}

.gp-catalogo-tipo--bf.is-active .gp-catalogo-tipo__foto {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e10600;
}

/* Con Black Friday elegido, solo sus ofertas: ni barra, ni filtros, ni rejilla. */
.gp-bf-catalogo {
  display: none;
}

.gp-catalogo.is-black-friday > :not(.gp-catalogo-tipos):not(.gp-bf-catalogo) {
  display: none !important;
}

.gp-catalogo.is-black-friday > .gp-bf-catalogo {
  /* Las tarjetas toman el rojo de campaña de aquí, como en `.gp-bf-ofertas`. */
  --gp-bf-rojo: #e10600;
  background: #000;
  border-radius: 20px;
  color: #fff;
  display: block;
  padding: 24px 16px 28px;
}

.gp-bf-catalogo__cabecera {
  margin: 0 0 20px;
}

.gp-bf-catalogo__marca {
  border-left: 4px solid #e10600;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  padding-left: 12px;
  text-transform: uppercase;
}

.gp-bf-catalogo__texto {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 12px 0 0;
  max-width: 34rem;
}

.gp-bf-catalogo__lista {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.gp-bf-catalogo__lista > li {
  display: flex;
}

.gp-bf-catalogo__lista .gp-bf-oferta {
  width: 100%;
}

/* En la rejilla todas las fotos a la misma altura, también la del Premium. */
.gp-bf-catalogo__lista .gp-bf-oferta--destacada .gp-bf-oferta__foto {
  aspect-ratio: 1 / 1;
}

@media (min-width: 600px) {
  .gp-bf-catalogo__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .gp-catalogo.is-black-friday > .gp-bf-catalogo { padding: 40px 40px 48px; }
  .gp-bf-catalogo__marca { font-size: 2.5rem; }
  .gp-bf-catalogo__lista { gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------ */
/* 3. Así se usa (ficha)                                               */
/* ------------------------------------------------------------------ */

.gp-asi-se-usa {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1rem, 2vw, 2rem);
}

/* Va dentro del contenedor de la ficha: mismo borde izquierdo que la galería
   y «El catálogo». */
.gp-asi-se-usa__cabecera {
  margin: 0 0 1.25rem;
}

.gp-asi-se-usa__titulo {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

/* Hay fichas claras y oscuras (las palas): black-friday.js mide el fondo y
   pone `--oscuro`. Gris secundario #a1a1a6, el de las fichas Attack. */
.gp-asi-se-usa .gp-asi-se-usa__titulo {
  color: var(--gp-ink);
}

.gp-asi-se-usa .gp-asi-se-usa__texto {
  color: var(--gp-muted);
  margin: 0.4rem 0 0;
}

.gp-asi-se-usa--oscuro .gp-asi-se-usa__titulo { color: #f5f5f7; }
.gp-asi-se-usa--oscuro .gp-asi-se-usa__texto { color: #a1a1a6; }
.gp-asi-se-usa--oscuro .gp-asi-se-usa__pieza { background: #1d1d1f; }

.gp-asi-se-usa__lista {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  overflow-x: auto;
  padding: 0 0 0.75rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gp-asi-se-usa__lista::-webkit-scrollbar {
  display: none;
}

/* Móvil: la fila llega hasta los dos bordes de la pantalla; el hueco lateral
   es sangría del deslizamiento, no margen fijo (como los demás carruseles). */
@media (max-width: 760px) {
  /* 12 px: el margen del `.gp-container` en móvil (calc(100% - 24px)). */
  .gp-asi-se-usa__lista {
    margin-inline: -12px;
    padding-inline: 12px;
    scroll-padding-inline: 12px;
  }
}

/* Misma altura para todas; el ancho sale de la proporción real de cada pieza
   (--gp-asi-prop = ancho / alto). Sin igualar ni rellenar con desenfoque. */
.gp-asi-se-usa__medio {
  --gp-asi-alto: 26rem;
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: calc(var(--gp-asi-alto) * var(--gp-asi-prop, 0.5625));
}

.gp-asi-se-usa__medio figure {
  margin: 0;
}

.gp-asi-se-usa__pieza {
  background: #111;
  border-radius: 1rem;
  height: var(--gp-asi-alto);
  overflow: hidden;
  position: relative;
}

.gp-asi-se-usa__pieza img,
.gp-asi-se-usa__pieza video {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gp-asi-se-usa__pie {
  color: var(--gp-muted);
  font-size: 0.88rem;
  line-height: 1.35;
  margin-top: 0.6rem;
  max-width: 100%;
}

.gp-asi-se-usa--oscuro .gp-asi-se-usa__pie {
  color: #a1a1a6;
}

@media (min-width: 761px) {
  .gp-asi-se-usa__medio {
    --gp-asi-alto: 28rem;
  }
}

.gp-asi-se-usa__icono {
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  color: var(--gp-white);
  display: flex;
  height: 2rem;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  right: 0.6rem;
  top: 0.6rem;
  width: 2rem;
}

.gp-asi-se-usa__icono svg {
  fill: currentColor;
  height: 0.75rem;
  width: 0.75rem;
}

/* ------------------------------------------------------------------ */
/* Menos movimiento: nada se mueve solo.                               */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  .gp-bf-hero__diapo.is-activa img,
  .gp-bf-hero__diapo.is-activa video,
  .gp-bf-hero__diapo.is-entrando,
  .gp-bf-hero__tajo.is-cortando,
  .gp-bf-hero__tajo.is-cortando::before,
  .gp-bf-hero__tajo.is-cortando::after,
  .gp-bf-titulo__palabra { animation: none; }
  .gp-bf-titulo__palabra--luz { animation: none; background: none; color: inherit; }
  .gp-bf-cifra.is-rodando .gp-bf-rodillo__tira { animation: none; }
  .gp-bf-cartel__cinta { animation: none; }
  .gp-bf-portada__foto img { animation: none; }
  .gp-bf-oferta__foto img { transition: none; }
}

/* ------------------------------------------------------------------ */
/* 4. Cinta de garantías en campaña (octava vuelta, Toni 14/11)         */
/* ------------------------------------------------------------------ */

/*
 * Sigue corriendo (le gusta), pero se lee mejor: negro, texto blanco pequeño
 * en mayúsculas con aire, iconos en el rojo de campaña y un rombo rojo «◆»
 * entre frases, el mismo motivo de las cintas de la portada. Filete fino
 * arriba y abajo, sin brillos. Fuera de campaña no cambia nada
 * (garantias-2026-11-13.css).
 */
.gp-bf-activa .gp-garantias {
  background: #000;
  border-block: 1px solid rgba(225, 6, 0, 0.55);
}

.gp-bf-activa .gp-garantias__item {
  gap: 9px;
  height: 44px;
  padding: 0 24px;
}

.gp-bf-activa .gp-garantias__item::after {
  background: none;
  color: #e10600;
  content: "◆";
  font-size: 9px;
  height: auto;
  line-height: 1;
  right: 0;
  transform: translate(50%, -50%);
  width: auto;
}

.gp-bf-activa .gp-garantias__icono {
  color: #ff2d1f;
  height: 17px;
  width: 17px;
}

.gp-bf-activa .gp-garantias__item span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (min-width: 761px) {
  .gp-bf-activa .gp-garantias__item {
    height: 48px;
    padding: 0 36px;
  }

  .gp-bf-activa .gp-garantias__item span {
    font-size: 0.75rem;
  }
}

/* Flechas del carrusel de ofertas: solo con ratón (escritorio). */
.gp-bf-ofertas__flechas {
  display: none;
}

@media (min-width: 761px) {
  .gp-bf-ofertas__flechas:not([hidden]) {
    align-self: flex-end;
    display: flex;
    gap: 8px;
    margin-left: auto;
  }

  .gp-bf-ofertas__flecha {
    align-items: center;
    background: #161617;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    height: 44px;
    justify-content: center;
    padding: 0;
    transition: border-color 0.2s ease;
    width: 44px;
  }

  .gp-bf-ofertas__flecha:hover:not([disabled]) {
    border-color: #fff;
  }

  .gp-bf-ofertas__flecha[disabled] {
    cursor: default;
    opacity: 0.3;
  }

  .gp-bf-ofertas__flecha svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 18px;
  }
}
