/* SportVibes — capa visual temporal v2. Solo se carga con TEMA_V2=1. */

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/barlow-condensed-800-latin.woff2') format('woff2');
}

body.v2 {
  --fondo: #0b0e16;
  --fondo-claro: #111726;
  --superficie: #151c2b;
  --borde: #2b3446;
  --texto: #f6f8fc;
  --texto-suave: #aab4c6;
  --acento: #c8ff3d; /* Únicamente acciones primarias y precio. */
  --acento-oscuro: #a9e82b;
  --radio: 18px;
  --sombra: 0 18px 45px rgba(0, 0, 0, .38);
  background:
    radial-gradient(circle at 82% -8%, rgba(255, 255, 255, .05), transparent 34%),
    radial-gradient(circle at 5% 25%, rgba(90, 120, 190, .1), transparent 32%),
    var(--fondo);
  font-size: 16px;
}

body.v2 h1,
body.v2 h2,
body.v2 h3,
body.v2 .marca,
body.v2 .precio,
body.v2 .boton,
body.v2 .contador,
body.v2 .etiqueta {
  font-family: 'Barlow Condensed', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body.v2 h1,
body.v2 h2,
body.v2 h3 { text-wrap: balance; }

body.v2 h1 { font-size: clamp(2.6rem, 5vw, 4.1rem); letter-spacing: -.015em; text-transform: uppercase; }
body.v2 h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; }
body.v2 h3 { font-size: 1.2rem; }
body.v2 .texto-suave,
body.v2 .etiqueta,
body.v2 .tarjeta__liga,
body.v2 .migas,
body.v2 .pie,
body.v2 .resumen,
body.v2 .ayuda,
body.v2 .contador { font-size: .78rem; }
body.v2 .migas {
  font-size: 1rem; line-height: 1.5; letter-spacing: .005em;
  margin-bottom: 1.5rem;
}
body.v2 .etiqueta { color: var(--texto-suave); letter-spacing: .18em; }
body.v2 .enlace,
body.v2 .enlace-boton { color: #dbe3f0; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.v2 .enlace-boton--peligro { color: #ff9a9a; }
body.v2 .solo-lector {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
body.v2 .seccion__cabecera { align-items: end; flex-wrap: wrap; margin-bottom: 2rem; }
body.v2 .enlace-secundario {
  display: inline-flex; align-items: center; padding: .5rem .9rem;
  border: 1px solid var(--borde); border-radius: 10px;
  background: transparent; color: var(--texto); font-size: .85rem;
  font-weight: 700; text-decoration: none; line-height: 1.1;
}
body.v2 .enlace-secundario:hover { background: rgba(255, 255, 255, .06); }
body.v2 .enlace-secundario:focus-visible { outline: 2px solid var(--texto); outline-offset: 2px; }
body.v2 .contador { background: #e8edf6; color: #111826; font-weight: 800; }

/* El verde neón queda reservado al botón principal y al precio. */
body.v2 .boton {
  background: var(--acento); color: #0d1408; border-radius: 12px;
  box-shadow: 0 10px 24px rgba(200, 255, 61, .14);
}
body.v2 .boton:hover { background: var(--acento-oscuro); }
body.v2 .boton--secundario,
body.v2 .boton--claro {
  background: transparent; color: var(--texto);
  border: 1px solid var(--borde); box-shadow: none;
}
body.v2 .boton--secundario:hover,
body.v2 .boton--claro:hover { background: rgba(255, 255, 255, .06); }
body.v2 .precio { color: var(--acento); }
body.v2 .tarjeta__liga,
body.v2 .badge,
body.v2 .tabla th { background: rgba(255, 255, 255, .07); color: #e3e9f3; }
body.v2 .tarjeta__liga { border-radius: 999px; padding: .2rem .65rem; letter-spacing: .08em; text-transform: uppercase; }

/* Cabecera, marca y navegación */
body.v2 .cabecera { background: rgba(11, 14, 22, .94); backdrop-filter: blur(14px); }
body.v2 .marca { color: var(--texto); min-width: 170px; }
body.v2 .marca__svg { display: block; width: 170px; height: auto; }
body.v2 .navegacion a { color: var(--texto-suave); font-weight: 600; }
body.v2 .navegacion a:hover { color: var(--texto); }
/* El enlace "Crear cuenta" conserva el texto oscuro sobre el botón verde. */
body.v2 .navegacion a.boton,
body.v2 .navegacion a.boton:hover,
body.v2 .navegacion a.boton:focus-visible { color: #0d1408; }
body.v2 .panel-v2 { position: relative; }
body.v2 .panel-v2 > summary {
  cursor: pointer; list-style: none; color: var(--texto-suave);
  font-weight: 600; padding: .35rem .55rem; border-radius: 9px;
}
body.v2 .panel-v2 > summary::-webkit-details-marker { display: none; }
body.v2 .panel-v2 > summary::after { content: ' ▾'; font-size: .7rem; }
body.v2 .panel-v2 > summary:focus-visible { outline: 2px solid var(--texto); outline-offset: 2px; }
body.v2 .panel-v2__menu {
  position: absolute; right: 0; top: calc(100% + .5rem); z-index: 30;
  display: grid; gap: .15rem; min-width: 190px; padding: .5rem;
  background: var(--superficie); border: 1px solid var(--borde);
  border-radius: 14px; box-shadow: var(--sombra);
}
body.v2 .panel-v2__menu a { display: block; padding: .45rem .6rem; border-radius: 9px; }
body.v2 .panel-v2__menu a:hover { background: rgba(255, 255, 255, .06); }
body.v2 .navegacion a.activo { color: var(--acento); font-weight: 800; }
body.v2 .carrito-enlace { display: inline-flex; align-items: center; gap: .4rem; }
body.v2 .carrito-icono { width: 18px; height: 18px; display: inline-block; }
body.v2 .carrito-enlace .contador { min-width: 20px; height: 20px; display: inline-grid; place-items: center; }

/* Escenario de las playeras: foco de color propio por equipo. */
body.v2 .tarjeta__imagen,
body.v2 .detalle-producto__visual,
body.v2 .carrito-item__img,
body.v2 .tarjeta-liga__icono,
body.v2 .hero__principal {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .08), transparent 58%),
    linear-gradient(150deg, #22304d, #101726);
}
body.v2 .tarjeta__imagen::before,
body.v2 .detalle-producto__visual::before,
body.v2 .carrito-item__img::before {
  content: ''; position: absolute; left: 18%; right: 18%; bottom: 11%; height: 12%;
  border-radius: 50%; background: radial-gradient(ellipse, rgba(0, 0, 0, .55), transparent 70%);
  filter: blur(9px); pointer-events: none;
}
body.v2 .tarjeta__imagen::after,
body.v2 .detalle-producto__visual::after,
body.v2 .carrito-item__img::after,
body.v2 .tarjeta-liga__icono::after,
body.v2 .hero__principal::after {
  content: ''; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: radial-gradient(circle at 50% 42%, var(--color-equipo, #5aa0ff), transparent 62%);
  opacity: .26; pointer-events: none;
}
body.v2 .imagen-producto { position: relative; z-index: 1; min-height: 0; }
body.v2 .imagen-producto--foto { min-height: 0; }
body.v2 .imagen-producto--foto img {
  min-height: 0; object-fit: contain;
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .32));
}
body.v2 .etiqueta-variante {
  background: rgba(12, 17, 28, .82); color: #e8edf6;
  border: 1px solid var(--borde); border-radius: 9px; letter-spacing: .1em;
}
body.v2 .etiqueta-variante--esports { color: #dbe3f0; }
body.v2 .tarjeta-liga {
  flex-direction: column; justify-content: center; text-align: center;
  gap: .65rem; padding: 1rem .55rem; border-radius: var(--radio);
  font-size: .88rem; line-height: 1.2;
}
body.v2 .tarjeta-liga:hover { border-color: rgba(255, 255, 255, .3); }
body.v2 .tarjeta-liga__icono {
  display: grid; place-items: center; overflow: hidden; flex: 0 0 auto;
  width: 72px; height: 72px; border-radius: 20px;
  background: rgba(255, 255, 255, .9);
}
body.v2 .logo-liga {
  position: relative; z-index: 1; width: 88%; height: 88%; object-fit: contain;
}
body.v2 .tarjeta-liga__texto {
  position: relative; z-index: 1; max-width: 92%; color: #111826;
  text-align: center; font-size: .62rem; line-height: 1.05;
  font-family: 'Barlow Condensed', system-ui, sans-serif; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
}
body.v2 .tarjeta-liga__texto--esports { color: #0b1a3a; letter-spacing: .08em; }
body.v2 .tarjeta__marca {
  position: absolute; inset: 50% auto auto 50%; z-index: 0;
  width: 68%; transform: translate(-50%, -50%);
  opacity: .09; pointer-events: none;
}

/* Portada: las diapositivas se apilan en una sola celda; cada una copia la referencia. */
body.v2 .hero-banner {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr);
  margin-bottom: 2.75rem;
}
body.v2 .seccion { margin-top: 1rem; }
body.v2 .hero-banner > .slide { grid-area: 1 / 1; }
body.v2 .slide {
  --fondo: #0c1220; --glow1: rgba(200, 255, 61, .18); --glow2: rgba(90, 120, 190, .25);
  --foto-ancho: 68%; --fade-1: 14%; --fade-2: 52%; --pos: 60% 18%;
  --suave: #c4cddc;
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center;
  min-height: 440px; border-radius: 22px; overflow: hidden; border: 1px solid var(--borde); background: var(--fondo);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .6s ease;
}
body.v2 .slide:first-child { opacity: 1; visibility: visible; pointer-events: auto; }
html.v2-js body.v2 .slide { opacity: 0; visibility: hidden; pointer-events: none; }
html.v2-js body.v2 .slide.activa { opacity: 1; visibility: visible; pointer-events: auto; }
body.v2 .slide__texto { position: relative; z-index: 3; padding: 2.5rem 0 2.5rem 3.5rem; max-width: 600px; }
body.v2 .slide__eyebrow {
  font: 700 .9rem 'Barlow Condensed', system-ui, sans-serif; letter-spacing: .2em;
  text-transform: uppercase; color: #aab4c6;
}
body.v2 .slide h2 {
  font: 800 clamp(2.6rem, 4.6vw, 4rem)/.95 'Barlow Condensed', system-ui, sans-serif;
  text-transform: uppercase; margin: .7rem 0 .9rem; text-wrap: balance;
}
body.v2 .slide h2 em { font-style: normal; color: var(--acento); }
body.v2 .slide p.slide__desc { color: var(--suave); max-width: 46ch; line-height: 1.5; text-wrap: pretty; }
body.v2 .slide__boton {
  display: inline-block; margin-top: 1.4rem; background: var(--acento); color: #0d1408; text-decoration: none;
  font: 800 1.3rem 'Barlow Condensed', system-ui, sans-serif; padding: .75rem 1.8rem; border-radius: 12px;
  box-shadow: 0 10px 24px rgba(200, 255, 61, .16);
}
body.v2 .slide__boton:hover { background: var(--acento-oscuro); }
body.v2 .slide__boton:focus-visible { outline: 2px solid var(--texto); outline-offset: 3px; }
body.v2 .slide__foto { position: absolute; inset: 0 0 0 auto; width: var(--foto-ancho); z-index: 1; }
body.v2 .slide__foto img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); display: block; }
body.v2 .slide__foto::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(var(--ang, 90deg), var(--fondo) 0%, color-mix(in srgb, var(--fondo) var(--opaco, 88%), transparent) var(--fade-1), transparent var(--fade-2)),
    linear-gradient(0deg, color-mix(in srgb, var(--fondo) 55%, transparent) 0%, transparent 32%);
}
body.v2 .slide__foto::after {
  content: ''; position: absolute; inset: 0; z-index: 2; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(circle at 70% 85%, var(--glow1), transparent 55%),
              radial-gradient(circle at 100% 0, var(--glow2), transparent 50%);
}

/* Variables por diapositiva, idénticas a la referencia aprobada. */
body.v2 .s-ligamx { --glow1: rgba(245, 217, 10, .30); --glow2: rgba(31, 86, 196, .30); }
/* Europa: foto a la derecha completa; el degradado solo cubre el borde izquierdo. */
body.v2 .s-europa {
  --fondo: #021234; --glow1: rgba(44, 120, 255, .24); --glow2: rgba(0, 180, 255, .16);
  --foto-ancho: 66%; --fade-1: 8%; --fade-2: 42%; --opaco: 100%; --pos: 50% 50%;
}
body.v2 .s-esports {
  --fondo: #06143a; --glow1: rgba(30, 140, 255, .30); --glow2: rgba(120, 200, 255, .22);
  --foto-ancho: 60%; --fade-1: 15%; --fade-2: 52%; --opaco: 100%; --ang: 72deg; --pos: 100% 30%;
}
/* Personaliza: imagen a sangre completa y texto superpuesto, como la referencia. */
body.v2 .s-personaliza {
  --fondo: #111726; --glow1: rgba(200, 255, 61, .10); --glow2: rgba(30, 120, 255, .16);
  --foto-ancho: 100%; --fade-1: 18%; --fade-2: 62%; --opaco: 92%; --pos: 100% 50%;
  grid-template-columns: minmax(0, 1fr);
  border-radius: 20px; border-color: #293040;
}
body.v2 .s-personaliza .slide__foto { inset: 0; width: 100%; }
body.v2 .s-personaliza .slide__foto::after { display: none; }
body.v2 .s-personaliza .slide__foto::before {
  background:
    linear-gradient(90deg, var(--fondo) 0%, color-mix(in srgb, var(--fondo) 88%, transparent) 34%, transparent 66%),
    linear-gradient(0deg, color-mix(in srgb, var(--fondo) 45%, transparent) 0%, transparent 40%);
}
body.v2 .s-personaliza .slide__texto { max-width: 52%; }
body.v2 .s-personaliza .slide__eyebrow {
  font-family: 'Commissioner', system-ui, sans-serif; font-size: .75rem;
  letter-spacing: .1em; color: #a4abbf;
}
body.v2 .s-personaliza .slide__desc { color: #a4abbf; max-width: 44ch; font-size: .95rem; line-height: 1.45; }
body.v2 .s-personaliza .slide__boton {
  display: inline-flex; align-items: center; gap: .5rem;
  text-transform: uppercase; letter-spacing: .5px; font-size: 1.05rem;
}
body.v2 .s-personaliza .slide__boton .material-symbols-outlined { font-size: 1.2em; }

/* Controles: flechas laterales y puntos en píldora, como en la referencia. */
body.v2 .hero-banner__controles { display: none; }
html.v2-js body.v2 .hero-banner__controles { display: contents; }
body.v2 .slide__flecha {
  position: absolute; top: 50%; z-index: 6; width: 38px; height: 38px; transform: translateY(-50%);
  border-radius: 50%; border: 1px solid var(--borde); background: rgba(10, 15, 25, .82);
  color: var(--texto); cursor: pointer; font-size: 1.2rem; line-height: 1;
}
body.v2 .slide__flecha--anterior { left: .75rem; }
body.v2 .slide__flecha--siguiente { right: .75rem; }
body.v2 .slide__flecha:hover { background: rgba(255, 255, 255, .12); }
body.v2 .slide__puntos { position: absolute; left: 3.5rem; bottom: 1.4rem; display: flex; gap: .5rem; z-index: 6; }
body.v2 .slide__puntos button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 9px;
  background: #5b6578; cursor: pointer; transition: width .2s ease, background .2s ease;
}
body.v2 .slide__puntos button[aria-current="true"] { width: 30px; background: var(--acento); }
body.v2 .slide__flecha:focus-visible,
body.v2 .slide__puntos button:focus-visible { outline: 2px solid var(--texto); outline-offset: 2px; }


@media (max-width: 760px) {
  body.v2 .slide { grid-template-columns: 1fr; min-height: 0; }
  body.v2 .slide__foto { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; order: -1; }
  body.v2 .slide__foto::before {
    background: linear-gradient(0deg, var(--fondo) 0%, color-mix(in srgb, var(--fondo) 40%, transparent) 40%, transparent 70%);
  }
  body.v2 .slide__texto { padding: 1rem 1.4rem 3.2rem; }
  body.v2 .slide__puntos { left: 1.4rem; }
  body.v2 .s-personaliza .slide__foto {
    position: relative; inset: auto; width: 100%; height: auto;
    aspect-ratio: 4 / 3; order: -1; --pos: 88% 50%;
  }
  body.v2 .s-personaliza .slide__foto::before {
    background: linear-gradient(0deg, var(--fondo) 0%, color-mix(in srgb, var(--fondo) 40%, transparent) 40%, transparent 70%);
  }
  body.v2 .s-personaliza .slide__texto { max-width: none; }
  body.v2 .s-esports .slide__foto::before {
    background:
      linear-gradient(90deg, var(--fondo) 0%, var(--fondo) 6%, transparent 26%),
      linear-gradient(0deg, var(--fondo) 0%, color-mix(in srgb, var(--fondo) 40%, transparent) 40%, transparent 70%);
  }
  body.v2 .slide__flecha { width: 32px; height: 32px; font-size: 1rem; }
}

body.v2 .coleccion {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0; align-items: stretch;
  border-radius: var(--radio); overflow: hidden;
  border: 1px solid var(--borde);
  min-height: clamp(400px, 48vw, 620px);
  position: relative;
}
body.v2 .coleccion__visual {
  position: relative; overflow: hidden; min-height: 0;
}
/* Difuminado lateral que une imagen con el texto */
body.v2 .coleccion__visual::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 50%, #0d1b2e 100%);
  z-index: 1; pointer-events: none;
}
body.v2 .coleccion__visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  border-radius: 0;
}
/* Lado derecho */
body.v2 .coleccion__texto {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: 1.6rem; padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
  background:
    /* textura de líneas diagonales muy sutil */
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,.025) 0px, rgba(255,255,255,.025) 1px,
      transparent 1px, transparent 10px
    ),
    linear-gradient(160deg, rgba(180,255,0,.07) 0%, transparent 55%),
    linear-gradient(to bottom, #0d1b2e, #111c30);
  position: relative; overflow: hidden;
}
/* Línea acento vertical izquierda */
body.v2 .coleccion__texto::before {
  content: ''; position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 3px; border-radius: 2px;
  background: linear-gradient(to bottom, transparent, var(--acento), transparent);
}
/* Número dorsal gigante de fondo */
body.v2 .coleccion__dorsal-bg {
  position: absolute; right: -0.1em; bottom: -0.2em;
  font-family: 'Barlow Condensed', 'Anton', Impact, sans-serif;
  font-size: clamp(10rem, 18vw, 18rem); font-weight: 800;
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.07);
  user-select: none; pointer-events: none; z-index: 0;
  letter-spacing: -.02em;
}
/* Badge "Personalizable" */
body.v2 .coleccion__badge {
  position: absolute; top: 1.4rem; right: 1.4rem;
  background: var(--acento); color: #000;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 999px;
  box-shadow: 0 0 12px rgba(180,255,0,.5);
  z-index: 2;
}
/* Eyebrow "— Nueva temporada" */
body.v2 .coleccion__eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--acento); opacity: .9;
  margin: 0; position: relative; z-index: 1;
}
/* Título partido: Colección blanco / 2026/27 acento */
body.v2 .coleccion__titulo {
  margin: 0; display: flex; flex-direction: column;
  font-family: 'Barlow Condensed', 'Anton', Impact, sans-serif;
  font-weight: 800; line-height: .88;
  position: relative; z-index: 1;
}
body.v2 .coleccion__titulo--blanco {
  font-size: clamp(3.2rem, 5.2vw, 5.2rem);
  color: #fff; font-style: italic;
}
body.v2 .coleccion__titulo--acento {
  font-size: clamp(3.6rem, 6vw, 6rem);
  color: var(--acento); font-style: italic;
  text-shadow: 0 0 40px rgba(180,255,0,.35);
}
/* Descripción */
body.v2 .coleccion__desc {
  max-width: 32ch; font-size: 1.1rem; line-height: 1.65;
  color: rgba(255,255,255,.65); margin: 0;
  position: relative; z-index: 1;
}
/* Lista de beneficios con iconos */
body.v2 .coleccion__lista {
  list-style: none; margin: 0; padding: 1.2rem 0 0; width: 100%; max-width: 30ch;
  display: grid; gap: .9rem; border-top: 1px solid rgba(255,255,255,.1);
  position: relative; z-index: 1;
}
body.v2 .coleccion__lista li {
  display: flex; align-items: center; gap: .7rem;
  font-size: 1rem; line-height: 1.3; color: rgba(255,255,255,.88);
}
body.v2 .coleccion__lista li .material-symbols-outlined {
  font-size: 1.25rem; color: var(--acento); flex-shrink: 0;
  /* filled style */
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}
/* Botón CTA con icono y hover */
body.v2 .coleccion__cta {
  margin-top: .6rem; padding: 1rem 2rem; font-size: 1.08rem;
  display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: 0 4px 24px rgba(180,255,0,.35);
  position: relative; z-index: 1;
  transition: gap .2s ease, box-shadow .2s ease;
}
body.v2 .coleccion__cta:hover {
  gap: .9rem;
  box-shadow: 0 6px 32px rgba(180,255,0,.55);
}
body.v2 .coleccion__cta .material-symbols-outlined {
  font-size: 1.1rem; transition: transform .2s ease;
}
body.v2 .coleccion__cta:hover .material-symbols-outlined { transform: translateX(3px); }

/* Animación de entrada al scroll */
@keyframes coleccion-entrada {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.v2 .coleccion__eyebrow,
body.v2 .coleccion__titulo,
body.v2 .coleccion__desc,
body.v2 .coleccion__lista,
body.v2 .coleccion__cta {
  opacity: 0;
  animation: coleccion-entrada .55s ease forwards;
}
body.v2 .coleccion__eyebrow  { animation-delay: .05s; }
body.v2 .coleccion__titulo   { animation-delay: .15s; }
body.v2 .coleccion__desc     { animation-delay: .25s; }
body.v2 .coleccion__lista    { animation-delay: .35s; }
body.v2 .coleccion__cta      { animation-delay: .45s; }
/* Cuando el usuario prefiere movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  body.v2 .coleccion__eyebrow,
  body.v2 .coleccion__titulo,
  body.v2 .coleccion__desc,
  body.v2 .coleccion__lista,
  body.v2 .coleccion__cta { animation: none; opacity: 1; }
}

/* Tarjetas y catálogo */
body.v2 .cuadricula { gap: 1.5rem; }
body.v2 .cuadricula--ligas { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1rem; }
body.v2 .tarjeta {
  border-radius: var(--radio); box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
  transition: transform .18s ease, border-color .18s ease;
}
body.v2 .tarjeta:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .24); }
body.v2 a.tarjeta-enlace { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
body.v2 .tarjeta__cuerpo { padding: 1.35rem; gap: .45rem; }
body.v2 .tarjeta__descripcion { color: var(--texto-suave); font-size: .9rem; min-height: 2.8em; }
body.v2 .tarjeta .boton { margin-top: auto; }
body.v2 .chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; }
body.v2 .chip {
  display: inline-block; padding: .45rem .85rem; border-radius: 999px;
  border: 1px solid var(--borde); background: rgba(255, 255, 255, .03);
  color: var(--texto-suave); font-size: .82rem; text-decoration: none;
}
body.v2 .chip:hover { color: var(--texto); border-color: rgba(255, 255, 255, .3); }
body.v2 .chip--activo { background: #e8edf6; color: #111826; border-color: #e8edf6; font-weight: 800; }
body.v2 .catalogo-barra {
  display: flex; align-items: end; gap: .75rem; flex-wrap: wrap;
  padding: 1rem 1.15rem; margin-bottom: .75rem;
  border: 1px solid var(--borde); border-radius: var(--radio); background: rgba(21, 28, 43, .8);
}
body.v2 .catalogo-barra label { font-size: .9rem; color: var(--texto-suave); text-transform: uppercase; letter-spacing: .1em; font-family: 'Barlow Condensed', system-ui, sans-serif; }
body.v2 .catalogo-barra__buscar { flex: 1 1 240px; }
body.v2 .catalogo-barra__buscar input { width: 100%; border-radius: 11px; background: #0d1422; }
body.v2 .orden-precio { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
body.v2 .clave-toggle {
  margin-left: .5rem; padding: .45rem .7rem; border: 1px solid var(--borde);
  border-radius: 999px; background: rgba(255,255,255,.05); color: var(--texto); cursor: pointer;
}

body.v2 .catalogo-busqueda { margin-bottom: .85rem; }
body.v2 .catalogo-busqueda__campo {
  position: relative; display: flex; align-items: center;
  border: 1px solid var(--borde); border-radius: 14px;
  background: rgba(21, 28, 43, .82); padding: .35rem .4rem .35rem 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.v2 .catalogo-busqueda__campo:focus-within {
  border-color: var(--acento);
  box-shadow: 0 0 0 3px rgba(200, 255, 61, .18);
}
body.v2 .catalogo-busqueda__icono {
  width: 20px; height: 20px; flex: 0 0 auto; color: var(--texto-suave); margin-right: .65rem;
}
body.v2 .catalogo-busqueda__campo input {
  flex: 1 1 auto; border: 0; outline: 0; background: transparent; color: var(--texto);
  padding: .55rem .25rem; font-size: 1rem;
}
body.v2 .catalogo-busqueda__campo input::placeholder { color: var(--texto-suave); }
body.v2 .catalogo-busqueda__limpiar {
  flex: 0 0 auto; width: 30px; height: 30px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: var(--texto); cursor: pointer; font-size: 1.05rem;
  line-height: 1;
}
body.v2 .catalogo-busqueda__limpiar:hover { background: rgba(255, 255, 255, .16); }
body.v2 .stock { font-size: .78rem; color: var(--texto-suave); }

/* Ficha de producto y vista previa de la espalda. */
body.v2 .detalle-producto { grid-template-columns: 1.05fr .95fr; }
body.v2 .detalle-producto__visual { min-height: 560px; padding: 1.5rem; border-radius: var(--radio); }
body.v2 .detalle-espalda {
  position: absolute; inset: 1.5rem; z-index: 2; width: calc(100% - 3rem); height: calc(100% - 3rem);
  object-fit: contain; display: none;
}
body.v2 .detalle-espalda.activo { display: block; }
body.v2 .detalle-producto__visual.ocultar-frente .imagen-producto { display: none; }
body.v2 .detalle-visor { display: flex; gap: .5rem; margin-bottom: 1rem; }
body.v2 .detalle-visor button {
  padding: .45rem .9rem; border: 1px solid var(--borde); border-radius: 999px;
  background: rgba(255,255,255,.04); color: var(--texto-suave); cursor: pointer;
}
body.v2 .detalle-visor button.activo { background: #e8edf6; color: #111826; border-color: #e8edf6; font-weight: 800; }
body.v2 .tallas { display: flex; flex-wrap: wrap; gap: .55rem; }
body.v2 .talla { position: relative; }
body.v2 .talla input { position: absolute; width: 1px; height: 1px; opacity: 0; }
body.v2 .talla span {
  display: inline-grid; place-items: center; min-width: 58px; padding: .55rem .85rem;
  border: 1px solid var(--borde); border-radius: 999px;
  color: var(--texto); font-weight: 700; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
body.v2 .talla input:checked + span { background: #e8edf6; color: #111826; border-color: #e8edf6; }
body.v2 .talla input:disabled + span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
body.v2 .talla input:focus-visible + span { outline: 2px solid var(--texto); outline-offset: 2px; }
body.v2 .personalizar-boton { width: fit-content; }
body.v2 .resumen-personalizacion {
  display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
  padding: .7rem .9rem; border: 1px solid var(--borde); border-radius: 12px;
  background: rgba(255, 255, 255, .03); font-size: .88rem;
}
body.v2 .resumen-personalizacion strong { color: var(--acento); }
body.v2 .personalizacion-fallback { display: grid; gap: .5rem; }
html.v2-js body.v2 .personalizacion-fallback { display: none; }
body.v2 dialog {
  width: min(560px, 94vw); max-height: 92vh; padding: 0; overflow: auto;
  border: 1px solid var(--borde); border-radius: var(--radio);
  background: var(--superficie); color: var(--texto); box-shadow: var(--sombra);
}
body.v2 dialog::backdrop { background: rgba(4, 7, 12, .78); backdrop-filter: blur(4px); }
body.v2 .dialogo__contenido { display: grid; gap: 1rem; padding: 1.25rem; }
body.v2 .dialogo__cabecera { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
body.v2 .dialogo__cabecera h2 { margin: 0; }
body.v2 .dialogo__cuerpo { display: grid; grid-template-columns: 240px 1fr; gap: 1.25rem; align-items: start; }
body.v2 .dialogo__acciones { display: flex; gap: .65rem; flex-wrap: wrap; justify-content: flex-end; }
body.v2 .espalda-v2 {
  position: relative; display: grid; place-items: center;
  width: 100%; aspect-ratio: 3 / 4; container-type: inline-size;
}
body.v2 .espalda-v2__img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
body.v2 .espalda-v2__img--svg { color: var(--color-equipo, #5aa0ff); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .5)); }
body.v2 .espalda-v2__nombre,
body.v2 .espalda-v2__dorsal {
  position: absolute; left: 50%; z-index: 2; color: var(--texto-espalda, #fff);
  text-align: center; pointer-events: none; white-space: nowrap;
  font-family: var(--fuente-personalizacion, 'Bebas Neue'), 'Bebas Neue', system-ui, sans-serif; font-weight: 400;
  text-shadow: none;
  transform: translateX(-50%) rotateX(var(--curvatura, 0deg));
}
body.v2 .espalda-v2__nombre {
  top: var(--nombre-y, 30%); width: 82%; overflow: hidden; text-overflow: clip;
  letter-spacing: .08em; text-transform: uppercase;
  font-size: clamp(.6rem, 6cqw, 1.7rem);
}
body.v2 .espalda-v2__dorsal {
  top: var(--dorsal-y, 44%); width: 72%;
  letter-spacing: .02em; line-height: 1;
  font-size: clamp(1.6rem, 26cqw, 5rem);
}

/* Carrito (v2): réplica del panel aprobado. */
body.v2 .carrito-pagina { display: flex; flex-direction: column; gap: 24px; }
body.v2 .carrito-pagina h1 {
  margin: 0;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 28px; line-height: 32px; font-weight: 700;
  letter-spacing: 0; text-transform: uppercase; color: var(--texto);
}
body.v2 .carrito-cabecera { margin-bottom: 0; }
body.v2 .carrito-cabecera .etiqueta {
  margin: 0; font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #a4abbf;
}
body.v2 .carrito-cabecera .enlace-secundario {
  gap: 4px; padding: 4px 16px; border-radius: 12px;
  border-color: #293040; color: var(--texto);
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 13px; line-height: 18px; font-weight: 400;
}
body.v2 .carrito-cabecera .enlace-secundario:hover { border-color: #575e70; background: transparent; }
body.v2 .carrito-cabecera .enlace-secundario .material-symbols-outlined { font-size: 16px; }

body.v2 .carrito {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 32px; align-items: start;
}
body.v2 .carrito__lista { display: flex; flex-direction: column; gap: 16px; }
body.v2 .carrito-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 16px; border: 1px solid #293040; border-radius: 20px;
  background: #141b2a;
}
body.v2 .carrito-item__miniatura {
  width: 96px; height: 96px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 8px; border: 1px solid #293040; border-radius: 16px;
  background: #111726; color: #575e70;
}
body.v2 .carrito-item__miniatura img { width: 100%; height: 100%; object-fit: contain; }
body.v2 .carrito-item__miniatura > .material-symbols-outlined { font-size: 40px; }

body.v2 .carrito-item__cuerpo {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
body.v2 .carrito-item__meta { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
body.v2 .carrito-item__talla {
  padding: 2px 4px; border: 1px solid #293040; border-radius: 6px;
  background: #293040; color: var(--texto);
  font-family: 'Fragment Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; line-height: 16px;
}
body.v2 .carrito-item__liga {
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #a4abbf;
}
body.v2 h2.carrito-item__nombre {
  margin: 0;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 18px; line-height: 24px; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--texto);
}
body.v2 .carrito-item__detalle {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 13px; line-height: 18px; color: #a4abbf;
  font-variant-numeric: tabular-nums;
}
body.v2 .carrito-item__separador { color: #575e70; }

body.v2 .carrito-item__lado {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 8px;
}
body.v2 .carrito-item__total {
  margin: 0; white-space: nowrap;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 24px; line-height: 28px; font-weight: 700;
  color: var(--acento); font-variant-numeric: tabular-nums;
}
body.v2 .carrito-item__acciones {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  justify-content: flex-start;
}
body.v2 .carrito-cantidad {
  display: inline-flex; align-items: center; overflow: hidden;
  border: 1px solid #293040; border-radius: 12px; background: #111726;
}
body.v2 .carrito-cantidad__btn {
  width: 32px; height: 32px; padding: 0; display: inline-flex;
  align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--texto); cursor: pointer;
}
body.v2 .carrito-cantidad__btn:hover { background: #293040; }
body.v2 .carrito-cantidad__btn .material-symbols-outlined { font-size: 18px; }
body.v2 .carrito-cantidad input[type="number"] {
  width: 32px; padding: 0; border: 0; background: transparent;
  color: var(--texto); text-align: center;
  font-family: 'Fragment Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums;
  appearance: textfield; -moz-appearance: textfield;
}
body.v2 .carrito-cantidad input[type="number"]::-webkit-outer-spin-button,
body.v2 .carrito-cantidad input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
body.v2 .carrito-cantidad input:focus-visible { outline: 2px solid var(--acento); outline-offset: -2px; }
body.v2 .carrito-cantidad__btn:focus-visible { outline: 2px solid var(--acento); outline-offset: -2px; }
body.v2 .carrito-cantidad__actualizar {
  height: 32px; padding: 0 8px; border: 0; border-left: 1px solid #293040;
  background: transparent; color: var(--texto); cursor: pointer;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; font-weight: 600;
}
body.v2 .carrito-cantidad__actualizar:hover { background: #293040; }
html.v2-js body.v2 .carrito-cantidad [data-actualizar] { display: none; }
body.v2 .carrito-quitar { display: inline-flex; margin: 0; }
body.v2 .carrito-item__quitar {
  height: 32px; padding: 0 8px; display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid #293040; border-radius: 12px; background: transparent;
  color: #a4abbf; cursor: pointer;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; font-weight: 600;
  transition: color .12s ease-out, border-color .12s ease-out, background .12s ease-out;
}
body.v2 .carrito-item__quitar:hover {
  color: #ff5449; border-color: rgba(255, 84, 73, .6); background: #293040;
}
body.v2 .carrito-item__quitar:focus-visible,
body.v2 .carrito-resumen__cta:focus-visible {
  outline: 2px solid var(--acento); outline-offset: 2px;
}
body.v2 .carrito-item__quitar .material-symbols-outlined { font-size: 18px; }

body.v2 .carrito-resumen {
  position: sticky; top: 92px;
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px; border: 1px solid #293040; border-radius: 20px;
  background: #141b2a;
}
body.v2 .carrito-resumen__cabecera {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 16px; border-bottom: 1px solid #293040;
}
body.v2 h2.carrito-resumen__titulo {
  margin: 0;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 24px; line-height: 28px; font-weight: 700;
  letter-spacing: 0; text-transform: uppercase; color: var(--texto);
}
body.v2 .carrito-resumen__conteo {
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; color: #a4abbf;
  font-variant-numeric: tabular-nums;
}
body.v2 .carrito-resumen__filas { display: flex; flex-direction: column; gap: 8px; }
body.v2 .carrito-resumen__filas p {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 0;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 15px; line-height: 22px; color: #a4abbf;
}
body.v2 .carrito-resumen__filas p strong {
  color: var(--texto); font-weight: 400;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
body.v2 .carrito-resumen__total { padding-top: 8px; border-top: 1px solid #293040; }
body.v2 .carrito-resumen__total span {
  font-size: 18px; line-height: 24px; font-weight: 600; color: var(--texto);
}
body.v2 .carrito-resumen__total strong {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 28px; line-height: 32px; font-weight: 700;
  color: var(--acento) !important;
}
body.v2 .carrito-resumen__cta {
  width: 100%; padding: 8px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; background: var(--acento); color: #151f00;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 16px; line-height: 20px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  transition: background .12s ease-out;
}
body.v2 .carrito-resumen__cta:hover { background: #99b658; }
body.v2 .carrito-resumen__cta .material-symbols-outlined { font-size: 18px; }
body.v2 .carrito-resumen__nota {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border: 1px solid #293040; border-radius: 12px;
  background: #111726;
}
body.v2 .carrito-resumen__nota .material-symbols-outlined { font-size: 18px; color: #a3d700; }
body.v2 .carrito-resumen__nota p {
  margin: 0; font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 13px; line-height: 18px; color: #a4abbf;
}

body.v2 .carrito-vacio {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 32px; text-align: center;
  border: 1px solid #293040; border-radius: 20px; background: #141b2a;
}
body.v2 .carrito-vacio > .material-symbols-outlined { font-size: 48px; color: #a4abbf; }
body.v2 h2.carrito-vacio__titulo {
  margin: 0;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 24px; line-height: 28px; text-transform: uppercase;
}
body.v2 .carrito-vacio p {
  margin: 0; max-width: 60ch;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 15px; line-height: 22px; color: #a4abbf;
}
body.v2 .carrito-vacio .boton { text-decoration: none; }

@media (min-width: 640px) {
  body.v2 .carrito-item { flex-direction: row; align-items: center; padding: 24px; }
  body.v2 .carrito-item__lado {
    width: auto; flex-direction: column; align-items: flex-end; justify-content: flex-start;
  }
}
@media (min-width: 768px) {
  body.v2 .carrito-pagina h1 { font-size: 36px; line-height: 40px; letter-spacing: -.25px; }
  body.v2 .carrito-resumen__total strong { font-size: 36px; line-height: 40px; }
}

/* Avisos del tema v2: banda informativa que se puede cerrar. */
body.v2 .aviso {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 24px; border: 1px solid #293040; border-radius: 20px;
  background: #141b2a; color: var(--texto);
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 15px; line-height: 22px;
}
body.v2 .aviso--exito { border-color: rgba(163, 215, 0, .6); color: var(--texto); }
body.v2 .aviso--error { border-color: rgba(255, 84, 73, .6); color: var(--texto); }
body.v2 .aviso__icono { flex: 0 0 auto; font-size: 18px; color: #a4abbf; }
body.v2 .aviso--exito .aviso__icono { color: #a3d700; }
body.v2 .aviso--error .aviso__icono { color: #ff5449; }
body.v2 .aviso__texto { flex: 1 1 auto; }
body.v2 .aviso__texto .texto-suave { color: #a4abbf; }
body.v2 .aviso__cerrar {
  width: 32px; height: 32px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 12px; background: transparent;
  color: #a4abbf; cursor: pointer;
  transition: color .12s ease-out, background .12s ease-out;
}
body.v2 .aviso__cerrar:hover { color: var(--texto); background: #293040; }
body.v2 .aviso__cerrar:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
body.v2 .aviso__cerrar .material-symbols-outlined { font-size: 18px; }

/* El resumen del checkout conserva el comportamiento fijo del tema. */
body.v2 .resumen { position: sticky; top: 92px; }

/* Checkout */
body.v2 input[type="radio"] { accent-color: var(--acento); }
body.v2 .opcion input[type="radio"] { width: 18px; height: 18px; flex: 0 0 auto; }
body.v2 .direccion-resumen {
  padding: .9rem 1rem; border: 1px solid var(--borde); border-radius: 12px;
  background: rgba(255, 255, 255, .03); line-height: 1.5;
}
body.v2 .pasos-checkout { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
body.v2 .pasos-checkout li {
  flex: 1; padding: .65rem .5rem; border-bottom: 2px solid var(--borde);
  color: var(--texto-suave); font-size: .82rem;
}
body.v2 .pasos-checkout li.completado { color: var(--texto); border-color: rgba(200, 255, 61, .55); }
body.v2 .pasos-checkout li.completado span[aria-hidden] { color: var(--acento); }
body.v2 .pasos-checkout li.activo { color: var(--texto); border-color: #e8edf6; font-weight: 800; }
body.v2 .modo-demo {
  margin-top: 1rem; padding: 1rem; border: 1px solid var(--borde);
  border-radius: var(--radio); background: rgba(255, 255, 255, .03);
}
body.v2 .modo-demo .etiqueta { color: var(--texto); }
body.v2 .modo-demo label { font-size: .82rem; }
body.v2 .modo-demo .formulario { margin-top: .75rem; }

@media (prefers-reduced-motion: reduce) {
  body.v2 .slide { transition: none; }
  body.v2 .slide__puntos button { transition: none; }
}

@media (max-width: 900px) {
  body.v2 .detalle-producto,
  body.v2 .checkout,
  body.v2 .carrito,
  body.v2 .coleccion { grid-template-columns: 1fr; }
  body.v2 .coleccion__visual {
    position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 220px;
  }
  body.v2 .coleccion__visual::after {
    background: linear-gradient(to bottom, transparent 50%, #0d1b2e 100%);
  }
  body.v2 .coleccion__texto { padding: clamp(1.75rem, 5vw, 2.5rem); }
  body.v2 .coleccion__texto::before { top: 0; bottom: 0; }
  body.v2 .resumen { position: static; }
  body.v2 .carrito-resumen { position: static; }
  body.v2 .panel-v2__menu { position: static; min-width: 0; box-shadow: none; }
  body.v2 .cuadricula--ligas {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem;
    scrollbar-width: thin; -webkit-overflow-scrolling: touch;
  }
  body.v2 .cuadricula--ligas > .tarjeta-liga { flex: 0 0 168px; scroll-snap-align: start; }
}

/* Inicio de sesión (RF-01, RF-02): tarjeta centrada y cuentas de demostración. */
body.v2 .acceso {
  width: 100%; max-width: 28rem; margin-inline: auto;
  padding-block: 2rem;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
  min-height: clamp(480px, 62vh, 720px);
  color: var(--texto);
  font-family: 'Commissioner', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body.v2 .acceso p { margin: 0; }
body.v2 .acceso__tarjeta {
  display: flex; flex-direction: column; gap: 24px;
  padding: 24px;
  background: #141b2a;
  border: 1px solid #293040;
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}
body.v2 .acceso__cabecera { display: flex; flex-direction: column; gap: 4px; }
body.v2 .acceso__etiqueta {
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: #a4abbf;
}
body.v2 .acceso h1.acceso__titulo {
  margin: 0;
  font-size: 28px; line-height: 32px; font-weight: 700;
  letter-spacing: 0; text-transform: uppercase;
  color: var(--texto);
}
body.v2 .acceso__intro { font-size: 13px; line-height: 18px; color: #a4abbf; }

body.v2 .acceso__formulario { display: flex; flex-direction: column; gap: 16px; }
body.v2 .acceso__campo { display: flex; flex-direction: column; gap: 4px; }
body.v2 .acceso__campo label {
  font-size: 12px; line-height: 16px; font-weight: 600; color: #a4abbf;
}
body.v2 .acceso__campo-cabecera {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
body.v2 .acceso__enlace-mini {
  font-size: 12px; line-height: 16px; font-weight: 600;
  color: #a4abbf; text-decoration: none;
  transition: color 120ms ease-out;
}
body.v2 .acceso__enlace-mini:hover { color: var(--texto); }
body.v2 .acceso__campo input {
  width: 100%; margin: 0;
  padding: 8px 16px;
  background: #111726;
  border: 1px solid #293040;
  border-radius: 12px;
  color: var(--texto);
  font-family: 'Commissioner', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px; line-height: 22px;
  transition: border-color 120ms ease-out, box-shadow 120ms ease-out;
}
body.v2 .acceso__campo input::placeholder { color: #a4abbf; opacity: 1; }
body.v2 .acceso__campo input:focus {
  outline: none;
  border-color: var(--acento);
  box-shadow: 0 0 0 3px rgba(200, 255, 61, .16);
}
body.v2 .acceso__clave { position: relative; display: flex; align-items: center; }
body.v2 .acceso__clave input { padding-right: 48px; }
body.v2 .acceso__ver {
  position: absolute; right: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0;
  background: transparent; border: 0; border-radius: 6px;
  color: #a4abbf; cursor: pointer;
  transition: color 120ms ease-out, background-color 120ms ease-out;
}
body.v2 .acceso__ver:hover { color: var(--texto); background: rgba(255, 255, 255, .06); }
body.v2 .acceso__ver .material-symbols-outlined { font-size: 18px; }
body.v2 .acceso__boton {
  width: 100%; margin-top: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 24px;
  background: var(--acento); color: #151f00;
  border: 0; border-radius: 12px;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 16px; line-height: 20px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  cursor: pointer;
  transition: background-color 120ms ease-out;
}
body.v2 .acceso__boton:hover { background: #99b658; }
body.v2 .acceso__boton .material-symbols-outlined { font-size: 18px; }

body.v2 .acceso__pie {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #293040;
  font-size: 13px; line-height: 18px; color: #a4abbf;
}
body.v2 .acceso__pie a {
  color: var(--acento); font-weight: 600; text-decoration: none;
}
body.v2 .acceso__pie a:hover { text-decoration: underline; text-underline-offset: 3px; }

body.v2 .acceso__demo {
  padding: 16px;
  background: #111726;
  border: 1px solid #293040;
  border-radius: 20px;
}
body.v2 .acceso__demo > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  list-style: none; cursor: pointer;
  font-size: 12px; line-height: 16px; font-weight: 600;
  color: var(--acento);
}
body.v2 .acceso__demo > summary::-webkit-details-marker { display: none; }
body.v2 .acceso__demo > summary:focus-visible {
  outline: 2px solid var(--acento); outline-offset: 3px; border-radius: 8px;
}
body.v2 .acceso__demo-titulo { display: inline-flex; align-items: center; gap: 4px; }
body.v2 .acceso__demo-titulo .material-symbols-outlined { font-size: 16px; }
body.v2 .acceso__demo-flecha {
  font-size: 16px; color: #a4abbf;
  transition: transform 120ms ease-out;
}
body.v2 .acceso__demo[open] .acceso__demo-flecha { transform: rotate(180deg); }
body.v2 .acceso__demo-lista {
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 16px;
}
body.v2 .acceso__demo-cuenta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 16px;
  background: #141b2a;
  border: 1px solid #293040;
  border-radius: 12px;
  color: var(--texto); text-align: left; cursor: pointer;
  font-family: inherit;
  transition: border-color 120ms ease-out, background-color 120ms ease-out;
}
body.v2 .acceso__demo-cuenta:hover { border-color: #575e70; background: #182031; }
body.v2 .acceso__demo-cuenta:focus-visible {
  outline: 2px solid var(--acento); outline-offset: 2px;
}
body.v2 .acceso__demo-nombre { font-size: 13px; line-height: 18px; }
body.v2 .acceso__demo-accion {
  font-family: 'Fragment Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; line-height: 16px; color: #a4abbf;
}

@media (min-width: 640px) {
  body.v2 .acceso__tarjeta { padding: 32px; }
}
@media (min-width: 768px) {
  body.v2 .acceso h1.acceso__titulo { font-size: 36px; line-height: 40px; letter-spacing: -.25px; }
}

@media (max-width: 560px) {
  body.v2 .acceso { min-height: 0; padding-block: .5rem; }
  body.v2 .acceso__tarjeta { padding: 20px; }
  body.v2 .carrito-item { padding: 16px; }
  body.v2 .carrito-item__acciones { justify-content: flex-start; }
  body.v2 .carrito-resumen { padding: 20px; }
  body.v2 .catalogo-barra > * { width: 100%; }
  body.v2 .pasos-checkout { flex-direction: column; }
  body.v2 .dialogo__cuerpo { grid-template-columns: 1fr; }
  body.v2 .dialogo__cuerpo .espalda-v2 { width: min(220px, 60vw); justify-self: center; }
  body.v2 .coleccion__visual { aspect-ratio: 16 / 9; min-height: 180px; }
  body.v2 .coleccion__titulo--blanco { font-size: clamp(2.4rem, 7vw, 3.2rem); }
  body.v2 .coleccion__titulo--acento { font-size: clamp(2.8rem, 8vw, 3.8rem); }
  body.v2 .coleccion__desc { font-size: 1rem; }
  body.v2 .coleccion__dorsal-bg { font-size: clamp(8rem, 28vw, 12rem); }
}

/* ------------------------------------------------------------------
   Bandeja de notificaciones (v2). Réplica del diseño aprobado.
   ------------------------------------------------------------------ */
body.v2 .notif {
  display: flex; flex-direction: column; gap: 24px;
  width: 100%; max-width: 1024px; margin-inline: auto;
}

body.v2 .notif__cabecera {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 16px;
}
body.v2 .notif__titulo { display: flex; flex-direction: column; gap: 4px; }
body.v2 .notif__etiqueta {
  margin: 0;
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: #a4abbf;
}
body.v2 .notif__fila { display: flex; align-items: center; gap: 16px; }
body.v2 .notif h1 {
  margin: 0;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 28px; line-height: 32px; font-weight: 700;
  letter-spacing: 0; text-transform: uppercase; color: var(--texto);
}
body.v2 .notif__contador {
  font-size: 13px; line-height: 18px; color: #a4abbf;
  white-space: nowrap;
}

body.v2 .notif__todas {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 16px;
  background: #141b2a;
  border: 1px solid #293040;
  border-radius: 12px;
  color: var(--texto); cursor: pointer;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 13px; line-height: 18px;
  transition: border-color 120ms ease-out, color 120ms ease-out;
}
body.v2 .notif__todas:hover:not(:disabled) { border-color: #575e70; }
body.v2 .notif__todas:disabled { opacity: .55; cursor: default; }
body.v2 .notif__todas:focus-visible {
  outline: 2px solid var(--acento); outline-offset: 2px;
}
body.v2 .notif__todas .material-symbols-outlined { font-size: 18px; color: var(--acento); }

body.v2 .notif__filtros { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.v2 .notif__chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 16px;
  background: #141b2a;
  border: 1px solid #293040;
  border-radius: 999px;
  color: var(--texto); cursor: pointer;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .4px;
  transition: background-color 120ms ease-out, border-color 120ms ease-out, color 120ms ease-out;
}
body.v2 .notif__chip:hover { border-color: #575e70; }
body.v2 .notif__chip[aria-pressed="true"] {
  background: var(--acento); border-color: var(--acento); color: #151f00;
}
body.v2 .notif__chip:focus-visible {
  outline: 2px solid var(--acento); outline-offset: 2px;
}

body.v2 .notif__lista { display: flex; flex-direction: column; gap: 16px; }

body.v2 .notif-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px;
  background: #141b2a;
  border: 1px solid #575e70;
  border-radius: 20px;
}
body.v2 .notif-card[hidden] { display: none; }
body.v2 .notif-card--leida {
  background: #111726;
  border-color: #293040;
}

body.v2 .notif-card__icono {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: #293040;
  border: 1px solid #293040;
  border-radius: 16px;
  color: var(--acento);
}
body.v2 .notif-card--leida .notif-card__icono {
  background: #141b2a;
  border-color: #293040;
  color: #a4abbf;
}
body.v2 .notif-card__icono .material-symbols-outlined { font-size: 24px; }

body.v2 .notif-card__cuerpo {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
body.v2 .notif-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
body.v2 .notif-card__punto {
  flex-shrink: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--acento);
}
body.v2 .notif-card--leida .notif-card__punto { display: none; }
body.v2 .notif-card__tipo {
  font-family: 'Fragment Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .4px; text-transform: uppercase;
  color: var(--acento);
}
body.v2 .notif-card--leida .notif-card__tipo { color: #a4abbf; }
body.v2 .notif-card__fecha {
  font-family: 'Fragment Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; line-height: 16px;
  font-variant-numeric: tabular-nums;
  color: #a4abbf;
}
body.v2 .notif-card__leida {
  margin-left: auto;
  font-size: 12px; line-height: 16px; color: #a4abbf;
}

body.v2 .notif-card h2 {
  margin: 0;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 24px; line-height: 28px; font-weight: 700;
  letter-spacing: 0; text-transform: uppercase; color: var(--texto);
}
body.v2 .notif-card p {
  margin: 0;
  max-width: 65ch;
  font-size: 15px; line-height: 22px; color: #a4abbf;
  text-wrap: pretty;
}

body.v2 .notif-card__acciones {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding-top: 8px;
}
body.v2 .notif-card__ver {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 16px;
  background: var(--acento); color: #151f00;
  border-radius: 12px; text-decoration: none;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 16px; line-height: 20px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  transition: background-color 120ms ease-out;
}
body.v2 .notif-card__ver:hover { background: #99b658; }
body.v2 .notif-card__ver .material-symbols-outlined { font-size: 15px; }
body.v2 .notif-card__marcar {
  padding: 4px 16px;
  background: #111726;
  border: 1px solid #293040;
  border-radius: 12px;
  color: var(--texto); cursor: pointer;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .4px;
  transition: border-color 120ms ease-out;
}
body.v2 .notif-card__marcar:hover { border-color: #575e70; }
body.v2 .notif-card__ver:focus-visible,
body.v2 .notif-card__marcar:focus-visible {
  outline: 2px solid var(--acento); outline-offset: 2px;
}

body.v2 .notif__vacio {
  margin: 0; padding: 24px;
  background: #111726;
  border: 1px solid #293040;
  border-radius: 20px;
  font-size: 15px; line-height: 22px; color: #a4abbf;
  text-align: center;
}
body.v2 .notif__vacio[hidden] { display: none; }

@media (min-width: 768px) {
  body.v2 .notif h1 { font-size: 36px; line-height: 40px; letter-spacing: -.25px; }
}
@media (max-width: 560px) {
  body.v2 .notif { gap: 16px; }
  body.v2 .notif__cabecera { align-items: flex-start; }
  body.v2 .notif__cabecera > form { width: 100%; }
  body.v2 .notif__todas { width: 100%; justify-content: center; }
  body.v2 .notif-card { flex-direction: column; padding: 20px; }
  body.v2 .notif-card__acciones { width: 100%; }
  body.v2 .notif-card__ver,
  body.v2 .notif-card__marcar { flex: 1; justify-content: center; text-align: center; }
}

/* Ficha de producto v2: estudio 3D interactivo (prueba sobre la prenda real). */
body.v2 .estudio { display: flex; flex-direction: column; gap: 24px; }
body.v2 .estudio__rejilla {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px; align-items: start;
}
body.v2 .estudio__columna { min-width: 0; }
body.v2 .estudio__columna--info { display: flex; flex-direction: column; gap: 24px; }

body.v2 .estudio__escenario {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1 / 1; min-height: 440px; overflow: hidden;
  border: 1px solid #293040; border-radius: 20px; background-color: #111726;
  background-image:
    radial-gradient(circle at 50% 46%, rgba(var(--destello, 200, 255, 61), .34) 0%, rgba(17, 23, 38, 0) 62%),
    linear-gradient(to right, rgba(87, 94, 112, .10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(87, 94, 112, .10) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  cursor: grab; touch-action: none; user-select: none;
}
body.v2 .estudio__escenario.arrastrando { cursor: grabbing; }
body.v2 .estudio__escenario:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
body.v2 .estudio__foco {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--foco-x, 50%) var(--foco-y, 45%), rgba(var(--destello, 200, 255, 61), .26), transparent 55%);
  transition: opacity .12s ease-out;
}
body.v2 .estudio__barra-superior {
  position: absolute; top: 16px; left: 16px; right: 16px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; flex-wrap: wrap; pointer-events: none;
}
body.v2 .estudio__pildora {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 16px; border: 1px solid #293040; border-radius: 999px;
  background: rgba(11, 14, 22, .85); backdrop-filter: blur(4px);
  color: var(--texto); font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .04em;
}
body.v2 .estudio__pildora .material-symbols-outlined { font-size: 15px; color: var(--acento); }

body.v2 .estudio__lienzo {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 64px 24px 76px; perspective: 1200px;
}
body.v2 .jersey3d {
  position: relative; width: auto; height: min(100%, 430px); aspect-ratio: 1 / 1;
  transform-style: preserve-3d; will-change: transform;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
}
body.v2 .jersey3d.sin-transicion { transition: none; }
body.v2 .jersey3d__sombra {
  position: absolute; left: 18%; right: 18%; bottom: -4px; height: 22px;
  border-radius: 50%; background: rgba(0, 0, 0, .5); filter: blur(12px);
  transform: translateZ(-30px);
}
body.v2 .jersey3d__cara {
  position: absolute; inset: 0; display: grid; place-items: center;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
body.v2 .jersey3d__cara--espalda {
  transform: rotateY(180deg) scale(var(--escala-espalda, 1));
  container-type: inline-size;
}
body.v2 .jersey3d__cara img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55));
  pointer-events: none;
}
body.v2 .jersey3d__personalizacion {
  position: absolute; top: 0; bottom: 0; left: 50%; z-index: 2; width: 63%;
  transform: translateX(-50%); pointer-events: none;
}
body.v2 .jersey3d__nombre,
body.v2 .jersey3d__dorsal {
  position: absolute; left: 50%; z-index: 2; color: var(--texto-espalda, #fff);
  text-align: center; pointer-events: none;
  /* Bebas Neue como default; el selector de tipografía puede sobreescribir via --fuente-personalizacion */
  font-family: var(--fuente-personalizacion, 'Bebas Neue'), 'Bebas Neue', system-ui, sans-serif;
  font-weight: 400; font-kerning: normal;
  transform: translateX(-50%) rotateX(var(--curvatura, 0deg));
  text-shadow: none;
}
body.v2 .jersey3d__nombre {
  top: var(--nombre-y, 30%); width: 82%;
  font-size: clamp(.6rem, 6cqw, 1.7rem);
  letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  white-space: nowrap; overflow: hidden; text-overflow: clip;
  max-width: 100%; display: block;
}
body.v2 .jersey3d__dorsal {
  top: var(--dorsal-y, 44%); width: 72%;
  color: var(--color-dorsal, var(--texto-espalda, #fff));
  font-size: clamp(1.6rem, 26cqw, 5rem);
  letter-spacing: .02em; line-height: 1;
  white-space: nowrap;
}

body.v2 .estudio__barra-inferior {
  position: absolute; bottom: 16px; left: 16px; right: 16px; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
body.v2 .estudio__grupo {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px;
  border: 1px solid #293040; border-radius: 999px;
  background: rgba(11, 14, 22, .9); backdrop-filter: blur(4px);
}
body.v2 .estudio__control {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px; border: 0; border-radius: 999px; background: transparent;
  color: #a4abbf; cursor: pointer; white-space: nowrap;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; font-weight: 600;
  transition: color .12s ease-out, background-color .12s ease-out;
}
body.v2 .estudio__control:hover { color: var(--texto); }
body.v2 .estudio__control[aria-pressed="true"] { background: #293040; color: var(--acento); }
body.v2 .estudio__control:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
body.v2 .estudio__control .material-symbols-outlined { font-size: 16px; }
body.v2 .estudio__control--icono { width: 32px; justify-content: center; padding: 0; }

body.v2 .estudio__cabecera { display: flex; flex-direction: column; gap: 4px; }
body.v2 .estudio__etiqueta {
  margin: 0; font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: #a4abbf;
}
body.v2 .estudio__cabecera h1 {
  margin: 0; font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 28px; line-height: 32px; font-weight: 700; letter-spacing: 0;
  text-transform: uppercase; color: var(--texto);
}
body.v2 .estudio__descripcion {
  margin: 0; font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 15px; line-height: 22px; color: #a4abbf; text-wrap: pretty;
}
body.v2 .estudio__precio {
  margin: 0; font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 32px; line-height: 36px; font-weight: 800; letter-spacing: -.25px;
  color: var(--acento); font-variant-numeric: tabular-nums;
}

body.v2 .estudio__formulario {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid #293040; border-radius: 16px; background: #111726;
}
body.v2 .estudio__pestanas {
  display: flex; border-bottom: 1px solid #293040; background: #141b2a;
}
body.v2 .estudio__pestana {
  flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center;
  gap: 4px; padding: 16px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: #a4abbf; cursor: pointer;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 16px; line-height: 20px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  transition: color .12s ease-out, border-color .12s ease-out, background-color .12s ease-out;
}
body.v2 .estudio__pestana:hover { color: var(--texto); }
body.v2 .estudio__pestana.activa {
  border-bottom-color: var(--acento); background: #111726; color: var(--texto);
}
body.v2 .estudio__pestana .material-symbols-outlined { font-size: 18px; }
body.v2 .estudio__pestana.activa .material-symbols-outlined { color: var(--acento); }
body.v2 .estudio__pestana:focus-visible { outline: 2px solid var(--acento); outline-offset: -2px; }

body.v2 .estudio__cuerpo { display: flex; flex-direction: column; gap: 24px; padding: 24px; }
body.v2 .estudio__panel { display: flex; flex-direction: column; gap: 24px; }
body.v2 .estudio__panel[hidden] { display: none; }
body.v2 .estudio__campo { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
body.v2 .estudio__fila-etiqueta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body.v2 .estudio__rotulo {
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: #a4abbf;
}
body.v2 .estudio__stock {
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; color: #a4abbf; font-variant-numeric: tabular-nums;
}
body.v2 .estudio__tallas {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
  max-width: 520px;
}
body.v2 .estudio__talla { position: relative; display: block; }
body.v2 .estudio__talla input {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
body.v2 .estudio__talla span {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 8px 4px; border: 1px solid #293040; border-radius: 12px;
  background: #141b2a; color: var(--texto); cursor: pointer;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 16px; line-height: 20px; font-weight: 700;
  transition: background-color .12s ease-out, color .12s ease-out, border-color .12s ease-out;
}
body.v2 .estudio__talla input:checked + span {
  border-color: var(--acento); background: var(--acento); color: #151f00;
}
body.v2 .estudio__talla input:disabled + span {
  background: #111726; color: #575e70; text-decoration: line-through; cursor: not-allowed;
}
body.v2 .estudio__talla input:focus-visible + span { outline: 2px solid var(--acento); outline-offset: 2px; }

body.v2 .estudio__cantidad-fila {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 520px;
}
body.v2 .estudio__cantidad {
  display: inline-flex; align-items: center; overflow: hidden;
  border: 1px solid #293040; border-radius: 12px; background: #141b2a;
}
body.v2 .estudio__cantidad button {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--texto); cursor: pointer;
  transition: background-color .12s ease-out;
}
body.v2 .estudio__cantidad button:hover { background: #293040; }
body.v2 .estudio__cantidad button:focus-visible { outline: 2px solid var(--acento); outline-offset: -2px; }
body.v2 .estudio__cantidad .material-symbols-outlined { font-size: 18px; }
body.v2 .estudio__cantidad input {
  width: 40px; padding: 0; border: 0; background: transparent;
  color: var(--texto); text-align: center;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 15px; font-variant-numeric: tabular-nums;
  appearance: textfield; -moz-appearance: textfield;
}
body.v2 .estudio__cantidad input::-webkit-outer-spin-button,
body.v2 .estudio__cantidad input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
body.v2 .estudio__cantidad input:focus-visible { outline: 2px solid var(--acento); outline-offset: -2px; }

body.v2 .estudio__personalizacion-campos {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px;
  max-width: 520px;
}
body.v2 .estudio__campo input[type="text"] {
  width: 100%; padding: 8px 16px; border: 1px solid #293040; border-radius: 12px;
  background: #141b2a; color: var(--texto);
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 15px; line-height: 22px;
}
body.v2 .estudio__campo--nombre input { text-transform: uppercase; }
body.v2 .estudio__campo--dorsal input { text-align: center; font-variant-numeric: tabular-nums; }
body.v2 .estudio__campo input[type="text"]::placeholder { color: #575e70; }
body.v2 .estudio__campo input[type="text"]:focus {
  outline: none; border-color: var(--acento); box-shadow: 0 0 0 1px var(--acento);
}
body.v2 .estudio__fuentes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
body.v2 .estudio__fuente {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 16px; border: 1px solid #293040; border-radius: 12px;
  background: #141b2a; color: #a4abbf; cursor: pointer;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; font-weight: 600;
  transition: color .12s ease-out, border-color .12s ease-out, background-color .12s ease-out;
}
body.v2 .estudio__fuente:hover { color: var(--texto); }
body.v2 .estudio__fuente.activa { border-color: var(--acento); background: #293040; color: var(--texto); }
body.v2 .estudio__fuente:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
body.v2 .estudio__fuente-muestra { font-size: 18px; line-height: 24px; text-transform: uppercase; }
body.v2 .estudio__nota {
  display: flex; align-items: flex-start; gap: 8px; margin: 0;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 13px; line-height: 18px; color: #a4abbf;
}
body.v2 .estudio__nota .material-symbols-outlined { font-size: 16px; color: var(--acento); }

body.v2 .estudio__resumen {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 16px; border: 1px solid rgba(163, 215, 0, .6); border-radius: 12px;
  background: #141b2a; color: var(--texto);
}
body.v2 .estudio__resumen[hidden] { display: none; }
body.v2 .estudio__resumen-icono { flex: 0 0 auto; font-size: 18px; color: #a3d700; }
body.v2 .estudio__resumen-textos { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
body.v2 .estudio__resumen-textos p {
  margin: 0; font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 13px; line-height: 18px; overflow: hidden; text-overflow: ellipsis;
}
body.v2 .estudio__resumen-textos span {
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; color: #a4abbf;
}
body.v2 .estudio__resumen-quitar {
  width: 32px; height: 32px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 6px; background: transparent; color: #a4abbf; cursor: pointer;
  transition: color .12s ease-out, background-color .12s ease-out;
}
body.v2 .estudio__resumen-quitar:hover { color: var(--texto); background: #293040; }
body.v2 .estudio__resumen-quitar:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
body.v2 .estudio__resumen-quitar .material-symbols-outlined { font-size: 16px; }

body.v2 .estudio__agregar {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 24px; border: 0; border-radius: 12px;
  background: var(--acento); color: #151f00; cursor: pointer;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 16px; line-height: 20px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .12s ease-out;
}
body.v2 .estudio__agregar:hover { background: #99b658; }
body.v2 .estudio__agregar:disabled { opacity: .5; cursor: not-allowed; }
body.v2 .estudio__agregar:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
body.v2 .estudio__agregar .material-symbols-outlined { font-size: 18px; }

@media (min-width: 768px) {
  body.v2 .estudio__cabecera h1 { font-size: 36px; line-height: 40px; letter-spacing: -.25px; }
  body.v2 .estudio__precio { font-size: 48px; line-height: 52px; letter-spacing: -.5px; }
}
@media (max-width: 900px) {
  body.v2 .estudio__rejilla { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.v2 .estudio__escenario { aspect-ratio: 4 / 3; min-height: 0; }
  body.v2 .jersey3d { height: min(100%, 400px); }
}
@media (max-width: 640px) {
  body.v2 .estudio { gap: 16px; }
  body.v2 .estudio__escenario { aspect-ratio: auto; height: 480px; }
  body.v2 .estudio__lienzo { padding: 56px 16px 88px; }
  body.v2 .jersey3d { height: min(100%, 300px); }
  body.v2 .estudio__barra-inferior { left: 12px; right: 12px; bottom: 12px; justify-content: center; }
  body.v2 .estudio__barra-superior { left: 12px; right: 12px; top: 12px; }
  body.v2 .estudio__cuerpo { padding: 20px; gap: 20px; }
  body.v2 .estudio__panel { gap: 20px; }
  body.v2 .estudio__pestana { padding: 12px 8px; font-size: 14px; }
  body.v2 .estudio__tallas { gap: 6px; }
  body.v2 .estudio__talla span { padding: 8px 2px; font-size: 15px; }
  body.v2 .estudio__fuentes { gap: 6px; }
  body.v2 .estudio__fuente { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.v2 .jersey3d { transition: none; }
}

/* ------------------------------------------------------------------
   Checkout v2: paso 1 (dirección) y paso 2 (pago)
   ------------------------------------------------------------------ */
body.v2 .checkout-v2 {
  display: flex; flex-direction: column; gap: 24px;
  width: 100%; max-width: 1280px; margin-inline: auto;
}

/* Header sticky minimalista */
body.v2 .checkout-v2__header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 24px;
  background: rgba(11, 14, 22, .96); backdrop-filter: blur(14px);
  border-bottom: 1px solid #293040;
  margin-inline: -24px; padding-inline: 24px;
}
body.v2 .checkout-v2__logo {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--texto); text-decoration: none;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 24px; line-height: 28px; font-weight: 800;
  letter-spacing: .02em; text-transform: uppercase;
}
body.v2 .checkout-v2__logo-icono {
  display: inline-block; width: 10px; height: 24px;
  background: var(--acento); border-radius: 3px;
}
body.v2 .checkout-v2__volver {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 16px; border: 1px solid #293040; border-radius: 12px;
  background: transparent; color: var(--texto); text-decoration: none;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 13px; line-height: 18px; font-weight: 600;
  transition: background-color .12s ease-out, border-color .12s ease-out;
}
body.v2 .checkout-v2__volver:hover { background: #293040; border-color: #575e70; }
body.v2 .checkout-v2__volver:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
body.v2 .checkout-v2__volver .material-symbols-outlined { font-size: 16px; }

/* Indicador de pasos (3 columnas, mockup style) */
body.v2 .checkout-v2__pasos {
  margin: 32px 0;
}
body.v2 .checkout-v2__pasos-contenedor {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  background: #111726; border: 1px solid #293040; border-radius: 12px;
  padding: 8px;
}
body.v2 .checkout-v2__paso {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: 8px;
  transition: background-color .12s ease-out, border-color .12s ease-out;
}
body.v2 .checkout-v2__paso--activo {
  background: #141b2a; border: 1px solid var(--acento);
}
body.v2 .checkout-v2__paso--inactivo {
  background: transparent;
}
body.v2 .checkout-v2__paso-numero {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .04em; tabular-nums;
}
body.v2 .checkout-v2__paso--activo .checkout-v2__paso-numero {
  background: var(--acento); color: #151f00;
}
body.v2 .checkout-v2__paso--inactivo .checkout-v2__paso-numero {
  background: #293040; color: #a4abbf;
}
body.v2 .checkout-v2__paso-texto {
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 13px; line-height: 18px; font-weight: 400;
}
body.v2 .checkout-v2__paso--activo .checkout-v2__paso-texto {
  color: #f6f8fc;
}
body.v2 .checkout-v2__paso--inactivo .checkout-v2__paso-texto {
  color: #a4abbf;
}


/* Layout 2 columnas */
body.v2 .checkout-v2__contenido {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px; align-items: start;
}

/* Formulario izquierda */
body.v2 .checkout-v2__formulario {
  display: flex; flex-direction: column; gap: 32px;
  min-width: 0;
}
body.v2 .checkout-v2__titulo {
  margin: 0;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 36px; line-height: 40px; font-weight: 700;
  letter-spacing: -.25px; text-transform: uppercase; color: var(--texto);
}
body.v2 .checkout-v2__subtitulo {
  margin: 0 0 16px;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 24px; line-height: 28px; font-weight: 700;
  letter-spacing: 0; text-transform: uppercase; color: var(--texto);
}
body.v2 .checkout-v2__form {
  display: flex; flex-direction: column; gap: 24px;
}
body.v2 .checkout-v2__direcciones {
  display: flex; flex-direction: column; gap: 12px;
}
body.v2 .checkout-v2__direccion-opcion {
  display: flex; align-items: start; gap: 12px;
  padding: 16px; border: 1px solid #293040; border-radius: 16px;
  background: #111726; cursor: pointer;
  transition: border-color .12s ease-out, background-color .12s ease-out;
}
body.v2 .checkout-v2__direccion-opcion:hover { border-color: #575e70; background: #141b2a; }
body.v2 .checkout-v2__direccion-opcion:has(input:checked) {
  border-color: var(--acento); background: rgba(200, 255, 61, .05);
}
body.v2 .checkout-v2__direccion-opcion:focus-within { outline: 2px solid var(--acento); outline-offset: 2px; }
body.v2 .checkout-v2__direccion-opcion input[type="radio"] {
  margin-top: 2px; width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--acento);
}
body.v2 .checkout-v2__direccion-contenido {
  flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
body.v2 .checkout-v2__direccion-calle {
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 16px; line-height: 20px; font-weight: 600; color: var(--texto);
}
body.v2 .checkout-v2__direccion-detalles {
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 14px; line-height: 20px; color: #a4abbf;
}
body.v2 .checkout-v2__direccion-referencia {
  margin-top: 4px; padding-top: 8px; border-top: 1px solid #293040;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 13px; line-height: 18px; color: #a4abbf;
}

/* Dirección seleccionada en paso 2 */
body.v2 .checkout-v2__seccion {
  display: flex; flex-direction: column; gap: 16px;
}
body.v2 .checkout-v2__direccion-seleccionada {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px; border: 1px solid #293040; border-radius: 16px;
  background: #111726;
}
body.v2 .checkout-v2__pago {
  margin-top: 16px;
}
body.v2 .checkout-v2__modo-demo {
  padding: 16px; border: 1px solid #293040; border-radius: 16px;
  background: #111726;
}
body.v2 .checkout-v2__modo-demo-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
body.v2 .checkout-v2__modo-demo-header .material-symbols-outlined {
  font-size: 18px; color: var(--acento);
}
body.v2 .checkout-v2__modo-demo-etiqueta {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 14px; line-height: 18px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--texto);
}
body.v2 .checkout-v2__modo-demo-texto {
  margin: 0 0 16px;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 14px; line-height: 20px; color: #a4abbf;
}
body.v2 .checkout-v2__form-pago {
  display: flex; flex-direction: column; gap: 16px;
}

/* Nueva dirección (details) */
body.v2 .checkout-v2__nueva-direccion {
  margin-top: 8px;
  padding: 16px; border: 1px solid #293040; border-radius: 16px;
  background: #111726;
}
body.v2 .checkout-v2__nueva-titulo {
  display: flex; align-items: center; gap: 8px;
  list-style: none; cursor: pointer;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 14px; line-height: 20px; font-weight: 600; color: var(--texto);
  transition: color .12s ease-out;
}
body.v2 .checkout-v2__nueva-titulo::-webkit-details-marker { display: none; }
body.v2 .checkout-v2__nueva-titulo:hover { color: var(--acento); }
body.v2 .checkout-v2__nueva-titulo:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; border-radius: 8px; }
body.v2 .checkout-v2__nueva-titulo .material-symbols-outlined { font-size: 18px; }
body.v2 .checkout-v2__nueva-direccion[open] .checkout-v2__nueva-titulo .material-symbols-outlined {
  transform: rotate(45deg);
}
body.v2 .checkout-v2__form-nueva {
  display: flex; flex-direction: column; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #293040;
}

/* Campos del formulario en grid */
body.v2 .checkout-v2__campos {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px;
}
body.v2 .checkout-v2__campo {
  display: flex; flex-direction: column; gap: 4px;
}
body.v2 .checkout-v2__campo--4 { grid-column: span 4; }
body.v2 .checkout-v2__campo--6 { grid-column: span 6; }
body.v2 .checkout-v2__campo--8 { grid-column: span 8; }
body.v2 .checkout-v2__campo--12 { grid-column: span 12; }
body.v2 .checkout-v2__campo label {
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: .04em; color: #a4abbf;
}
body.v2 .checkout-v2__campo input,
body.v2 .checkout-v2__campo select {
  width: 100%; padding: 10px 16px; border: 1px solid #293040; border-radius: 12px;
  background: #141b2a; color: var(--texto);
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 15px; line-height: 22px;
  transition: border-color .12s ease-out, box-shadow .12s ease-out;
}
body.v2 .checkout-v2__campo input::placeholder { color: #575e70; }
body.v2 .checkout-v2__campo input:focus,
body.v2 .checkout-v2__campo select:focus {
  outline: none; border-color: var(--acento); box-shadow: 0 0 0 2px rgba(200, 255, 61, .16);
}

/* Botones */
body.v2 .checkout-v2__boton-principal {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 24px; border: 0; border-radius: 12px;
  background: var(--acento); color: #151f00; cursor: pointer;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 16px; line-height: 20px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  transition: background-color .12s ease-out;
}
body.v2 .checkout-v2__boton-principal:hover { background: #99b658; }
body.v2 .checkout-v2__boton-principal:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
body.v2 .checkout-v2__boton-principal .material-symbols-outlined { font-size: 18px; }
body.v2 .checkout-v2__boton-secundario {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border: 1px solid #293040; border-radius: 12px;
  background: transparent; color: var(--texto); cursor: pointer;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 14px; line-height: 20px; font-weight: 600;
  transition: background-color .12s ease-out, border-color .12s ease-out;
}
body.v2 .checkout-v2__boton-secundario:hover { background: #293040; border-color: #575e70; }
body.v2 .checkout-v2__boton-secundario:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }

/* Sin direcciones */
body.v2 .checkout-v2__sin-direcciones {
  margin-bottom: 16px;
}
body.v2 .checkout-v2__aviso {
  margin: 0; padding: 12px 16px; border: 1px solid rgba(90, 160, 255, .4); border-radius: 12px;
  background: rgba(90, 160, 255, .08);
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 14px; line-height: 20px; color: #a4abbf;
}

/* Resumen del pedido (sidebar derecho sticky) */
body.v2 .checkout-v2__resumen {
  position: sticky; top: 92px;
  display: flex; flex-direction: column;
}
body.v2 .checkout-v2__resumen-contenido {
  display: flex; flex-direction: column; gap: 24px;
  padding: 24px; border: 1px solid #293040; border-radius: 20px;
  background: #141b2a;
}
body.v2 .checkout-v2__resumen-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 16px; border-bottom: 1px solid #293040;
}
body.v2 .checkout-v2__resumen-titulo {
  margin: 0;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 24px; line-height: 28px; font-weight: 700;
  letter-spacing: 0; text-transform: uppercase; color: var(--texto);
}
body.v2 .checkout-v2__resumen-contador {
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 12px; line-height: 16px; color: #a4abbf; font-variant-numeric: tabular-nums;
}
body.v2 .checkout-v2__resumen-lista {
  display: flex; flex-direction: column; gap: 16px;
  list-style: none; padding: 0; margin: 0;
}
body.v2 .checkout-v2__resumen-item {
  display: flex; align-items: center; gap: 12px;
}
body.v2 .checkout-v2__resumen-item-imagen {
  width: 64px; height: 64px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 8px; border: 1px solid #293040; border-radius: 12px;
  background: #111726; overflow: hidden;
}
body.v2 .checkout-v2__resumen-item-imagen img {
  width: 100%; height: 100%; object-fit: contain;
}
body.v2 .checkout-v2__resumen-item-imagen .material-symbols-outlined {
  font-size: 32px; color: #575e70;
}
body.v2 .checkout-v2__resumen-item-info {
  flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
body.v2 .checkout-v2__resumen-item-nombre {
  margin: 0;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 15px; line-height: 20px; font-weight: 600; color: var(--texto);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
body.v2 .checkout-v2__resumen-item-detalles {
  margin: 0;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 13px; line-height: 18px; color: #a4abbf;
}
body.v2 .checkout-v2__resumen-item-precio {
  margin: 0;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 14px; line-height: 20px; font-weight: 600; color: var(--texto);
  font-variant-numeric: tabular-nums;
}

/* Totales */
body.v2 .checkout-v2__resumen-totales {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 16px; border-top: 1px solid #293040;
}
body.v2 .checkout-v2__resumen-fila {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 15px; line-height: 22px; color: #a4abbf;
}
body.v2 .checkout-v2__resumen-fila strong {
  color: var(--texto); font-weight: 400; font-variant-numeric: tabular-nums;
}
body.v2 .checkout-v2__resumen-total {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 8px; padding-top: 16px; border-top: 1px solid #293040;
}
body.v2 .checkout-v2__resumen-total span {
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 18px; line-height: 24px; font-weight: 600; color: var(--texto);
}
body.v2 .checkout-v2__resumen-total strong {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: 36px; line-height: 40px; font-weight: 700;
  letter-spacing: -.25px; color: var(--acento); font-variant-numeric: tabular-nums;
}

/* Nota de seguridad */
body.v2 .checkout-v2__resumen-nota {
  display: flex; align-items: start; gap: 8px;
  padding: 12px 16px; border: 1px solid #293040; border-radius: 12px;
  background: #111726;
}
body.v2 .checkout-v2__resumen-nota .material-symbols-outlined {
  font-size: 18px; color: #a3d700; flex: 0 0 auto;
}
body.v2 .checkout-v2__resumen-nota p {
  margin: 0; flex: 1 1 auto;
  font-family: 'Commissioner', system-ui, sans-serif;
  font-size: 13px; line-height: 18px; color: #a4abbf;
}

/* Responsive */
@media (max-width: 1024px) {
  body.v2 .checkout-v2__contenido { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.v2 .checkout-v2__resumen { position: static; }
}
@media (max-width: 768px) {
  body.v2 .checkout-v2__header { margin-inline: -16px; padding-inline: 16px; }
  body.v2 .checkout-v2__titulo { font-size: 28px; line-height: 32px; }
  body.v2 .checkout-v2__resumen-total strong { font-size: 28px; line-height: 32px; }
  body.v2 .checkout-v2__pasos-contenedor { grid-template-columns: 1fr; }
  body.v2 .checkout-v2__paso-texto { font-size: 14px; }
}
@media (max-width: 640px) {
  body.v2 .checkout-v2__campos { grid-template-columns: 1fr; }
  body.v2 .checkout-v2__campo--4,
  body.v2 .checkout-v2__campo--6,
  body.v2 .checkout-v2__campo--8,
  body.v2 .checkout-v2__campo--12 { grid-column: span 1; }
  body.v2 .checkout-v2__resumen-contenido { padding: 20px; }
  body.v2 .checkout-v2__volver span:last-child { display: none; }
}


/* Gráficas del reporte */
.reporte-graficas {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-bottom: 2rem;
}

.reporte-grafica {
  margin: 0;
  padding: 0;
  border: 1px solid var(--outline-variant);
  border-radius: 12px;
  background: var(--surface-container);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.reporte-grafica--ancha {
  grid-column: 1 / -1;
}

.reporte-grafica img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------------------------------------------------------------------
   Gráficas del reporte mensual
   El diseño M3 fija 36/28 px para el título y 24 px para las tarjetas; las
   reglas globales de body.v2 usan clamp() y márgenes heredados, así que aquí
   se ajustan sin tocar el resto del tema.
--------------------------------------------------------------------------- */
body.v2 .reporte-mes h1 {
  margin: 0;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: 0;
}

body.v2 .reporte-mes h2 {
  margin: 0;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0;
}

body.v2 .reporte-mes p {
  margin: 0;
}

body.v2 .reporte-mes .min-w-\[700px\] {
  min-width: 700px;
}

body.v2 .reporte-mes #daily-revenue-svg .daily-bar-group:focus {
  outline: 2px solid #C8FF3D;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  body.v2 .reporte-mes h1 {
    font-size: 36px;
    line-height: 40px;
    letter-spacing: -.25px;
  }
}
