/* ==========================================================================
   XPlay Nin Store — Experiencia
   Logos del carrusel que se pueden tocar, entradas de marca, vista de compra,
   zonas de PlayStation / Xbox / Nintendo, carrito y partículas.
   ========================================================================== */

[hidden] { display: none !important; }
dialog:not([open]) { display: none; }
html { scrollbar-gutter: stable; }
/* Recorta sin permitir desplazamiento: al enfocar un elemento (teclado o al cerrar una
   ventana) el navegador ya no puede correr el carrusel ni los estantes hacia un lado */
.hero, .trending, .service { overflow: clip; }
html.has-modal, html.has-intro { overflow: hidden; }

/* ---------- Capa de partículas y producto que vuela al carrito ---------- */
.fx-layer { position: fixed; inset: 0; z-index: 90; width: 100%; height: 100%; pointer-events: none; }
.fx-fly {
  position: fixed; z-index: 95; object-fit: contain; pointer-events: none; transform-origin: 50% 50%;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 18px rgba(155, 226, 47, .5));
}

/* ---------- Botón de sonido ---------- */
.sound-toggle .ico--off { display: none; }
.sound-toggle.is-muted .ico--on { display: none; }
.sound-toggle.is-muted .ico--off { display: block; color: var(--muted); }
.sound-toggle:not(.is-muted) .ico--on { color: var(--lime); filter: drop-shadow(0 0 6px rgba(155, 226, 47, .6)); }
.sound-toggle::after {
  content: ""; position: absolute; inset: 6px; border-radius: 11px; border: 1.5px solid rgba(155, 226, 47, .55);
  opacity: 0; pointer-events: none;
}
.sound-toggle:not(.is-muted)::after { animation: sound-ping 3.2s var(--ease) infinite; }
@keyframes sound-ping { 0%, 70% { opacity: 0; transform: scale(.8); } 78% { opacity: .9; } 100% { opacity: 0; transform: scale(1.35); } }

.toast button { margin-left: 4px; padding: 7px 11px; border-radius: 9px; font-weight: 800; font-size: 13.5px; color: #0b1100; background: var(--lime); }

/* ==========================================================================
   Carrusel: logos que se tocan
   ========================================================================== */
.slide__logo-btn {
  --glow: var(--lime);
  --logo: linear-gradient(transparent, transparent);
  position: relative; z-index: 2; display: block; width: 100%; padding: 0; border-radius: 14px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
/* Mientras el cursor está sobre el logo, el aviso "Ver y comprar" ocupa el lugar de la etiqueta */
.slide__info .slide__meta { clip-path: inset(-14px); transition: clip-path .3s var(--ease); }
.slide__info:has(.slide__logo-btn:hover) .slide__meta,
.slide__info:has(.slide__logo-btn:focus-visible) .slide__meta { clip-path: inset(-14px -14px calc(100% + 14px) -14px); }
.slide__logo-btn .slide__logo {
  transform-origin: left center;
  transition: transform .5s var(--ease-expo), filter .4s var(--ease);
}
.slide__info--b .slide__logo-btn .slide__logo { transform-origin: right center; }
/* Destello que recorre el logo (usa el mismo logo como máscara) */
.slide__logo-btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--logo) left center / contain no-repeat;
          mask: var(--logo) left center / contain no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .9) 48%, rgba(255, 255, 255, .25) 54%, transparent 62%) 100% 0 / 300% 100% no-repeat;
  mix-blend-mode: soft-light;
  animation: logo-shine 6s var(--ease) 1.6s infinite;
}
.slide__info--b .slide__logo-btn::after { -webkit-mask-position: right center; mask-position: right center; }
@keyframes logo-shine { 0%, 62% { background-position: 100% 0; } 86%, 100% { background-position: 0 0; } }
.slide__logo-btn:hover .slide__logo,
.slide__logo-btn:focus-visible .slide__logo {
  transform: scale(1.07);
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, .7)) drop-shadow(0 0 22px color-mix(in srgb, var(--glow) 75%, transparent));
}
.slide__logo-btn:focus-visible { outline-offset: 6px; }
.slide__tap {
  position: absolute; left: 0; top: calc(100% + 8px); z-index: 2;
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 10px; border-radius: 999px;
  font: 800 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  color: #0b0f14; background: var(--glow); box-shadow: 0 10px 24px -8px var(--glow), 0 0 0 3px rgba(0, 0, 0, .35);
  opacity: 0; transform: translateY(-6px) scale(.92); pointer-events: none;
  transition: opacity .3s var(--ease), transform .4s var(--ease-expo);
}
.slide__tap .ico { width: 16px; height: 16px; animation: tap 1.1s ease-in-out infinite; }
@keyframes tap { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-2px, -2px) scale(.9); } }
.slide__info--b .slide__tap { left: auto; right: 0; }
.slide__logo-btn:hover .slide__tap,
.slide__logo-btn:focus-visible .slide__tap { opacity: 1; transform: none; }
/* En pantallas táctiles el logo "respira" para invitar a tocarlo */
@media (hover: none) {
  .info-set.is-active .slide__logo-btn .slide__logo { animation: logo-breathe 2.8s ease-in-out 1.4s infinite; }
}
@keyframes logo-breathe {
  0%, 100% { filter: drop-shadow(0 8px 26px rgba(0, 0, 0, .7)); }
  50% { filter: drop-shadow(0 8px 26px rgba(0, 0, 0, .7)) drop-shadow(0 0 16px color-mix(in srgb, var(--glow) 70%, transparent)); }
}

/* Reacción al tocar el logo: el logo salta, el arte destella y la escena tiembla */
.info-set .slide__logo-btn.is-hit .slide__logo { animation: logo-hit .55s var(--ease-expo) both; }
@keyframes logo-hit {
  0% { transform: scale(1.07); }
  28% { transform: scale(1.2) rotate(-2deg); filter: brightness(1.7) drop-shadow(0 0 34px var(--glow)); }
  100% { transform: scale(1.05); filter: drop-shadow(0 0 22px var(--glow)); }
}
.slide__half::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--hit, #fff) 55%, #fff) 0%, color-mix(in srgb, var(--hit, #fff) 40%, transparent) 30%, transparent 70%);
  mix-blend-mode: screen;
}
.hero.is-hit-a .slide.is-active .slide__half--a::after,
.hero.is-hit-b .slide.is-active .slide__half--b::after { animation: half-flash .6s ease-out; }
@keyframes half-flash { 0% { opacity: 0; } 18% { opacity: .85; } 100% { opacity: 0; } }
.hero.is-hit-a .hero__slides,
.hero.is-hit-b .hero__slides { animation: hero-shake .42s linear; }
@keyframes hero-shake {
  0%, 100% { translate: 0 0; } 15% { translate: -7px 3px; } 30% { translate: 6px -4px; }
  45% { translate: -4px 2px; } 60% { translate: 3px -2px; } 80% { translate: -1px 1px; }
}
.hero.is-hit-a .mascot__img,
.hero.is-hit-b .mascot__img { animation: float 5.5s ease-in-out infinite, pop .9s var(--ease-expo); }

/* ==========================================================================
   Productos: tarjetas de plataforma
   ========================================================================== */
.cat { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cat[data-brand]:hover { animation: cat-pulse 1.6s ease-in-out infinite; }
@keyframes cat-pulse {
  0%, 100% { box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--c) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
  50% { box-shadow: 0 30px 70px -20px color-mix(in srgb, var(--c) 75%, transparent), 0 0 0 2px color-mix(in srgb, var(--c) 75%, transparent), 0 0 46px -6px color-mix(in srgb, var(--c) 65%, transparent); }
}
.cat.is-pressed { transform: scale(.97) !important; transition-duration: .15s; }

/* Estante: tocar la portada abre el juego */
.game__cover { cursor: pointer; }
.game__open { text-align: left; font: inherit; color: inherit; }
.game__open:hover { color: #fff; }
.game__peek {
  position: absolute; left: 50%; top: 46%; z-index: 1; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; white-space: nowrap;
  font: 800 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: rgba(8, 11, 16, .7); border: 1px solid color-mix(in srgb, var(--c, #9be22f) 70%, transparent);
  box-shadow: 0 0 26px -6px var(--c, #9be22f);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; scale: .85; pointer-events: none; transition: opacity .3s, scale .4s var(--ease-expo);
}
.game__peek .ico { width: 14px; height: 14px; fill: currentColor; stroke: none; color: var(--c, #9be22f); }
.game:hover .game__peek { opacity: 1; scale: 1; }
.game:hover { border-color: color-mix(in srgb, var(--c, #9be22f) 60%, transparent); box-shadow: 0 26px 50px -22px color-mix(in srgb, var(--c, #9be22f) 60%, transparent); }

/* ==========================================================================
   Entradas de marca (pantalla completa)
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 200; overflow: hidden; cursor: pointer;
  background: #000; color: #fff; opacity: 0; transition: opacity .2s;
}
.intro.is-on { opacity: 1; }
.intro.is-out { opacity: 0; pointer-events: none; transition: opacity .6s ease .05s; }
.intro__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__scene { position: absolute; inset: 0; pointer-events: none; }
.intro__scene svg { fill: currentColor; display: block; }
.intro__skip {
  position: absolute; right: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px); z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 11px 18px; border-radius: 999px;
  font: 800 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; animation: fade-in .4s ease .7s forwards; transition: background-color .2s;
}
.intro__skip .ico { width: 16px; height: 16px; }
.intro__skip:hover { background: rgba(255, 255, 255, .18); }
@keyframes fade-in { to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* --- PlayStation --- */
.ps-logo { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; }
.ps-logo__mark { opacity: 0; }
.ps-logo__mark svg {
  width: clamp(96px, 17vmin, 180px); height: auto; aspect-ratio: 1; color: #fff;
  filter: drop-shadow(0 0 20px rgba(90, 160, 255, .95)) drop-shadow(0 0 70px rgba(40, 110, 255, .7));
}
.ps-logo__word { font: 600 clamp(30px, 5.4vmin, 58px)/1 var(--font); letter-spacing: .2em; padding-left: .2em; opacity: 0; text-shadow: 0 0 24px rgba(110, 170, 255, .8); }
.ps-logo__sub { font: 600 clamp(11px, 1.6vmin, 14px)/1 var(--font); letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; color: #a9c6ff; opacity: 0; }
.ps-flare {
  position: absolute; left: 50%; top: 50%; width: 130vw; height: 2px; translate: -50% calc(-50% - 4vmin);
  background: linear-gradient(90deg, transparent, rgba(140, 190, 255, .9) 30%, #fff 50%, rgba(140, 190, 255, .9) 70%, transparent);
  box-shadow: 0 0 22px 2px rgba(110, 170, 255, .9); opacity: 0;
}
.intro.is-on .ps-logo__mark { animation: ps-mark 1.4s cubic-bezier(.2, .7, .2, 1) 3.2s both; }
.intro.is-on .ps-logo__word { animation: ps-word 1.3s cubic-bezier(.2, .7, .2, 1) 3.5s both; }
.intro.is-on .ps-logo__sub { animation: fade-up .9s ease 3.95s both; }
.intro.is-on .ps-flare { animation: flare 1.5s ease 3.2s both; }
@keyframes ps-mark { from { opacity: 0; transform: scale(.84); filter: blur(16px); } to { opacity: 1; transform: none; filter: blur(0); } }
/* Entrada en 3D (js/intro-ps.js): las partículas arman el logo y el logo de verdad aparece encima, sin desenfoque */
.intro__gl { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.intro--3d { background: #01030a; }
.intro--3d.is-on .ps-logo__mark { animation: ps-mark-3d .7s cubic-bezier(.2, .7, .2, 1) 3.1s both; }
.intro--3d.is-on .ps-logo__word { animation: ps-word 1.1s cubic-bezier(.2, .7, .2, 1) 3.38s both; }
.intro--3d.is-on .ps-logo__sub { animation: fade-up .8s ease 3.75s both; }
.intro--3d.is-on .ps-flare { animation: flare 1.4s ease 3.1s both; }
@keyframes ps-mark-3d { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
@keyframes ps-word { from { opacity: 0; letter-spacing: .75em; } to { opacity: 1; letter-spacing: .2em; } }
@keyframes flare { 0% { opacity: 0; transform: scaleX(0); } 30% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1.15); } }

/* --- Xbox --- */
.xb-logo__mark, .xb-logo__word, .xb-logo__sub { position: absolute; left: 50%; opacity: 0; }
.xb-logo__mark { top: 44%; translate: -50% -50%; }
.xb-logo__mark svg { width: clamp(110px, 21vmin, 210px); height: auto; aspect-ratio: 1; color: #fff; filter: drop-shadow(0 0 24px #7dff4a) drop-shadow(0 0 70px rgba(43, 192, 43, .85)); }
.xb-logo__word { top: calc(44% + clamp(70px, 13vmin, 130px)); translate: -50% 0; font: 900 clamp(34px, 7vmin, 72px)/1 var(--display); letter-spacing: .42em; padding-left: .42em; text-shadow: 0 0 30px rgba(43, 192, 43, .9); }
.xb-logo__sub { top: calc(44% + clamp(122px, 22vmin, 210px)); translate: -50% 0; white-space: nowrap; font: 700 clamp(11px, 1.7vmin, 15px)/1 var(--font); letter-spacing: .34em; text-transform: uppercase; color: #b9f59a; }
.intro.is-on .xb-logo__mark { animation: xb-pop .9s cubic-bezier(.2, 1.5, .4, 1) 1.02s both; }
.intro.is-on .xb-logo__word { animation: ps-word 1s cubic-bezier(.2, .7, .2, 1) 1.4s both; }
.intro.is-on .xb-logo__sub { animation: fade-in .7s ease 1.75s both; }
@keyframes xb-pop { from { opacity: 0; transform: scale(.25) rotate(-25deg); filter: brightness(3); } to { opacity: 1; transform: none; filter: none; } }

/* --- Nintendo Switch --- */
.intro--switch { background: #09090b; }
.sw-console {
  --u: min(1vmin, 9px);
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: flex; height: calc(var(--u) * 40);
}
.sw-screen {
  position: relative; z-index: 1; width: calc(var(--u) * 66); padding: calc(var(--u) * 1.8);
  border-radius: calc(var(--u) * 2); background: #15171c;
  box-shadow: inset 0 0 0 calc(var(--u) * .4) #262930, 0 calc(var(--u) * 4) calc(var(--u) * 10) rgba(0, 0, 0, .7);
  opacity: 0;
}
.sw-screen__in {
  position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden;
  border-radius: calc(var(--u) * .9); background: #030304;
}
.sw-screen__in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, .12), transparent 40%); }
.sw-screen__in svg { width: calc(var(--u) * 10); height: auto; aspect-ratio: 1; color: #fff; opacity: 0; }
.sw-jc { position: relative; width: calc(var(--u) * 12); }
.sw-jc--l {
  border-radius: calc(var(--u) * 6.5) calc(var(--u) * .8) calc(var(--u) * .8) calc(var(--u) * 6.5);
  background: linear-gradient(160deg, #4fd8ff, #0ab9e6 45%, #0789b8);
  box-shadow: inset calc(var(--u) * -.5) 0 0 rgba(0, 0, 0, .25), 0 0 calc(var(--u) * 5) rgba(10, 185, 230, .55);
}
.sw-jc--r {
  border-radius: calc(var(--u) * .8) calc(var(--u) * 6.5) calc(var(--u) * 6.5) calc(var(--u) * .8);
  background: linear-gradient(200deg, #ff8070, #ff3c28 45%, #c9200f);
  box-shadow: inset calc(var(--u) * .5) 0 0 rgba(0, 0, 0, .25), 0 0 calc(var(--u) * 5) rgba(255, 60, 40, .55);
}
.sw-jc > span { position: absolute; left: 50%; translate: -50% 0; }
.sw-stick {
  width: calc(var(--u) * 6); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3a3d45, #15171b 70%);
  box-shadow: 0 0 0 calc(var(--u) * .7) rgba(0, 0, 0, .35), 0 calc(var(--u) * .6) calc(var(--u) * 1.2) rgba(0, 0, 0, .5);
}
.sw-jc--l .sw-stick { top: 20%; }
.sw-jc--r .sw-stick { top: 54%; }
.sw-pad { width: calc(var(--u) * 7); aspect-ratio: 1; }
.sw-pad i { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: #17191e; box-shadow: inset 0 calc(var(--u) * -.3) 0 rgba(255, 255, 255, .08); }
.sw-pad i:nth-child(1) { left: 33%; top: 0; } .sw-pad i:nth-child(2) { right: 0; top: 33%; }
.sw-pad i:nth-child(3) { left: 33%; bottom: 0; } .sw-pad i:nth-child(4) { left: 0; top: 33%; }
.sw-jc--l .sw-pad { top: 52%; }
.sw-jc--r .sw-pad { top: 17%; }
.sw-btn { top: 7%; width: calc(var(--u) * 2.6); height: calc(var(--u) * .7); border-radius: 2px; background: #17191e; }
.sw-jc--l .sw-btn { left: 70%; }
.sw-jc--r .sw-btn { left: 30%; }
.sw-plus::after { content: ""; position: absolute; inset: 0; background: inherit; border-radius: inherit; rotate: 90deg; }
.sw-cap { top: 84%; width: calc(var(--u) * 2); aspect-ratio: 1; border-radius: 3px; background: #17191e; }
.sw-home { top: 84%; width: calc(var(--u) * 2.4); aspect-ratio: 1; border-radius: 50%; background: #17191e; box-shadow: 0 0 0 calc(var(--u) * .4) rgba(255, 255, 255, .25); }
.sw-rings { position: absolute; left: 50%; top: 50%; }
.sw-rings i {
  position: absolute; left: 0; top: 0; width: 30vmin; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: .8vmin solid #fff; opacity: 0;
}
.sw-rings i:nth-child(1) { border-color: #0ab9e6; }
.sw-rings i:nth-child(2) { border-color: #ff3c28; }
.sw-flood {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 46%, #ff3524 0%, #e60012 46%, #a3000c 100%);
  clip-path: circle(0% at 50% 50%);
}
.sw-logo { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 3.2vmin; }
.sw-logo__mark { opacity: 0; }
.sw-logo__mark svg { width: clamp(110px, 22vmin, 220px); height: auto; aspect-ratio: 1; color: #fff; filter: drop-shadow(0 1.4vmin 3vmin rgba(90, 0, 0, .45)); }
.sw-logo__word { font: 900 clamp(32px, 6.6vmin, 72px)/1 var(--display); letter-spacing: .02em; color: #fff; text-shadow: 0 1vmin 3vmin rgba(90, 0, 0, .4); opacity: 0; }

.intro.is-on .sw-screen { animation: sw-screen .55s var(--ease-expo) .05s both; }
.intro.is-on .sw-jc--l { animation: sw-in-l .73s cubic-bezier(.55, 0, .85, .4) .05s both, sw-bump-l .28s ease-out .78s; }
.intro.is-on .sw-jc--r { animation: sw-in-r .73s cubic-bezier(.55, 0, .85, .4) .13s both, sw-bump-r .28s ease-out .86s; }
.intro.is-on .sw-screen__in { animation: sw-power .45s ease .9s both; }
.intro.is-on .sw-screen__in svg { animation: sw-icon .5s cubic-bezier(.3, 1.8, .5, 1) .95s both; }
.intro.is-on .sw-console { animation: sw-shake .42s linear .86s, sw-zoom .5s cubic-bezier(.6, 0, .25, 1) 1.32s forwards; }
.intro.is-on .sw-rings i { animation: sw-ring .9s cubic-bezier(.1, .7, .3, 1) .86s both; }
.intro.is-on .sw-rings i:nth-child(2) { animation-delay: .94s; }
.intro.is-on .sw-rings i:nth-child(3) { animation-delay: 1.02s; }
.intro.is-on .sw-flood { animation: sw-flood .5s cubic-bezier(.7, 0, .3, 1) 1.32s forwards; }
.intro.is-on .sw-logo__mark { animation: sw-logo .8s cubic-bezier(.25, 1.9, .45, 1) 1.52s both; }
.intro.is-on .sw-logo__word { animation: fade-up .7s var(--ease-expo) 1.82s both; }
.sw-logo__tag { font: 800 clamp(12px, 2.2vmin, 20px)/1 var(--font); letter-spacing: .34em; text-transform: uppercase; color: #ffb9b0; opacity: 0; text-shadow: 0 0 18px rgba(255, 60, 40, .6); }
.intro.is-on .sw-logo__tag { animation: fade-up .7s var(--ease-expo) 2.1s both; }
@keyframes sw-screen { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes sw-in-l { from { transform: translateX(-80vw) rotate(-34deg); } to { transform: none; } }
@keyframes sw-in-r { from { transform: translateX(80vw) rotate(34deg); } to { transform: none; } }
@keyframes sw-bump-l { 0% { transform: translateX(1.2vmin); } 100% { transform: none; } }
@keyframes sw-bump-r { 0% { transform: translateX(-1.2vmin); } 100% { transform: none; } }
@keyframes sw-power { from { background: #030304; } 30% { background: #fff; } to { background: #e60012; } }
@keyframes sw-icon { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes sw-shake {
  0%, 100% { transform: none; } 12% { transform: translate(-1.8vmin, 1vmin) rotate(-1.2deg); }
  26% { transform: translate(1.6vmin, -1.1vmin) rotate(1deg); } 42% { transform: translate(-1.1vmin, .7vmin) rotate(-.5deg); }
  58% { transform: translate(.8vmin, -.5vmin); } 76% { transform: translate(-.3vmin, .2vmin); }
}
@keyframes sw-zoom { to { scale: 3.4; opacity: 0; } }
@keyframes sw-ring { from { opacity: 1; scale: .25; } to { opacity: 0; scale: 4.2; } }
@keyframes sw-flood { to { clip-path: circle(80% at 50% 50%); } }
@keyframes sw-logo { from { opacity: 0; transform: scale(0) rotate(-12deg); } to { opacity: 1; transform: none; } }

/* --- Videojuegos --- */
.intro--juegos .intro__scene { display: grid; place-content: center; justify-items: center; gap: 2.2vmin; text-align: center; }
.jg-title {
  position: relative; font: 900 italic clamp(52px, 14vmin, 170px)/.88 var(--display); letter-spacing: .01em; padding-right: .06em;
  color: #fff; text-shadow: 0 0 40px rgba(255, 79, 163, .55); opacity: 0;
}
.jg-title::before, .jg-title::after { content: attr(data-text); position: absolute; inset: 0; mix-blend-mode: screen; padding-right: inherit; }
.jg-title::before { color: #ff2bd6; transform: translate(-.05em, .01em); }
.jg-title::after { color: #00e1ff; transform: translate(.05em, -.01em); }
.jg-sub { font: 700 clamp(12px, 1.9vmin, 17px)/1 var(--font); letter-spacing: .34em; padding-left: .34em; text-transform: uppercase; color: #d9c8ff; opacity: 0; }
.jg-start { margin-top: 2vmin; font: 800 clamp(14px, 2.2vmin, 20px)/1 var(--display); letter-spacing: .5em; padding-left: .5em; text-transform: uppercase; color: var(--lime-hi); opacity: 0; }
.intro.is-on .jg-title { animation: jg-slam .7s cubic-bezier(.2, 1.5, .4, 1) 1.55s both; }
.intro.is-on .jg-title::before, .intro.is-on .jg-title::after { animation: jg-glitch .5s steps(4) 1.7s 2; }
.intro.is-on .jg-sub { animation: fade-up .7s var(--ease-expo) 1.9s both; }
.intro.is-on .jg-start { animation: fade-in .2s ease 2.15s both, blink .5s steps(2) 2.15s infinite; }
@keyframes jg-slam { from { opacity: 0; transform: scale(2.8) skewX(-8deg); filter: blur(12px); } 60% { opacity: 1; transform: scale(.95); filter: blur(0); } to { opacity: 1; transform: none; } }
@keyframes jg-glitch { 0% { clip-path: inset(10% 0 60% 0); } 25% { clip-path: inset(55% 0 20% 0); } 50% { clip-path: inset(30% 0 40% 0); } 75% { clip-path: inset(70% 0 5% 0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes blink { 50% { opacity: .15; } }

/* --- Accesorios --- */
.ac-stage { position: absolute; left: 50%; top: 40%; translate: -50% -50%; width: min(76vmin, 600px); height: min(48vmin, 380px); }
.ac-headset {
  position: absolute; left: 6%; top: 0; height: 100%; width: auto; opacity: 0;
  filter: drop-shadow(0 3vmin 4vmin rgba(0, 0, 0, .6)) drop-shadow(0 0 4vmin rgba(3, 172, 232, .55));
}
.ac-pad {
  position: absolute; right: 0; bottom: 2%; width: 56%; height: auto; opacity: 0;
  filter: drop-shadow(0 3vmin 4vmin rgba(0, 0, 0, .6)) drop-shadow(0 0 4vmin rgba(155, 226, 47, .4));
}
.ac-copy { position: absolute; left: 0; right: 0; top: calc(40% + min(26vmin, 210px)); display: grid; justify-items: center; gap: 1.8vmin; text-align: center; padding: 0 16px; }
.ac-title { font: 900 clamp(46px, 11vmin, 130px)/.9 var(--display); text-transform: uppercase; letter-spacing: .02em; background: linear-gradient(92deg, #7fe6ff, #03ace8 45%, #9be22f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0; }
.ac-sub { font: 700 clamp(12px, 1.8vmin, 16px)/1.3 var(--font); letter-spacing: .26em; text-transform: uppercase; color: #bfe9f7; opacity: 0; }
.intro.is-on .ac-headset { animation: ac-drop .9s cubic-bezier(.3, 1.5, .5, 1) .15s both, ac-bob 2.2s ease-in-out 1.1s infinite; }
.intro.is-on .ac-pad { animation: ac-spin 1s cubic-bezier(.2, 1.2, .4, 1) .45s both; }
.intro.is-on .ac-title { animation: jg-slam .7s cubic-bezier(.2, 1.4, .4, 1) .95s both; }
.intro.is-on .ac-sub { animation: fade-up .7s var(--ease-expo) 1.25s both; }
@keyframes ac-drop { from { opacity: 0; transform: translateY(-70vh) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes ac-bob { 50% { translate: 0 -1.2vmin; } }
@keyframes ac-spin { from { opacity: 0; transform: translateX(60vw) rotate(320deg) scale(.6); } to { opacity: 1; transform: rotate(-8deg); } }

/* --- PC Gamer --- */
.pc-bios {
  position: absolute; left: clamp(16px, 6vw, 90px); top: clamp(16px, 9vh, 90px); margin: 0;
  font: 500 clamp(12px, 1.7vmin, 17px)/1.75 ui-monospace, "Cascadia Mono", Consolas, monospace; color: #b8c4d6; white-space: pre;
  clip-path: inset(0 0 100% 0);
}
.pc-bios b { color: #9be22f; font-weight: 700; }
.pc-frame {
  position: absolute; left: 50%; top: 45%; translate: -50% -50%; width: min(44vmin, 400px); aspect-ratio: 9 / 10;
  padding: 3px; border-radius: 24px; opacity: 0;
  background: conic-gradient(from var(--spin), #ff2d55, #fcce19, #9be22f, #03ace8, #7b5cff, #ff4fa3, #ff2d55);
  box-shadow: 0 0 60px -10px rgba(168, 85, 247, .8), 0 0 120px -30px rgba(3, 172, 232, .7);
  animation: spin-border 2.4s linear infinite;
}
.pc-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 21px; }
.pc-copy { position: absolute; left: 0; right: 0; top: calc(45% + min(25vmin, 230px)); display: grid; justify-items: center; gap: 1.6vmin; text-align: center; }
.pc-title { font: 900 clamp(46px, 11vmin, 130px)/.9 var(--display); text-transform: uppercase; color: #fff; text-shadow: 0 0 30px rgba(168, 85, 247, .9), 0 0 60px rgba(3, 172, 232, .6); opacity: 0; }
.pc-sub { font: 700 clamp(12px, 1.8vmin, 16px)/1 var(--font); letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; color: #d8c8ff; opacity: 0; }
.intro.is-on .pc-bios { animation: pc-type 1.05s steps(6) .1s both, fade-out .4s ease 1.3s forwards; }
.intro.is-on .pc-frame { animation: spin-border 2.4s linear infinite, pc-frame .8s cubic-bezier(.2, 1.3, .4, 1) 1.2s both; }
.intro.is-on .pc-title { animation: jg-slam .7s cubic-bezier(.2, 1.4, .4, 1) 1.5s both; }
.intro.is-on .pc-sub { animation: fade-up .7s var(--ease-expo) 1.8s both; }
@keyframes pc-type { to { clip-path: inset(0 0 0 0); } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes pc-frame { from { opacity: 0; transform: scale(.6); filter: brightness(3) blur(8px); } to { opacity: 1; transform: none; filter: none; } }

/* ==========================================================================
   Ventanas (base común)
   ========================================================================== */
.buy, .zone, .cartd {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; color: var(--text); background: transparent;
  overflow: hidden auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent;
}
.buy::backdrop, .zone::backdrop { background: #05070a; }
.buy[open], .zone[open] { animation: modal-in .35s ease both; }
.buy.is-leaving, .zone.is-leaving { animation: modal-out .28s ease forwards; }
@keyframes modal-in { from { opacity: 0; } }
@keyframes modal-out { to { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(26px); } }

/* ==========================================================================
   Vista de compra
   ========================================================================== */
.buy { --c: var(--lime); --c2: var(--blue); --dim: .85; --mx: 0; --my: 0; --spin: 0deg; background: #05070a; }

.buy__bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #05070a; }
.buy__art-wrap {
  position: absolute; inset: 0 0 0 28%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 16%, #000 36%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 16%, #000 36%);
}
.buy__art {
  width: 100%; height: 100%; object-fit: cover; scale: 1.06;
  translate: calc(var(--mx) * -16px) calc(var(--my) * -10px);
  filter: saturate(1.12) contrast(1.04) brightness(var(--dim));
  transition: translate 1s var(--ease);
}
.buy:not(.has-art) .buy__art { object-fit: contain; object-position: 50% 50% !important; filter: blur(42px) saturate(1.5) brightness(.55); scale: 1.4; }
.buy__tint {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 16% 60%, color-mix(in srgb, var(--c) 26%, transparent), transparent 70%),
    radial-gradient(ellipse 60% 60% at 90% 100%, color-mix(in srgb, var(--c2) 20%, transparent), transparent 70%),
    linear-gradient(0deg, #05070a 0%, rgba(5, 7, 10, .75) 16%, transparent 44%),
    linear-gradient(180deg, rgba(5, 7, 10, .85) 0%, transparent 20%),
    linear-gradient(90deg, rgba(5, 7, 10, .55) 0%, transparent 50%);
}
.buy__tint::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: repeating-linear-gradient(118deg, transparent 0 26px, color-mix(in srgb, var(--c) 7%, transparent) 26px 28px);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
          mask-image: linear-gradient(90deg, #000, transparent 55%);
}
.buy__embers { position: absolute; inset: 0; width: 100%; height: 100%; }
.buy__slash {
  position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%; opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c) 80%, #fff) 40%, var(--c2) 60%, transparent);
  transform: skewX(-18deg) translateX(-140%); mix-blend-mode: screen; filter: blur(3px);
}

.buy__bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter))) 22px;
  background: linear-gradient(180deg, rgba(5, 7, 10, .82) 0%, rgba(5, 7, 10, .45) 60%, rgba(5, 7, 10, 0) 100%);
}
.buy__back, .buy__bar .icon-btn {
  background: rgba(8, 11, 16, .55); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.buy__back {
  display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 18px 0 12px; border-radius: 13px;
  font: 800 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  transition: border-color .25s, color .25s;
}
.buy__back .ico { width: 20px; height: 20px; }
.buy__back:hover { border-color: var(--c); color: #fff; }
.buy__bar-actions { display: flex; gap: 8px; }

.buy__layout {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); grid-template-areas: "info stage";
  align-items: center; gap: clamp(20px, 3vw, 60px);
  max-width: var(--wide); min-height: calc(100svh - 78px); margin: 0 auto; padding: 0 var(--gutter) 24px;
}
.buy__info { grid-area: info; max-width: 620px; padding-bottom: 10px; }
.buy__stage { grid-area: stage; }

.buy__head { position: relative; }
.buy__logo {
  display: block; width: auto; height: auto; max-width: min(100%, 470px); max-height: clamp(84px, 17vh, 190px);
  object-fit: contain; object-position: left center;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .75)) drop-shadow(0 0 2px rgba(0, 0, 0, .6));
}
.buy__title {
  font: 900 clamp(42px, 5vw, 80px)/.9 var(--display); text-transform: uppercase; letter-spacing: -.005em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .6); text-wrap: balance;
}
.buy.has-logo .buy__title {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.buy__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; font: 600 14px/1.2 var(--font); color: #cfd8e3; letter-spacing: .03em; }
.tag--sale { background: var(--red); color: #fff; }
.buy__blurb { margin-top: 14px; max-width: 540px; color: #c6d0dc; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }

.buy__count { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }
.buy__count-label { display: inline-flex; align-items: center; gap: 8px; font: 800 15px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.buy__count-label .ico { width: 20px; height: 20px; }
.buy__count-cells { display: flex; gap: 8px; perspective: 400px; }
.buy__count-cells span {
  display: grid; justify-items: center; gap: 3px; min-width: 64px; padding: 9px 6px 8px; border-radius: 13px;
  background: rgba(8, 11, 16, .65); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 12px 26px -16px var(--c);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.buy__count-cells b { display: block; font: 900 32px/1 var(--display); font-variant-numeric: tabular-nums; }
.buy__count-cells b.is-flip { animation: flip .5s var(--ease-expo); }
.buy__count-cells small { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@keyframes flip { from { transform: rotateX(70deg) translateY(-4px); opacity: .35; } }

.buy__opts { display: grid; gap: 14px; margin-top: 22px; }
.opt { min-width: 0; margin: 0; padding: 0; border: 0; }
.opt legend { margin-bottom: 9px; padding: 0; font: 700 12.5px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.opt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__pill { --pc: var(--c); position: relative; cursor: pointer; }
.opt__pill input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt__pill input:disabled { cursor: default; }
.opt__pill span {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 17px; border-radius: 13px;
  font: 700 15px/1 var(--font); color: #e0e7ef;
  background: rgba(8, 11, 16, .6); border: 1.5px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .25s, background-color .25s, box-shadow .3s, transform .25s var(--ease), color .25s;
}
.opt__pill .ico, .opt__pill .ico-b { width: 19px; height: 19px; color: var(--pc); }
.opt__pill:hover span { border-color: color-mix(in srgb, var(--pc) 65%, transparent); transform: translateY(-1px); }
.opt__pill input:checked + span {
  color: #fff; border-color: var(--pc);
  background: color-mix(in srgb, var(--pc) 24%, rgba(8, 11, 16, .65));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc) 22%, transparent), 0 12px 28px -12px var(--pc);
}
.opt__pill input:disabled + span { transform: none; }
.opt__pill input:disabled:not(:checked) + span { border-color: var(--line-2); }
.opt__pill input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }

.buy__deal {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px;
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-2);
}
.buy__price { display: grid; line-height: 1; }
.buy__price-label { margin-bottom: 8px; font: 700 12.5px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.buy__price-now {
  font: 900 clamp(46px, 4.8vw, 68px)/.95 var(--display); letter-spacing: .005em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 35%, color-mix(in srgb, var(--c) 60%, #fff));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 26px color-mix(in srgb, var(--c) 45%, transparent));
}
.buy__price-old s { display: inline-block; margin-top: 6px; color: var(--muted); font-size: 17px; }

.qty { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background: rgba(8, 11, 16, .65); border: 1px solid var(--line-2); }
.qty button { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #dfe6ee; transition: background-color .2s, color .2s; }
.qty button:hover { background: rgba(255, 255, 255, .08); color: var(--lime-hi); }
.qty .ico { width: 18px; height: 18px; }
.qty__n { min-width: 30px; text-align: center; font: 800 21px/1 var(--display); font-variant-numeric: tabular-nums; }
.qty--sm { padding: 2px; border-radius: 11px; }
.qty--sm button { width: 30px; height: 30px; border-radius: 8px; }
.qty--sm .ico { width: 15px; height: 15px; }
.qty--sm .qty__n { min-width: 22px; font-size: 16px; }

.buy__fees { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; color: #b9c4d2; }
.buy__fees .ico { width: 20px; height: 20px; color: var(--c); }
.buy__fees b { color: #fff; }

.buy__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.buy__add {
  position: relative; isolation: isolate; overflow: hidden; flex: 1 1 270px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 64px; padding: 0 26px; border-radius: 17px;
  font: 900 21px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #0b0f14;
  background: linear-gradient(110deg, var(--c) 0%, color-mix(in srgb, var(--c) 55%, #fff) 50%, var(--c2) 100%) 0 0 / 220% 100%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .28) inset, 0 18px 40px -14px var(--c), 0 0 60px -22px var(--c2);
  animation: cta-flow 5s ease-in-out infinite, cta-pulse 2.6s ease-in-out infinite;
  transition: transform .25s var(--ease);
}
.buy__add .ico { width: 24px; height: 24px; stroke-width: 2.4; }
.buy__add-fx {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .7) 45%, transparent 60%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.buy__add:hover { transform: translateY(-2px) scale(1.01); }
.buy__add:hover .buy__add-fx { transform: translateX(120%); }
.buy__add:active { transform: scale(.97); }
.buy__add.is-done { animation: cta-done .6s var(--ease-expo); }
@keyframes cta-flow { 50% { background-position: 100% 0; } }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .28) inset, 0 18px 40px -14px var(--c), 0 0 0 0 color-mix(in srgb, var(--c) 50%, transparent); }
  50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .28) inset, 0 18px 46px -12px var(--c), 0 0 0 8px color-mix(in srgb, var(--c) 0%, transparent); }
}
@keyframes cta-done { 0% { transform: scale(1); } 30% { transform: scale(1.06); } 100% { transform: scale(1); } }
.buy__wa { flex: 1 1 230px; min-height: 64px; border-radius: 17px; font-size: 17px; }

.buy__perks { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; }
.buy__perks li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #cdd6e1; }
.buy__perks .ico { width: 20px; height: 20px; color: var(--c); }

/* Escenario: caja 3D del juego o podio del producto */
.buy__stage {
  position: relative; display: grid; place-items: center;
  min-height: clamp(400px, 66vh, 680px); perspective: 1500px;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.buy.is-spinning .buy__stage { cursor: grabbing; }
.buy[data-kind]:not([data-kind="game"]) .buy__stage { cursor: default; }
.buy__product { position: relative; transform-style: preserve-3d; }
.buy__floor {
  position: absolute; left: 50%; bottom: 7%; width: min(70%, 440px); height: 46px; translate: -50% 0;
  border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 60%, transparent), transparent);
  filter: blur(10px); animation: floor 6s ease-in-out infinite;
}
.buy__hint {
  position: absolute; left: 50%; bottom: 1.5%; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 700 12.5px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: rgba(230, 236, 244, .65);
}
.buy__hint .ico { width: 16px; height: 16px; animation: spin 4s linear infinite; }

.case {
  --w: clamp(190px, 16.5vw, 268px); --h: calc(var(--w) * 1.6); --d: calc(var(--w) * .085); --band: #0070d1;
  position: relative; width: var(--w); height: var(--h); transform-style: preserve-3d;
  animation: case-float 6s ease-in-out infinite;
}
.buy.is-in .case { animation: case-in 1.3s cubic-bezier(.2, .9, .25, 1.04) .28s both, case-float 6s ease-in-out 1.6s infinite; }
@keyframes case-in { from { opacity: 0; transform: translateZ(-1400px) translateY(-60px) rotateY(280deg) rotateX(24deg); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes case-float { 50% { translate: 0 -14px; } }
.case__spin {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(5deg + var(--my) * -8deg)) rotateY(calc(24deg + var(--mx) * 22deg + var(--spin)));
  transition: transform .9s var(--ease);
}
.buy.is-spinning .case__spin { transition: none; }
.case__face { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.case__front {
  inset: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 7px; background: #0e1015;
  transform: translateZ(calc(var(--d) / 2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 60px -20px var(--c);
}
.case__band {
  position: relative; z-index: 1; flex: none; height: 8%;
  display: flex; align-items: center; gap: 6%; padding: 0 7%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--band) 85%, #fff), var(--band));
  color: #fff; font: 800 calc(var(--w) * .06)/1 var(--display); letter-spacing: .08em;
  transition: background-color .3s;
}
.case__band-mark { display: grid; place-items: center; }
.case__band .ico-b, .case__band .ico { width: calc(var(--w) * .075); height: calc(var(--w) * .075); }
.case__front img { flex: 1; width: 100%; min-height: 0; object-fit: cover; }
.case__gloss {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .1) 100%);
}
.case__back { inset: 0; overflow: hidden; border-radius: 7px; background: #0d0f14; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.case__back img { width: 100%; height: 100%; object-fit: cover; filter: blur(6px) brightness(.45) saturate(1.2); transform: scale(1.12); }
.case__spine, .case__edge { top: 0; left: calc(50% - var(--d) / 2); width: var(--d); height: var(--h); }
.case__spine {
  display: flex; flex-direction: column; align-items: center; overflow: hidden;
  background: linear-gradient(90deg, #0b0d11, #1b1e25 50%, #0b0d11);
  transform: rotateY(-90deg) translateZ(calc(var(--w) / 2));
}
.case__spine-band { flex: none; width: 100%; height: 8%; background: var(--band); }
.case__spine b {
  margin-top: 12%; writing-mode: vertical-rl; white-space: nowrap; overflow: hidden; max-height: 80%;
  font: 800 calc(var(--d) * .56)/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.case__edge { background: repeating-linear-gradient(90deg, #dfe3e8 0 1px, #b5bbc4 1px 3px); transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.case__top, .case__bottom { left: 0; top: calc(50% - var(--d) / 2); width: var(--w); height: var(--d); }
.case__top { background: #1a1d24; transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.case__bottom { background: #0b0d11; transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }

.podium { position: relative; width: clamp(280px, 32vw, 480px); aspect-ratio: 1; display: grid; place-items: center; }
.podium__img {
  position: relative; z-index: 2; max-width: 82%; max-height: 82%; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)) drop-shadow(0 0 34px color-mix(in srgb, var(--c) 45%, transparent));
  animation: float 6s ease-in-out infinite;
}
.buy.is-in .podium__img { animation: pod-in 1.1s cubic-bezier(.2, .9, .25, 1.1) .3s both, float 6s ease-in-out 1.4s infinite; }
@keyframes pod-in { from { opacity: 0; transform: translateY(90px) scale(.55) rotate(-10deg); filter: blur(10px); } }
.podium--photo .podium__img {
  width: 74%; aspect-ratio: 9 / 10; object-fit: cover; border-radius: 24px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 70%, transparent), 0 30px 80px -20px var(--c), 0 0 80px -30px var(--c2);
  filter: none;
}
.podium__ring {
  position: absolute; inset: 4%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 8%, var(--c) 18%, transparent 30% 52%, var(--c2) 66%, transparent 78%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px) 100%);
          mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px) 100%);
  filter: drop-shadow(0 0 10px var(--c)); animation: spin 12s linear infinite;
}
.podium__ring--2 { inset: 15%; opacity: .55; animation-duration: 18s; animation-direction: reverse; }
.podium__base {
  position: absolute; left: 50%; bottom: 2%; width: 74%; height: 14%; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 60%, transparent), transparent); filter: blur(8px);
}

/* "También te puede gustar" */
.buy__more { position: relative; z-index: 2; max-width: var(--wide); margin: 0 auto; padding: 8px var(--gutter) 44px; }
.buy__more-title { margin-bottom: 14px; font: 800 22px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.buy__rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(118px, 9.5vw, 148px); gap: 14px;
  overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.rel { display: grid; gap: 7px; width: 100%; text-align: left; scroll-snap-align: start; }
.rel__media {
  display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 13px;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--c) 32%, #0c1017), #0a0d13 72%);
  border: 1px solid var(--line-2); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
.rel__media img { width: 100%; height: 100%; object-fit: cover; }
.rel--cut .rel__media img { object-fit: contain; padding: 14%; }
.rel:hover .rel__media, .rel:focus-visible .rel__media { transform: translateY(-5px); border-color: var(--c); box-shadow: 0 16px 30px -14px var(--c); }
.rel__title { font: 700 13.5px/1.2 var(--font); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel__price { font: 800 16px/1 var(--display); letter-spacing: .02em; color: var(--lime-hi); }

.buy__toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 6; translate: -50% 170%;
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  padding: 12px 12px 12px 18px; border-radius: 16px; font-size: 15px;
  background: rgba(14, 19, 27, .95); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .9), 0 0 30px -12px var(--c);
  opacity: 0; transition: translate .5s var(--ease-expo), opacity .3s;
}
.buy__toast.is-on { translate: -50% 0; opacity: 1; }
.buy__toast .ico { width: 20px; height: 20px; flex: none; color: var(--lime); }
.buy__toast button { flex: none; padding: 9px 13px; border-radius: 11px; font-weight: 800; font-size: 14px; color: #0b0f14; background: var(--c); }

/* Entrada de la vista de compra */
.buy.is-in .buy__slash { animation: slash .8s cubic-bezier(.7, 0, .3, 1) both; }
.buy.is-in .buy__art-wrap { animation: art-wipe 1.1s cubic-bezier(.65, 0, .25, 1) .08s both; }
.buy.is-in .buy__art { animation: art-zoom 9s cubic-bezier(.2, .6, .2, 1) both; }
.buy.is-in .buy__logo { animation: logo-slam .95s cubic-bezier(.2, 1.4, .4, 1) .38s both; }
.buy.is-in .buy__title { animation: logo-slam .95s cubic-bezier(.2, 1.4, .4, 1) .38s both; }
.buy.is-in .buy__meta { animation: rise-in .8s var(--ease-expo) .55s both; }
.buy.is-in .buy__blurb { animation: rise-in .8s var(--ease-expo) .62s both; }
.buy.is-in .buy__count { animation: rise-in .8s var(--ease-expo) .68s both; }
.buy.is-in .buy__opts { animation: rise-in .8s var(--ease-expo) .74s both; }
.buy.is-in .buy__deal { animation: rise-in .8s var(--ease-expo) .8s both; }
.buy.is-in .buy__fees { animation: rise-in .8s var(--ease-expo) .85s both; }
.buy.is-in .buy__ctas { animation: rise-in .8s var(--ease-expo) .9s both; }
.buy.is-in .buy__perks { animation: rise-in .8s var(--ease-expo) .96s both; }
.buy.is-in .buy__more { animation: rise-in .9s var(--ease-expo) 1.05s both; }
.buy.is-in .buy__hint { animation: fade-in .6s ease 1.8s both; }
@keyframes slash { 0% { opacity: 1; transform: skewX(-18deg) translateX(-140%); } 100% { opacity: 1; transform: skewX(-18deg) translateX(420%); } }
@keyframes art-wipe { from { clip-path: polygon(0 0, 0 0, -20% 100%, -20% 100%); } to { clip-path: polygon(0 0, 120% 0, 100% 100%, -20% 100%); } }
@keyframes art-zoom { from { scale: 1.32; } to { scale: 1.06; } }
@keyframes logo-slam {
  0% { opacity: 0; transform: scale(1.9); filter: blur(16px); }
  55% { opacity: 1; transform: scale(.95); filter: blur(0); }
  72% { transform: scale(1.02) translateX(-3px); }
  86% { transform: scale(1) translateX(2px); }
  100% { opacity: 1; transform: none; }
}

/* ==========================================================================
   Zonas de marca
   ========================================================================== */
.zone {
  --z1: var(--lime); --z2: var(--blue); --za: var(--z1); --zb: var(--z2); --zbg: #07090d;
  background: var(--zbg);
}
.zone[data-brand="playstation"] { --z1: #2f7dff; --z2: #00c8ff; --zbg: #030a1c; }
.zone[data-brand="xbox"] { --z1: #2bc02b; --z2: #9bf00b; --zbg: #030903; }
.zone[data-brand="switch"] { --z1: #ff3c28; --z2: #0ab9e6; --za: #0ab9e6; --zb: #ff3c28; --zbg: #0b0607; }
.zone[data-brand="juegos"] { --z1: #9be22f; --z2: #ff4fa3; --za: #7b5cff; --zbg: #090612; }
.zone[data-brand="accesorios"] { --z1: #03ace8; --z2: #9be22f; --zbg: #02090d; }
.zone[data-brand="pc"] { --z1: #a855f7; --z2: #03ace8; --zbg: #07040d; }

.zone__bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.zone__aura { position: absolute; border-radius: 50%; filter: blur(70px); }
.zone__aura--1 { width: 75vmax; height: 75vmax; left: -28vmax; top: -34vmax; background: radial-gradient(closest-side, var(--za), transparent); opacity: .5; animation: aura 16s ease-in-out infinite alternate; }
.zone__aura--2 { width: 65vmax; height: 65vmax; right: -24vmax; bottom: -36vmax; background: radial-gradient(closest-side, var(--zb), transparent); opacity: .38; animation: aura 20s ease-in-out infinite alternate-reverse; }
@keyframes aura { to { transform: translate(8vmax, 6vmax) scale(1.15); } }
.zone__pattern { position: absolute; inset: 0; opacity: .9; }
.zone[data-brand="playstation"] .zone__pattern {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' fill='none' stroke='white' stroke-opacity='.06' stroke-width='2.5'%3E%3Cpath d='M24 14l11 19H13z'/%3E%3Ccircle cx='104' cy='26' r='11'/%3E%3Cpath d='M14 94l20 20M34 94l-20 20'/%3E%3Crect x='94' y='94' width='20' height='20'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 120% 45% at 50% 115%, rgba(0, 112, 209, .45), transparent 60%);
}
.zone[data-brand="xbox"] .zone__pattern { background: repeating-linear-gradient(135deg, rgba(43, 192, 43, .05) 0 2px, transparent 2px 24px), radial-gradient(ellipse 70% 50% at 50% 0%, rgba(16, 124, 16, .35), transparent 70%); }
.zone[data-brand="switch"] .zone__pattern { background: radial-gradient(rgba(255, 255, 255, .07) 1.5px, transparent 1.7px) 0 0 / 26px 26px; }
.zone[data-brand="juegos"] .zone__pattern { background: linear-gradient(rgba(155, 226, 47, .05) 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, rgba(255, 79, 163, .05) 1px, transparent 1px) 0 0 / 44px 44px; }
.zone[data-brand="accesorios"] .zone__pattern { background: repeating-radial-gradient(circle at 78% 30%, rgba(3, 172, 232, .07) 0 2px, transparent 2px 42px); }
.zone[data-brand="pc"] .zone__pattern { background: linear-gradient(90deg, rgba(168, 85, 247, .06) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(rgba(3, 172, 232, .05) 1px, transparent 1px) 0 0 / 32px 32px; }

.zone__bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter)));
  background: color-mix(in srgb, var(--zbg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--z1) 22%, transparent);
}
.zone__brand { display: flex; align-items: center; gap: 12px; font: 900 clamp(22px, 2.4vw, 30px)/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.zone__mark { display: grid; place-items: center; }
.zone__mark .ico-b, .zone__mark .ico { width: 34px; height: 34px; color: var(--z1); filter: drop-shadow(0 0 12px var(--z1)); }
.zone__bar-actions { display: flex; gap: 8px; }
.zone__bar .icon-btn { background: rgba(8, 11, 16, .55); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

.zone__hero {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 30px;
  max-width: var(--wide); min-height: min(64vh, 600px); margin: 0 auto; padding: 0 var(--gutter) 34px;
}
.zone__kicker { color: var(--z1); }
.zone__title { font: 900 clamp(50px, 7.2vw, 116px)/.86 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.zone__title em {
  font-style: italic; padding-right: .07em;
  background: linear-gradient(92deg, var(--z1), var(--z2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px color-mix(in srgb, var(--z1) 40%, transparent));
}
.zone__lead { margin-top: 18px; max-width: 560px; color: #c6d0dc; font-size: clamp(16px, 1.2vw, 18.5px); }
.zone__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.zone__tabs .chip { --c: var(--z1); background: rgba(8, 11, 16, .45); }
.zone__visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.zone__halo {
  position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--z1) 50%, transparent), transparent 72%);
  filter: blur(10px); animation: breathe 5s ease-in-out infinite;
}
.zone__img {
  position: relative; width: auto; max-width: 100%; max-height: min(54vh, 500px); object-fit: contain;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .6)) drop-shadow(0 0 40px color-mix(in srgb, var(--z1) 45%, transparent));
  animation: float 6s ease-in-out infinite;
}
.zone__img.is-photo { max-height: min(50vh, 440px); border-radius: 28px; box-shadow: 0 0 0 2px var(--z1), 0 30px 80px -20px var(--z1); filter: none; }
.zone__fan { position: relative; width: min(100%, 460px); aspect-ratio: 1.25; }
.zone__fan img {
  position: absolute; left: 50%; bottom: 6%; width: 34%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .15);
  transform-origin: 50% 130%;
}
.zone__fan img:nth-child(1) { transform: translateX(-50%) rotate(-28deg); }
.zone__fan img:nth-child(2) { transform: translateX(-50%) rotate(-14deg); z-index: 1; }
.zone__fan img:nth-child(3) { transform: translateX(-50%) translateY(-6%); z-index: 3; }
.zone__fan img:nth-child(4) { transform: translateX(-50%) rotate(14deg); z-index: 2; }
.zone__fan img:nth-child(5) { transform: translateX(-50%) rotate(28deg); z-index: 1; }

.zone__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 42vw), 1fr)); gap: 16px;
  max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter) 30px;
}
.zone__help {
  position: relative; z-index: 1; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  margin: 6px max(var(--gutter), calc((100% - var(--wide)) / 2 + var(--gutter))) 44px;
  padding: 22px 26px 22px 132px; border-radius: 24px;
  background: linear-gradient(120deg, rgba(20, 26, 36, .85), rgba(10, 13, 19, .85));
  border: 1px solid color-mix(in srgb, var(--z1) 30%, var(--line-2));
}
.zone__help img { position: absolute; left: 18px; bottom: -64px; width: auto; height: 190px; }
.zone__help p { display: grid; gap: 4px; flex: 1 1 280px; }
.zone__help b { font: 800 24px/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.zone__help span { color: var(--muted); font-size: 15px; }

/* Entrada de la zona */
.zone.is-in .zone__brand { animation: rise-in .7s var(--ease-expo) .1s both; }
.zone.is-in .zone__copy > * { animation: rise-in .9s var(--ease-expo) both; }
.zone.is-in .zone__copy > :nth-child(1) { animation-delay: .15s; }
.zone.is-in .zone__copy > :nth-child(2) { animation-delay: .22s; }
.zone.is-in .zone__copy > :nth-child(3) { animation-delay: .3s; }
.zone.is-in .zone__copy > :nth-child(4) { animation-delay: .38s; }
.zone.is-in .zone__img, .zone.is-in .zone__fan { animation: zone-img 1.1s cubic-bezier(.2, .9, .25, 1.05) .2s both, float 6s ease-in-out 1.3s infinite; }
.zone.is-in .pcard { animation: card-in .7s var(--ease-expo) backwards; animation-delay: calc(.45s + min(var(--i), 12) * 50ms); }
.pcard.is-again { animation: card-in .5s var(--ease-expo) backwards; animation-delay: calc(min(var(--i), 12) * 40ms); }
@keyframes zone-img { from { opacity: 0; transform: translate(60px, 80px) scale(.7) rotate(8deg); filter: blur(10px); } }

/* Tarjeta de producto */
.pcard {
  --c: var(--lime);
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 26, 36, .92), rgba(10, 13, 19, .94)); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.pcard:hover, .pcard:focus-within { transform: translateY(-8px); border-color: color-mix(in srgb, var(--c) 65%, transparent); box-shadow: 0 26px 50px -22px color-mix(in srgb, var(--c) 65%, transparent); }
.pcard__media { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--c) 34%, #0c1017), #0a0d13 72%); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard__media img.is-cut { object-fit: contain; padding: 14%; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 16, 23, .85) 0%, transparent 32%); pointer-events: none; }
.pcard__tag { position: absolute; left: 10px; top: 10px; z-index: 1; }
.pcard .game__plats { z-index: 1; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 14px 14px; }
.pcard__kind { overflow: hidden; font-size: 12px; color: var(--muted); letter-spacing: .03em; white-space: nowrap; text-overflow: ellipsis; }
.pcard__title { min-height: 2.5em; font: 700 15.5px/1.25 var(--font); }
.pcard__open { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: left; }
.pcard__open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard__open:focus-visible { outline: none; }
.pcard:has(.pcard__open:focus-visible) { outline: 2px solid var(--lime); outline-offset: 3px; }
.pcard__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.pcard__price { display: grid; line-height: 1.1; }
.pcard__price small { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.pcard__price b { font: 800 21px/1.1 var(--display); letter-spacing: .02em; }
.pcard__price s { font-size: 13px; color: var(--muted); }
.pcard__add {
  position: relative; z-index: 2; flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: #0b1100; background: var(--lime); box-shadow: 0 8px 20px -8px rgba(155, 226, 47, .8);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.pcard__add .ico { width: 20px; height: 20px; stroke-width: 2.4; }
.pcard__add:hover { transform: scale(1.08) rotate(-4deg); box-shadow: 0 12px 26px -8px rgba(155, 226, 47, 1); }

/* ==========================================================================
   Carrito
   ========================================================================== */
.cartd { overflow: hidden; }
.cartd::backdrop { background: rgba(3, 5, 8, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cartd__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(450px, 100%);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0f151d, #080b10); border-left: 1px solid var(--line-2);
  box-shadow: -30px 0 70px -20px rgba(0, 0, 0, .85);
}
.cartd[open] .cartd__panel { animation: drawer-in .5s var(--ease-expo) both; }
.cartd.is-leaving .cartd__panel { animation: drawer-out .28s ease forwards; }
.cartd.is-leaving { animation: modal-out .28s ease forwards; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes drawer-out { to { transform: translateX(100%); } }
.cartd__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px 14px 22px; border-bottom: 1px solid var(--line); }
.cartd__title { display: flex; align-items: center; gap: 10px; font: 900 27px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.cartd__title .ico { width: 26px; height: 26px; color: var(--lime); }
.cartd__n { color: var(--muted); font-size: 21px; }
.cartd__body { flex: 1; overflow-y: auto; padding: 6px 20px; overscroll-behavior: contain; }
.cline {
  --c: var(--lime);
  display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  animation: card-in .45s var(--ease-expo) backwards;
}
.cline__media { width: 62px; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 9px; background: radial-gradient(circle, color-mix(in srgb, var(--c) 35%, #0c1017), #0a0d13); box-shadow: 0 0 0 1px var(--line-2); }
.cline__media img { width: 100%; height: 100%; object-fit: cover; }
.cline__media.is-cut img { object-fit: contain; padding: 10%; }
.cline__title { font-size: 15px; font-weight: 700; line-height: 1.25; }
.cline__meta { margin: 3px 0 9px; font-size: 13px; color: var(--muted); }
.cline__side { display: grid; justify-items: end; gap: 10px; }
.cline__side b { font: 800 18px/1 var(--display); letter-spacing: .02em; white-space: nowrap; }
.cline__rm { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); transition: color .2s, background-color .2s; }
.cline__rm .ico { width: 18px; height: 18px; }
.cline__rm:hover { color: #ff6b6b; background: rgba(255, 80, 80, .1); }
.cartd__empty { display: grid; justify-items: center; gap: 10px; padding: 26px 10px; text-align: center; }
.cartd__empty img { width: auto; height: 210px; filter: drop-shadow(0 0 30px rgba(155, 226, 47, .3)); }
.cartd__empty b { font: 900 28px/1 var(--display); text-transform: uppercase; }
.cartd__empty p { max-width: 300px; color: var(--muted); }
.cartd__empty .btn { margin-top: 8px; }
.cartd__foot { display: grid; gap: 10px; padding: 16px 20px 22px; border-top: 1px solid var(--line); background: rgba(8, 11, 16, .65); }
.cartd__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cartd__total span { font: 700 14px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cartd__total b { font: 900 36px/1 var(--display); color: var(--lime-hi); font-variant-numeric: tabular-nums; }
.cartd__note { font-size: 13px; color: var(--muted); }
.cartd__note b { color: #fff; }
.cartd__go, .cartd__checkout { width: 100%; }
.cartd__checkout { min-height: 56px; font-size: 17px; }
.cartd__go { min-height: 46px; font-size: 15px; }
.cartd__clear { justify-self: center; padding: 4px; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cartd__clear:hover { color: #ff6b6b; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1099px) {
  .buy__bg { position: absolute; bottom: auto; height: 100svh; }
  .buy__art-wrap {
    inset: 0 0 auto 0; height: 72svh;
    -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 45%, transparent 100%);
  }
  .buy__tint { background: linear-gradient(0deg, #05070a 18%, rgba(5, 7, 10, .55) 45%, rgba(5, 7, 10, .15) 70%, rgba(5, 7, 10, .7) 100%), radial-gradient(ellipse 80% 50% at 50% 30%, color-mix(in srgb, var(--c) 20%, transparent), transparent 70%); }
  .buy__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "stage" "info"; min-height: 0; gap: 8px; }
  .buy__stage { min-height: clamp(320px, 50svh, 520px); }
  .buy__info { max-width: 720px; justify-self: center; width: 100%; }
  .case { --w: clamp(150px, 36vw, 230px); }
  .podium { width: clamp(240px, 64vw, 420px); }
  .zone__hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 10px; padding-top: 4px; }
  .zone__visual { order: -1; min-height: 0; padding: 12px 0 6px; }
  .zone__img { max-height: min(34vh, 320px); }
  .zone__img.is-photo { max-height: min(32vh, 300px); }
  .zone__fan { width: min(78vw, 360px); }
}

@media (max-width: 760px) {
  .buy__bar { padding-block: 12px; }
  .buy__back { height: 42px; padding: 0 14px 0 8px; }
  .buy__back span { display: none; }
  .buy__count-cells span { min-width: 54px; }
  .buy__count-cells b { font-size: 26px; }
  .buy__deal { align-items: center; }
  .buy__ctas > * { flex-basis: 100%; }
  .buy__add { min-height: 58px; font-size: 19px; }
  .buy__wa { min-height: 54px; }
  .opt__pill span { height: 42px; padding: 0 14px; font-size: 14px; }
  .buy__hint { display: none; }
  .zone__brand { min-width: 0; font-size: 20px; }
  .zone__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .zone__mark .ico-b, .zone__mark .ico { width: 28px; height: 28px; }
  .zone__help { padding: 20px; padding-top: 22px; }
  .zone__help img { display: none; }
  .zone__grid { gap: 12px; }
  .pcard__title { font-size: 14.5px; }
  .pcard__price b { font-size: 19px; }
  .cline { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; }
  .cline__media { width: 54px; }
  .slide__logo-btn::after { animation-duration: 7s; }
}

@media (prefers-reduced-motion: reduce) {
  .buy__embers, .fx-layer { display: none; }
  .case__spin { transition: none; }
}

/* ==========================================================================
   Promoción del mes (js/sitio.js, se configura en el panel)
   ========================================================================== */
.ticker__promo { display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; color: #0b1300; background: #9be22f; font-weight: 700; }
.ticker__promo i { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.ticker__promo b { color: #0b1300; }
.promo { width: min(560px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 22px; overflow: hidden; color: #eef3f9; background: #0b1018; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .12); }
.promo::backdrop { background: rgba(2, 4, 8, .72); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.promo[open] { animation: promo-in .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes promo-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.promo__in { position: relative; }
.promo__x { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: rgba(0, 0, 0, .55); }
.promo__x .ico { width: 20px; height: 20px; }
.promo__img { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.promo__body { display: grid; gap: 10px; padding: 22px 24px 24px; }
.promo__k { font: 700 12px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; color: #9be22f; }
.promo__t { font: 900 34px/.95 var(--display); text-transform: uppercase; }
.promo__txt { color: #c8d1dc; line-height: 1.55; }
.promo__until { font-size: 13px; color: #93a0b2; }
.promo__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.promo__go { min-height: 52px; }
.promo__code { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; border-radius: 10px; color: #fff; border: 1.5px dashed rgba(155, 226, 47, .7); background: rgba(155, 226, 47, .08); }
.promo__code .ico { width: 18px; height: 18px; color: #9be22f; }
.promo__code.is-copied { border-style: solid; }
