/* ==========================================================================
   Tribuna Jerseys · Demo de Escoweb
   Paleta: negro y hueso como base, verde volt (#c8ff2e) como único acento.
   Regla del acento: el volt solo va sobre fondos oscuros o como fondo con
   texto negro encima; nunca como texto sobre fondo claro.
   ========================================================================== */

:root {
  --negro: #0a0a0a;
  --carbon: #141414;
  --carbon-2: #1c1c1c;
  --linea-osc: #2a2a2a;
  --hueso: #f4f4ef;
  --blanco: #ffffff;
  --linea: #e1e1d9;
  --texto: #0a0a0a;
  --texto-2: #4a4a46;
  --texto-osc: #f2f2f2;
  --texto-osc-2: #a9a9a4;
  --volt: #c8ff2e;
  --error: #b3001b;

  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --ancho: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --angulo: clamp(22px, 4vw, 60px);
  --focus: var(--negro);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--hueso);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

ul,
ol {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.contenedor {
  width: min(100% - 2 * var(--gutter), var(--ancho));
  margin-inline: auto;
}

.saltar {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--volt);
  color: var(--negro);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}

.saltar:focus {
  top: 12px;
}

/* ---------- Franja de demostración ---------- */

.franja-demo {
  background: #e6e6df;
  color: #1a1a1a;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  padding: 8px 0;
  border-bottom: 1px solid #d6d6ce;
}

.franja-demo p {
  margin: 0 auto;
}

.franja-demo a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--volt {
  background: var(--volt);
  color: var(--negro);
}

.btn--volt:hover {
  background: var(--blanco);
}

.btn--contorno {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--blanco);
}

.btn--contorno:hover {
  background: var(--blanco);
  color: var(--negro);
  border-color: var(--blanco);
}

.btn--negro {
  background: var(--negro);
  color: var(--blanco);
}

.btn--negro:hover {
  background: var(--volt);
  color: var(--negro);
}

.btn--chico {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 13px;
}

.btn--bloque {
  width: 100%;
}

.etiqueta-ejemplo {
  display: inline-block;
  padding: 3px 7px;
  background: var(--negro);
  color: var(--volt);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle;
}

/* ---------- Encabezado ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.94);
  color: var(--texto-osc);
  border-bottom: 1px solid #1d1d1d;
  --focus: var(--volt);
  transition: box-shadow 0.25s;
}

@supports (backdrop-filter: blur(8px)) {
  .header {
    background: rgba(10, 10, 10, 0.86);
    backdrop-filter: blur(12px);
  }
}

.header.con-sombra {
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--blanco);
  flex-shrink: 0;
}

.logo__barra {
  width: 12px;
  height: 34px;
  background: var(--volt);
  transform: skewX(-14deg);
}

.logo__texto {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__marca {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.9;
}

.logo__sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--texto-osc-2);
  margin-top: 2px;
}

.nav__lista {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  list-style: none;
  padding: 0;
}

.nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: #d5d5d0;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav a:hover {
  color: var(--blanco);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header__acciones {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburguesa {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--linea-osc);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.hamburguesa span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--blanco);
  transition: transform 0.25s, opacity 0.2s;
}

.hamburguesa span:nth-child(1) { top: 14px; }
.hamburguesa span:nth-child(2) { top: 21px; }
.hamburguesa span:nth-child(3) { top: 28px; }

.hamburguesa[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburguesa[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburguesa[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .hamburguesa {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    background: var(--negro);
    border-bottom: 1px solid var(--linea-osc);
    padding: 8px var(--gutter) 28px;
  }

  .nav.abierto {
    display: block;
  }

  .nav__lista {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__lista li {
    border-bottom: 1px solid var(--carbon-2);
  }

  .nav a {
    display: block;
    padding: 14px 0;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1;
  }

  .nav a::after {
    display: none;
  }
}

@media (max-width: 520px) {
  .header__wa-texto {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .header__wa {
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .logo__marca {
    font-size: 28px;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 620px;
  min-height: clamp(580px, calc(100svh - var(--header-h) - 36px), 880px);
  background: var(--negro);
  color: var(--blanco);
  overflow: hidden;
  --focus: var(--volt);
}

.hero__fondo {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__fondo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.66) 45%, rgba(10, 10, 10, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0) 50%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 48px;
  padding-block: clamp(72px, 12vh, 120px) clamp(64px, 8vh, 88px);
}

.hero__coleccion {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__coleccion-tag {
  padding: 5px 10px;
  background: var(--volt);
  color: var(--negro);
  font-weight: 700;
}

.hero__titulo {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.5rem, 10.5vw, 9rem);
  line-height: 0.86;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  max-width: 11ch;
  margin-bottom: 26px;
}

.acento {
  color: var(--volt);
}

.hero__lead {
  max-width: 50ch;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #dcdcd7;
  margin-bottom: 32px;
}

.hero__botones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__pieza {
  width: 290px;
  background: rgba(16, 16, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform: rotate(2deg);
  transition: transform 0.4s;
}

.hero__pieza:hover {
  transform: rotate(0deg);
}

.hero__pieza-foto {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hero__pieza-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__pieza-info {
  padding: 16px 18px 18px;
}

.hero__pieza-info p {
  margin: 0;
}

.hero__pieza-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--volt);
}

.hero__pieza-nombre {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  margin: 6px 0 10px !important;
}

.hero__pieza-precio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.hero__pieza .etiqueta-ejemplo {
  background: var(--volt);
  color: var(--negro);
}

.hero__datos {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  list-style: none;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e6e6e1;
}

.hero__datos li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero__datos li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--volt);
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__pieza {
    display: none;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.55) 60%, rgba(10, 10, 10, 0.45) 100%);
  }
}

@media (max-width: 480px) {
  .hero__botones .btn {
    flex: 1 1 100%;
  }

  .hero__datos {
    flex-direction: column;
    gap: 8px;
  }
}

/* ---------- Cintas (marquee) ---------- */

.cinta-zona {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding-block: 18px 6px;
  overflow: hidden;
}

.cinta {
  overflow: hidden;
  white-space: nowrap;
}

.cinta--volt {
  width: 106%;
  margin-left: -3%;
  background: var(--volt);
  color: var(--negro);
  transform: rotate(-1.6deg);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6);
}

.cinta__pista {
  display: flex;
  width: max-content;
  animation: deslizar 42s linear infinite;
}

.cinta__pista--reversa {
  animation-direction: reverse;
  animation-duration: 50s;
}

.cinta:hover .cinta__pista {
  animation-play-state: paused;
}

.cinta__grupo {
  display: flex;
  flex-shrink: 0;
  list-style: none;
  padding: 0;
}

.cinta__grupo li {
  display: inline-flex;
  align-items: center;
}

.cinta__grupo li::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-inline: 26px;
  background: currentColor;
  transform: rotate(45deg);
}

.cinta--volt .cinta__grupo li {
  padding-block: 12px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
}

.cinta--negra {
  margin-top: clamp(40px, 6vw, 64px);
  background: var(--negro);
  color: var(--texto-osc);
}

.cinta--negra .cinta__grupo li {
  padding-block: 15px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cinta--negra .cinta__grupo li::after {
  background: var(--volt);
  width: 7px;
  height: 7px;
}

@keyframes deslizar {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Secciones ---------- */

.seccion {
  padding-block: clamp(72px, 10vw, 128px);
  scroll-margin-top: var(--header-h);
}

.seccion--sin-arriba {
  padding-top: 0;
}

.seccion--oscura {
  background: var(--negro);
  color: var(--texto-osc);
  --focus: var(--volt);
}

.seccion--angulo {
  clip-path: polygon(0 var(--angulo), 100% 0, 100% calc(100% - var(--angulo)), 0 100%);
  padding-block: calc(clamp(72px, 10vw, 128px) + var(--angulo) * 0.6);
}

.encabezado {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 20px 48px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--negro);
  transform: skewX(-14deg);
}

.seccion--oscura .eyebrow::before {
  background: var(--volt);
}

.encabezado h2,
.faq h2 {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.intro {
  max-width: 52ch;
  margin: 0;
  color: var(--texto-2);
  font-size: 1.02rem;
}

.seccion--oscura .intro {
  color: var(--texto-osc-2);
}

@media (max-width: 760px) {
  .encabezado {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------- Catálogo ---------- */

.aviso-precios {
  margin: 0 0 24px;
  padding: 12px 16px;
  background: var(--blanco);
  border-left: 4px solid var(--negro);
  font-size: 14px;
  color: var(--texto-2);
}

.aviso-precios strong {
  color: var(--texto);
}

.catalogo__barra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 28px;
}

.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filtro {
  padding: 10px 16px;
  min-height: 42px;
  border: 1.5px solid var(--negro);
  border-radius: 999px;
  background: transparent;
  color: var(--negro);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.filtro:hover {
  background: var(--blanco);
}

.filtro[aria-pressed="true"] {
  background: var(--negro);
  color: var(--volt);
}

.catalogo__estado {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--texto-2);
}

.productos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}

.producto {
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  border: 1px solid var(--linea);
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.7s;
}

.producto:hover {
  box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.45);
}

.producto__foto {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #deded6;
}

.producto__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.producto:hover .producto__foto img {
  transform: scale(1.045);
}

.foto--derecha {
  object-position: 72% 50%;
}

.foto--alta {
  object-position: 50% 40%;
}

.producto__cat {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  background: var(--negro);
  color: var(--blanco);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.producto__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  padding: 16px;
}

.producto h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.producto__precio {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin: 0;
}

.precio {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
}

.moneda {
  font-size: 12px;
  font-weight: 700;
  color: var(--texto-2);
  margin-right: 4px;
}

.tallas {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.tallas legend {
  padding: 0;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texto-2);
}

.tallas__opciones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.talla {
  position: relative;
  display: block;
}

.talla input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.talla span {
  display: block;
  padding: 8px 0;
  border: 1.5px solid #cfcfc6;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.talla input:hover + span {
  border-color: var(--negro);
}

.talla input:checked + span {
  background: var(--negro);
  border-color: var(--negro);
  color: var(--blanco);
}

.talla input:focus-visible + span {
  outline: 3px solid var(--negro);
  outline-offset: 2px;
}

.tallas.falta .talla span {
  border-color: var(--error);
}

.producto__aviso {
  margin: -4px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--error);
}

.producto__aviso:empty {
  display: none;
}

.producto__btn {
  margin-top: auto;
  font-size: 12.5px;
  padding-inline: 12px;
}

.catalogo__nota {
  margin: 40px 0 0;
  text-align: center;
  color: var(--texto-2);
}

.catalogo__nota a {
  color: var(--texto);
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 1080px) {
  .productos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .productos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
}

@media (max-width: 480px) {
  .producto__info {
    padding: 12px;
    gap: 10px;
  }

  .producto h3 {
    font-size: 13.5px;
  }

  .precio {
    font-size: 26px;
  }

  .tallas__opciones {
    gap: 4px;
  }

  .talla span {
    padding: 7px 0;
    font-size: 12px;
  }

  .producto__btn {
    min-height: 44px;
    padding: 10px 6px;
    font-size: 11.5px;
    letter-spacing: 0.02em;
  }

  .producto__btn svg {
    display: none;
  }

  .producto__cat {
    font-size: 9.5px;
    top: 8px;
    left: 8px;
  }

  .filtro {
    padding: 8px 13px;
    min-height: 40px;
    font-size: 12.5px;
  }
}

/* ---------- Categorías ---------- */

.categorias {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.cat {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: clamp(20px, 2.6vw, 32px);
  overflow: hidden;
  background: var(--carbon);
  color: var(--blanco);
  text-decoration: none;
}

.cat img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.cat:has(img)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.45) 55%, rgba(10, 10, 10, 0.15) 100%);
}

/* Respaldo para navegadores sin :has() */
@supports not selector(:has(*)) {
  .cat--1::before,
  .cat--2::before,
  .cat--3::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.45) 55%, rgba(10, 10, 10, 0.15) 100%);
  }
}

.cat:hover img {
  transform: scale(1.05);
}

.cat--1 {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 520px;
}

.cat--2,
.cat--3 {
  grid-column: span 5;
}

.cat--retro,
.cat--perso {
  grid-column: span 6;
  min-height: 230px;
}

.cat--retro {
  border: 1px solid var(--linea-osc);
}

.cat--perso {
  background: var(--volt);
  color: var(--negro);
  --focus: var(--blanco);
}

.cat__etiqueta {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 8px;
  border: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cat__nombre {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.cat--1 .cat__nombre {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.cat__desc {
  max-width: 36ch;
  margin: 10px 0 16px;
  font-size: 15px;
  color: #d8d8d3;
}

.cat--perso .cat__desc {
  color: #1f1f1f;
}

.cat__ir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--volt);
}

.cat--perso .cat__ir {
  color: var(--negro);
}

.cat__ir svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s;
}

.cat:hover .cat__ir svg {
  transform: translateX(5px);
}

.cat__fondo-texto {
  position: absolute;
  top: -0.12em;
  right: -0.04em;
  z-index: -1;
  font-family: var(--display);
  font-size: clamp(9rem, 18vw, 15rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #3a3a3a;
  pointer-events: none;
  transition: transform 0.6s ease;
}

.cat--perso .cat__fondo-texto {
  -webkit-text-stroke-color: rgba(10, 10, 10, 0.22);
}

.cat:hover .cat__fondo-texto {
  transform: translateX(-10px);
}

@media (max-width: 900px) {
  .cat--1 {
    grid-column: span 12;
    grid-row: auto;
    min-height: 400px;
  }

  .cat--2,
  .cat--3 {
    grid-column: span 6;
  }
}

@media (max-width: 600px) {
  .cat--1,
  .cat--2,
  .cat--3,
  .cat--retro,
  .cat--perso {
    grid-column: span 12;
  }

  .cat--1 {
    min-height: 340px;
  }

  .cat {
    min-height: 250px;
  }

  .cat--retro,
  .cat--perso {
    min-height: 200px;
  }
}

/* ---------- Destacados (carrusel) ---------- */

.carrusel__controles {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.carrusel__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1.5px solid var(--negro);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}

.carrusel__btn svg {
  width: 22px;
  height: 22px;
}

.carrusel__btn .girar {
  transform: rotate(180deg);
}

.carrusel__btn:hover:not(:disabled) {
  background: var(--negro);
  color: var(--volt);
}

.carrusel__btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.carrusel {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0 0 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--negro) transparent;
}

.carrusel::-webkit-scrollbar {
  height: 6px;
}

.carrusel::-webkit-scrollbar-thumb {
  background: var(--negro);
}

.carrusel:focus-visible {
  outline-offset: 6px;
}

.destacado {
  position: relative;
  isolation: isolate;
  flex: 0 0 clamp(272px, 38vw, 450px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 460px;
  aspect-ratio: 3 / 4;
  padding: clamp(20px, 2.4vw, 30px);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--carbon);
  color: var(--blanco);
  --focus: var(--volt);
}

.destacado img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.destacado::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.7) 38%, rgba(10, 10, 10, 0) 70%);
}

.destacado:hover img {
  transform: scale(1.04);
}

.destacado__num {
  position: absolute;
  top: 14px;
  left: clamp(20px, 2.4vw, 30px);
  font-family: var(--display);
  font-size: 84px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--volt);
}

.destacado__info p {
  margin: 0;
}

.destacado__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--volt);
}

.destacado h3 {
  margin: 8px 0 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.destacado__desc {
  font-size: 14.5px;
  color: #d6d6d1;
  max-width: 40ch;
}

.destacado__pie {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.destacado__precio {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
}

.destacado__precio small {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
}

.destacado__precio span {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--volt);
}

@media (max-width: 760px) {
  .carrusel__controles {
    justify-content: flex-start;
  }
}

/* ---------- Promociones ---------- */

.promo {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 480px;
  overflow: hidden;
  background: var(--negro);
  color: var(--blanco);
  clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 56px 100%, 0 calc(100% - 56px));
  --focus: var(--volt);
}

.promo img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.93) 0%, rgba(10, 10, 10, 0.78) 45%, rgba(10, 10, 10, 0.12) 100%);
}

.promo__contenido {
  max-width: 660px;
  padding: clamp(36px, 6vw, 76px);
}

.promo__etiqueta {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 12px;
  background: var(--volt);
  color: var(--negro);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.promo__titulo {
  margin-bottom: 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.promo__texto {
  max-width: 44ch;
  margin-bottom: 28px;
  font-size: 1.05rem;
  color: #dcdcd7;
}

.promo__letra-chica {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: #b4b4ae;
}

@media (max-width: 760px) {
  .promo {
    min-height: 0;
    clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
  }

  .promo::before {
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.8) 60%, rgba(10, 10, 10, 0.55) 100%);
  }

  .promo__contenido {
    padding-top: 120px;
  }
}

/* ---------- Pedidos ---------- */

.pasos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: clamp(40px, 6vw, 72px);
  padding: 0;
  list-style: none;
}

.paso {
  position: relative;
  padding: 28px 24px 26px;
  background: var(--carbon);
  border: 1px solid var(--linea-osc);
  transition: border-color 0.25s, opacity 0.7s, transform 0.7s;
}

.paso:hover {
  border-color: var(--volt);
}

.paso__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.85;
  color: var(--volt);
}

.paso h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.paso p {
  margin: 0;
  font-size: 15px;
  color: var(--texto-osc-2);
}

.info {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
}

.tarjeta {
  padding: clamp(24px, 3vw, 36px);
  background: var(--carbon);
  border: 1px solid var(--linea-osc);
}

.tarjeta h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.tarjeta p {
  color: var(--texto-osc-2);
}

.tarjeta__foto {
  margin: calc(clamp(24px, 3vw, 36px) * -1) calc(clamp(24px, 3vw, 36px) * -1) 26px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.tarjeta__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foto--persona {
  object-position: 75% 30%;
}

.lista {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lista li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
}

.lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--volt);
  transform: skewX(-14deg);
}

.lista .etiqueta-ejemplo {
  margin-left: 4px;
  background: var(--volt);
  color: var(--negro);
}

.tarjeta__nota {
  margin: 20px 0 22px;
  padding: 12px 14px;
  border-left: 3px solid var(--volt);
  background: var(--carbon-2);
  font-size: 14px;
  color: var(--texto-osc) !important;
}

.tabla-envoltura {
  overflow-x: auto;
}

.tabla-tallas {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.tabla-tallas caption {
  caption-side: bottom;
  padding-top: 14px;
  text-align: left;
  font-size: 13px;
  color: var(--texto-osc-2);
}

.tabla-tallas th,
.tabla-tallas td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--linea-osc);
  text-align: left;
  white-space: nowrap;
}

.tabla-tallas thead th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--texto-osc-2);
  border-bottom-color: #3a3a3a;
}

.tabla-tallas tbody th {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  color: var(--volt);
}

.tabla-tallas tbody tr:hover {
  background: var(--carbon-2);
}

@media (max-width: 980px) {
  .pasos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .pasos {
    grid-template-columns: 1fr;
  }

  .paso {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 18px;
  }

  .paso__num {
    grid-row: span 2;
    margin: 0;
    font-size: 54px;
  }

  .tabla-tallas {
    font-size: 14px;
  }

  .tabla-tallas th,
  .tabla-tallas td {
    padding: 11px 6px;
  }
}

/* ---------- Preguntas frecuentes ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.faq__lado {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.faq__lado .intro {
  margin: 18px 0 26px;
}

.faq__lista details {
  border-top: 1.5px solid var(--negro);
}

.faq__lista details:last-child {
  border-bottom: 1.5px solid var(--negro);
}

.faq__lista summary {
  position: relative;
  padding: 22px 56px 22px 0;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq__lista summary::-webkit-details-marker {
  display: none;
}

.faq__lista summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border: 1.5px solid var(--negro);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  transition: transform 0.25s, background-color 0.2s, color 0.2s;
}

.faq__lista details[open] summary::after {
  transform: rotate(45deg);
  background: var(--negro);
  color: var(--volt);
}

.faq__lista summary:hover::after {
  background: var(--negro);
  color: var(--volt);
}

.faq__lista summary:focus-visible {
  outline-offset: 4px;
}

.faq__respuesta {
  max-width: 62ch;
  padding: 0 56px 20px 0;
  color: var(--texto-2);
}

.faq__respuesta a {
  color: var(--texto);
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .faq {
    grid-template-columns: 1fr;
  }

  .faq__lado {
    position: static;
  }

  .faq__respuesta {
    padding-right: 0;
  }
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 96px);
  background: var(--negro);
  color: #d2d2cd;
  font-size: 15px;
  --focus: var(--volt);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1.3fr 1fr;
  gap: 40px;
}

.footer__marca p {
  max-width: 34ch;
  margin-top: 20px;
  color: var(--texto-osc-2);
}

.footer__titulo {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blanco);
}

.footer__lista {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.footer__lista a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer__lista a:hover {
  color: var(--volt);
}

.footer__contacto li {
  overflow-wrap: anywhere;
}

.footer__dato {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f8f8a;
}

.footer__grid > div > p {
  color: var(--texto-osc-2);
}

.footer__gigante {
  margin: clamp(40px, 6vw, 72px) 0 -0.12em;
  font-family: var(--display);
  font-size: clamp(6rem, 27vw, 24rem);
  line-height: 0.82;
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: uppercase;
  color: #171717;
  white-space: nowrap;
  user-select: none;
}

.footer__base {
  position: relative;
  border-top: 1px solid #222;
  background: var(--negro);
  font-size: 13px;
  color: #9d9d98;
}

.footer__base-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 100px;
}

.footer__base p {
  margin: 0;
}

.footer__base a {
  color: var(--blanco);
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- WhatsApp flotante ---------- */

.wa-flotante {
  position: fixed;
  right: clamp(14px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 24px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 16px;
  border: 2px solid var(--negro);
  border-radius: 999px;
  background: var(--volt);
  color: var(--negro);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s, box-shadow 0.2s;
  --focus: var(--negro);
}

.wa-flotante svg {
  width: 24px;
  height: 24px;
}

.wa-flotante:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.6);
}

@media (max-width: 640px) {
  .wa-flotante {
    width: 58px;
    height: 58px;
    padding: 0;
    justify-content: center;
  }

  .wa-flotante svg {
    width: 28px;
    height: 28px;
  }

  .wa-flotante__texto {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ---------- Aparición al hacer scroll ---------- */

.js .revelar {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s, border-color 0.25s;
}

.js .revelar.visible {
  opacity: 1;
  transform: none;
}

.productos .producto:nth-child(4n + 2),
.pasos .paso:nth-child(2),
.categorias .cat:nth-child(2) {
  transition-delay: 0.07s;
}

.productos .producto:nth-child(4n + 3),
.pasos .paso:nth-child(3),
.categorias .cat:nth-child(3) {
  transition-delay: 0.14s;
}

.productos .producto:nth-child(4n + 4),
.pasos .paso:nth-child(4) {
  transition-delay: 0.21s;
}

.js .producto.revelar.visible:hover {
  transform: translateY(-4px);
  transition-delay: 0s;
}

/* ---------- Movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .cinta__pista {
    animation: none;
  }

  .js .revelar {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .wa-flotante:hover,
  .js .producto.revelar.visible:hover {
    transform: none;
  }

  .producto:hover .producto__foto img,
  .cat:hover img,
  .destacado:hover img {
    transform: none;
  }
}
