:root {
  --bg-main: #040a18;
  --bg-layer: #0b1328;
  --bg-card: #101a33;
  --bg-soft: #121f3d;
  --text-main: #e3e9f8;
  --text-muted: #8b9abd;
  --line: #2b2f59;
  --neon-violet: #7f5bff;
  --neon-lilac: #7d69cb;
  --neon-blue: #6a8cff;
  --neon-green: #47d7a2;
  --accent-danger: #ff4d7a;
  --accent-warning: #f8a62f;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.35);
  --glow-blue: 0 0 0 1px rgba(106, 140, 255, 0.55), 0 0 28px rgba(106, 140, 255, 0.24);
  --glow-violet: 0 0 0 1px rgba(125, 105, 203, 0.64), 0 0 30px rgba(125, 105, 203, 0.3);
  --aurora-blue: rgba(106, 140, 255, 0.2);
  --aurora-violet: rgba(125, 105, 203, 0.2);
  --scanline: rgba(176, 195, 255, 0.05);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

/* Fondo base (color + gradiente) en HTML: cubre TODO el scroll —incluido iOS—
   y el body queda transparente para que el canvas de hexágonos (.site-hexbg,
   z-index:-1) se vea por encima. Si el fondo fuera del body, lo taparía. */
html {
  background-color: var(--bg-main);
  /* Solo el degradado vertical plano. Se quitaron los 2 radiales de las esquinas
     superiores: sobre el fondo oscuro formaban una banda diagonal gris-violeta
     que, al ser las cards ~95% opacas (.section 0.94/0.97), se transparentaba a
     través de ellas y parecía "lavarlas". El color ambiental ya lo aporta el
     aurora de body::after (z-index:-1), que no traspasa las cards. */
  background-image: linear-gradient(180deg, #050b1a 0%, var(--bg-main) 100%);
}

body {
  position: relative;
  font-family: "Rajdhani", sans-serif;
  color: var(--text-main);
  overflow-x: hidden;
  /* Transparente a propósito: el fondo (gradiente) vive en HTML y el canvas
     de hexágonos (z-index:-1) se ve por encima sin que el body lo tape. */
  background: transparent;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  /* Detrás del contenido: son fondo ambiental (grilla + aurora). Sin z-index,
     al ser fixed pintaban POR ENCIMA de las cards (opacas) y las "lavaban" con
     una mancha diagonal gris/violeta. Ahora solo se ven en los huecos del fondo. */
  z-index: -1;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(rgba(106, 140, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 91, 255, 0.035) 1px, transparent 1px);
  background-size: 110px 110px;
  opacity: 0.28;
  animation: hud-grid-pulse 16s ease-in-out infinite;
}

body::after {
  inset: -12%;
  background:
    radial-gradient(circle at 20% 28%, var(--aurora-blue), transparent 28%),
    radial-gradient(circle at 74% 20%, var(--aurora-violet), transparent 26%),
    radial-gradient(circle at 62% 72%, rgba(106, 140, 255, 0.1), transparent 22%);
  filter: blur(42px);
  opacity: 0.8;
  animation: aurora-drift 18s ease-in-out infinite alternate;
}

@keyframes hud-grid-pulse {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(1.02);
  }
}

@keyframes aurora-drift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }

  50% {
    transform: translate3d(2%, 1.5%, 0) scale(1.04);
  }

  100% {
    transform: translate3d(-1%, 2.5%, 0) scale(1.02);
  }
}

@keyframes panel-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes section-reveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sheen-sweep {
  0% {
    transform: translateX(-140%) skewX(-18deg);
  }

  100% {
    transform: translateX(160%) skewX(-18deg);
  }
}

@keyframes neon-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(127, 91, 255, 0.14), 0 18px 38px rgba(2, 8, 20, 0.22);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(127, 91, 255, 0.3), 0 0 30px rgba(106, 140, 255, 0.12), 0 18px 38px rgba(2, 8, 20, 0.28);
  }
}

@keyframes signal-run {
  0% {
    transform: translateX(-18%);
    opacity: 0.4;
  }

  50% {
    transform: translateX(18%);
    opacity: 0.9;
  }

  100% {
    transform: translateX(-18%);
    opacity: 0.4;
  }
}

@keyframes live-chip-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(106, 140, 255, 0.34), 0 0 10px rgba(106, 140, 255, 0.2);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(106, 140, 255, 0), 0 0 14px rgba(127, 91, 255, 0.28);
  }
}

h2, h3, h4 {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.search-wrap {
  flex: 1;
}

.search-wrap input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #101b37;
  color: var(--text-main);
  border-radius: 14px;
  padding: 14px 16px;
  font: 500 1rem "Rajdhani", sans-serif;
  letter-spacing: 0.2px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-wrap input::placeholder {
  color: #7485ac;
}

.search-wrap input:focus {
  border-color: rgba(127, 91, 255, 0.58);
  box-shadow: var(--glow-blue);
}

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

.icon-chip,
.status-chip,
.user-chip {
  border: 1px solid rgba(127, 91, 255, 0.22);
  background: var(--bg-layer);
  border-radius: 14px;
}

.icon-chip {
  width: 48px;
  height: 48px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--text-main);
}

.chip-dot {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px rgba(52, 245, 180, 0.8);
}

.status-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 110px;
  padding: 8px 12px;
}

.status-label {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.status-chip strong {
  color: var(--neon-green);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1b2d4f, #15243f);
  font-family: "Oxanium", sans-serif;
  font-weight: 700;
}

.user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.user-meta small {
  color: var(--text-muted);
}

.content {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(14, 24, 49, 0.94), rgba(8, 16, 35, 0.97));
  border: 1px solid rgba(127, 91, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.section.banner {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  margin: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-head h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font: 600 1.35rem "Oxanium", sans-serif;
  letter-spacing: 0.4px;
}

.px-icon {
  width: 1.05em;
  height: 1.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8f7bff;
}

.px-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.px-icon-xs {
  width: 1em;
  height: 1em;
}

.psc-chip,
.pso-quick-chip,
.psc-page-btn,
.price-preview-label,
.product-highlight-card h3,
.avail-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.promo-empty-icon .px-icon {
  width: 1.35em;
  height: 1.35em;
}

.section-head a {
  color: #9eb0ff;
  font-weight: 600;
}

.banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(127, 91, 255, 0.5);
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-xl);
  /* Semitransparente: deja ver el fondo de hexagonos de la pagina,
     con un velo oscuro suave para mantener legible el texto. */
  background:
    radial-gradient(circle at 76% 18%, rgba(106, 140, 255, 0.18), transparent 42%),
    radial-gradient(circle at 18% 82%, rgba(125, 105, 203, 0.16), transparent 40%),
    linear-gradient(125deg, rgba(10, 16, 38, 0.46), rgba(8, 12, 28, 0.52));
}

.banner::before,
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.banner::before {
  background:
    linear-gradient(115deg, transparent 24%, rgba(106, 140, 255, 0.16) 48%, transparent 72%);
  opacity: 0.55;
  animation: sheen-sweep 10s linear infinite;
}

.banner::after {
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 18px,
    var(--scanline) 19px,
    transparent 20px
  );
  opacity: 0.22;
}

/* Fondo de hexagonos animado, dibujado por codigo en un <canvas>
   (js/hexbg.js). Cubre desde el tope de la pagina hasta el inicio de
   "Ofertas activas"; el alto lo fija el script. Detras del contenido. */
.site-hexbg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  display: block;
  pointer-events: none;
}

.banner-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 32px;
  align-items: center;
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.kicker {
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.banner h1 {
  font: 700 clamp(2rem, 4vw, 3.2rem) "Oxanium", sans-serif;
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-shadow: 0 0 24px rgba(106, 140, 255, 0.16);
}

.banner p {
  color: #c0d0ea;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.55;
}

.banner-proof-strip {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  transition: opacity 0.2s ease;
}

.banner-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dbe5ff;
  font: 700 0.88rem "Rajdhani", sans-serif;
  letter-spacing: 0.03em;
}

.banner-proof-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--neon-blue), var(--neon-violet));
  box-shadow: 0 0 14px rgba(127, 91, 255, 0.5);
}

.cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(90deg, var(--neon-lilac), #6f57ff 52%, #5342d6);
  /* Texto blanco + reset de appearance: sin esto, iOS Safari pinta el texto de
     los <button> con su tinte azul nativo (se veía azul sobre el violeta). */
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta::after,
.client-nav-cta::after,
.ghost-cta::after,
.trending-hero-cta::after,
.hero-product-link::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -35%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-180%) skewX(-18deg);
  pointer-events: none;
}

.cta:hover {
  transform: scale(1.04);
  box-shadow: var(--glow-violet);
}

.cta:hover::after,
.client-nav-cta:hover::after,
.ghost-cta:hover::after,
.trending-hero-cta:hover::after,
.hero-product-link:hover::after {
  animation: sheen-sweep 0.95s ease;
}

.banner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 6px;
}

.banner-pill {
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(127, 91, 255, 0.32);
  background: rgba(127, 91, 255, 0.08);
  color: var(--text-main);
  font: 600 0.82rem "Rajdhani", sans-serif;
  letter-spacing: 0.3px;
}

.banner-ctas {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 20px;
}

.banner-ctas .cta,
.banner-ctas .ghost-cta {
  min-height: 44px;
  margin-top: 0;
}

.banner-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.hero-carousel {
  position: relative;
  min-height: 320px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.55s ease;
  filter: blur(2px);
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.hero-product {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(127, 91, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%),
    linear-gradient(160deg, rgba(16, 26, 51, 0.97), rgba(10, 17, 35, 0.97));
  box-shadow:
    0 30px 64px rgba(2, 8, 20, 0.55),
    0 0 0 1px rgba(127, 91, 255, 0.18),
    0 0 80px rgba(106, 140, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: neon-breathe 7s ease-in-out infinite;
}

/* Glow dinamico que respira detras del slide activo. */
.hero-carousel::after {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 75% 30%, rgba(127, 91, 255, 0.16), transparent 55%),
    radial-gradient(circle at 25% 80%, rgba(106, 140, 255, 0.12), transparent 55%);
  pointer-events: none;
  opacity: 0.85;
  filter: blur(40px);
  z-index: -1;
}

.hero-product::after,
.featured-offer-lead::after,
.featured-offer-card::after,
.category-tile::after,
.trust-item::after,
.hero-quick-pick::after {
  content: "";
  position: absolute;
  inset: -12% auto -12% -32%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(106, 140, 255, 0.16), rgba(127, 91, 255, 0.14), transparent);
  transform: translateX(-160%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}

.hero-product:hover::after,
.featured-offer-lead:hover::after,
.featured-offer-card:hover::after,
.category-tile:hover::after,
.trust-item:hover::after,
.hero-quick-pick:hover::after {
  opacity: 1;
  animation: sheen-sweep 1.15s ease;
}

.hero-product-primary {
  grid-template-columns: 188px minmax(0, 1fr);
  align-items: center;
  min-height: 300px;
  animation: panel-float 8s ease-in-out infinite;
}

.hero-product-secondary {
  min-height: 100%;
}

.hero-product-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow:
    0 22px 48px rgba(2, 8, 20, 0.55),
    0 0 0 1px rgba(127, 91, 255, 0.22),
    0 0 40px rgba(106, 140, 255, 0.18);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide.is-active .hero-product-thumb {
  transform: scale(1.02);
}

.hero-product-copy {
  display: grid;
  gap: 8px;
}

.hero-product-label {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(127, 91, 255, 0.12);
  border: 1px solid rgba(127, 91, 255, 0.28);
  color: #dfd6ff;
  font: 700 0.72rem "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-product-copy h2 {
  font: 700 clamp(1.35rem, 2.4vw, 1.85rem) "Oxanium", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  color: #f4f8ff;
  text-shadow: 0 2px 12px rgba(2, 8, 20, 0.55);
}

.hero-product-copy p {
  margin: 0;
  color: #9fb1d8;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: none;
}

.hero-product-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(106, 140, 255, 0.28);
  background: rgba(106, 140, 255, 0.08);
  color: #dce5ff;
  font: 700 0.78rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-product-link:hover {
  border-color: rgba(127, 91, 255, 0.5);
  box-shadow: var(--glow-violet);
}

.hero-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-product-meta strong {
  color: #ffffff;
  font: 700 1rem "Oxanium", sans-serif;
}

.hero-product-service .hero-product-label {
  background: rgba(106, 140, 255, 0.12);
  border-color: rgba(106, 140, 255, 0.3);
  color: #dbe6ff;
}

.hero-product-offer {
  border-color: rgba(248, 166, 47, 0.32);
}

.hero-product-offer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 90% 10%, rgba(248, 166, 47, 0.12), transparent 40%);
  pointer-events: none;
}

.label-offer {
  background: rgba(248, 166, 47, 0.14) !important;
  border-color: rgba(248, 166, 47, 0.38) !important;
  color: #ffe8bf !important;
}

.hero-offer-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  min-height: 22px;
  padding: 0 9px;
  border: 1px solid rgba(255, 92, 113, 0.44);
  background: rgba(255, 92, 113, 0.18);
  color: #ffd6dc;
  font: 700 0.66rem "Rajdhani", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-price-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  line-height: 1;
}

.hero-before-price {
  color: #8a9abf;
  text-decoration: line-through;
  font: 700 0.72rem "Rajdhani", sans-serif;
}

.hero-product-thumb.is-fallback {
  background: linear-gradient(160deg, #1c2a56, #111c3a);
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-carousel-arrow {
  width: 36px;
  height: 36px;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid rgba(127, 91, 255, 0.22);
  border-radius: 50%;
  background: rgba(127, 91, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.hero-carousel-arrow:hover {
  border-color: rgba(127, 91, 255, 0.5);
  background: rgba(127, 91, 255, 0.15);
  box-shadow: 0 0 14px rgba(127, 91, 255, 0.22);
  color: #fff;
}

.hero-carousel-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hero-carousel-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-violet));
  box-shadow: 0 0 14px rgba(127, 91, 255, 0.32);
}

.hero-quick-picks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-quick-pick {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(127, 91, 255, 0.14);
  background: rgba(8, 14, 29, 0.5);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hero-quick-pick:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 91, 255, 0.38);
  box-shadow: 0 14px 30px rgba(2, 8, 20, 0.24), 0 0 18px rgba(127, 91, 255, 0.14);
}

.hero-quick-pick-thumb {
  width: 54px;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-quick-pick-thumb.is-fallback {
  background: linear-gradient(160deg, #1c2a56, #111c3a);
}

.hero-quick-pick-skeleton {
  pointer-events: none;
  background: linear-gradient(110deg, rgba(30, 40, 70, 0.6) 30%, rgba(50, 65, 100, 0.45) 50%, rgba(30, 40, 70, 0.6) 70%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
  min-height: 68px;
}

.hero-quick-pick span {
  display: block;
  color: #d9e4ff;
  font: 700 0.8rem "Rajdhani", sans-serif;
}

.hero-quick-pick strong {
  display: block;
  margin-top: 2px;
  color: #ffffff;
  font: 700 0.9rem "Oxanium", sans-serif;
}

.trending-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
}

/* ── Trending hero para Ofertas Destacadas ────────────────────── */
.trending-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  margin-bottom: 32px;
  border: 1px solid rgba(106, 140, 255, 0.22);
  background:
    radial-gradient(circle at 90% 20%, rgba(106, 140, 255, 0.1) 0%, transparent 50%),
    linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border-radius: var(--radius-lg);
}

.trending-hero::after,
.client-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(106, 140, 255, 0.8), rgba(127, 91, 255, 0.95), transparent);
  opacity: 0.75;
  animation: signal-run 7s linear infinite;
}

.trending-hero::after {
  bottom: 0;
}

.trending-hero-content {
  display: grid;
  gap: 4px;
}

.trending-hero-content .product-kicker {
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  margin: 0;
}

.trending-hero-content h2 {
  font: 700 clamp(1.7rem, 3vw, 2.4rem) "Oxanium", sans-serif;
  margin: 0;
  background: linear-gradient(105deg, var(--neon-blue) 10%, var(--neon-lilac) 52%, var(--neon-violet) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trending-hero-content p {
  color: var(--text-muted);
  max-width: 54ch;
  font-size: 0.95rem;
  margin: 0;
}

.trending-hero-cta {
  flex-shrink: 0;
  padding: 11px 24px;
  border-radius: 12px;
  border: 1px solid rgba(106, 140, 255, 0.38);
  background: rgba(106, 140, 255, 0.08);
  color: var(--neon-blue);
  font: 700 0.95rem "Rajdhani", sans-serif;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.trending-hero-cta:hover {
  background: rgba(106, 140, 255, 0.15);
  border-color: rgba(106, 140, 255, 0.55);
  box-shadow: var(--glow-blue);
}

.featured-offers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 20px;
}

.featured-offer-lead {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(125, 105, 203, 0.34);
  background:
    radial-gradient(circle at 84% 18%, rgba(106, 140, 255, 0.12), transparent 38%),
    radial-gradient(circle at 16% 84%, rgba(125, 105, 203, 0.22), transparent 44%),
    linear-gradient(160deg, rgba(16, 26, 51, 0.98), rgba(9, 16, 33, 0.98));
  animation: panel-float 9s ease-in-out infinite;
}

.featured-offer-visual {
  min-height: 100%;
  aspect-ratio: 3 / 4;
  max-height: 360px;
  border-radius: 20px;
}

.featured-offer-copy {
  display: grid;
  gap: 12px;
}

.featured-offer-tag {
  justify-self: start;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(125, 105, 203, 0.42);
  background: rgba(125, 105, 203, 0.2);
  color: #dfd7ff;
  font: 700 0.74rem "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-offer-copy h3 {
  font: 700 clamp(1.55rem, 2vw, 2.2rem) "Oxanium", sans-serif;
  line-height: 1.04;
}

.featured-offer-copy p {
  margin: 0;
  color: #9fb2da;
  font-size: 0.98rem;
  line-height: 1.55;
}

.featured-offer-meta,
.featured-offer-actions,
.featured-offer-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.featured-offer-meta strong,
.featured-offer-card-meta strong {
  color: #ffffff;
  font: 700 1rem "Oxanium", sans-serif;
}

.featured-offer-discount {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(127, 91, 255, 0.35);
  color: #dfd1ff;
  font: 700 0.84rem "Rajdhani", sans-serif;
  background: rgba(127, 91, 255, 0.1);
}

.featured-offers-stack {
  display: grid;
  gap: 14px;
}

.featured-offer-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(125, 105, 203, 0.3);
  background:
    radial-gradient(circle at 80% 18%, rgba(125, 105, 203, 0.16), transparent 42%),
    linear-gradient(160deg, rgba(16, 26, 51, 0.96), rgba(9, 16, 33, 0.96));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.featured-offer-card:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(125, 105, 203, 0.6);
  box-shadow: 0 0 28px rgba(125, 105, 203, 0.24), 0 12px 32px rgba(2, 8, 20, 0.32);
}

.featured-offer-card-thumb {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
}

.featured-offer-card-copy {
  display: grid;
  gap: 10px;
}

.featured-offer-card-copy h3 {
  font: 700 1.02rem "Oxanium", sans-serif;
  line-height: 1.15;
}

.featured-offer-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(106, 140, 255, 0.45);
  font: 700 0.74rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.18s ease;
}

.featured-offer-card:hover .featured-offer-card-cta {
  color: #b8c8ff;
}

.card {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border: 1px solid rgba(127, 91, 255, 0.13);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(127, 91, 255, 0.45);
  box-shadow: var(--glow-blue);
}

.game-card {
  padding: 10px;
  position: relative;
}

.thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 120px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  object-fit: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 -28px 48px rgba(4, 10, 24, 0.18);
}

.thumb-1 {
  background-image: url("assets/covers/fc26.webp"), url("assets/covers/fc26.jpg"), url("assets/cover-fc26.svg");
  background-position: center 22%;
}

.thumb-2 {
  background-image: url("assets/covers/mk11.webp"), url("assets/covers/mk11.jpg"), url("assets/cover-mk11.svg");
  background-position: center 24%;
}

.thumb-3 {
  background-image: url("assets/covers/assetto-corsa.webp"), url("assets/covers/assetto-corsa.jpg"), url("assets/cover-assetto.svg");
  background-position: center 30%;
}

.thumb-4 {
  background-image: url("assets/covers/resident-evil-5.webp"), url("assets/covers/resident-evil-5.jpg"), url("assets/cover-re5.svg");
  background-position: center 24%;
}

.game-info {
  padding: 10px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.game-info h3 {
  font: 700 1.05rem "Oxanium", sans-serif;
  line-height: 1.2;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 2px;
}

.platform-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(127, 91, 255, 0.12);
  border: 1px solid rgba(127, 91, 255, 0.28);
  border-radius: 999px;
  padding: 2px 8px;
}

.price {
  color: var(--neon-green);
  font-weight: 700;
  font-size: 0.95rem;
}

.card-link {
  font-size: 0.78rem;
  color: var(--neon-blue);
  font-weight: 600;
  white-space: nowrap;
}

.card-link:hover {
  color: #fff;
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(12, 16, 33, 0.82);
  border: 1px solid rgba(127, 91, 255, 0.8);
  color: #d6caff;
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
}

.live-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(106, 140, 255, 0.45);
  background: linear-gradient(135deg, rgba(11, 20, 42, 0.92), rgba(8, 16, 34, 0.92));
  color: #d9e3ff;
  font: 800 0.62rem "Rajdhani", sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 10px rgba(106, 140, 255, 0.68);
  animation: live-chip-pulse 1.6s ease-in-out infinite;
}

.live-chip--online {
  border-color: rgba(106, 140, 255, 0.56);
  color: #d8e7ff;
}

.live-chip--online::before {
  background: var(--neon-blue);
}

.live-chip--hot {
  border-color: rgba(127, 91, 255, 0.58);
  color: #ebddff;
}

.live-chip--hot::before {
  background: var(--neon-violet);
  box-shadow: 0 0 11px rgba(127, 91, 255, 0.76);
}

.live-chip--drop {
  border-color: rgba(248, 166, 47, 0.58);
  color: #ffe3b4;
}

.live-chip--drop::before {
  background: var(--accent-warning);
  box-shadow: 0 0 11px rgba(248, 166, 47, 0.72);
}

.live-chip--flash {
  border-color: rgba(106, 140, 255, 0.58);
  background: linear-gradient(120deg, rgba(106, 140, 255, 0.22), rgba(127, 91, 255, 0.24));
  color: #f1f4ff;
}

.live-chip--flash::before {
  background: linear-gradient(180deg, var(--neon-blue), var(--neon-violet));
  box-shadow: 0 0 12px rgba(127, 91, 255, 0.75);
}

@media (max-width: 600px) {
  .live-chip {
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }

  .live-chip::before {
    width: 6px;
    height: 6px;
  }
}

.grid {
  display: grid;
  gap: 16px;
}

.categories-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ────────────────────────────────────────────────────────────── */
/* Categorias carousel horizontal                                 */
/* ────────────────────────────────────────────────────────────── */

.categories-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 91, 255, 0.3) transparent;
  -webkit-overflow-scrolling: touch;
}

.categories-carousel::-webkit-scrollbar {
  height: 4px;
}

.categories-carousel::-webkit-scrollbar-track {
  background: transparent;
}

.categories-carousel::-webkit-scrollbar-thumb {
  background: rgba(127, 91, 255, 0.3);
  border-radius: 2px;
}

.categories-carousel::-webkit-scrollbar-thumb:hover {
  background: rgba(127, 91, 255, 0.5);
}

.category-tile {
  position: relative;
  overflow: hidden;
  flex: 0 0 280px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(125, 105, 203, 0.28);
  background:
    radial-gradient(circle at 82% 14%, rgba(125, 105, 203, 0.14), transparent 42%),
    linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.320, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.category-tile:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--glow-violet);
  border-color: rgba(125, 105, 203, 0.62);
}

.category-tile-icon {
  font-size: 3rem;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.category-tile-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-tile-info h3 {
  font: 700 1.15rem "Oxanium", sans-serif;
  margin: 0;
  color: var(--text-main);
}

.category-tile-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.category-tile-arrow {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 1.4rem;
  color: var(--neon-violet);
  line-height: 1;
}

.category-tile:hover .category-tile-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Gradient backgrounds por categoria */
.cat-ps5 {
  background: linear-gradient(135deg, rgba(39, 63, 174, 0.15), rgba(81, 109, 255, 0.15)), linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border-color: rgba(81, 109, 255, 0.22);
}

.cat-ps5:hover {
  border-color: rgba(81, 109, 255, 0.45);
}

.cat-ps4 {
  background: linear-gradient(135deg, rgba(75, 51, 188, 0.15), rgba(67, 88, 232, 0.15)), linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border-color: rgba(106, 140, 255, 0.22);
}

.cat-ps4:hover {
  border-color: rgba(106, 140, 255, 0.45);
}

.cat-promo {
  background: linear-gradient(135deg, rgba(44, 74, 192, 0.15), rgba(77, 112, 255, 0.15)), linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border-color: rgba(127, 91, 255, 0.22);
}

.cat-promo:hover {
  border-color: rgba(127, 91, 255, 0.45);
}

.cat-plus {
  background: linear-gradient(135deg, rgba(32, 55, 145, 0.15), rgba(109, 77, 235, 0.15)), linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border-color: rgba(127, 91, 255, 0.22);
}

.cat-plus:hover {
  border-color: rgba(127, 91, 255, 0.45);
}

.cat-new {
  background: linear-gradient(135deg, rgba(35, 62, 153, 0.15), rgba(79, 120, 255, 0.15)), linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border-color: rgba(106, 140, 255, 0.22);
}

.cat-new:hover {
  border-color: rgba(106, 140, 255, 0.45);
}

.cat-trending {
  background: linear-gradient(135deg, rgba(31, 45, 79, 0.15), rgba(68, 93, 214, 0.15)), linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border-color: rgba(127, 91, 255, 0.22);
}

.cat-trending:hover {
  border-color: rgba(127, 91, 255, 0.45);
}

.my-games {
  display: grid;
  gap: 10px;
}

.compact-game {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.compact-game h3 {
  font: 600 1.04rem "Oxanium", sans-serif;
}

.compact-game p {
  color: var(--text-muted);
}

/* --- Vista cliente: barra de confianza --- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 32px 0;
  background: none;
  border: none;
  box-shadow: none;
}

.trust-item {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border: 1px solid rgba(71, 215, 162, 0.22);
    border: 1px solid rgba(127, 91, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.trust-item:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 91, 255, 0.42);
  box-shadow: 0 16px 32px rgba(2, 8, 20, 0.22), 0 0 20px rgba(106, 140, 255, 0.1);
}

.trust-item strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font: 700 1rem "Oxanium", sans-serif;
  color: var(--neon-violet);
}

.hot-offers-head h2,
.trending-hero-content h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* --- Vista cliente: pasos de compra --- */
.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step-card {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num {
  font: 700 2.4rem "Oxanium", sans-serif;
  color: rgba(127, 91, 255, 0.3);
  line-height: 1;
}

.step-card h3 {
  font: 700 1.08rem "Oxanium", sans-serif;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.state {
  border-radius: 999px;
  padding: 5px 11px;
  border: 1px solid;
  font-size: 0.82rem;
  font-weight: 700;
}

.state.online {
  color: var(--neon-blue);
  border-color: rgba(45, 212, 255, 0.6);
}

.state.ready {
  color: var(--neon-green);
  border-color: rgba(52, 245, 180, 0.6);
}

.state.muted {
  color: #b7c4df;
  border-color: rgba(183, 196, 223, 0.4);
}

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

  .banner-content {
    max-width: none;
  }

  .banner-showcase {
    grid-template-columns: 1fr;
  }

  .featured-offers-grid {
    grid-template-columns: 1fr;
  }

  .hero-product-primary {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .featured-offer-lead {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .category-tile {
    flex: 0 0 260px;
    min-height: 180px;
    padding: 24px 20px;
  }

  .category-tile-icon {
    font-size: 2.6rem;
  }

  .category-tile-info h3 {
    font-size: 1.06rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .category-tile {
    flex: 0 0 240px;
    min-height: 170px;
    padding: 22px 18px;
  }

  .category-tile-icon {
    font-size: 2.4rem;
  }

  .category-tile-info h3 {
    font-size: 1.04rem;
  }

  .category-tile-info p {
    font-size: 0.78rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .category-tile {
    flex: 0 0 220px;
    min-height: 160px;
    padding: 20px 16px;
  }

  .category-tile-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .category-tile-info h3 {
    font-size: 1rem;
  }

  .category-tile-info p {
    font-size: 0.75rem;
  }

  .category-tile-arrow {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .category-tile {
    flex: 0 0 calc(50vw - 14px);
    min-height: 150px;
    padding: 18px 14px;
  }

  .category-tile-icon {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  .category-tile-info h3 {
    font-size: 0.95rem;
  }

  .category-tile-info p {
    font-size: 0.7rem;
  }

  .categories-carousel {
    gap: 12px;
    padding: 8px 0;
  }
}

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

  .trust-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .app-shell {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .topbar {
    flex-wrap: wrap;
  }

  .search-wrap {
    order: 1;
    width: 100%;
    flex-basis: 100%;
  }

  .topbar-right {
    order: 0;
    width: 100%;
    justify-content: flex-end;
  }

  .trending-row {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 700px) {
  .banner {
    padding: 28px 20px;
  }

  /* Slider mobile: la card crece con su contenido (título/descripción variable)
     en lugar de recortarse. Apilamos los slides en una misma celda de grid
     (alto automático) en vez de position:absolute con alto fijo, que cortaba. */
  .hero-carousel {
    display: grid;
    min-height: 0;
  }

  .hero-slide {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
  }

  .hero-product-primary {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-product-thumb {
    max-width: 190px;
    justify-self: center;
  }

  .hero-quick-picks {
    grid-template-columns: 1fr;
  }

  .hero-product-copy h2 {
    font-size: 1.05rem;
  }

  .featured-offer-lead,
  .featured-offer-card {
    grid-template-columns: 1fr;
  }

  .featured-offer-visual,
  .featured-offer-card-thumb {
    max-width: 220px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    left: 10px;
    bottom: 10px;
    top: auto;
    height: auto;
    width: calc(100% - 20px);
    border-radius: 16px;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 14px;
    z-index: 10;
  }

  .brand {
    display: none;
  }

  .sidebar-nav {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
  }

  .main-layout {
    padding: 14px 12px 92px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .topbar-right {
    justify-content: space-between;
  }

  .status-chip {
    min-width: 88px;
  }
}

/* ============================================================
   LAYOUT CLIENTE — navbar horizontal, sin sidebar de operador
   ============================================================ */

.client-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

:root {
  --client-nav-height: 82px;
}

.client-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  overflow: hidden;
  background: rgba(7, 13, 30, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(127, 91, 255, 0.2);
  padding: 9px 32px 15px;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--client-nav-height);
}

.client-nav::after {
  bottom: 0;
}

.client-brand {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 100%;
  text-decoration: none;
  flex-shrink: 0;
}

.client-brand-logo {
  width: clamp(132px, 13.2vw, 165px);
  height: clamp(33px, 3.5vw, 40px);
  border-radius: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: visible;
}

.client-brand-logo-image {
  width: 100%;
  max-height: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 6px rgba(127, 91, 255, 0.2));
  animation: none;
}

.client-brand-name {
  display: none;
}

.client-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.client-nav-link {
  padding: 7px 14px;
  border-radius: 10px;
  font: 600 0.95rem "Rajdhani", sans-serif;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.client-nav-link:hover,
.client-nav-link.active {
  color: var(--text-main);
  background: rgba(127, 91, 255, 0.12);
}

.client-nav-search {
  flex: 0 1 320px;
}

.client-nav-search input {
  width: 100%;
  background: rgba(16, 27, 55, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 9px 14px;
  color: var(--text-main);
  font: 500 0.95rem "Rajdhani", sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.client-nav-search input::placeholder {
  color: #7485ac;
}

.client-nav-search input:focus {
  border-color: rgba(127, 91, 255, 0.55);
  box-shadow: var(--glow-blue);
}

.client-nav-cta {
  flex-shrink: 0;
  padding: 9px 20px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--neon-lilac), #6f57ff 52%, #5342d6);
  font: 700 0.95rem "Rajdhani", sans-serif;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.client-nav-cta:hover {
  transform: scale(1.04);
  box-shadow: var(--glow-violet);
}

.client-auth-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.client-auth-status {
  display: grid;
  gap: 1px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(127, 91, 255, 0.2);
  background: rgba(16, 27, 55, 0.62);
  line-height: 1.02;
}

.client-auth-status strong {
  font: 700 0.82rem "Rajdhani", sans-serif;
  color: #f1f5ff;
}

.client-auth-status span {
  font: 600 0.7rem "Rajdhani", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #9eb2de;
}

.client-auth-link {
  border: 1px solid rgba(127, 91, 255, 0.25);
  border-radius: 10px;
  background: rgba(127, 91, 255, 0.08);
  color: #e5ecff;
  padding: 8px 12px;
  font: 700 0.82rem "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.client-auth-link:hover {
  border-color: rgba(127, 91, 255, 0.5);
  background: rgba(127, 91, 255, 0.18);
  box-shadow: 0 0 14px rgba(127, 91, 255, 0.2);
}

.client-main {
  flex: 1;
  width: 100%;
  padding: 40px 32px 60px;
  display: grid;
  gap: 40px;
}

.client-main > .section,
.client-main > .trust-bar {
  animation: section-reveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.client-main > :nth-child(1) {
  animation-delay: 0.04s;
}

.client-main > :nth-child(2) {
  animation-delay: 0.12s;
}

.client-main > :nth-child(3) {
  animation-delay: 0.2s;
}

.client-main > :nth-child(4) {
  animation-delay: 0.28s;
}

/* responsive navbar cliente */
@media (max-width: 1180px) {
  :root {
    --client-nav-height: 74px;
  }

  .client-nav {
    padding: 7px 18px 12px;
    gap: 14px;
  }

  .client-brand-logo {
    width: clamp(110px, 30.8vw, 143px);
    height: 35px;
  }

  .client-nav-links {
    display: none;
  }

  .client-nav-search {
    flex: 1;
  }

  .client-auth-controls {
    display: none;
  }
}

@media (max-width: 600px) {
  :root {
    --client-nav-height: 68px;
  }

  .client-main {
    padding: 20px 12px 40px;
  }

  .client-brand-logo {
    width: clamp(99px, 41.8vw, 132px);
    height: 29px;
  }

  .client-nav-search {
    display: none;
  }
}

/* ── Nav hamburguesa mobile ──────────────────────────────────── */
.nav-burger {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(127, 91, 255, 0.1);
  border: 1px solid rgba(127, 91, 255, 0.28);
  border-radius: 10px;
  cursor: pointer;
  padding: 9px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-burger { display: flex; }
}

.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  top: var(--client-nav-height);
  background: rgba(4, 10, 24, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 24px;
}

.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 320px;
}

.nav-mobile-auth-state {
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(127, 91, 255, 0.2);
  background: rgba(16, 26, 51, 0.7);
}

.nav-mobile-auth-state strong {
  font: 700 0.96rem "Oxanium", sans-serif;
}

.nav-mobile-auth-state span {
  color: #9eb0dd;
  font: 700 0.74rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-mobile-link {
  display: block;
  padding: 16px 20px;
  border-radius: 12px;
  font: 700 1.05rem "Oxanium", sans-serif;
  color: var(--text-main);
  border: 1px solid rgba(127, 91, 255, 0.15);
  background: rgba(16, 26, 51, 0.96);
  opacity: 0;
  transform: translateY(14px);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s, border-color 0.2s;
}

.nav-mobile-overlay.open .nav-mobile-link {
  opacity: 1;
  transform: none;
}

.nav-mobile-link:hover {
  background: rgba(127, 91, 255, 0.15);
  border-color: rgba(127, 91, 255, 0.38);
}

.nav-mobile-link.active {
  border-color: rgba(127, 91, 255, 0.55);
  background: rgba(127, 91, 255, 0.12);
  color: var(--neon-violet);
}

.nav-mobile-logout {
  width: 100%;
  text-align: left;
}

body.nav-open {
  overflow: hidden;
}

/* ============================================================
   SIDEBAR LATERAL GAMER + TOPBAR  (construidos por js/nav.js)
   ============================================================ */
:root {
  --sidebar-px-width: 256px;
  --topbar-px-height: 64px;
}

/* El nav.js agrega .has-sidebar-px al <body>: corre el contenido. */
body.has-sidebar-px .client-shell {
  padding-left: var(--sidebar-px-width);
  transition: padding-left 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

body.sidebar-px-open {
  overflow: hidden;
}

/* ── Sidebar ────────────────────────────────────────────────── */
.sidebar-px {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-px-width);
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: linear-gradient(185deg, rgba(11, 19, 40, 0.96), rgba(7, 13, 30, 0.98));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-right: 1px solid rgba(127, 91, 255, 0.32);
  box-shadow: 6px 0 38px rgba(0, 0, 0, 0.45), inset -1px 0 0 rgba(127, 91, 255, 0.12);
}

.sidebar-px::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--neon-violet) 22%, var(--neon-blue) 78%, transparent);
  opacity: 0.85;
  pointer-events: none;
}

.sidebar-px-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 18px 16px;
  flex: 0 0 auto;
  min-height: 0;
  height: auto;
  border-bottom: 1px solid rgba(127, 91, 255, 0.14);
}

.sidebar-px-brand .client-brand-logo {
  width: clamp(132px, 80%, 168px);
  height: auto;
}

.sidebar-px-brand .client-brand-logo-image {
  transform: none;
}

.sidebar-px-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 91, 255, 0.4) transparent;
}

.sidebar-px-body::-webkit-scrollbar {
  width: 6px;
}

.sidebar-px-body::-webkit-scrollbar-thumb {
  background: rgba(127, 91, 255, 0.4);
  border-radius: 999px;
}

.sidebar-px-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Links verticales icono + texto */
.sidebar-px-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  font: 600 0.97rem "Rajdhani", sans-serif;
  color: var(--text-muted);
  border: 1px solid transparent;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.sidebar-px-ico {
  width: 1.32em;
  height: 1.32em;
  color: #9282e8;
  transition: color 0.2s ease, filter 0.2s ease;
}

.sidebar-px-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-px-link:hover {
  color: var(--text-main);
  background: rgba(127, 91, 255, 0.1);
  border-color: rgba(127, 91, 255, 0.28);
  transform: translateX(3px);
  box-shadow: 0 0 16px rgba(127, 91, 255, 0.16);
}

.sidebar-px-link:hover .sidebar-px-ico {
  color: var(--neon-blue);
  filter: drop-shadow(0 0 6px rgba(106, 140, 255, 0.5));
}

.sidebar-px-link.active {
  color: #fff;
  background: linear-gradient(100deg, rgba(127, 91, 255, 0.34), rgba(106, 140, 255, 0.22));
  border-color: rgba(127, 91, 255, 0.55);
  box-shadow: var(--glow-violet);
}

.sidebar-px-link.active .sidebar-px-ico {
  color: #fff;
  filter: drop-shadow(0 0 6px rgba(127, 91, 255, 0.7));
}

.sidebar-px-link.active::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 22px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--neon-violet), var(--neon-blue));
  box-shadow: 0 0 10px rgba(127, 91, 255, 0.8);
}

.sidebar-px-divider {
  height: 1px;
  margin: 10px 6px;
  background: linear-gradient(90deg, transparent, rgba(127, 91, 255, 0.4), transparent);
  flex-shrink: 0;
}

/* Area de usuario */
.sidebar-px-user {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-px-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: 12px;
  border: 1px solid rgba(127, 91, 255, 0.22);
  background: rgba(16, 26, 51, 0.7);
}

.sidebar-px-user-avatar {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #c7d2ff;
  background: linear-gradient(140deg, rgba(127, 91, 255, 0.4), rgba(106, 140, 255, 0.28));
  border: 1px solid rgba(127, 91, 255, 0.4);
}

.sidebar-px-user-avatar svg {
  width: 1.05em;
  height: 1.05em;
}

.sidebar-px-user-meta {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.sidebar-px-user-meta strong {
  font: 700 0.92rem "Oxanium", sans-serif;
  color: #f1f5ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-px-user-meta span {
  font: 700 0.68rem "Rajdhani", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9eb2de;
}

.sidebar-px-user-link {
  font-size: 0.92rem;
  padding: 9px 14px;
}

.sidebar-px-logout {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: "Rajdhani", sans-serif;
}

.sidebar-px-logout:hover {
  color: #ffd2dd;
  border-color: rgba(255, 77, 122, 0.4);
  background: rgba(255, 77, 122, 0.12);
  box-shadow: 0 0 16px rgba(255, 77, 122, 0.18);
}

.sidebar-px-logout:hover .sidebar-px-ico {
  color: var(--accent-danger);
  filter: drop-shadow(0 0 6px rgba(255, 77, 122, 0.5));
}

/* Footer del sidebar */
.sidebar-px-footer {
  flex-shrink: 0;
  padding: 12px 14px 16px;
  border-top: 1px solid rgba(127, 91, 255, 0.16);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-px-cart {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  text-decoration: none;
}

.sidebar-px-cart .sidebar-px-ico {
  color: #fff;
}

.sidebar-px-cart .cart-badge {
  margin-left: auto;
}

.sidebar-px-support {
  margin: 0;
  font: 500 0.72rem "Rajdhani", sans-serif;
  line-height: 1.35;
  color: #7e8fb6;
  text-align: center;
}

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar-px {
  position: sticky;
  top: 0;
  z-index: 40;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--topbar-px-height);
  padding: 10px 32px;
  background: rgba(7, 13, 30, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(127, 91, 255, 0.18);
}

.topbar-px-burger {
  display: none;
}

.topbar-px-spacer {
  flex: 1;
}

.topbar-px-brand {
  display: none;
  align-items: center;
  flex-shrink: 0;
}

.topbar-px-brand .client-brand-logo-image {
  width: clamp(104px, 32vw, 132px);
  height: auto;
  transform: none;
  filter: drop-shadow(0 0 6px rgba(127, 91, 255, 0.2));
}

/* Buscador reubicado en el topbar (es el .client-nav-search original) */
.topbar-px .client-nav-search.topbar-px-search {
  flex: 1;
  max-width: 460px;
  position: relative;
  display: flex;
  align-items: center;
}

.topbar-px-search-ico {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: #7485ac;
  pointer-events: none;
}

.topbar-px-search-ico svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar-px .client-nav-search.topbar-px-search input {
  width: 100%;
  padding-left: 36px;
}

/* ── Previsualizacion de busqueda (dropdown del topbar) ─────────── */
.search-preview {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 120;
  max-height: 60vh;
  overflow-y: auto;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(127, 91, 255, 0.32);
  background: linear-gradient(165deg, rgba(20, 24, 48, 0.98), rgba(11, 14, 30, 0.99));
  box-shadow: 0 22px 48px rgba(3, 8, 20, 0.6), 0 0 0 1px rgba(127, 91, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.search-preview[hidden] {
  display: none;
}

.search-preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
  color: #dce4f7;
  transition: background 0.16s ease;
}

.search-preview-item:hover {
  background: rgba(127, 91, 255, 0.16);
}

.search-preview-thumb {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: #1e2435;
  border: 1px solid rgba(127, 91, 255, 0.22);
}

.search-preview-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.search-preview-name {
  font: 600 0.86rem "Rajdhani", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-preview-price {
  font: 700 0.8rem "Oxanium", sans-serif;
  color: #a8c4f6;
}

.search-preview-empty,
.search-preview-loading {
  margin: 0;
  padding: 14px 10px;
  text-align: center;
  font: 600 0.82rem "Rajdhani", sans-serif;
  color: #8b9bc4;
}

/* ── Previsualizacion del carrito (popover sobre "Ver carrito") ─── */
.cart-preview-pop {
  position: fixed;
  z-index: 130;
  width: min(300px, 90vw);
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(127, 91, 255, 0.34);
  background: linear-gradient(165deg, rgba(20, 24, 48, 0.99), rgba(11, 14, 30, 0.99));
  box-shadow: 0 24px 52px rgba(3, 8, 20, 0.66), 0 0 0 1px rgba(127, 91, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cart-preview-pop[hidden] {
  display: none;
}

.cart-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(127, 91, 255, 0.2);
}

.cart-preview-head strong {
  font: 700 0.92rem "Oxanium", sans-serif;
  color: #e3e9fb;
}

.cart-preview-count {
  font: 600 0.72rem "Rajdhani", sans-serif;
  color: #a8c4f6;
}

.cart-preview-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 240px;
  overflow-y: auto;
}

.cart-preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 10px;
  text-decoration: none;
  color: #dce4f7;
  transition: background 0.16s ease;
}

.cart-preview-item:hover {
  background: rgba(127, 91, 255, 0.16);
}

.cart-preview-thumb {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-color: #1e2435;
  border: 1px solid rgba(127, 91, 255, 0.22);
}

.cart-preview-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-preview-name {
  font: 600 0.82rem "Rajdhani", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-preview-price {
  font: 700 0.78rem "Oxanium", sans-serif;
  color: #a8c4f6;
}

.cart-preview-more {
  margin: 6px 0 0;
  font: 600 0.72rem "Rajdhani", sans-serif;
  color: #8b9bc4;
  text-align: center;
}

.cart-preview-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0;
  padding-top: 8px;
  border-top: 1px solid rgba(127, 91, 255, 0.2);
  font: 600 0.8rem "Rajdhani", sans-serif;
  color: #c4d0ed;
}

.cart-preview-total strong {
  font: 700 0.98rem "Oxanium", sans-serif;
  color: #e3e9fb;
}

.cart-preview-empty {
  margin: 6px 0 10px;
  text-align: center;
  font: 600 0.82rem "Rajdhani", sans-serif;
  color: #8b9bc4;
}

.cart-preview-cta {
  display: block;
  text-align: center;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  font: 700 0.82rem "Oxanium", sans-serif;
  color: #f0f3ff;
  background: linear-gradient(180deg, rgba(127, 91, 255, 0.95), rgba(94, 58, 214, 0.98));
  border: 1px solid rgba(127, 91, 255, 0.5);
  transition: filter 0.16s ease;
}

.cart-preview-cta:hover {
  filter: brightness(1.12);
}

/* ── Offcanvas overlay ──────────────────────────────────────── */
.sidebar-px-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(4, 10, 24, 0.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.sidebar-px-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ── Responsive: desktop ≥ 1024px sidebar fijo ──────────────── */
@media (min-width: 1024px) {
  .topbar-px-burger {
    display: none !important;
  }
}

/* ── Responsive: tablet / mobile < 1024px → offcanvas ───────── */
@media (max-width: 1023.98px) {
  body.has-sidebar-px .client-shell {
    padding-left: 0;
  }

  .sidebar-px {
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .sidebar-px.is-open {
    transform: translateX(0);
  }

  /* Mobile: el buscador no entra cómodo junto al burger y el logo, así que
     el topbar pasa a 2 filas → fila 1: burger + logo, fila 2: buscador full. */
  .topbar-px {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .topbar-px-burger {
    display: flex;
    order: 1;
  }

  .topbar-px-brand {
    display: flex;
    order: 2;
    margin-left: auto;
  }

  .topbar-px .client-nav-search.topbar-px-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .topbar-px {
    padding: 8px 14px;
    gap: 10px;
  }

  .sidebar-px {
    width: min(86vw, 300px);
  }
}

.auth-section {
  max-width: 760px;
  justify-self: center;
  width: 100%;
}

.auth-panel {
  display: grid;
  gap: 18px;
}

.auth-panel h1 {
  margin: 0;
  font: 700 clamp(2rem, 4vw, 2.8rem) "Oxanium", sans-serif;
}

.auth-description {
  margin: 0;
  color: #aebce0;
}

.auth-form {
  display: grid;
  gap: 12px;
  max-width: 430px;
}

.auth-form label {
  display: grid;
  gap: 6px;
  font: 700 0.92rem "Rajdhani", sans-serif;
  letter-spacing: 0.03em;
  color: #d8e2fb;
}

.auth-form input {
  width: 100%;
  border: 1px solid rgba(127, 91, 255, 0.26);
  border-radius: 12px;
  background: rgba(8, 15, 31, 0.82);
  color: #f2f6ff;
  padding: 11px 12px;
  font: 600 1rem "Rajdhani", sans-serif;
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(127, 91, 255, 0.58);
  box-shadow: var(--glow-violet);
}

.auth-forgot-link {
  justify-self: end;
  margin-top: -4px;
  color: #b9c9ef;
  font: 700 0.86rem "Rajdhani", sans-serif;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.auth-forgot-link:hover {
  color: #dbe7ff;
  text-decoration: underline;
}

.auth-message {
  min-height: 1.2em;
  margin: 0;
  color: #ffb5c9;
  font: 600 0.95rem "Rajdhani", sans-serif;
}

.auth-message.is-info {
  color: #bcd0ff;
}

.auth-demo-users {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(106, 140, 255, 0.2);
  background: rgba(11, 20, 40, 0.72);
  max-width: 500px;
}

.auth-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-demo-users h3 {
  font: 700 1rem "Oxanium", sans-serif;
}

.auth-demo-users p {
  margin: 0;
  color: #9fb2da;
}

.admin-hero h1 {
  margin: 8px 0 10px;
  font: 700 clamp(2rem, 3.5vw, 2.7rem) "Oxanium", sans-serif;
}

.admin-hero p {
  margin: 0;
  color: #aebce0;
  max-width: 68ch;
}

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

.admin-card {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.admin-card h3 {
  font: 700 1.04rem "Oxanium", sans-serif;
}

.admin-card strong {
  font: 700 1.55rem "Oxanium", sans-serif;
  color: #f4f7ff;
}

.admin-card p {
  margin: 0;
  color: #a0b3db;
}

.admin-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-table {
  display: grid;
  gap: 10px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(106, 140, 255, 0.18);
  background: rgba(10, 17, 35, 0.72);
}

.admin-row h3 {
  font: 700 1.02rem "Oxanium", sans-serif;
  margin: 0;
}

.admin-row p {
  margin: 3px 0 0;
  color: #9fb2db;
}

.status-chip-mini {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(127, 91, 255, 0.3);
  font: 700 0.78rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-chip-mini.status-live {
  color: #dff9ee;
  border-color: rgba(71, 215, 162, 0.4);
  background: rgba(71, 215, 162, 0.16);
}

.status-chip-mini.status-paused {
  color: #ffe8cd;
  border-color: rgba(248, 166, 47, 0.36);
  background: rgba(248, 166, 47, 0.13);
}

.admin-select {
  min-width: 136px;
  border: 1px solid rgba(127, 91, 255, 0.32);
  border-radius: 10px;
  background: rgba(10, 17, 35, 0.92);
  color: #edf2ff;
  padding: 8px 10px;
  font: 700 0.86rem "Rajdhani", sans-serif;
}

.profile-hero h1 {
  margin: 8px 0 10px;
  font: 700 clamp(1.9rem, 3.5vw, 2.6rem) "Oxanium", sans-serif;
}

.profile-hero p {
  margin: 0;
  color: #aebde0;
}

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

.profile-card {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.profile-card h2 {
  font: 700 1.12rem "Oxanium", sans-serif;
}

.profile-fields {
  display: grid;
  gap: 10px;
}

.profile-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(106, 140, 255, 0.18);
  background: rgba(8, 15, 31, 0.6);
}

.profile-field span {
  color: #99acd8;
}

.profile-field strong {
  color: #f2f6ff;
  font: 700 0.96rem "Rajdhani", sans-serif;
}

.profile-actions {
  display: grid;
  gap: 8px;
  align-content: start;
}

.profile-form {
  max-width: none;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.library-item {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.library-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.library-copy {
  display: grid;
  gap: 5px;
}

.library-copy h3 {
  font: 700 1rem "Oxanium", sans-serif;
  line-height: 1.18;
}

.library-copy p {
  margin: 0;
  color: #9db0da;
}

.library-state {
  justify-self: start;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(71, 215, 162, 0.4);
  background: rgba(71, 215, 162, 0.12);
  color: #dff7ee;
  font: 700 0.74rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.library-empty {
  grid-column: 1 / -1;
  padding: 18px;
}

.library-empty h3 {
  font: 700 1.1rem "Oxanium", sans-serif;
}

.library-empty p {
  margin: 6px 0 0;
  color: #9db0da;
}

@media (max-width: 860px) {
  .admin-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (max-width: 620px) {
  .profile-form-grid {
    grid-template-columns: 1fr;
  }

  .library-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ */

.catalog-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.catalog-hero h1 {
  font: 700 clamp(1.8rem, 3.5vw, 2.6rem) "Oxanium", sans-serif;
  margin-bottom: 6px;
}

.catalog-hero p {
  color: #bac7e6;
  max-width: 62ch;
}

.catalog-filters {
  display: grid;
  gap: 14px;
}

.filter-group {
  display: grid;
  gap: 8px;
}

.filter-label {
  color: #9eaed0;
  font-weight: 600;
  letter-spacing: 0.2px;
}

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

.filter-chip {
  background: rgba(13, 23, 46, 0.9);
  border: 1px solid rgba(127, 91, 255, 0.26);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: 999px;
  font: 600 0.92rem "Rajdhani", sans-serif;
}

.filter-chip.active {
  border-color: rgba(125, 105, 203, 0.66);
  box-shadow: var(--glow-violet);
}

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

.product-card {
  position: relative;
  padding: 10px;
  display: grid;
  gap: 6px;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(125, 105, 203, 0.32);
  animation: catalog-card-enter 0.55s ease both;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(125, 105, 203, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(125, 105, 203, 0.2);
  border-radius: inherit;
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
}

.product-link {
  margin-top: 6px;
  justify-self: start;
  border: 1px solid rgba(106, 140, 255, 0.34);
  color: #d7e2ff;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(10, 18, 37, 0.55);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.product-link:hover {
  transform: translateY(-1px);
  background: rgba(125, 105, 203, 0.24);
  border-color: rgba(125, 105, 203, 0.72);
  box-shadow: var(--glow-violet);
}

.product-thumb {
  position: relative;
  width: 75%;
  justify-self: center;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111b36;
  box-shadow: 0 16px 30px rgba(2, 8, 20, 0.34);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(4, 10, 24, 0.06) 0%, rgba(4, 10, 24, 0.02) 38%, rgba(4, 10, 24, 0.42) 100%);
}

.product-thumb::after {
  content: "";
  position: absolute;
  inset: -20% auto auto -35%;
  width: 55%;
  height: 150%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: rotate(22deg);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.4s ease;
}

.product-card:hover .product-thumb::after {
  opacity: 1;
  transform: translateX(145%) rotate(22deg);
}

.product-card:hover .product-thumb {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 38px rgba(3, 9, 22, 0.46);
  border-color: rgba(125, 105, 203, 0.42);
}

.product-top {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-platform {
  color: #d5dffd;
  font-size: 0.64rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(125, 105, 203, 0.36);
  background: rgba(125, 105, 203, 0.16);
}

.product-card h3 {
  font: 600 0.82rem "Oxanium", sans-serif;
  line-height: 1.3;
}

.product-type {
  color: #93a4c9;
  font-size: 0.72rem;
}

.price-before {
  color: #8292b8;
  text-decoration: line-through;
  font-size: 0.7rem;
}

.price-now {
  color: #d8defc;
  font: 700 0.94rem "Oxanium", sans-serif;
  letter-spacing: 0.02em;
}

.stock {
  justify-self: start;
  border-radius: 999px;
  padding: 4px 9px;
  border: 1px solid;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stock.in-stock {
  color: var(--neon-green);
  border-color: rgba(71, 215, 162, 0.62);
}

.stock.low-stock {
  color: #ffd26b;
  border-color: rgba(248, 166, 47, 0.58);
}

.stock.out-stock {
  color: #ff8ca9;
  border-color: rgba(255, 77, 122, 0.62);
}

.catalog-availability-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog-pagination {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.page-chip {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(106, 140, 255, 0.26);
  color: #b8c5e4;
  background: linear-gradient(180deg, rgba(11, 20, 42, 0.92), rgba(8, 15, 30, 0.92));
  font-weight: 700;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.page-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 91, 255, 0.5);
}

.page-chip.active {
  color: #ffffff;
  border-color: rgba(127, 91, 255, 0.66);
  box-shadow: var(--glow-violet);
}

.catalog-intro-section {
  position: relative;
  overflow: hidden;
}

.catalog-intro-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(106, 140, 255, 0.16), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(127, 91, 255, 0.18), transparent 24%);
  pointer-events: none;
}

.catalog-intro-shell {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.catalog-intro-copy {
  max-width: 760px;
  display: grid;
  gap: 8px;
}

.catalog-intro-kicker {
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font: 700 0.72rem "Rajdhani", sans-serif;
}

.catalog-intro-copy h1 {
  font: 700 clamp(2rem, 4vw, 3rem) "Oxanium", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.catalog-intro-copy p:last-child {
  max-width: 62ch;
  color: #b4c3e2;
  font-size: 1rem;
  line-height: 1.55;
}

.catalog-intro-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 340px;
}

.catalog-stat-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(125, 105, 203, 0.38);
  background: linear-gradient(180deg, rgba(125, 105, 203, 0.18), rgba(11, 20, 42, 0.72));
  color: #d6e1ff;
  font: 700 0.76rem "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-results-head {
  align-items: flex-end;
  gap: 16px;
}

.catalog-results-head > div {
  display: grid;
  gap: 4px;
}

.catalog-results-copy {
  color: #99abd2;
  font: 500 0.94rem "Rajdhani", sans-serif;
}

.catalog-results-count {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(127, 91, 255, 0.24);
  background: rgba(127, 91, 255, 0.08);
  color: #e0e6ff;
  font: 700 0.8rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.catalog-grid .product-card:nth-child(1) { animation-delay: 0.04s; }
.catalog-grid .product-card:nth-child(2) { animation-delay: 0.08s; }
.catalog-grid .product-card:nth-child(3) { animation-delay: 0.12s; }
.catalog-grid .product-card:nth-child(4) { animation-delay: 0.16s; }
.catalog-grid .product-card:nth-child(5) { animation-delay: 0.2s; }
.catalog-grid .product-card:nth-child(6) { animation-delay: 0.24s; }

@keyframes catalog-card-enter {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.states-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.state-card {
  padding: 14px;
}

.state-card h3 {
  font: 600 1.06rem "Oxanium", sans-serif;
  margin-bottom: 4px;
}

.state-card p {
  color: var(--text-muted);
}

.p1 {
  background-image: url("assets/covers/fc26.webp"), url("assets/covers/fc26.jpg"), url("assets/cover-fc26.svg");
  background-position: center 18%;
}

.p2 {
  background-image: url("assets/covers/mk11.webp"), url("assets/covers/mk11.jpg"), url("assets/cover-mk11.svg");
  background-position: center 18%;
}

.p3 {
  background-image: url("assets/covers/assetto-corsa.webp"), url("assets/covers/assetto-corsa.jpg"), url("assets/cover-assetto.svg");
  background-position: center 22%;
}

.p4 {
  background-image: url("assets/covers/resident-evil-5.webp"), url("assets/covers/resident-evil-5.jpg"), url("assets/cover-re5.svg");
  background-position: center 16%;
}

.p5 {
  background-image: url("assets/covers/silent-vault.webp"), url("assets/covers/silent-vault.jpg"), url("assets/cover-silent-vault.svg");
  background-position: center 16%;
}

.p6 {
  background-image: url("assets/covers/ps-plus-extra.webp"), url("assets/covers/ps-plus-extra.jpg"), url("assets/cover-psplus-extra.svg");
  background-position: center 18%;
}

@media (max-width: 700px) {
  .product-thumb {
    width: 82%;
  }
}

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

  .states-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .catalog-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-intro-shell,
  .catalog-results-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-intro-stats {
    justify-content: flex-start;
    max-width: none;
  }

  .catalog-grid,
  .states-grid {
    grid-template-columns: 1fr;
  }
}

.product-breadcrumb p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #acbad9;
}

.product-breadcrumb a {
  color: #c9d2f8;
  font-weight: 700;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
}

.product-gallery {
  display: grid;
  gap: 10px;
}

.product-gallery-desc {
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(125, 105, 203, 0.24);
  color: #b7c4e2;
  font-size: 0.95rem;
  line-height: 1.55;
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.12), transparent 42%),
    linear-gradient(160deg, rgba(17, 28, 57, 0.95), rgba(13, 21, 43, 0.98));
}

.product-main-visual {
  min-height: 290px;
  border-radius: 16px;
  border: 1px solid rgba(127, 91, 255, 0.24);
  background:
    radial-gradient(circle at 70% 18%, rgba(127, 91, 255, 0.28), transparent 45%),
    radial-gradient(circle at 18% 82%, rgba(106, 140, 255, 0.22), transparent 46%),
    linear-gradient(140deg, #1e2560, #111c39 55%, #14234a);
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mini-thumb {
  min-height: 70px;
  border-radius: 12px;
  border: 1px solid rgba(127, 91, 255, 0.24);
  background: linear-gradient(135deg, #2a3773, #1a2852);
}

.mini-thumb.active {
  border-color: rgba(127, 91, 255, 0.58);
  box-shadow: var(--glow-violet);
}

.delivery-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.delivery-card {
  background: linear-gradient(160deg, rgba(17, 28, 57, 0.95), rgba(13, 21, 43, 0.98));
  border: 1px solid rgba(127, 91, 255, 0.22);
  border-radius: 14px;
  padding: 12px;
}

.delivery-card h3 {
  font: 600 1rem "Oxanium", sans-serif;
  margin-bottom: 4px;
}

.delivery-card p {
  color: #9badd0;
}

.product-detail {
  padding: 14px;
}

.product-detail h1 {
  font: 700 clamp(1.7rem, 3.3vw, 2.5rem) "Oxanium", sans-serif;
  margin-bottom: 6px;
}

.product-subtitle {
  color: #a9b7d6;
  margin-bottom: 12px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.meta-pill {
  border: 1px solid rgba(127, 91, 255, 0.36);
  color: #c8d3f5;
  border-radius: 999px;
  padding: 5px 11px;
  font-weight: 700;
  font-size: 0.86rem;
}

.version-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.version-card {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.version-card h3 {
  font: 600 1rem "Oxanium", sans-serif;
}

.version-card p {
  color: #9caed3;
}

.version-card strong {
  font: 700 1.04rem "Oxanium", sans-serif;
  color: #dbe1ff;
}

.version-card.highlight {
  border-color: rgba(127, 91, 255, 0.6);
  box-shadow: var(--glow-violet);
}

.cta-group {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ghost-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(127, 91, 255, 0.42);
  border-radius: 13px;
  color: #d0d8f8;
  font-weight: 700;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ghost-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 91, 255, 0.66);
  box-shadow: var(--glow-violet);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.feature-list {
  margin-top: 12px;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  color: #a6b3d4;
}

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

.spec-card {
  padding: 12px;
}

.spec-card h3 {
  font: 600 0.98rem "Oxanium", sans-serif;
  margin-bottom: 4px;
}

.spec-card p {
  color: #9caed1;
}

.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-card {
  padding: 10px;
  display: grid;
  gap: 8px;
}

.related-card h3 {
  font: 600 1rem "Oxanium", sans-serif;
}

@media (max-width: 1180px) {
  .product-layout {
    grid-template-columns: 1fr;
  }

  .version-grid,
  .spec-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .delivery-boxes,
  .version-grid,
  .spec-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.checkout-head h1 {
  font: 700 clamp(1.8rem, 3.4vw, 2.6rem) "Oxanium", sans-serif;
  margin-bottom: 6px;
}

.checkout-head p {
  color: #b2c1e1;
  max-width: 60ch;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 14px;
}

.checkout-left {
  display: grid;
  gap: 10px;
}

.checkout-right {
  display: grid;
  gap: 10px;
  align-content: start;
}

.cart-item {
  padding: 12px;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 12px;
  align-items: center;
}

.cart-thumb-link {
  display: block;
}

.cart-title-link {
  color: inherit;
  text-decoration: none;
}

.cart-title-link:hover,
.cart-title-link:focus-visible {
  color: #dfe9ff;
  text-decoration: underline;
}

.cart-info {
  display: grid;
  gap: 4px;
}

.cart-quick-link {
  width: fit-content;
  margin-top: 4px;
  color: #a9beeb;
  font: 700 0.78rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1px solid rgba(106, 140, 255, 0.34);
  border-radius: 999px;
  padding: 2px 9px;
  opacity: 0;
  transform: translateY(2px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cart-item:hover .cart-quick-link,
.cart-item:focus-within .cart-quick-link {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cart-quick-link:hover,
.cart-quick-link:focus-visible {
  color: #e9f1ff;
  border-color: rgba(127, 91, 255, 0.62);
}

.cart-info h3 {
  font: 600 1.04rem "Oxanium", sans-serif;
}

.cart-info p {
  color: #9eafd2;
}

.cart-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.cart-side strong {
  font: 700 1.06rem "Oxanium", sans-serif;
}

.qty-chip {
  border-radius: 999px;
  border: 1px solid rgba(127, 91, 255, 0.45);
  color: #cfd8f8;
  padding: 3px 10px;
  font-weight: 700;
  font-size: 0.82rem;
}

/* Selector de cantidad del carrito */
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(127, 91, 255, 0.4);
  border-radius: 999px;
  padding: 2px;
  background: rgba(16, 27, 55, 0.65);
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: rgba(127, 91, 255, 0.16);
  color: #e5ecff;
  font: 700 1rem "Oxanium", sans-serif;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, transform 0.15s;
}

.cart-qty-btn:hover {
  background: rgba(127, 91, 255, 0.4);
  transform: scale(1.06);
}

.cart-qty-btn:active {
  transform: scale(0.94);
}

.cart-qty-value {
  min-width: 28px;
  text-align: center;
  font: 700 0.95rem "Oxanium", sans-serif;
  color: #f1f5ff;
}

.payment-block,
.delivery-block {
  padding: 12px;
}

.pay-grid,
.delivery-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pay-card,
.inline-card {
  padding: 12px;
}

.pay-card {
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.pay-card:hover {
  border-color: rgba(127, 91, 255, 0.5);
  transform: translateY(-1px);
}

.pay-card h3,
.inline-card h3 {
  font: 600 1rem "Oxanium", sans-serif;
  margin-bottom: 4px;
}

.pay-card p,
.inline-card p {
  color: #9cafd2;
}

.pay-card.active {
  border-color: rgba(127, 91, 255, 0.62);
  box-shadow: var(--glow-violet);
}

.pay-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.transfer-data-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.transfer-data-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(127, 91, 255, 0.22);
  border-radius: 8px;
  background: rgba(20, 22, 44, 0.4);
}

.transfer-data-list li span {
  color: #9cafd2;
  font-size: 0.85rem;
}

.transfer-data-list li strong {
  color: #e6ecff;
  font-family: "Rajdhani", sans-serif;
  word-break: break-all;
  text-align: right;
}

/* Modal de pago por transferencia */
.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pay-modal[hidden] { display: none !important; }

.pay-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 18, 0.72);
  backdrop-filter: blur(4px);
}

.pay-modal-card {
  position: relative;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  gap: 12px;
  padding: 26px 24px;
  border-radius: 18px;
  border: 1px solid rgba(127, 91, 255, 0.4);
  background: linear-gradient(180deg, rgba(26, 24, 54, 0.98), rgba(14, 16, 34, 0.98));
  box-shadow: var(--glow-violet), 0 24px 60px rgba(0, 0, 0, 0.5);
}

.pay-modal-card h2 {
  font: 700 1.4rem "Oxanium", sans-serif;
}

.pay-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e6ecff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.pay-modal-close:hover { background: rgba(255, 255, 255, 0.16); }

.pay-modal-amount {
  font-size: 1rem;
  color: #c7d3f0;
}

.pay-modal-amount strong {
  color: #fff;
  font-size: 1.15rem;
}

.pay-modal-form {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.pay-modal-file {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: #9cafd2;
}

.pay-modal-file input[type="file"] {
  width: 100%;
  color: #c7d3f0;
  padding: 8px;
  border: 1px dashed rgba(127, 91, 255, 0.4);
  border-radius: 10px;
  background: rgba(8, 10, 26, 0.5);
}

.pay-modal-later {
  text-align: center;
  color: #9cafd2;
  font-size: 0.85rem;
  text-decoration: underline;
}

body.pay-modal-open { overflow: hidden; }

.summary-card {
  padding: 14px;
  display: grid;
  gap: 8px;
}

#cart-empty[hidden] { display: none !important; }

.summary-card h2 {
  font: 600 1.2rem "Oxanium", sans-serif;
  margin-bottom: 4px;
}

.sum-line {
  display: flex;
  justify-content: space-between;
  color: #b9c7e6;
  border-bottom: 1px solid rgba(127, 91, 255, 0.15);
  padding-bottom: 6px;
}

.sum-line strong {
  color: #d9e1ff;
}

.sum-line.total {
  border-bottom: none;
  margin-top: 2px;
}

.sum-line.total span,
.sum-line.total strong {
  font: 700 1.08rem "Oxanium", sans-serif;
  color: #ffffff;
}

.cta.full,
.ghost-cta.full {
  width: 100%;
}

#cart-clear.ghost-cta {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(12, 20, 42, 0.82);
  border-color: rgba(106, 140, 255, 0.46);
  color: #dce6ff;
  cursor: pointer;
}

#cart-clear.ghost-cta:hover {
  background: rgba(16, 27, 55, 0.95);
  border-color: rgba(127, 91, 255, 0.66);
  color: #f2f6ff;
}

#cart-clear.ghost-cta:disabled,
#cart-clear.ghost-cta[aria-disabled="true"] {
  opacity: 0.6;
  background: rgba(12, 20, 42, 0.62);
  color: #b4c2e8;
  cursor: not-allowed;
}

.summary-note {
  color: #9aaacf;
  font-size: 0.92rem;
  line-height: 1.3;
}

@media (max-width: 1180px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .checkout-head,
  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-side {
    justify-items: start;
  }

  .pay-grid,
  .delivery-inline {
    grid-template-columns: 1fr;
  }
}

.orders-hero h1 {
  font: 700 clamp(1.8rem, 3.4vw, 2.6rem) "Oxanium", sans-serif;
  margin-bottom: 6px;
}

.orders-hero p {
  color: #afc0df;
  max-width: 62ch;
}

/* ── Orders hero shell ─────────────────────────────────────────── */
.orders-hero-shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border: 1px solid rgba(127, 91, 255, 0.22);
  background:
    radial-gradient(circle at 90% 20%, rgba(127, 91, 255, 0.1) 0%, transparent 50%),
    linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border-radius: var(--radius-lg);
}

.orders-hero-copy {
  display: grid;
  gap: 4px;
}

.orders-hero-copy h1 {
  font: 700 clamp(1.7rem, 3vw, 2.4rem) "Oxanium", sans-serif;
  margin: 0;
}

.orders-hero-copy p {
  color: var(--text-muted);
  max-width: 54ch;
  font-size: 0.95rem;
  margin: 0;
}

.orders-hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

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

.kpi-card {
  padding: 14px;
  display: grid;
  gap: 6px;
}

.kpi-card h3 {
  font: 600 0.96rem "Oxanium", sans-serif;
  color: #c6d3f4;
}

.kpi-card strong {
  font: 700 1.7rem "Oxanium", sans-serif;
  color: #ffffff;
}

.kpi-card p {
  color: #8fa4cd;
}

.kpi-card.alert {
  border-color: rgba(255, 77, 122, 0.44);
}

.orders-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 12px;
}

.orders-table-wrap {
  display: grid;
  gap: 8px;
}

.orders-table-head {
  display: grid;
  grid-template-columns: 0.7fr 0.9fr 1.3fr 0.8fr 0.8fr 0.7fr;
  gap: 8px;
  color: #9dafd6;
  font-weight: 700;
  padding: 0 8px;
}

.order-row {
  padding: 10px;
  display: grid;
  align-items: center;
  grid-template-columns: 0.7fr 0.9fr 1.3fr 0.8fr 0.8fr 0.7fr;
  gap: 8px;
}

.order-pill {
  justify-self: start;
  border-radius: 999px;
  border: 1px solid;
  padding: 3px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.order-pill.pending {
  color: #ffd26b;
  border-color: rgba(248, 166, 47, 0.58);
}

.order-pill.paid {
  color: var(--neon-green);
  border-color: rgba(71, 215, 162, 0.62);
}

.order-pill.queue {
  color: #a9bdff;
  border-color: rgba(106, 140, 255, 0.58);
}

.order-pill.sent {
  color: #bde6ff;
  border-color: rgba(77, 185, 255, 0.62);
}

.order-pill.issue {
  color: #ff95b1;
  border-color: rgba(255, 77, 122, 0.62);
}

.orders-side {
  display: grid;
  gap: 8px;
  align-content: start;
}

.side-box {
  padding: 12px;
}

.side-box h3 {
  font: 600 1.02rem "Oxanium", sans-serif;
  margin-bottom: 4px;
}

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

  .orders-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .banner-pills {
    gap: 10px;
  }

  .banner-proof-strip {
    gap: 8px;
  }

  .hero-product {
    padding: 14px;
  }

  .orders-table-head {
    display: none;
  }

  .order-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

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

.help-hero h1 {
  font: 700 clamp(1.8rem, 3.4vw, 2.6rem) "Oxanium", sans-serif;
  margin-bottom: 6px;
}

.help-hero p {
  color: #afc0df;
  max-width: 60ch;
}

/* ── Help hero shell ─────────────────────────────────────────── */
.help-hero-shell {
  padding: 28px 32px;
  border: 1px solid rgba(127, 91, 255, 0.22);
  background:
    radial-gradient(circle at 90% 20%, rgba(106, 140, 255, 0.1) 0%, transparent 50%),
    linear-gradient(160deg, var(--bg-card), var(--bg-soft));
  border-radius: var(--radius-lg);
}

.help-hero-copy {
  max-width: 580px;
  display: grid;
  gap: 4px;
}

.help-hero-copy h1 {
  font: 700 clamp(1.7rem, 3vw, 2.4rem) "Oxanium", sans-serif;
  margin: 0;
}

.help-hero-copy p {
  color: var(--text-muted);
  max-width: 54ch;
  font-size: 0.95rem;
  margin: 0;
}

.help-hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ── FAQ accordion ────────────────────────────────────────────── */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-summary {
  padding: 18px 20px;
  cursor: pointer;
  font: 700 1.02rem "Oxanium", sans-serif;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  gap: 12px;
}

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

.faq-summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--neon-violet);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] .faq-summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 20px 18px;
  animation: filter-body-reveal 0.2s ease;
}

.faq-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.62;
  margin: 0;
}

/* ── Guide cards upgrade ──────────────────────────────────────── */
.guide-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-num {
  font: 700 2.2rem "Oxanium", sans-serif;
  color: rgba(127, 91, 255, 0.28);
  line-height: 1;
}

.help-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 12px;
}

.help-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.help-side {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
}

.faq-grid,
.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.help-subhead {
  margin-top: 8px;
}

.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-card,
.guide-card {
  padding: 12px;
}

.faq-card h3,
.guide-card h3 {
  font: 600 1rem "Oxanium", sans-serif;
  margin-bottom: 4px;
}

.faq-card p,
.guide-card p {
  color: #9caed2;
}

@media (max-width: 1180px) {
  .help-layout {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 940px) {
  .help-hero-shell,
  .help-layout {
    padding: 22px;
  }
}

.promo-hero h1 {
  font: 700 clamp(1.8rem, 3.4vw, 2.6rem) "Oxanium", sans-serif;
  margin-bottom: 6px;
}

.promo-hero p {
  color: #afc0df;
  max-width: 60ch;
}

.promo-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 12px;
}

.promo-main-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.promo-card {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.promo-card h3 {
  font: 600 1.02rem "Oxanium", sans-serif;
}

.promo-card p {
  color: #9caed2;
}

.promo-tag {
  color: #ded5ff;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.promo-a {
  background: linear-gradient(150deg, #2b2961, #162241);
}

.promo-b {
  background: linear-gradient(150deg, #312768, #181f44);
}

.promo-c {
  background: linear-gradient(150deg, #292c66, #14233f);
}

.promo-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

@media (max-width: 1180px) {
  .promo-layout {
    grid-template-columns: 1fr;
  }

  .promo-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .promo-main-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Instructivo global ───────────────────────────────────────── */
.instructivo-hero-shell {
  position: relative;
  overflow: hidden;
}

.instructivo-hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 16%, rgba(106, 140, 255, 0.18), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(125, 105, 203, 0.2), transparent 28%);
  pointer-events: none;
}

.instructivo-hero-copy {
  position: relative;
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.instructivo-hero-copy h1 {
  font: 700 clamp(1.9rem, 3.8vw, 2.9rem) "Oxanium", sans-serif;
  line-height: 1.05;
  margin: 0;
}

.instructivo-hero-copy p {
  color: #b4c3e4;
  max-width: 66ch;
  margin: 0;
}

.instructivo-hero-pills {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.instructivo-layout {
  display: grid;
  gap: 14px;
}

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

.instructivo-guide-card {
  padding: 16px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(125, 105, 203, 0.24);
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.18), transparent 40%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.96), rgba(8, 16, 35, 0.98));
}

.instructivo-guide-card h3 {
  font: 700 1.02rem "Oxanium", sans-serif;
  line-height: 1.2;
}

.instructivo-guide-card p {
  margin: 0;
  color: #a5b7dd;
  font-size: 0.9rem;
  line-height: 1.5;
}

.instructivo-guide-card ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #d7e2fb;
  font-size: 0.84rem;
}

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

.video-guide-card {
  padding: 14px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(125, 105, 203, 0.28);
}

.video-guide-card h3 {
  font: 700 1rem "Oxanium", sans-serif;
  margin: 0;
}

.video-guide-card p {
  margin: 0;
  color: #9fb1d9;
  font-size: 0.86rem;
}

.video-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(125, 105, 203, 0.26);
  background: #0b1328;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #050b1a;
}

.instructivo-upload-note {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(125, 105, 203, 0.3);
  background: linear-gradient(165deg, rgba(125, 105, 203, 0.12), rgba(8, 16, 35, 0.98));
}

.instructivo-upload-note h3 {
  font: 700 1rem "Oxanium", sans-serif;
  margin-bottom: 6px;
}

.instructivo-upload-note p {
  margin: 0;
  color: #c6d4f2;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .instructivo-text-grid,
  .instructivo-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .instructivo-text-grid,
  .instructivo-video-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Acordeón Instructivo PS4/PS5 ─────────────────────────── */
.instructivo-accordion-wrapper {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.accordion-item {
  list-style: none;
  border: 1px solid rgba(125, 105, 203, 0.22);
  border-radius: 10px;
  background:
    radial-gradient(circle at 84% 8%, rgba(125, 105, 203, 0.08), transparent 36%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.96), rgba(8, 16, 35, 0.98));
  overflow: hidden;
  animation: section-reveal 0.4s ease both;
}

.accordion-item:nth-child(2) {
  animation-delay: 0.1s;
}

/* === Grupo (PS4/PS5) === */
.accordion-group-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: "Oxanium", sans-serif;
  transition: all 0.3s ease;
}

.accordion-group-toggle:hover {
  background: rgba(125, 105, 203, 0.08);
}

.accordion-group-toggle:active {
  background: rgba(125, 105, 203, 0.12);
}

.accordion-group > summary {
  list-style: none;
}

.accordion-group > summary::-webkit-details-marker {
  display: none;
}

.console-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font: 700 0.85rem "Oxanium", sans-serif;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.console-badge--ps4 {
  background: linear-gradient(135deg, rgba(106, 140, 255, 0.28), rgba(106, 140, 255, 0.12));
  color: #6a8cff;
  border: 1px solid rgba(106, 140, 255, 0.36);
  box-shadow: 0 0 12px rgba(106, 140, 255, 0.18);
}

.console-badge--ps5 {
  background: linear-gradient(135deg, rgba(125, 105, 203, 0.28), rgba(125, 105, 203, 0.12));
  color: #7d69cb;
  border: 1px solid rgba(125, 105, 203, 0.36);
  box-shadow: 0 0 12px rgba(125, 105, 203, 0.18);
}

.accordion-group-toggle .toggle-text {
  flex: 1;
  color: #d7e2fb;
}

.toggle-icon {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: #7f5bff;
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.accordion-group[open] .toggle-icon {
  transform: rotate(180deg);
}

.accordion-group > :not(summary) {
  animation: slideDown 0.35s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Subgrupo (Primaria/Secundaria) === */
.accordion-subitem {
  border: none;
  background: rgba(125, 105, 203, 0.06);
  border-left: 3px solid rgba(125, 105, 203, 0.24);
  margin: 6px 8px;
  border-radius: 6px;
  overflow: visible;
}

.accordion-subitem-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Oxanium", sans-serif;
  transition: all 0.25s ease;
}

.accordion-subitem-toggle:hover {
  background: rgba(125, 105, 203, 0.12);
  padding-left: 20px;
}

.accordion-subitem > summary {
  list-style: none;
}

.accordion-subitem > summary::-webkit-details-marker {
  display: none;
}

.account-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  font: 600 0.75rem "Oxanium", sans-serif;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.account-badge--primary {
  background: linear-gradient(135deg, rgba(71, 215, 162, 0.24), rgba(71, 215, 162, 0.08));
  color: #47d7a2;
  border: 1px solid rgba(71, 215, 162, 0.32);
  box-shadow: 0 0 10px rgba(71, 215, 162, 0.12);
}

.account-badge--secondary {
  background: linear-gradient(135deg, rgba(255, 151, 69, 0.22), rgba(255, 151, 69, 0.08));
  color: #ff9745;
  border: 1px solid rgba(255, 151, 69, 0.3);
  box-shadow: 0 0 10px rgba(255, 151, 69, 0.1);
}

.accordion-subitem-toggle .toggle-text {
  flex: 1;
  color: #c6d4f2;
  font-size: 0.95rem;
}

.accordion-subitem[open] .toggle-icon {
  transform: rotate(180deg);
}

.accordion-subitem > :not(summary) {
  animation: slideDown 0.3s ease;
}

/* === Contenido del Acordeón === */
.accordion-content {
  padding: 0 16px 16px 16px;
}

.instructivo-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 1180px) {
  .instructivo-content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.instructivo-guide-section {
  display: grid;
  gap: 12px;
}

.instructivo-guide-section h3 {
  font: 700 1.15rem "Oxanium", sans-serif;
  color: #d7e2fb;
  margin: 0;
}

.guide-intro {
  color: #a5b7dd;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
  padding: 8px 12px;
  background: rgba(125, 105, 203, 0.08);
  border-left: 3px solid rgba(125, 105, 203, 0.24);
  border-radius: 4px;
}

.guide-step {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  background: rgba(125, 105, 203, 0.04);
  border-radius: 6px;
}

.guide-step h4 {
  font: 600 0.95rem "Rajdhani", sans-serif;
  color: #7d69cb;
  margin: 0 0 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.guide-step ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
  color: #b4c3e4;
  font-size: 0.9rem;
  line-height: 1.45;
}

.guide-step li {
  list-style: disc;
}

.instructivo-video-section {
  display: grid;
  gap: 12px;
}

.instructivo-video-section h3 {
  font: 700 1.1rem "Oxanium", sans-serif;
  color: #d7e2fb;
  margin: 0;
}

.video-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(125, 105, 203, 0.26);
  background: #0b1328;
  position: relative;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #050b1a;
}

.video-note {
  margin: 0;
  font-size: 0.8rem;
  color: #7f8fa3;
  text-align: center;
}

/* ── Sección de Soporte ───────────────────────────────────── */
.instructivo-support-section {
  margin-top: 24px;
}

.instructivo-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.support-card {
  padding: 16px;
  border: 1px solid rgba(125, 105, 203, 0.22);
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.12), transparent 40%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.94), rgba(8, 16, 35, 0.96));
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
}

.support-card:hover {
  border-color: rgba(125, 105, 203, 0.36);
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.16), transparent 40%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.96), rgba(8, 16, 35, 0.98));
}

.support-card h3 {
  font: 700 1rem "Oxanium", sans-serif;
  color: #d7e2fb;
  margin: 0;
}

.support-card p {
  margin: 0;
  color: #a5b7dd;
  font-size: 0.9rem;
  line-height: 1.5;
  flex-grow: 1;
}

.support-link {
  display: inline-block;
  margin-top: auto;
  color: #7d69cb;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s ease;
  border-bottom: 1px solid rgba(125, 105, 203, 0.3);
}

.support-link:hover {
  color: #b4c3e4;
  border-bottom-color: rgba(125, 105, 203, 0.6);
  transform: translateX(4px);
}

@media (max-width: 760px) {
  .instructivo-support-grid {
    grid-template-columns: 1fr;
  }

  .instructivo-content-grid {
    grid-template-columns: 1fr;
  }

  .accordion-group-toggle,
  .accordion-subitem-toggle {
    font-size: 1rem;
  }
}

/* == Filter Accordion ===================================== */
.filter-accordion {
  position: relative;
  border: 1px solid rgba(127, 91, 255, 0.26);
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% -10%, rgba(106, 140, 255, 0.24), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(127, 91, 255, 0.18), transparent 34%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, rgba(8, 16, 36, 0.98), rgba(5, 10, 22, 0.98));
  box-shadow: 0 18px 42px rgba(2, 6, 18, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: filter-panel-enter 0.55s ease both;
  overflow: hidden;
}

.filter-accordion::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(106, 140, 255, 0.14);
  animation: filter-frame-pulse 5.5s ease-in-out infinite;
  pointer-events: none;
}

.filter-accordion::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(106, 140, 255, 0.62) 0 16px, transparent 16px) top left / 18px 18px no-repeat,
    linear-gradient(-45deg, rgba(127, 91, 255, 0.62) 0 16px, transparent 16px) bottom right / 18px 18px no-repeat;
  opacity: 0.6;
  pointer-events: none;
}

.filter-accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font: 600 1rem "Oxanium", sans-serif;
  color: #d7e7ff;
  user-select: none;
  gap: 16px;
  transition: background 0.22s ease;
  border-bottom: 1px solid rgba(106, 140, 255, 0.16);
}

.filter-accordion-head:hover {
  background: rgba(106, 140, 255, 0.08);
}

.filter-accordion-head::-webkit-details-marker { display: none; }

.filter-accordion-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-accordion-copy > div {
  display: grid;
  gap: 3px;
}

.filter-kicker {
  color: var(--neon-blue);
  font: 700 0.7rem "Rajdhani", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.filter-accordion-head h2 {
  font: 700 1.1rem "Oxanium", sans-serif;
}

.filter-summary-text {
  color: #9eb5e2;
  font: 600 0.84rem "Rajdhani", sans-serif;
}

.filter-toggle-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(127, 91, 255, 0.42);
  background: linear-gradient(180deg, rgba(127, 91, 255, 0.22), rgba(106, 140, 255, 0.12));
  color: #e2e8ff;
  flex-shrink: 0;
  text-transform: uppercase;
  box-shadow: var(--glow-violet);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  animation: filter-badge-breathe 3.4s ease-in-out infinite;
}

.filter-toggle-badge::before {
  content: "Abrir";
  font: 700 0.78rem "Rajdhani", sans-serif;
  letter-spacing: 0.03em;
}

.filter-toggle-badge::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  color: var(--neon-violet);
  display: inline-block;
  transition: transform 0.22s ease;
}

details[open] .filter-toggle-badge::before {
  content: "Cerrar";
}

details[open] .filter-toggle-badge::after {
  transform: rotate(-135deg) translateY(-1px);
}

.filter-accordion-body {
  padding: 8px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid rgba(106, 140, 255, 0.15);
  background: linear-gradient(180deg, rgba(106, 140, 255, 0.05), rgba(106, 140, 255, 0));
}

details[open] .filter-accordion-body {
  animation: filter-body-reveal 0.28s ease both;
}

.filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0 2px;
}

.filter-toolbar-text {
  color: #a5bce8;
  font: 500 0.92rem "Rajdhani", sans-serif;
}

.filter-clear {
  font: 700 0.8rem "Rajdhani", sans-serif;
  color: #e8f7ff;
  border: 1px solid rgba(106, 140, 255, 0.42);
  border-radius: 10px;
  padding: 8px 14px;
  background: linear-gradient(180deg, rgba(106, 140, 255, 0.2), rgba(106, 140, 255, 0.08));
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 0 1px rgba(106, 140, 255, 0.12);
}

.filter-clear:hover {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(127, 91, 255, 0.28), rgba(127, 91, 255, 0.14));
  border-color: rgba(127, 91, 255, 0.58);
  transform: translateY(-1px);
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(12, 22, 44, 0.88), rgba(10, 16, 34, 0.88));
  border: 1px solid rgba(106, 140, 255, 0.16);
  box-shadow: inset 3px 0 0 rgba(127, 91, 255, 0.44);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.filter-row:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 91, 255, 0.28);
  box-shadow: inset 3px 0 0 rgba(127, 91, 255, 0.62), 0 12px 24px rgba(6, 12, 24, 0.22);
}

.filter-row .filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 110px;
}

.filter-accordion .filter-chip {
  border-radius: 10px;
  border-color: rgba(106, 140, 255, 0.34);
  background: linear-gradient(180deg, rgba(20, 30, 58, 0.92), rgba(15, 24, 46, 0.92));
  color: #cfe0ff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.filter-accordion .filter-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 91, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(127, 91, 255, 0.12);
}

.filter-accordion .filter-chip.active {
  color: #f7f8ff;
  border-color: rgba(127, 91, 255, 0.8);
  background: linear-gradient(180deg, rgba(127, 91, 255, 0.82), rgba(106, 140, 255, 0.72));
  box-shadow: 0 0 0 1px rgba(127, 91, 255, 0.18), 0 0 14px rgba(127, 91, 255, 0.3);
}

.filter-row .chip-row {
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

/* == Price Range Slider =================================== */
.filter-row-price {
  align-items: stretch;
}

.price-range-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(11, 20, 42, 0.95), rgba(7, 14, 30, 0.95));
  border: 1px solid rgba(106, 140, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 0 1px rgba(127, 91, 255, 0.08);
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.price-range-box {
  min-width: 106px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(106, 140, 255, 0.08);
  border: 1px solid rgba(106, 140, 255, 0.2);
}

.price-range-box-current {
  margin-left: auto;
  background: linear-gradient(180deg, rgba(127, 91, 255, 0.22), rgba(106, 140, 255, 0.12));
  border-color: rgba(127, 91, 255, 0.34);
  box-shadow: 0 10px 24px rgba(127, 91, 255, 0.16);
  animation: filter-value-pulse 4s ease-in-out infinite;
}

.price-range-caption {
  color: #8ea8dd;
  font: 700 0.68rem "Rajdhani", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-range-min {
  color: #bad2ff;
  font: 700 0.98rem "Oxanium", sans-serif;
}

.price-range-current {
  color: var(--neon-violet);
  font: 700 1rem "Oxanium", sans-serif;
  text-shadow: 0 0 16px rgba(127, 91, 255, 0.34);
}

.price-range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(106, 140, 255, 0.18);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  margin-top: 2px;
}

.price-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: linear-gradient(180deg, #a793ff, #6a8cff);
  box-shadow: 0 0 0 4px rgba(127, 91, 255, 0.18), 0 0 14px rgba(127, 91, 255, 0.45);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: box-shadow 0.2s, transform 0.2s ease;
}

.price-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.06);
  box-shadow: 0 0 0 5px rgba(127, 91, 255, 0.24), 0 0 18px rgba(127, 91, 255, 0.6);
}

.price-range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 8px;
  background: linear-gradient(180deg, #a793ff, #6a8cff);
  box-shadow: 0 0 0 4px rgba(127, 91, 255, 0.18), 0 0 14px rgba(127, 91, 255, 0.45);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.price-range-slider::-webkit-slider-runnable-track {
  background: linear-gradient(to right, rgba(127, 91, 255, 0.92) var(--pct, 100%), rgba(106, 140, 255, 0.2) var(--pct, 100%));
  height: 6px;
  border-radius: 999px;
}

.price-range-note {
  color: #8b9abd;
  font: 500 0.82rem "Rajdhani", sans-serif;
  line-height: 1.35;
}

@keyframes filter-panel-enter {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes filter-body-reveal {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes filter-frame-pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes filter-badge-breathe {
  0%,
  100% {
    box-shadow: var(--glow-violet);
  }
  50% {
    box-shadow: var(--glow-blue);
  }
}

@keyframes filter-value-pulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(127, 91, 255, 0.16);
  }
  50% {
    box-shadow: 0 10px 28px rgba(127, 91, 255, 0.24);
  }
}

/* == Premium Product / Promo / Cart polish =============== */
.product-hero-section {
  position: relative;
  overflow: hidden;
  /* Override del fondo de .section (linear-gradient 165deg): en este panel,
     grande y alto, la diagonal se leía como una "banda gris" cruzando la zona
     de las cards. Lo pasamos a degradado VERTICAL (180deg) y OPACO: sin
     diagonal y sin que el fondo se transparente a través del panel. */
  background: linear-gradient(180deg, #0e1831, #0a1228);
}

.product-hero-section::before,
.promo-hero::before,
.checkout-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(106, 140, 255, 0.14), transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(127, 91, 255, 0.16), transparent 24%);
  pointer-events: none;
}

/* En mobile el panel de la ficha es alto y angosto: el radial violeta de la
   esquina superior derecha (86%/14%) se estiraba hacia abajo por el lado derecho
   y, al pintar el ::before POR ENCIMA del contenido (es absolute), se leía como
   una banda gris diagonal sobre las cards. Lo apagamos solo acá en mobile. */
@media (max-width: 760px) {
  .product-hero-section::before {
    display: none;
  }

  /* CAUSA REAL de la "banda gris diagonal": .product-main-visual (el cover) no
     es position:relative, así que su ::after —un glow blanco anclado abajo a la
     derecha, de 48%×70%— se posiciona respecto a .product-hero-section y cubre
     la esquina inferior-derecha de TODO el panel (su overflow:hidden no lo
     recorta porque el ::after no es su hijo contenido). En el panel alto y
     angosto de mobile se ve como la banda diagonal. Lo apagamos en mobile. */
  .product-main-visual::after {
    display: none;
  }
}

.mini-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mini-thumbs .product-thumb {
  aspect-ratio: 1.1 / 1;
  min-height: 92px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mini-thumbs .product-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 91, 255, 0.44);
  box-shadow: var(--glow-violet);
}

.mini-thumbs .product-thumb.active {
  border-color: rgba(127, 91, 255, 0.68);
  box-shadow: var(--glow-violet);
  transform: translateY(-2px);
}

/* ── Promo empty state ─────────────────────────────────────────── */
.promo-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 72px 24px;
  text-align: center;
  animation: catalog-card-enter 0.4s ease both;
}

.promo-empty-icon {
  font-size: 3rem;
  line-height: 1;
  opacity: 0.6;
}

.promo-empty-state h3 {
  font: 700 1.35rem "Oxanium", sans-serif;
  color: var(--text-main);
  margin: 0;
}

.promo-empty-state p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
  margin: 0;
}

.promo-empty-btn {
  margin-top: 4px;
  padding: 9px 22px;
  border-radius: 10px;
  border: 1px solid rgba(127, 91, 255, 0.45);
  background: transparent;
  color: var(--neon-violet);
  font: 600 0.9rem "Rajdhani", sans-serif;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.promo-empty-btn:hover {
  background: rgba(127, 91, 255, 0.1);
  box-shadow: var(--glow-violet);
}

.product-main-visual {
  min-height: 380px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 38px rgba(4, 10, 24, 0.26);
}

.product-main-visual::after {
  content: "";
  position: absolute;
  inset: auto -25% -10% auto;
  width: 48%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 72%);
}

.product-kicker {
  color: var(--neon-blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font: 700 0.72rem "Rajdhani", sans-serif;
}

.product-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 8px;
}

.product-favorite-btn {
  width: auto;
  min-width: 140px;
  height: 38px;
  border-radius: 12px;
  padding: 0 14px;
  gap: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 0.8rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.product-favorite-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 18px rgba(127, 91, 255, 0.28);
}

.product-favorite-btn.is-active {
  border-color: rgba(255, 77, 122, 0.62);
  background: rgba(255, 77, 122, 0.16);
  box-shadow: 0 0 20px rgba(255, 77, 122, 0.28);
}

.product-favorite-icon {
  display: inline-flex;
  min-width: 14px;
  justify-content: center;
  font-size: 0.95rem;
}

.product-favorite-feedback {
  min-height: 1.1em;
  margin: 2px 0 10px;
  color: #b1c2e5;
  font: 700 0.78rem "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.product-favorite-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-status-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(127, 91, 255, 0.26);
  background: rgba(127, 91, 255, 0.08);
  color: #dde5ff;
  font: 700 0.76rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-desc {
  color: #b7c4e2;
  font-size: 1rem;
  line-height: 1.55;
}

.product-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}

.product-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.product-highlight-card {
  padding: 12px;
  background: linear-gradient(180deg, rgba(11, 20, 42, 0.92), rgba(8, 14, 30, 0.92));
  border: 1px solid rgba(106, 140, 255, 0.14);
}

.product-highlight-card h3 {
  font: 600 0.92rem "Oxanium", sans-serif;
  margin-bottom: 4px;
}

.product-highlight-card p {
  color: #9fb0d5;
  font-size: 0.88rem;
  line-height: 1.4;
}

.version-card {
  padding: 14px;
  border: 1px solid rgba(106, 140, 255, 0.16);
  background: linear-gradient(180deg, rgba(14, 23, 46, 0.96), rgba(10, 16, 33, 0.96));
}

.version-card.active,
.version-card:hover {
  border-color: rgba(127, 91, 255, 0.52);
  box-shadow: var(--glow-violet);
  transform: translateY(-2px);
}

.promo-hero-shell,
.checkout-hero-section {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.promo-hero-copy,
.checkout-hero-copy {
  max-width: 760px;
  display: grid;
  gap: 8px;
}

.promo-hero-side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.promo-stat-grid,
.checkout-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-filter-section .section-head,
.catalog-results-head,
.checkout-head {
  gap: 16px;
}

.promo-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  gap: 10px;
  min-height: 240px;
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.22), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 36%);
  pointer-events: none;
}

.promo-card h3 {
  font-size: 1.12rem;
}

.promo-card p {
  line-height: 1.5;
}

.promo-side .side-box,
.summary-card,
.payment-block,
.delivery-block {
  background: linear-gradient(165deg, rgba(14, 24, 49, 0.96), rgba(8, 16, 35, 0.98));
}

.cart-item {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(106, 140, 255, 0.14);
}

.cart-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at right top, rgba(127, 91, 255, 0.1), transparent 32%);
  pointer-events: none;
}

.cart-info h3 {
  line-height: 1.3;
}

.cart-remove {
  min-height: auto;
}

.summary-card {
  border: 1px solid rgba(106, 140, 255, 0.16);
}

.summary-card:first-child {
  box-shadow: 0 18px 34px rgba(4, 10, 24, 0.24);
}

@media (max-width: 1180px) {
  .product-highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .product-title-row,
  .promo-hero-shell,
  .checkout-hero-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .promo-hero-side {
    justify-items: start;
  }

  .product-favorite-btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .filter-accordion-head,
  .filter-toolbar,
  .filter-row {
    align-items: flex-start;
  }

  .filter-accordion-head,
  .filter-toolbar {
    flex-direction: column;
  }

  .filter-toggle-badge {
    align-self: flex-start;
  }

  .price-range-wrap {
    max-width: none;
    width: 100%;
  }

  .price-range-values {
    flex-direction: column;
  }

  .price-range-box-current {
    margin-left: 0;
  }
}

/* ═══════════════════════════════════════════
   CART BADGE (contador en botón del nav)
═══════════════════════════════════════════ */
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--neon-violet);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 6px;
  vertical-align: middle;
  animation: badge-pop 0.25s ease;
}

@keyframes badge-pop {
  0%   { transform: scale(0.4); }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1);   }
}

/* ═══════════════════════════════════════════
   TOAST NOTIFICATIONS
═══════════════════════════════════════════ */
.px-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 22px;
  border-radius: var(--radius-lg);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: rgba(20, 10, 40, 0.96);
  border: 1px solid rgba(127, 91, 255, 0.4);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
  z-index: 9999;
  pointer-events: none;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.px-toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.px-toast-success { border-color: rgba(71, 215, 162, 0.5);  }
.px-toast-error   {
  border-color: rgba(255, 80, 80, 0.5);
  font-size: 1.33rem;
}
.px-toast-info    { border-color: rgba(106, 140, 255, 0.5); }

.cart-remove {
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.cta.disabled,
.cta[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

/* ── Global brand preload ───────────────────────────────────── */
body.px-preload-active {
  overflow: hidden;
}

.px-preload {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 82% 12%, rgba(127, 91, 255, 0.25), transparent 36%),
    radial-gradient(circle at 14% 85%, rgba(37, 99, 235, 0.2), transparent 34%),
    linear-gradient(160deg, rgba(2, 7, 20, 0.98), rgba(5, 10, 28, 0.99));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 1;
  transition: opacity 0.36s ease, visibility 0.36s ease;
}

.px-preload.is-hide {
  opacity: 0;
  visibility: hidden;
}

.px-preload-core {
  position: relative;
  width: min(90vw, 380px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.px-preload-ring {
  position: absolute;
  inset: 8%;
  border-radius: 999px;
  border: 1px solid rgba(127, 91, 255, 0.35);
  box-shadow:
    inset 0 0 24px rgba(127, 91, 255, 0.2),
    0 0 28px rgba(127, 91, 255, 0.2);
  animation: px-preload-ring-spin 1.8s linear infinite;
}

.px-preload-image {
  width: min(82%, 320px);
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(127, 91, 255, 0.34));
  animation: px-preload-float 2.2s ease-in-out infinite;
}

.px-preload-text {
  position: absolute;
  bottom: -18%;
  margin: 0;
  color: #c7d6f3;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font: 700 0.7rem "Rajdhani", sans-serif;
  opacity: 0.9;
}

@keyframes px-preload-ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes px-preload-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ── Product Configuration Section ──────────────────────────── */
.product-summary-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

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

.product-summary-info .product-highlight-card {
  padding: 12px;
  font-size: 0.9rem;
}

.product-summary-info h3 {
  font: 600 0.95rem "Oxanium", sans-serif;
  margin: 0 0 4px 0;
  color: #7d69cb;
}

.product-summary-info p {
  margin: 0;
  font-size: 0.85rem;
  color: #a5b7dd;
  line-height: 1.4;
}

/* ── Product Options Section ────────────────────────────────── */
.product-options-section {
  margin: 24px 0;
  padding: 20px;
  border: 1px solid rgba(125, 105, 203, 0.22);
  border-radius: 12px;
  /* Vertical (180deg) y opaco: el linear-gradient(165deg) diagonal dejaba una
     banda gris clara en el lado derecho del marco (muy visible en mobile, donde
     el panel es alto y angosto). Quitamos también el radial de esquina. */
  background: linear-gradient(180deg, #0e1831, #0a1228);
}

.product-options-section h3 {
  font: 700 1.1rem "Oxanium", sans-serif;
  margin: 0 0 16px 0;
  color: #d7e2fb;
}

.option-group {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.option-label {
  font: 600 0.95rem "Rajdhani", sans-serif;
  color: #b4c3e4;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: block;
}

.option-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.option-btn {
  flex: 1;
  min-width: 140px;
  padding: 14px 16px;
  border: 1px solid rgba(125, 105, 203, 0.24);
  border-radius: 10px;
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.08), transparent 40%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.94), rgba(8, 16, 35, 0.96));
  color: #b4c3e4;
  font: 600 0.95rem "Oxanium", sans-serif;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.option-btn:hover {
  border-color: rgba(125, 105, 203, 0.36);
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.12), transparent 40%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.96), rgba(8, 16, 35, 0.98));
  transform: translateY(-2px);
}

.option-btn.active {
  border-color: rgba(125, 105, 203, 0.6);
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.18), transparent 40%),
    linear-gradient(165deg, rgba(125, 105, 203, 0.16), rgba(125, 105, 203, 0.08));
  color: #d7e2fb;
  box-shadow: 0 0 24px rgba(125, 105, 203, 0.24);
}

.option-btn .console-icon,
.option-btn .account-icon {
  font-size: 1.4rem;
}

.option-btn .btn-text {
  font-weight: 700;
  display: block;
}

.option-btn .btn-desc {
  font: 500 0.75rem "Rajdhani", sans-serif;
  color: #7f8fa3;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  opacity: 0.8;
}

.option-btn.is-hidden {
  display: none;
}

.option-btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.option-btn.is-pulse {
  animation: option-pulse 0.32s ease;
}

@keyframes option-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@media (max-width: 760px) {
  .option-btn {
    min-width: 100px;
    padding: 12px 10px;
    font-size: 0.85rem;
  }

  .option-btn .console-icon,
  .option-btn .account-icon {
    font-size: 1.2rem;
  }
}

/* ── Selection Summary Card ─────────────────────────────────── */
.selection-summary {
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(125, 105, 203, 0.26);
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.1), transparent 40%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.95), rgba(8, 16, 35, 0.97));
  display: grid;
  gap: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.summary-row.price-row {
  border-top: 1px solid rgba(125, 105, 203, 0.16);
  padding-top: 12px;
  margin-top: 8px;
}

.summary-label {
  font: 600 0.9rem "Rajdhani", sans-serif;
  color: #7f8fa3;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.summary-value {
  font: 600 0.95rem "Oxanium", sans-serif;
  color: #d7e2fb;
}

.summary-row.price-row .summary-value {
  font-size: 1.35rem;
  color: #7d69cb;
  font-weight: 700;
}

#summary-stock-state {
  color: #9fd5ff;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
}

.product-dynamic-strip {
  margin: 10px 0 2px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dynamic-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font: 700 0.66rem "Oxanium", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.dynamic-pill.badge-ps5 {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.28);
  color: #86efac;
}

.dynamic-pill.badge-cross {
  background: rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.3);
  color: #93c5fd;
}

.dynamic-pill.badge-offer,
.dynamic-pill.badge-priority {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.3);
  color: #fdba74;
}

.dynamic-pill.badge-delivery,
.dynamic-pill.badge-ok,
.dynamic-pill.badge-verified {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.dynamic-pill.badge-empty {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
}

.dynamic-pill.badge-last {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}

.live-activity {
  margin: 12px 0 0;
  padding: 14px;
  border: 1px solid rgba(125, 105, 203, 0.22);
  background:
    radial-gradient(circle at 90% 12%, rgba(34, 197, 94, 0.12), transparent 42%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.95), rgba(8, 16, 35, 0.97));
  display: grid;
  gap: 10px;
}

.live-activity-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-activity-head h4 {
  margin: 0;
  font: 700 0.86rem "Oxanium", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #d7e2fb;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.12);
  animation: live-pulse 1.8s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.live-activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.live-activity-item {
  color: #b6c7eb;
  font: 600 0.79rem "Rajdhani", sans-serif;
  letter-spacing: 0.02em;
  padding-left: 12px;
  position: relative;
}

.live-activity-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.8);
}

.live-activity-item.is-highlight {
  color: #d8f2ff;
}

.offer-insights {
  margin: 12px 0 0;
  padding: 14px;
  border: 1px solid rgba(249, 115, 22, 0.22);
  background:
    radial-gradient(circle at 88% 10%, rgba(249, 115, 22, 0.14), transparent 36%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.95), rgba(8, 16, 35, 0.97));
  display: grid;
  gap: 10px;
}

#offer-insights[hidden] {
  display: none !important;
}

.offer-insights-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.offer-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid rgba(249, 115, 22, 0.32);
  background: rgba(249, 115, 22, 0.12);
  color: #fdba74;
  font: 700 0.68rem "Oxanium", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offer-chip--alt {
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.12);
  color: #93c5fd;
}

.offer-insights-prices {
  display: grid;
  gap: 6px;
}

.offer-insights-prices p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 600 0.8rem "Rajdhani", sans-serif;
  color: #b5c7ea;
}

.offer-insights-prices .label {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.offer-insights-prices .old {
  text-decoration: line-through;
  color: #94a3b8;
}

.offer-insights-prices .now {
  color: #e2e8f0;
  font-family: "Oxanium", sans-serif;
}

.offer-insights-prices .save {
  color: #fdba74;
  font-family: "Oxanium", sans-serif;
}

.offer-insights-trend {
  margin: 0;
  color: #9fd5ff;
  font: 700 0.74rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-preview {
  margin: 12px 0 0;
  padding: 14px;
  border: 1px solid rgba(125, 105, 203, 0.2);
  background:
    radial-gradient(circle at 90% 12%, rgba(37, 99, 235, 0.1), transparent 42%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.95), rgba(8, 16, 35, 0.97));
  display: grid;
  gap: 8px;
}

.price-preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.price-preview-label {
  color: #9fb4df;
  font: 700 0.78rem "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-preview-value {
  color: #d7e2fb;
  font: 700 0.95rem "Oxanium", sans-serif;
}

.price-preview-value.is-empty {
  color: #94a3b8;
}

.price-preview-value.is-last,
.price-preview-value.is-low {
  color: #fbbf24;
}

.price-preview-value.is-offer,
.price-preview-value.is-ok {
  color: #86efac;
}

.related-badge--recommend {
  background: rgba(56, 189, 248, 0.14);
  color: #bae6fd;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.related-badge--trend {
  background: rgba(251, 191, 36, 0.15);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.product-layout {
  align-items: flex-start;
}

.product-detail {
  position: sticky;
  top: calc(var(--psc-header-h, 58px) + 14px);
  align-self: start;
}

.mobile-buybar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(9, 15, 30, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(3, 8, 20, 0.45);
}

.mobile-buybar-price {
  margin: 0;
  color: #e2e8f0;
  font: 700 0.98rem "Oxanium", sans-serif;
}

.mobile-buybar-meta {
  margin: 2px 0 0;
  color: #9fb4df;
  font: 600 0.72rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mobile-buybar-btn {
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.95));
  color: #e7f0ff;
  font: 700 0.84rem "Oxanium", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mobile-buybar-btn.is-disabled,
.mobile-buybar-btn:disabled {
  opacity: 0.5;
}

/* ── Payment Section ────────────────────────────────────────── */
.payment-section {
  margin: 24px 0;
}

.product-cart-cta-wrap {
  margin: 0 0 12px;
}

/* Doble CTA: "Agregar al carrito" + "Comprar" */
.product-cart-cta-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

#btn-add-cart {
  width: 100%;
}

#btn-buy-now {
  width: 100%;
}

/* "Comprar" usa el acento violeta del sitio para diferenciarse del CTA azul */
.cta-buy-now {
  background: linear-gradient(180deg, rgba(127, 91, 255, 0.95), rgba(94, 58, 214, 0.98));
  border-color: rgba(127, 91, 255, 0.5);
}

#btn-add-cart:disabled,
#btn-add-cart[aria-disabled="true"],
#btn-buy-now:disabled,
#btn-buy-now[aria-disabled="true"] {
  opacity: 0.58;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .product-cart-cta-duo {
    grid-template-columns: 1fr;
  }
}

.payment-section h3 {
  font: 700 1.1rem "Oxanium", sans-serif;
  margin: 0 0 14px 0;
  color: #d7e2fb;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(125, 105, 203, 0.22);
  border-radius: 12px;
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.08), transparent 40%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.96), rgba(8, 16, 35, 0.98));
  cursor: pointer;
  background-color: var(--bg-layer);
  color: inherit;
  font: inherit;
  transition: all 0.3s ease;
  position: relative;
}

.payment-option:hover {
  border-color: rgba(125, 105, 203, 0.4);
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.12), transparent 40%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.97), rgba(8, 16, 35, 0.99));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(125, 105, 203, 0.15);
}

.payment-option:disabled,
.payment-option[aria-disabled="true"] {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.payment-option:disabled:hover,
.payment-option[aria-disabled="true"]:hover {
  transform: none;
  box-shadow: none;
}

.payment-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.payment-info {
  flex: 1;
  display: grid;
  gap: 4px;
}

.payment-info h4 {
  font: 700 1rem "Oxanium", sans-serif;
  margin: 0;
  color: #d7e2fb;
}

.payment-info p {
  margin: 0;
  font: 500 0.85rem "Rajdhani", sans-serif;
  color: #a5b7dd;
}

.payment-arrow {
  font-size: 1.2rem;
  color: #7d69cb;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.payment-option:hover .payment-arrow {
  transform: translateX(4px);
}

.payment-note {
  font-size: 0.8rem;
  color: #7f8fa3;
  text-align: center;
  margin: 0;
}

/* ── Availability Panel ─────────────────────────────────────── */
.avail-panel {
  margin: 16px 0;
  padding: 16px 18px;
  border: 1px solid rgba(125, 105, 203, 0.22);
  border-radius: 12px;
  background:
    radial-gradient(circle at 10% 90%, rgba(34, 197, 94, 0.06), transparent 40%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.96), rgba(8, 16, 35, 0.98));
  display: grid;
  gap: 10px;
}

.avail-panel-title {
  font: 700 0.9rem "Oxanium", sans-serif;
  color: #b4c3e4;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.avail-slots {
  display: grid;
  gap: 8px;
}

.avail-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  transition: opacity 0.25s ease;
}

.avail-slot--ok     { background: rgba(34, 197, 94, 0.08);  border: 1px solid rgba(34, 197, 94, 0.22); }
.avail-slot--warn   { background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.22); }
.avail-slot--danger { background: rgba(239, 68, 68, 0.08);  border: 1px solid rgba(239, 68, 68, 0.22); }
.avail-slot--empty  { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); opacity: 0.5; }
.avail-slot--offer  { background: rgba(37, 99, 235, 0.08);  border: 1px solid rgba(37, 99, 235, 0.22); }

.avail-slot-icon {
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}
.avail-slot--ok     .avail-slot-icon { color: #4ade80; }
.avail-slot--warn   .avail-slot-icon { color: #fbbf24; }
.avail-slot--danger .avail-slot-icon { color: #f87171; }
.avail-slot--empty  .avail-slot-icon { color: #64748b; }
.avail-slot--offer  .avail-slot-icon { color: #60a5fa; }

.avail-slot-label {
  flex: 1;
  font: 500 0.84rem "Rajdhani", sans-serif;
  color: #b4c3e4;
  letter-spacing: 0.1px;
}

.avail-slot-status {
  font: 700 0.78rem "Oxanium", sans-serif;
  letter-spacing: 0.2px;
}
.avail-slot--ok     .avail-slot-status { color: #4ade80; }
.avail-slot--warn   .avail-slot-status { color: #fbbf24; }
.avail-slot--danger .avail-slot-status { color: #f87171; }
.avail-slot--empty  .avail-slot-status { color: #64748b; }
.avail-slot--offer  .avail-slot-status { color: #60a5fa; }

/* ── Smart Message ──────────────────────────────────────────── */
.smart-msg {
  font: 600 0.8rem "Rajdhani", sans-serif;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin: 0;
  padding: 8px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s ease;
}
.smart-msg:empty { display: none; }
.smart-msg--ok     { color: #4ade80; }
.smart-msg--warn   { color: #fbbf24; }
.smart-msg--danger { color: #f87171; }
.smart-msg--empty  { color: #64748b; }
.smart-msg--offer  { color: #60a5fa; }

/* ── Related product badges ─────────────────────────────────── */
.related-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 20px;
  font: 700 0.68rem "Oxanium", sans-serif;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1;
}
.related-badge--genre   { background: rgba(37, 99, 235, 0.15);  color: #93c5fd; border: 1px solid rgba(37, 99, 235, 0.3); }
.related-badge--similar { background: rgba(168, 85, 247, 0.15); color: #c4b5fd; border: 1px solid rgba(168, 85, 247, 0.3); }
.related-badge--offer   { background: rgba(249, 115, 22, 0.15); color: #fdba74; border: 1px solid rgba(249, 115, 22, 0.3); }
.related-badge--popular { background: rgba(34, 197, 94, 0.1);   color: #86efac; border: 1px solid rgba(34, 197, 94, 0.25); }

/* ── Related product motivo text ────────────────────────────── */
.related-motivo {
  font: 500 0.75rem "Rajdhani", sans-serif;
  color: #64748b;
  margin: 0 0 4px;
  line-height: 1.3;
}

/* ── Related grid skeleton loader ───────────────────────────── */
.related-skeleton {
  height: 220px;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.07) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Option button: enhanced active glow ────────────────────── */
.option-btn {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-btn.active {
  box-shadow:
    0 0 0 2px rgba(125, 105, 203, 0.5),
    0 0 28px rgba(125, 105, 203, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.option-btn:not(:disabled):active {
  transform: scale(0.97);
}

@media (max-width: 760px) {
  .avail-panel { padding: 14px; }
  .avail-slot  { padding: 9px 12px; }
  .avail-slot-label { font-size: 0.82rem; }
  .live-activity,
  .offer-insights,
  .price-preview {
    padding: 12px;
  }
}

@media (max-width: 1180px) {
  .product-detail {
    position: static;
    top: auto;
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .mobile-buybar {
    display: flex;
  }

  .client-main {
    padding-bottom: 96px;
  }
}

/* ── Product UX Hierarchy v3 (compact conversion-first) ───────────────── */
.product-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 10px;
}

.product-main-visual {
  aspect-ratio: 1 / 1;
  width: min(100%, 420px);
  min-height: 0;
  max-height: none;
  /* Imagen de portada centrada horizontalmente en su contenedor */
  justify-self: center;
  margin-inline: auto;
}

.product-detail h1 {
  font-size: clamp(1.48rem, 2.3vw, 2rem);
  line-height: 1.15;
}

.product-kicker {
  margin: 0 0 2px;
}

.product-title-row {
  margin: 2px 0 4px;
}

.product-favorite-feedback {
  min-height: 0;
  margin: 0 0 6px;
}

.product-gallery-desc {
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 0.84rem;
  line-height: 1.45;
  position: relative;
}

.product-gallery-desc.is-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-gallery-desc.is-collapsed::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30px;
  background: linear-gradient(to bottom, rgba(13, 21, 43, 0), rgba(13, 21, 43, 0.96));
}

.product-description-toggle {
  margin-top: 6px;
  border: 1px solid rgba(106, 140, 255, 0.26);
  border-radius: 999px;
  background: rgba(106, 140, 255, 0.08);
  color: #a8c4f6;
  font: 700 0.66rem "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  align-self: flex-start;
}

.product-summary-info {
  display: none;
}

.product-options-section {
  margin: 8px 0;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.product-options-section h3 {
  margin: 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9fb4df;
}

.price-preview {
  margin: 0;
  padding: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.price-preview-row {
  display: grid;
  gap: 2px;
  align-content: start;
}

.price-preview-label {
  font-size: 0.67rem;
  letter-spacing: 0.06em;
}

.price-preview-value {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.1;
}

.avail-panel {
  margin: 0;
  padding: 2px 0 0;
  border: 0;
  background: transparent;
  gap: 6px;
}

.avail-panel-title {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.avail-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.avail-slot {
  display: inline-flex;
  width: auto;
  padding: 6px 10px;
  border-radius: 999px;
  gap: 6px;
}

.avail-slot-label,
.avail-slot-status {
  font-size: 0.69rem;
}

.smart-msg {
  border-top: 0;
  padding: 0;
  font-size: 0.7rem;
}

.live-activity {
  margin: 0;
  padding: 6px 9px;
  gap: 4px;
}

.live-activity-head h4 {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.live-activity-list {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.live-activity-list::-webkit-scrollbar {
  display: none;
}

.live-activity-item {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(106, 140, 255, 0.14);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.66rem;
  color: #b6c7eb;
  background: rgba(10, 18, 38, 0.28);
}

.live-activity-item::before {
  display: none;
}

.option-group {
  margin-bottom: 0;
  gap: 6px;
}

.option-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.option-buttons {
  gap: 8px;
}

.option-btn {
  min-width: 0;
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 14px;
  flex-direction: row;
  gap: 6px;
}

.option-btn .console-icon,
.option-btn .account-icon {
  font-size: 1rem;
}

.option-btn .btn-text {
  font-size: 0.78rem;
}

.option-btn .btn-desc {
  display: none;
}

.selection-summary {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.selection-summary .summary-row {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(106, 140, 255, 0.2);
  background: rgba(10, 18, 38, 0.5);
  gap: 6px;
}

.selection-summary .summary-row:first-child {
  display: none;
}

.selection-summary .summary-label {
  font-size: 0.64rem;
}

.selection-summary .summary-value {
  font-size: 0.73rem;
}

.selection-summary .summary-row.price-row {
  width: 100%;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding: 12px 16px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: linear-gradient(160deg, rgba(12, 21, 44, 0.85), rgba(10, 18, 38, 0.9));
}

.selection-summary .summary-row.price-row .summary-label {
  font-size: 0.84rem;
}

.selection-summary .summary-row.price-row .summary-value {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
}

.offer-insights {
  margin: 0;
  padding: 8px 10px;
}

.payment-section {
  margin: 8px 0 6px;
}

.payment-section h3 {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.payment-options {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#btn-mercado-pago {
  grid-column: auto;
  border-color: rgba(59, 130, 246, 0.45);
  background:
    radial-gradient(circle at 86% 16%, rgba(59, 130, 246, 0.18), transparent 42%),
    linear-gradient(165deg, rgba(18, 36, 74, 0.98), rgba(10, 20, 44, 0.98));
}

#btn-mercado-pago .payment-info h4 {
  font-size: 0.9rem;
}

.payment-option {
  padding: 11px 12px;
}

.payment-info p {
  font-size: 0.76rem;
}

#btn-transferencia {
  opacity: 0.94;
}

@media (max-width: 1180px) {
  .product-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .product-main-visual {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .price-preview {
    grid-template-columns: 1fr;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  #btn-mercado-pago {
    grid-column: auto;
  }

}


.checkout-customer-form {
  padding: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(125, 105, 203, 0.24);
  background:
    radial-gradient(circle at 88% 10%, rgba(125, 105, 203, 0.12), transparent 38%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.96), rgba(8, 16, 35, 0.98));
}

.checkout-field {
  display: grid;
  gap: 6px;
}

.checkout-field--full {
  grid-column: 1 / -1;
}

.checkout-autofill-note {
  grid-column: 1 / -1;
  margin: -2px 0 2px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(71, 215, 162, 0.34);
  background: rgba(71, 215, 162, 0.1);
  color: #cbffea;
  font: 700 0.78rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checkout-field-label {
  font: 700 0.82rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #afc0e2;
}

.form-control {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(106, 140, 255, 0.24);
  border-radius: 12px;
  background: rgba(10, 18, 36, 0.86);
  color: #eef3ff;
  padding: 10px 12px;
  font: 600 0.95rem "Rajdhani", sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control::placeholder {
  color: #8093bc;
}

.form-control:focus {
  outline: none;
  border-color: rgba(127, 91, 255, 0.58);
  box-shadow: 0 0 0 2px rgba(127, 91, 255, 0.16), 0 0 16px rgba(127, 91, 255, 0.2);
  background: rgba(12, 20, 42, 0.92);
}

.form-control.is-autofilled {
  border-color: rgba(71, 215, 162, 0.44);
  box-shadow: inset 0 0 0 1px rgba(71, 215, 162, 0.18);
}

.form-control.is-invalid {
  border-color: rgba(255, 107, 129, 0.72);
  box-shadow: 0 0 0 2px rgba(255, 107, 129, 0.12), 0 0 16px rgba(255, 107, 129, 0.18);
}

.checkout-field-error {
  min-height: 1.05em;
  margin-top: 1px;
  color: #ff9ab0;
  font: 700 0.76rem "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
}

.checkout-customer-form textarea.form-control {
  resize: vertical;
  min-height: 92px;
  line-height: 1.4;
}

@media (max-width: 760px) {
  .payment-options {
    grid-template-columns: 1fr;
  }

  .checkout-customer-form {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .payment-option {
    padding: 14px;
  }

  .payment-icon {
    font-size: 1.6rem;
  }

  .payment-info h4 {
    font-size: 0.95rem;
  }

  .payment-info p {
    font-size: 0.8rem;
  }
}

/* ============================================================
   HOME PREMIUM DYNAMIC
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-metrics {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}


.hero-metric-card {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(106, 140, 255, 0.24);
  background: linear-gradient(170deg, rgba(12, 20, 42, 0.82), rgba(9, 15, 30, 0.72));
}

.hero-metric-card strong {
  font: 700 1.25rem "Oxanium", sans-serif;
  color: #ffffff;
}

.hero-metric-card span {
  color: #9fb2db;
  font: 700 0.72rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.premium-products-grid:not(.px-rail),
.instant-delivery-grid:not(.px-rail),
.wishlist-grid:not(.px-rail) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

/* Cards verticales compactas: entran tantas columnas como quepan
   con ancho chico de poster, en vez de 4 cards enormes. */
.premium-products-grid:not(.px-rail),
.instant-delivery-grid:not(.px-rail) {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.wishlist-grid:not(.px-rail) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-catalog-card {
  position: relative;
}

.home-catalog-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  min-width: 24px;
  min-height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid rgba(106, 140, 255, 0.28);
  background: rgba(8, 16, 35, 0.78);
  color: #dfe8ff;
  font: 700 0.58rem "Oxanium", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.premium-product-skeleton {
  min-height: 280px;
  border-radius: 18px;
  border: 1px solid rgba(125, 105, 203, 0.2);
  background:
    linear-gradient(90deg, rgba(13, 23, 46, 0.96) 25%, rgba(20, 32, 60, 0.9) 48%, rgba(13, 23, 46, 0.96) 72%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.94), rgba(8, 16, 35, 0.96));
  background-size: 220% 100%, 100% 100%;
  animation: home-skeleton-shine 1.3s linear infinite;
}

@keyframes home-skeleton-shine {
  from { background-position: 200% 0, 0 0; }
  to { background-position: -20% 0, 0 0; }
}

.premium-product-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(125, 105, 203, 0.24);
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.14), transparent 42%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.96), rgba(8, 16, 35, 0.98));
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.premium-product-rank {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  min-width: 28px;
  min-height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(106, 140, 255, 0.35);
  background: rgba(8, 16, 35, 0.85);
  color: #dfe8ff;
  font: 700 0.68rem "Oxanium", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.premium-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.premium-product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 0 8px;
  border: 1px solid rgba(125, 105, 203, 0.32);
  background: rgba(125, 105, 203, 0.12);
  color: #dfd8ff;
  font: 700 0.62rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.premium-product-badge.is-hot {
  border-color: rgba(248, 166, 47, 0.48);
  background: rgba(248, 166, 47, 0.16);
  color: #ffe8bc;
}

.premium-product-badge.is-demand {
  border-color: rgba(255, 92, 113, 0.44);
  background: rgba(255, 92, 113, 0.16);
  color: #ffd7dc;
}

.premium-product-badge.is-growth {
  border-color: rgba(106, 140, 255, 0.44);
  background: rgba(106, 140, 255, 0.16);
  color: #cfe0ff;
}

.premium-product-badge.is-instant {
  border-color: rgba(71, 215, 162, 0.44);
  background: rgba(71, 215, 162, 0.15);
  color: #d8f8eb;
}

.premium-product-badge.is-premium {
  border-color: rgba(177, 145, 255, 0.48);
  background: rgba(177, 145, 255, 0.16);
  color: #eee2ff;
}

.premium-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 105, 203, 0.52);
  box-shadow: 0 22px 40px rgba(2, 8, 20, 0.3), 0 0 18px rgba(125, 105, 203, 0.18);
}

.premium-product-cover {
  width: 66%;
  max-width: 178px;
  justify-self: center;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, #28386f, #151f41);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 16px 28px rgba(2, 8, 20, 0.34);
}

.premium-product-cover.is-fallback::after {
  content: "PIXELEROS";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font: 700 0.84rem "Oxanium", sans-serif;
  letter-spacing: 0.12em;
  color: #dbe5ff;
  background: linear-gradient(160deg, rgba(106, 140, 255, 0.16), rgba(125, 105, 203, 0.1));
}

.premium-product-copy {
  display: grid;
  gap: 8px;
}

.premium-product-copy h3 {
  font: 700 0.98rem "Oxanium", sans-serif;
  line-height: 1.2;
  min-height: 2.4em;
}

.premium-product-tag {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(106, 140, 255, 0.34);
  color: #d5e0ff;
  font: 700 0.66rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.premium-product-meta,
.premium-product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.premium-product-foot span {
  color: #9db1dd;
  font: 700 0.72rem "Rajdhani", sans-serif;
  text-transform: uppercase;
}

.premium-product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wishlist-btn {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(127, 91, 255, 0.3);
  background: rgba(127, 91, 255, 0.08);
  color: #e7dfff;
  font: 700 0.95rem "Rajdhani", sans-serif;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.wishlist-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 91, 255, 0.58);
}

.wishlist-btn.is-active {
  color: #ffd1de;
  border-color: rgba(255, 77, 122, 0.62);
  background: rgba(255, 77, 122, 0.16);
}

.premium-product-link {
  border: 1px solid rgba(106, 140, 255, 0.36);
  border-radius: 9px;
  padding: 5px 10px;
  color: #dce5ff;
  font: 700 0.7rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.premium-product-link:hover {
  border-color: rgba(127, 91, 255, 0.56);
  box-shadow: var(--glow-violet);
}

.premium-section-copy {
  margin: -10px 0 16px;
  color: #a9bbdf;
  max-width: 60ch;
}

.hot-offers-section {
  position: relative;
  overflow: hidden;
  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
  border-color: rgba(248, 166, 47, 0.35);
  background:
    radial-gradient(circle at 84% 12%, rgba(248, 166, 47, 0.18), transparent 32%),
    radial-gradient(circle at 16% 82%, rgba(255, 92, 113, 0.12), transparent 28%),
    linear-gradient(162deg, rgba(20, 28, 52, 0.98), rgba(9, 16, 34, 0.98));
}

.hot-offers-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(248, 166, 47, 0.08), transparent);
  opacity: 0.7;
  animation: sheen-sweep 6.8s ease-in-out infinite;
}

.hot-offers-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}

.hot-offers-head h2 {
  margin: 0;
  font: 700 clamp(1.5rem, 2.6vw, 2.15rem) "Oxanium", sans-serif;
  letter-spacing: -0.01em;
}

.hot-offers-head p {
  margin: 4px 0 0;
  color: #beccec;
  max-width: 56ch;
}

.hot-offers-meta {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.hot-offers-count {
  border-radius: 999px;
  min-height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(248, 166, 47, 0.42);
  background: rgba(248, 166, 47, 0.14);
  color: #ffe8bf;
  font: 700 0.7rem "Rajdhani", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hot-offers-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}

.hot-offers-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(255px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(248, 166, 47, 0.35) transparent;
  padding-bottom: 4px;
}

.hot-offers-track::-webkit-scrollbar {
  height: 5px;
}

.hot-offers-track::-webkit-scrollbar-thumb {
  background: rgba(248, 166, 47, 0.34);
  border-radius: 999px;
}

.hot-offer-card {
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  gap: 0;
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.hot-offer-card:hover {
  box-shadow: 0 20px 48px rgba(0,0,0,.55), 0 0 0 1px rgba(37,99,235,.35), 0 0 30px rgba(37,99,235,.08);
}

.hot-offer-card .psc-card-thumb {
  aspect-ratio: 3 / 4;
}

.hot-offer-card-body {
  gap: 8px;
}

.hot-offer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hot-offer-badges--catalog {
  margin-top: 2px;
}

.hot-offer-badges--catalog .premium-product-badge {
  font-size: 0.52rem;
}

.hot-offer-pricing {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.hot-offer-pricing--catalog {
  justify-content: flex-start;
}

.hot-offer-price-stack {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.hot-offer-price-line {
  display: grid;
  gap: 2px;
}

.hot-offer-price-label {
  color: #9fb2db;
  font: 700 0.66rem "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hot-offer-price-values {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.hot-offer-price-before {
  color: #9aa9ca;
  text-decoration: line-through;
  font: 700 0.78rem "Rajdhani", sans-serif;
}

.hot-offer-price-now {
  color: #ffffff;
  font: 700 1.02rem "Oxanium", sans-serif;
}

.hot-offer-price-now--secondary {
  color: #d8e6ff;
}

.hot-offer-discount {
  border-radius: 999px;
  min-height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 92, 113, 0.45);
  background: rgba(255, 92, 113, 0.16);
  color: #ffd6dc;
  font: 700 0.66rem "Rajdhani", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hot-offer-discount--catalog {
  position: absolute;
  top: 8px;
  right: 44px;
  z-index: 2;
  min-height: 22px;
  padding: 0 8px;
  font-size: 0.6rem;
}

.hot-offer-pressure {
  display: grid;
  gap: 6px;
}

.hot-offer-pressure--catalog {
  margin-top: auto;
}

.hot-offer-pressure small {
  color: #b0c0e3;
  font: 700 0.67rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hot-offer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hot-offer-actions--catalog {
  opacity: 1;
  transform: none;
  margin-top: 2px;
}

.hot-offer-cinematic {
  grid-auto-flow: row;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: visible;
}

.smart-offers-section {
  background:
    radial-gradient(circle at 86% 12%, rgba(248, 166, 47, 0.14), transparent 32%),
    radial-gradient(circle at 16% 84%, rgba(125, 105, 203, 0.14), transparent 34%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.95), rgba(8, 16, 35, 0.98));
}

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

.smart-offer-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(248, 166, 47, 0.3);
  background: linear-gradient(160deg, rgba(18, 28, 52, 0.97), rgba(10, 17, 35, 0.98));
  padding: 14px;
  display: grid;
  gap: 10px;
}

.smart-offer-card h3 {
  margin: 0;
  font: 700 0.96rem "Oxanium", sans-serif;
  line-height: 1.2;
}

.smart-offer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.smart-offer-progress {
  display: grid;
  gap: 6px;
}

.smart-offer-progress small {
  color: #9fb2db;
  font: 700 0.68rem "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.smart-offer-progress-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(106, 140, 255, 0.14);
}

.smart-offer-progress-bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f8a62f, #ff8a2b, #ff6666);
}

.smart-offer-countdown {
  justify-self: start;
  border-radius: 999px;
  border: 1px solid rgba(248, 166, 47, 0.4);
  color: #ffe7bd;
  background: rgba(248, 166, 47, 0.16);
  min-height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  font: 700 0.66rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.activity-live-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(71, 215, 162, 0.14), transparent 32%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.95), rgba(8, 16, 35, 0.98));
}

.activity-live-feed {
  display: grid;
  gap: 8px;
}

.activity-feed-item {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(106, 140, 255, 0.22);
  background: linear-gradient(155deg, rgba(10, 17, 35, 0.86), rgba(7, 14, 28, 0.9));
  padding: 10px 12px;
  color: #d2ddf9;
  font: 700 0.82rem "Rajdhani", sans-serif;
  letter-spacing: 0.02em;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.activity-feed-item.is-focus {
  border-color: rgba(71, 215, 162, 0.44);
  box-shadow: 0 0 0 1px rgba(71, 215, 162, 0.12), 0 0 16px rgba(71, 215, 162, 0.14);
  transform: translateX(2px);
}

.activity-feed-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 12px rgba(71, 215, 162, 0.7);
  display: inline-block;
  margin-right: 10px;
}

.ecosystem-section {
  background:
    radial-gradient(circle at 12% 80%, rgba(106, 140, 255, 0.2), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(125, 105, 203, 0.2), transparent 32%),
    linear-gradient(160deg, rgba(16, 26, 51, 0.97), rgba(9, 16, 33, 0.98));
}

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

.ecosystem-card {
  border-radius: 16px;
  border: 1px solid rgba(125, 105, 203, 0.25);
  background: linear-gradient(165deg, rgba(12, 21, 42, 0.9), rgba(8, 15, 31, 0.86));
  padding: 14px;
  display: grid;
  gap: 8px;
}

.ecosystem-card span {
  color: #9fb2db;
  font: 700 0.7rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ecosystem-card h3 {
  margin: 0;
  font: 700 0.95rem "Oxanium", sans-serif;
  line-height: 1.25;
}

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

.console-launcher-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(106, 140, 255, 0.24);
  background: linear-gradient(160deg, rgba(16, 26, 51, 0.96), rgba(9, 16, 33, 0.96));
  display: grid;
  gap: 8px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.console-launcher-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 105, 203, 0.56);
}

.console-launcher-card h3 {
  font: 700 1rem "Oxanium", sans-serif;
}

.console-launcher-card p {
  margin: 0;
  color: #9eb0d8;
  font-size: 0.88rem;
  line-height: 1.45;
}

.console-chip {
  justify-self: start;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(127, 91, 255, 0.34);
  font: 700 0.66rem "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-launcher-card.ps5 { background: linear-gradient(145deg, rgba(42, 65, 168, 0.18), rgba(10, 17, 35, 0.96)); }
.console-launcher-card.ps4 { background: linear-gradient(145deg, rgba(61, 75, 189, 0.18), rgba(10, 17, 35, 0.96)); }
.console-launcher-card.plus { background: linear-gradient(145deg, rgba(125, 105, 203, 0.24), rgba(10, 17, 35, 0.96)); }
.console-launcher-card.offers { background: linear-gradient(145deg, rgba(106, 140, 255, 0.24), rgba(10, 17, 35, 0.96)); }

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

.flow-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(125, 105, 203, 0.22);
  background: linear-gradient(160deg, rgba(16, 26, 51, 0.96), rgba(9, 16, 33, 0.96));
  display: grid;
  gap: 6px;
}

.flow-step {
  color: rgba(127, 91, 255, 0.42);
  font: 700 1.8rem "Oxanium", sans-serif;
  line-height: 1;
}

.flow-card h3 {
  font: 700 1rem "Oxanium", sans-serif;
}

.flow-card p {
  margin: 0;
  color: #9caed3;
  font-size: 0.9rem;
  line-height: 1.5;
}

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

.stats-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(106, 140, 255, 0.24);
  background: linear-gradient(160deg, rgba(16, 26, 51, 0.96), rgba(9, 16, 33, 0.96));
}

.stats-card span {
  color: #9fb2db;
  font: 700 0.72rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stats-card strong {
  font: 700 1.6rem "Oxanium", sans-serif;
}

.stats-card small {
  color: #8f9fc3;
  font-size: 0.78rem;
}

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

.testimonial-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(125, 105, 203, 0.22);
  background: linear-gradient(160deg, rgba(16, 26, 51, 0.96), rgba(9, 16, 33, 0.96));
  display: grid;
  gap: 14px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.testimonial-card.is-highlight {
  border-color: rgba(127, 91, 255, 0.58);
  box-shadow: var(--glow-violet);
}

.testimonial-card p {
  margin: 0;
  color: #c2d0ef;
  line-height: 1.55;
}

.testimonial-card strong {
  display: block;
  font: 700 0.92rem "Oxanium", sans-serif;
}

.testimonial-card span {
  color: #90a2cc;
  font-size: 0.8rem;
}

.empty-state-card {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(127, 91, 255, 0.4);
  background: rgba(11, 20, 42, 0.62);
  display: grid;
  gap: 10px;
}

.empty-state-card h3 {
  font: 700 1.02rem "Oxanium", sans-serif;
}

.empty-state-card p {
  margin: 0;
  color: #9eb2dc;
}

.premium-infra-section {
  background:
    radial-gradient(circle at 86% 10%, rgba(106, 140, 255, 0.24), transparent 38%),
    radial-gradient(circle at 14% 76%, rgba(125, 105, 203, 0.2), transparent 32%),
    linear-gradient(140deg, rgba(14, 24, 49, 0.96), rgba(8, 16, 35, 0.98));
}

.infra-copy {
  max-width: 880px;
  display: grid;
  gap: 10px;
}

.infra-copy h2 {
  font: 700 clamp(1.6rem, 3vw, 2.4rem) "Oxanium", sans-serif;
  line-height: 1.12;
}

.infra-copy p {
  margin: 0;
  color: #b4c5e8;
}

@media (max-width: 1180px) {
  .hot-offers-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hot-offers-meta {
    justify-items: start;
  }

  .smart-offers-grid,
  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console-launcher-grid,
  .flow-grid,
  .stats-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .wishlist-grid:not(.px-rail) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hot-offer-cinematic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* === Mobile UX (#7): home reorder + hero-metrics oculto ============ */
@media (max-width: 640px) {
  /* Las metricas del hero (1200+/99%/24h) rompen jerarquia en mobile. */
  .hero-metrics { display: none; }

  /* Reordenamos las secciones del home en mobile: hero -> ofertas -> resto.
     .client-main pasa a ser flex column y todos los hijos arrancan con
     order base alto; promovemos manualmente hero y ofertas-activas. */
  .client-main {
    display: flex;
    flex-direction: column;
  }
  .client-main > * { order: 10; }
  .client-main > .section.banner            { order: 1; }
  .client-main > #ofertas-activas-section   { order: 2; }
  .client-main > .trust-bar                 { order: 3; }
}

@media (max-width: 700px) {
  .wishlist-grid:not(.px-rail),
  .smart-offers-grid,
  .ecosystem-grid,
  .console-launcher-grid,
  .flow-grid,
  .stats-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hot-offers-controls {
    justify-content: flex-start;
  }

  .hot-offers-track:not(.px-rail),
  .hot-offer-cinematic {
    grid-auto-columns: minmax(236px, 1fr);
    grid-template-columns: 1fr;
  }

  .premium-product-cover {
    width: 60%;
    max-width: 160px;
  }
}

/* === #8 (home): grids del index a 2 columnas en mobile =============== */
@media (max-width: 640px) {
  .premium-products-grid:not(.px-rail),
  .instant-delivery-grid:not(.px-rail),
  .hidden-gems-grid:not(.px-rail),
  .wishlist-grid:not(.px-rail) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .premium-product-skeleton { min-height: 200px; }
}

/* ============================================================
   CUENTA GAMER - BIBLIOTECA Y PEDIDOS
   ============================================================ */

.cliente-header h1 {
  margin: 8px 0 10px;
  font: 700 clamp(1.8rem, 3.4vw, 2.6rem) "Oxanium", sans-serif;
}

.cliente-header p {
  margin: 0;
  color: #afc0df;
  max-width: 70ch;
}

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

.cliente-kpi-card {
  padding: 16px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(125, 105, 203, 0.24);
}

.cliente-kpi-card span {
  color: #9fb2db;
  font: 700 0.74rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cliente-kpi-card strong {
  font: 700 1.7rem "Oxanium", sans-serif;
  color: #ffffff;
}

.cliente-grid {
  display: grid;
  gap: 14px;
}

.biblioteca-card {
  padding: 14px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid rgba(125, 105, 203, 0.28);
  background:
    radial-gradient(circle at 84% 14%, rgba(125, 105, 203, 0.14), transparent 42%),
    linear-gradient(165deg, rgba(14, 24, 49, 0.96), rgba(8, 16, 35, 0.98));
}

.biblioteca-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(160deg, #28386f, #151f41);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.biblioteca-cover.is-fallback::after {
  content: "PIX";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #dce6ff;
  font: 700 1.2rem "Oxanium", sans-serif;
  letter-spacing: 0.06em;
}

.biblioteca-copy {
  display: grid;
  gap: 10px;
}

.biblioteca-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.biblioteca-head h3 {
  font: 700 1.06rem "Oxanium", sans-serif;
}

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

.biblioteca-meta span {
  border: 1px solid rgba(106, 140, 255, 0.2);
  border-radius: 999px;
  padding: 4px 10px;
  color: #bcd0f8;
  font: 700 0.7rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pedido-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(127, 91, 255, 0.35);
  font: 700 0.75rem "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
}

.pedido-status-chip.status-delivered {
  color: #dff8ee;
  border-color: rgba(71, 215, 162, 0.52);
  background: rgba(71, 215, 162, 0.14);
}

.pedido-status-chip.status-preparing {
  color: #e8e0ff;
  border-color: rgba(125, 105, 203, 0.5);
  background: rgba(125, 105, 203, 0.16);
}

.pedido-status-chip.status-pending {
  color: #ffe6bf;
  border-color: rgba(248, 166, 47, 0.52);
  background: rgba(248, 166, 47, 0.14);
}

.pedido-status-chip.status-cancelled {
  color: #ffd2d2;
  border-color: rgba(235, 77, 96, 0.52);
  background: rgba(235, 77, 96, 0.14);
}

.pedido-timeline.is-cancelled {
  grid-template-columns: 1fr;
}

.timeline-step.is-cancelled {
  border-color: rgba(235, 77, 96, 0.5);
  color: #ffd2d2;
  background: rgba(235, 77, 96, 0.12);
  box-shadow: 0 0 0 1px rgba(235, 77, 96, 0.2);
}

.timeline-step.is-cancelled .timeline-dot {
  background: rgba(235, 77, 96, 0.3);
  color: #ffd2d2;
}

.pedido-timeline-note {
  margin: 6px 2px 0;
  color: #c4a0a8;
  font: 600 0.74rem "Rajdhani", sans-serif;
}

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

.timeline-step {
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(106, 140, 255, 0.16);
  background: rgba(8, 14, 29, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8ea2ce;
  font: 700 0.68rem "Rajdhani", sans-serif;
  text-transform: uppercase;
}

.timeline-step.is-active {
  border-color: rgba(125, 105, 203, 0.56);
  color: #e3dcff;
  box-shadow: 0 0 0 1px rgba(125, 105, 203, 0.22);
}

.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  font-size: 0.62rem;
}

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

.biblioteca-entrega-details {
  border: 1px solid rgba(71, 215, 162, 0.28);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(10, 22, 42, 0.92), rgba(7, 17, 34, 0.96));
  overflow: hidden;
}

.biblioteca-entrega-details > summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 12px;
  font: 700 0.78rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c8f6e5;
  border-bottom: 1px solid rgba(71, 215, 162, 0.2);
}

.biblioteca-entrega-details > summary::-webkit-details-marker {
  display: none;
}

.biblioteca-entrega-box {
  padding: 12px;
  display: grid;
  gap: 12px;
}

.biblioteca-entrega-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.biblioteca-entrega-credenciales {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.biblioteca-entrega-credenciales article {
  border: 1px solid rgba(106, 140, 255, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  display: grid;
  gap: 4px;
}

.biblioteca-entrega-credenciales small {
  color: #9db2df;
  font: 700 0.68rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.biblioteca-entrega-credenciales strong {
  font: 700 0.9rem "Oxanium", sans-serif;
  color: #f1f6ff;
  word-break: break-word;
}

.biblioteca-entrega-message {
  border: 1px solid rgba(106, 140, 255, 0.2);
  border-radius: 10px;
  padding: 10px;
  background: rgba(8, 15, 30, 0.72);
}

.biblioteca-entrega-message h4 {
  margin: 0 0 6px;
  font: 700 0.82rem "Oxanium", sans-serif;
  color: #dce6ff;
}

.biblioteca-entrega-message p {
  margin: 0;
  color: #c7d5f6;
  font: 600 0.8rem "Rajdhani", sans-serif;
  line-height: 1.45;
}

.favoritos-grid {
  display: grid;
  gap: 12px;
}

.favorito-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.favorito-card:hover {
  transform: translateY(-2px);
  border-color: rgba(127, 91, 255, 0.5);
  box-shadow: 0 18px 34px rgba(8, 12, 26, 0.42);
}

.favorito-remove-btn {
  border-color: rgba(255, 104, 137, 0.42);
  color: #ffd7e2;
  background: rgba(255, 104, 137, 0.14);
}

.favorito-remove-btn:hover {
  border-color: rgba(255, 104, 137, 0.62);
  box-shadow: 0 0 14px rgba(255, 104, 137, 0.26);
}

.pedidos-stack {
  display: grid;
  gap: 12px;
}

.pedido-card {
  padding: 14px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(125, 105, 203, 0.26);
}

.pedido-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pedido-card-head h3 {
  font: 700 1.06rem "Oxanium", sans-serif;
}

.pedido-card-head strong {
  font: 700 1.06rem "Oxanium", sans-serif;
  color: #ffffff;
}

.pedido-items-list {
  display: grid;
  gap: 8px;
}

.pedido-item-row {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(106, 140, 255, 0.2);
  background: rgba(9, 16, 33, 0.72);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.pedido-item-row h4 {
  margin: 0;
  font: 700 0.95rem "Oxanium", sans-serif;
}

.pedido-item-row p {
  margin: 2px 0 0;
  color: #9db0d8;
  font-size: 0.84rem;
}

.cliente-empty-state {
  padding: 20px;
}

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

  .pedido-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .cliente-kpis {
    grid-template-columns: 1fr;
  }

  .biblioteca-card {
    grid-template-columns: 1fr;
  }

  .biblioteca-cover {
    max-width: 180px;
  }

  .biblioteca-head,
  .pedido-card-head,
  .pedido-item-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .pedido-timeline {
    grid-template-columns: 1fr;
  }

  .biblioteca-entrega-credenciales {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   CATALOG v2 — PREMIUM EDITORIAL ARCHITECTURE
   ═══════════════════════════════════════════════════════════════ */

/* ── Catalog main wrapper ── */
.catalog-main {
  padding: 0;
  display: block;
  width: 100%;
  min-width: 0;
}

.catalog-main > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

/* ── Control Center Bar ── */
.catalog-control-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 32px;
  border-bottom: 1px solid rgba(106, 140, 255, 0.14);
  background: rgba(6, 10, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.catalog-ctrl-right,
.catalog-search-wrap,
.catalog-search-input,
.catalog-quick-filters,
#catalog-editorial,
#catalog-results {
  min-width: 0;
  max-width: 100%;
}

.catalog-ctrl-kpis {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.catalog-ctrl-kpi {
  display: flex;
  align-items: center;
  gap: 7px;
  font: 600 0.78rem 'Rajdhani', sans-serif;
  color: #a8bce0;
  letter-spacing: 0.02em;
}

.catalog-ctrl-kpi strong {
  color: #dce5ff;
  font: 700 0.9rem 'Oxanium', sans-serif;
}

.catalog-ctrl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-green { background: #35c48b; box-shadow: 0 0 7px #35c48b; animation: pulse-dot 2.6s ease-in-out infinite; }
.dot-hot   { background: #f8a62f; box-shadow: 0 0 7px #f8a62f; animation: pulse-dot 2.6s ease-in-out infinite 0.5s; }
.dot-blue  { background: #5b9fff; box-shadow: 0 0 7px #5b9fff; animation: pulse-dot 2.6s ease-in-out infinite 1s; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.catalog-search-wrap { position: relative; }

.catalog-search-input {
  background: rgba(14, 22, 46, 0.7);
  border: 1px solid rgba(106, 140, 255, 0.24);
  border-radius: 14px;
  color: #dce5ff;
  font: 500 0.88rem 'Rajdhani', sans-serif;
  height: 42px;
  padding: 0 18px;
  width: 300px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.catalog-search-input:focus {
  outline: none;
  border-color: rgba(127, 91, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(127, 91, 255, 0.12);
}

.catalog-search-input::placeholder { color: #6a7ca3; }

/* ── Quick Filter Chips ── */
.catalog-quick-filters {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 32px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(106, 140, 255, 0.1);
  background: rgba(4, 8, 18, 0.5);
}

.catalog-quick-filters::-webkit-scrollbar { display: none; }

.catalog-qchip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(106, 140, 255, 0.24);
  background: rgba(14, 22, 46, 0.5);
  color: #8da3cc;
  font: 600 0.72rem 'Rajdhani', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, color 0.18s, box-shadow 0.18s;
}

.catalog-qchip:hover {
  border-color: rgba(127, 91, 255, 0.44);
  background: rgba(127, 91, 255, 0.1);
  color: #dce5ff;
}

.catalog-qchip.is-active {
  border-color: rgba(127, 91, 255, 0.6);
  background: rgba(127, 91, 255, 0.2);
  color: #dfd6ff;
  box-shadow: 0 0 12px rgba(127, 91, 255, 0.2);
}

/* ── Section --tight variant ── */
.section--tight { padding-top: 1.2rem; padding-bottom: 1.2rem; }

/* ── Editorial sections ── */
.catalog-section {
  padding: 3.2rem 32px;
  border-bottom: 1px solid rgba(106, 140, 255, 0.07);
}

.catalog-section:last-child { border-bottom: none; }

.catalog-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.catalog-sec-kicker {
  margin: 0 0 5px;
  color: #6a7ca3;
  font: 600 0.7rem 'Rajdhani', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-sec-title {
  margin: 0;
  font: 700 clamp(1.15rem, 2vw, 1.6rem) 'Oxanium', sans-serif;
  line-height: 1.12;
}

.catalog-sec-cta {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(106, 140, 255, 0.24);
  background: rgba(14, 22, 46, 0.4);
  color: #8da3cc;
  font: 600 0.72rem 'Rajdhani', sans-serif;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.catalog-sec-cta:hover {
  border-color: rgba(127, 91, 255, 0.5);
  color: #dce5ff;
}

.catalog-sec-copy {
  margin: -10px 0 18px;
  color: #7a90c0;
  font-size: 0.88rem;
  max-width: 56ch;
}

.catalog-sec-empty {
  color: #6a80aa;
  padding: 12px 0;
  font-size: 0.88rem;
}

/* ── Featured offer zone ── */
.catalog-featured-zone-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 14px;
}

.catalog-featured-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(248, 166, 47, 0.28);
  background: linear-gradient(158deg, rgba(22, 30, 56, 0.98), rgba(8, 14, 30, 0.98));
  align-items: center;
}

.catalog-featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 10%, rgba(248, 166, 47, 0.12) 0%, transparent 48%);
  pointer-events: none;
}

.catalog-featured-media {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  background-color: #12213a;
  box-shadow: 0 20px 40px rgba(2, 6, 18, 0.45);
}

.catalog-featured-media .live-chip {
  position: absolute;
  top: 10px;
  left: 10px;
}

.catalog-featured-discount {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 75, 96, 0.2);
  border: 1px solid rgba(255, 75, 96, 0.44);
  color: #ffd0d8;
  font: 700 0.68rem 'Rajdhani', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-featured-copy { display: grid; gap: 10px; }

.catalog-featured-kicker {
  color: #f8a62f;
  font: 700 0.68rem 'Rajdhani', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-featured-title {
  margin: 0;
  font: 700 clamp(1.1rem, 1.7vw, 1.45rem) 'Oxanium', sans-serif;
  line-height: 1.2;
}

.catalog-featured-desc {
  margin: 0;
  color: #8da3cc;
  font-size: 0.85rem;
  line-height: 1.5;
}

.catalog-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-featured-price {
  font: 700 1.35rem 'Oxanium', sans-serif;
  color: #fff;
}

.catalog-featured-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-featured-side {
  display: grid;
  gap: 10px;
  align-content: start;
}

/* ── Rail card (horizontal scroll compact card) ── */
.catalog-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 290px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(106, 140, 255, 0.2) transparent;
}

.catalog-rail--cards {
  grid-auto-columns: minmax(280px, 340px);
}

.catalog-rail--cards .product-card {
  min-height: 430px;
}

.catalog-rail::-webkit-scrollbar { height: 4px; }
.catalog-rail::-webkit-scrollbar-thumb { background: rgba(106, 140, 255, 0.2); border-radius: 999px; }

.catalog-rail-skeleton {
  scroll-snap-align: start;
  height: 118px;
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(18, 26, 50, 0.7) 30%, rgba(32, 44, 72, 0.5) 50%, rgba(18, 26, 50, 0.7) 70%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
}

.catalog-rail-card {
  position: relative;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(106, 140, 255, 0.15);
  background: rgba(10, 18, 38, 0.7);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.catalog-rail-card:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 91, 255, 0.36);
  box-shadow: 0 12px 28px rgba(2, 6, 18, 0.22);
}

.catalog-rail-rank {
  position: absolute;
  top: 8px;
  left: 12px;
  font: 700 0.6rem 'Oxanium', sans-serif;
  color: rgba(170, 195, 255, 0.35);
  letter-spacing: 0.04em;
}

.catalog-rail-thumb {
  width: 58px;
  height: 74px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #121e36;
  flex-shrink: 0;
}

.catalog-rail-copy { display: grid; gap: 3px; min-width: 0; }

.catalog-rail-platform {
  font: 600 0.6rem 'Rajdhani', sans-serif;
  color: #6a7ca3;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.catalog-rail-title {
  margin: 0;
  font: 600 0.85rem 'Oxanium', sans-serif;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-rail-price {
  font: 700 0.86rem 'Oxanium', sans-serif;
  color: #dce5ff;
}

.catalog-rail-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(248, 166, 47, 0.14);
  border: 1px solid rgba(248, 166, 47, 0.36);
  color: #ffe4b8;
  font: 700 0.58rem 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  justify-self: start;
}

.catalog-rail-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.catalog-rail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(106, 140, 255, 0.28);
  background: rgba(106, 140, 255, 0.08);
  color: #b0c4e8;
  font: 600 0.68rem 'Rajdhani', sans-serif;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.catalog-rail-link:hover {
  border-color: rgba(127, 91, 255, 0.5);
  color: #dce5ff;
}

/* ── Cards grid for standard sections ── */
.catalog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-cards-grid--3col { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── Activity signal on cards ── */
.catalog-card-signal {
  margin: 2px 0 0;
  color: #59719a;
  font: 600 0.67rem 'Rajdhani', sans-serif;
  letter-spacing: 0.04em;
}

/* ── Card v2 hover enhancements ── */
.catalog-card-v2 {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.catalog-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px rgba(2, 6, 18, 0.32), 0 0 22px rgba(127, 91, 255, 0.1);
}

/* ── Experience tiles ── */
.catalog-exp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.catalog-exp-tile {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 18px 14px;
  border-radius: 18px;
  border: 1px solid rgba(106, 140, 255, 0.16);
  min-height: 132px;
  background: linear-gradient(158deg, rgba(16, 24, 50, 0.96), rgba(6, 12, 28, 0.96));
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
  text-decoration: none;
}

.catalog-exp-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(127, 91, 255, 0.36);
  box-shadow: 0 16px 32px rgba(2, 6, 18, 0.22);
}

.catalog-exp-tile--exp-coop   { background: linear-gradient(158deg, rgba(12, 50, 36, 0.92), rgba(6, 12, 28, 0.96)); }
.catalog-exp-tile--exp-terror { background: linear-gradient(158deg, rgba(50, 8, 16, 0.92), rgba(6, 12, 28, 0.96)); }
.catalog-exp-tile--exp-open   { background: linear-gradient(158deg, rgba(12, 24, 52, 0.92), rgba(6, 12, 28, 0.96)); }
.catalog-exp-tile--exp-online { background: linear-gradient(158deg, rgba(38, 8, 52, 0.92), rgba(6, 12, 28, 0.96)); }
.catalog-exp-tile--exp-racing { background: linear-gradient(158deg, rgba(52, 26, 8, 0.92), rgba(6, 12, 28, 0.96)); }
.catalog-exp-tile--exp-casual { background: linear-gradient(158deg, rgba(8, 38, 52, 0.92), rgba(6, 12, 28, 0.96)); }

.catalog-exp-chip {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(106, 140, 255, 0.12);
  border: 1px solid rgba(106, 140, 255, 0.28);
  color: #9ab8f0;
  font: 700 0.58rem 'Rajdhani', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.catalog-exp-tile h3 {
  margin: 0;
  font: 700 0.92rem 'Oxanium', sans-serif;
  color: #dce5ff;
}

.catalog-exp-tile p {
  margin: 0;
  color: #6a80aa;
  font: 400 0.74rem 'Rajdhani', sans-serif;
}

/* ── Results header ── */
.catalog-results-head-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.catalog-membership-badge {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(248, 201, 112, 0.58);
  background: linear-gradient(180deg, rgba(248, 201, 112, 0.2), rgba(177, 145, 255, 0.2));
  color: #ffecc7;
  font: 700 0.62rem "Rajdhani", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-card-psplus {
  border-color: rgba(248, 201, 112, 0.42);
  background:
    radial-gradient(circle at 82% 16%, rgba(248, 201, 112, 0.16), transparent 40%),
    radial-gradient(circle at 14% 84%, rgba(177, 145, 255, 0.2), transparent 44%),
    linear-gradient(160deg, rgba(16, 26, 51, 0.96), rgba(9, 16, 33, 0.98));
}

.catalog-card-psplus:hover {
  border-color: rgba(248, 201, 112, 0.72);
  box-shadow: 0 22px 38px rgba(2, 8, 20, 0.3), 0 0 24px rgba(248, 201, 112, 0.16);
}

.catalog-quickview-btn {
  border: 1px solid rgba(106, 140, 255, 0.34);
  border-radius: 9px;
  padding: 5px 10px;
  background: rgba(106, 140, 255, 0.12);
  color: #dce5ff;
  font: 700 0.68rem "Rajdhani", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.catalog-quickview-btn:hover {
  border-color: rgba(127, 91, 255, 0.58);
}

.catalog-reco-label {
  margin: 0;
  color: #8ca1cf;
  font: 700 0.66rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.catalog-quickview {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.catalog-quickview[hidden] {
  display: none !important;
}

.catalog-quickview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 16, 0.72);
  backdrop-filter: blur(6px);
}

.catalog-quickview-dialog {
  position: relative;
  width: min(920px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(127, 91, 255, 0.34);
  background: linear-gradient(165deg, rgba(14, 24, 49, 0.98), rgba(8, 16, 35, 0.98));
  padding: 22px;
  z-index: 1;
  box-shadow: 0 28px 56px rgba(1, 4, 14, 0.52);
}

.catalog-quickview-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(127, 91, 255, 0.34);
  background: rgba(127, 91, 255, 0.14);
  color: #e7dfff;
  cursor: pointer;
}

.catalog-quickview-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 20px;
}

.catalog-quickview-media {
  border-radius: 16px;
  min-height: 340px;
  background:
    linear-gradient(160deg, #28386f, #151f41);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(106, 140, 255, 0.3);
}

.catalog-quickview-media--psplus {
  border-color: rgba(248, 201, 112, 0.54);
  box-shadow: 0 0 20px rgba(248, 201, 112, 0.16);
}

.catalog-quickview-copy {
  display: grid;
  gap: 10px;
  align-content: start;
}

.catalog-quickview-copy h3 {
  margin: 0;
  font: 700 clamp(1.4rem, 2.3vw, 2rem) "Oxanium", sans-serif;
}

.catalog-quickview-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-quickview-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-modal-open {
  overflow: hidden;
}

/* ── Skeleton for instant/gems sections ── */
.premium-product-skeleton {
  border-radius: 18px;
  min-height: 280px;
  background: linear-gradient(110deg, rgba(16, 24, 48, 0.7) 30%, rgba(28, 40, 68, 0.5) 50%, rgba(16, 24, 48, 0.7) 70%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
}

/* ── Responsive adjustments ── */
@media (max-width: 1380px) {
  .catalog-featured-zone-inner { grid-template-columns: 1fr 300px; }
  .catalog-exp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .catalog-featured-zone-inner { grid-template-columns: 1fr; }
  .catalog-featured-side {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 1fr);
    overflow-x: auto;
    scrollbar-width: thin;
    gap: 10px;
  }
  .catalog-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-control-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .catalog-search-input { width: 100%; }
  .catalog-ctrl-right { width: 100%; }
}

@media (max-width: 900px) {
  .catalog-section { padding: 2rem 20px; }
  .catalog-control-bar { padding: 12px 20px; }
  .catalog-quick-filters { padding: 10px 20px; }
  .catalog-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-cards-grid--3col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-exp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-featured-card { grid-template-columns: 130px 1fr; }
}

@media (max-width: 640px) {
  .catalog-section { padding: 1.6rem 16px; }
  .catalog-control-bar { padding: 10px 16px; }
  .catalog-quick-filters { padding: 8px 16px; flex-wrap: nowrap; }
  .catalog-featured-card { grid-template-columns: 1fr; }
  .catalog-featured-media { aspect-ratio: 16/9; }
  .catalog-cards-grid { grid-template-columns: 1fr; gap: 10px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 12px; }
  .catalog-rail--cards { grid-auto-columns: minmax(270px, 88vw); }
  .catalog-exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-section-head { flex-direction: column; align-items: flex-start; }
  .catalog-ctrl-kpis { gap: 12px; }
  .catalog-search-input { width: 100%; }
  .catalog-quickview-dialog { padding: 14px; }
  .catalog-quickview-grid { grid-template-columns: 1fr; }
  .catalog-quickview-media { min-height: 220px; }
}

.catalog-live-feed {
  display: grid;
  gap: 8px;
}

.product-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.quick-add-btn {
  border: 1px solid rgba(71, 215, 162, 0.35);
  border-radius: 9px;
  padding: 5px 10px;
  background: rgba(71, 215, 162, 0.12);
  color: #d8f8eb;
  font: 700 0.68rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.quick-add-btn:hover {
  border-color: rgba(71, 215, 162, 0.62);
  box-shadow: 0 0 16px rgba(71, 215, 162, 0.16);
  transform: translateY(-1px);
}

.catalog-psplus-showcase {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(177, 145, 255, 0.44);
  background:
    radial-gradient(circle at 80% 18%, rgba(106, 140, 255, 0.2), transparent 40%),
    radial-gradient(circle at 14% 84%, rgba(177, 145, 255, 0.2), transparent 42%),
    linear-gradient(160deg, rgba(14, 24, 49, 0.96), rgba(8, 16, 35, 0.98));
  padding: 16px;
  display: grid;
  gap: 10px;
}

.catalog-psplus-showcase h3 {
  margin: 0;
  font: 700 1.02rem "Oxanium", sans-serif;
}

.catalog-psplus-showcase p {
  margin: 0;
  color: #adc0e7;
  font-size: 0.88rem;
  line-height: 1.45;
}

.catalog-psplus-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   PS STORE CATALOG  (.psc-*)
   catalogo.html — grid + sidebar filters + pagination
   ============================================================ */

/* ── Layout ──────────────────────────────────────────────── */
.psc-layout {
  display: block;
  width: 100%;
  min-width: 0;
  background: #0a0e1a;
  min-height: 100vh;
  padding-bottom: 80px;
}

.psc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 30px 28px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10,14,26,.92);
  backdrop-filter: blur(10px);
}

.psc-header-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.psc-header-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #e8eaf6;
  margin: 0;
}

#psc-count-label {
  font-size: 0.85rem;
  color: #8892b0;
}

.psc-header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Search ──────────────────────────────────────────────── */
.psc-search-wrap {
  position: relative;
}
.psc-search-wrap::before {
  content: '🔍';
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  pointer-events: none;
  opacity: .55;
}

.psc-search-input {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #e8eaf6;
  font-size: 0.9rem;
  padding: 8px 14px 8px 34px;
  width: 220px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.psc-search-input::placeholder { color: rgba(232,234,246,.35); }
.psc-search-input:focus {
  border-color: #006FCD;
  background: rgba(0,111,205,.08);
}

/* ── Sort ────────────────────────────────────────────────── */
.psc-sort-select {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #e8eaf6;
  font-size: 0.88rem;
  padding: 8px 12px;
  outline: none;
  cursor: pointer;
  transition: border-color .2s;
}
.psc-sort-select:focus { border-color: #006FCD; }

/* ── Filter toggle btn (mobile) ──────────────────────────── */
.psc-filter-toggle-btn {
  position: relative;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #e8eaf6;
  font-size: 0.88rem;
  padding: 8px 14px;
  cursor: pointer;
  transition: background .2s;
}
.psc-filter-toggle-btn:hover { background: rgba(0,111,205,.18); }

.psc-active-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: #006FCD;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
.psc-active-badge[hidden] { display: none; }

/* ── Body (sidebar + main) ───────────────────────────────── */
.psc-body {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.psc-sidebar {
  width: 260px;
  flex-shrink: 0;
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,.07);
  position: sticky;
  top: 65px;
  max-height: calc(100vh - 65px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.psc-sidebar::-webkit-scrollbar { width: 4px; }
.psc-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }

/* ══════════════════════════════════════════════════════════
   PS PLUS: PLANES + CUENTAS
   ══════════════════════════════════════════════════════════ */

.psc-psplus-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 32px 0;
}

.psc-psplus-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.psc-psplus-section-title {
  font-family: "Oxanium", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #e3e9f8;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(106, 140, 255, 0.3);
}

.psc-psplus-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.psc-psplus-grid--plans {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.psc-psplus-grid--cuentas {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.psc-psplus-card {
  background: linear-gradient(135deg, #0d1f47 0%, #1a2847 100%);
  border: 1.5px solid rgba(106, 140, 255, 0.4);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.psc-psplus-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 48px rgba(106, 140, 255, 0.25), 0 0 40px rgba(106, 140, 255, 0.15);
  border-color: rgba(106, 140, 255, 0.7);
}

.psc-psplus-card--plan {
  background: linear-gradient(135deg, #1a0033 0%, #330055 100%);
}

.psc-psplus-card--plan:hover {
  box-shadow: 0 12px 48px rgba(127, 91, 255, 0.25), 0 0 40px rgba(127, 91, 255, 0.15);
  border-color: rgba(127, 91, 255, 0.7);
}

.psc-psplus-card--cuenta {
  background: linear-gradient(135deg, #001a47 0%, #002855 100%);
}

.psc-psplus-card--cuenta:hover {
  box-shadow: 0 12px 48px rgba(0, 200, 255, 0.25), 0 0 40px rgba(0, 200, 255, 0.15);
  border-color: rgba(0, 200, 255, 0.7);
}

.psc-psplus-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1e2435, #2a3550);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.psc-psplus-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.psc-psplus-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.psc-psplus-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(106, 140, 255, 0.8);
  margin: 0;
}

.psc-psplus-card--plan .psc-psplus-label {
  color: rgba(127, 91, 255, 0.9);
}

.psc-psplus-card--cuenta .psc-psplus-label {
  color: rgba(0, 200, 255, 0.9);
}

.psc-psplus-name {
  font-family: "Oxanium", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  color: #e3e9f8;
  line-height: 1.3;
}

.psc-psplus-desc {
  font-size: 0.85rem;
  color: rgba(227, 233, 248, 0.7);
  margin: 0;
  line-height: 1.4;
}

.psc-psplus-type {
  font-size: 0.9rem;
  color: rgba(227, 233, 248, 0.6);
  margin: 0;
  font-style: italic;
}

.psc-psplus-duration {
  font-size: 0.85rem;
  color: rgba(106, 140, 255, 0.8);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.psc-psplus-time {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border-left: 3px solid rgba(106, 140, 255, 0.5);
}

.psc-psplus-time-label {
  font-size: 0.75rem;
  color: rgba(227, 233, 248, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.psc-psplus-time-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(0, 200, 255, 0.9);
}

.psc-psplus-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: rgba(106, 140, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(106, 140, 255, 0.2);
  margin-top: auto;
}

.psc-psplus-card--plan .psc-psplus-price {
  background: rgba(127, 91, 255, 0.1);
  border-color: rgba(127, 91, 255, 0.3);
}

.psc-psplus-card--cuenta .psc-psplus-price {
  background: rgba(0, 200, 255, 0.1);
  border-color: rgba(0, 200, 255, 0.3);
}

.psc-psplus-price--discount {
  position: relative;
}

.psc-psplus-price--dynamic {
  background: rgba(71, 215, 162, 0.1);
  border-color: rgba(71, 215, 162, 0.3);
}

.psc-psplus-final {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e3e9f8;
}

.psc-psplus-ref {
  font-size: 0.85rem;
  color: rgba(227, 233, 248, 0.5);
  text-decoration: line-through;
}

.psc-psplus-label-price {
  font-size: 0.7rem;
  color: rgba(227, 233, 248, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.psc-psplus-card .psc-card-qv {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(106, 140, 255, 0.2), rgba(127, 91, 255, 0.1));
  border: 1px solid rgba(106, 140, 255, 0.4);
  color: #e3e9f8;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.psc-psplus-card .psc-card-qv:hover {
  background: linear-gradient(135deg, rgba(106, 140, 255, 0.35), rgba(127, 91, 255, 0.25));
  border-color: rgba(106, 140, 255, 0.6);
  box-shadow: 0 0 16px rgba(106, 140, 255, 0.3);
}

.psc-psplus-card--plan .psc-card-qv {
  background: linear-gradient(135deg, rgba(127, 91, 255, 0.2), rgba(106, 140, 255, 0.1));
  border-color: rgba(127, 91, 255, 0.4);
}

.psc-psplus-card--plan .psc-card-qv:hover {
  background: linear-gradient(135deg, rgba(127, 91, 255, 0.35), rgba(106, 140, 255, 0.25));
  border-color: rgba(127, 91, 255, 0.6);
  box-shadow: 0 0 16px rgba(127, 91, 255, 0.3);
}

.psc-psplus-card--cuenta .psc-card-qv {
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.2), rgba(71, 215, 162, 0.1));
  border-color: rgba(0, 200, 255, 0.4);
}

.psc-psplus-card--cuenta .psc-card-qv:hover {
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.35), rgba(71, 215, 162, 0.25));
  border-color: rgba(0, 200, 255, 0.6);
  box-shadow: 0 0 16px rgba(0, 200, 255, 0.3);
}

.psc-badge--psplus-active {
  background: rgba(71, 215, 162, 0.2) !important;
  color: rgba(71, 215, 162, 1) !important;
  border: 1px solid rgba(71, 215, 162, 0.4);
}

.psc-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.psc-sidebar-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #8892b0;
  margin: 0;
}

.psc-clear-btn {
  background: none;
  border: none;
  color: #006FCD;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background .15s;
}
.psc-clear-btn:hover { background: rgba(0,111,205,.12); }

/* Filter group */
.psc-filter-group {
  margin-bottom: 22px;
}
.psc-filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8892b0;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
  display: block;
}

/* Chip row */
.psc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.psc-chip {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  color: #b0bbd4;
  font-size: 0.78rem;
  padding: 4px 12px;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  user-select: none;
}
.psc-chip:hover { background: rgba(0,111,205,.15); border-color: rgba(0,111,205,.5); }
.psc-chip.is-active {
  background: #006FCD;
  border-color: #006FCD;
  color: #fff;
  font-weight: 600;
}

/* Price range */
.psc-range {
  width: 100%;
  accent-color: #006FCD;
  cursor: pointer;
}
.psc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #8892b0;
  margin-top: 4px;
}
.psc-price-val {
  font-size: 0.82rem;
  color: #e8eaf6;
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

/* Overlay (mobile-only). En desktop NUNCA debe aparecer porque la
   sidebar es permanente. La declaracion responsiva esta debajo, junto a
   la sidebar mobile. */
.psc-overlay { display: none; }
.psc-overlay[hidden] { display: none; }
@media (max-width: 900px) {
  .psc-overlay {
    display: block;
  }
}

/* ── Main column ─────────────────────────────────────────── */
.psc-main {
  flex: 1;
  min-width: 0;
  padding: 24px 24px 40px;
}

/* Toolbar */
.psc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}
.psc-result-count {
  font-size: 0.85rem;
  color: #8892b0;
}

/* ── Grid ────────────────────────────────────────────────── */
.psc-grid {
  display: grid;
  /* Cards verticales compactas: entran tantas como quepan (>4 esta ok),
     mismo tamano que las cards del index. */
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

/* ── Card ────────────────────────────────────────────────── */
.psc-card {
  background: #111827;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s, box-shadow .18s;
  border: 1px solid rgba(255,255,255,.07);
}
.psc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  border-color: rgba(0,111,205,.3);
}
.psc-card--psplus {
  border-color: rgba(0,100,210,.35);
}
.psc-card--psplus .psc-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0;
  box-shadow: inset 0 0 0 2px rgba(0,111,205,.35);
  pointer-events: none;
}

/* Card thumbnail */
.psc-card-thumb {
  position: relative;
  aspect-ratio: 3/2;
  background: #1e2435;
  overflow: hidden;
}
.psc-card-thumb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  pointer-events: none;
}

/* Fallback gradient bg by id modulo */
.psc-card-fallback.p1 { background: linear-gradient(135deg, #1a1a3a, #2d1b4e); }
.psc-card-fallback.p2 { background: linear-gradient(135deg, #0d2137, #1a3a5c); }
.psc-card-fallback.p3 { background: linear-gradient(135deg, #1a2e1a, #2d4a1e); }
.psc-card-fallback.p4 { background: linear-gradient(135deg, #2e1a0d, #4a2e1e); }
.psc-card-fallback.p5 { background: linear-gradient(135deg, #1a0d2e, #2e1a4a); }
.psc-card-fallback.p6 { background: linear-gradient(135deg, #0d2e2e, #1e4a4a); }

/* Fav button */
.psc-card-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1;
}
.psc-card-fav:hover { background: rgba(0,0,0,.75); color: #fff; }
.psc-card-fav.is-active { color: #e53e3e; border-color: rgba(229,62,62,.4); }

/* Card body */
.psc-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.psc-card-platform {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #8892b0;
  margin: 0;
}
.psc-card-psplus-tag {
  font-size: 0.65rem;
  background: #006FCD;
  color: #fff;
  border-radius: 3px;
  padding: 1px 5px;
  font-weight: 700;
  vertical-align: middle;
}
.psc-card-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e8eaf6;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.psc-card-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #4ade80;
  margin: 4px 0 0;
}
.psc-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.psc-card-qv {
  flex: 1;
  background: rgba(0,111,205,.15);
  border: 1px solid rgba(0,111,205,.35);
  border-radius: 6px;
  color: #7ec8f9;
  font-size: 0.75rem;
  padding: 6px 0;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}
.psc-card-qv:hover { background: rgba(0,111,205,.3); border-color: rgba(0,111,205,.65); }
.psc-card-ver {
  flex: 1;
  background: #006FCD;
  border-radius: 6px;
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 0;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.psc-card-ver:hover { background: #0052a3; }

/* ── Badges ──────────────────────────────────────────────── */
.psc-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.3;
}
.psc-badge--offer  { background: #e53e3e; color: #fff; }
.psc-badge--avail  { background: rgba(0,0,0,.55); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }
.psc-badge--pause  { background: rgba(0,0,0,.55); color: #8892b0; border: 1px solid rgba(136,146,176,.2); }
.psc-badge--psplus { background: #006FCD; color: #fff; }

/* ── Pagination ──────────────────────────────────────────── */
.psc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 0 24px;
}
.psc-pagination[hidden] { display: none; }

.psc-page-btn {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px;
  color: #b0bbd4;
  font-size: 0.85rem;
  padding: 7px 14px;
  cursor: pointer;
  font-weight: 600;
  transition: background .15s;
}
.psc-page-btn:disabled { opacity: .3; cursor: default; }
.psc-page-btn:not(:disabled):hover { background: rgba(0,111,205,.18); border-color: rgba(0,111,205,.45); }

.psc-page-num {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  color: #b0bbd4;
  font-size: 0.85rem;
  min-width: 38px;
  height: 38px;
  padding: 0 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background .15s;
}
.psc-page-num:hover { background: rgba(0,111,205,.15); border-color: rgba(0,111,205,.4); }
.psc-page-num.is-active {
  background: #006FCD;
  border-color: #006FCD;
  color: #fff;
}
.psc-page-ellipsis {
  color: #8892b0;
  font-size: 0.85rem;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  height: 38px;
}

/* ── Empty / Error / Skeleton ────────────────────────────── */
.psc-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #8892b0;
  font-size: 0.95rem;
  padding: 60px 20px;
}
.psc-empty-link {
  color: var(--psc-accent, #006FCD);
  font-weight: 700;
  text-decoration: underline;
}

@keyframes psc-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.psc-skeleton {
  background: linear-gradient(90deg, #1e2435 25%, #252d40 50%, #1e2435 75%);
  background-size: 600px 100%;
  animation: psc-shimmer 1.4s infinite linear;
  border-radius: 10px;
  min-height: 220px;
}

/* ── Quick view overrides ────────────────────────────────── */
.psc-qv-prices {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.psc-qv-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4ade80;
}
.psc-qv-price--sec {
  color: #7ec8f9;
}
.psc-avail-chip {
  display: inline-block;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
}
.psc-avail--ok  { background: rgba(74,222,128,.12); color: #4ade80; border: 1px solid rgba(74,222,128,.3); }
.psc-avail--off { background: rgba(255,255,255,.05); color: #8892b0; border: 1px solid rgba(255,255,255,.1); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .psc-body { display: block; }
  /* Panel de filtros premium tipo PlayStation Store / Steam.
     Slide-in desde la izquierda con backdrop blur. */
  .psc-sidebar {
    position: fixed;
    top: 0; left: 0;
    width: min(86vw, 340px);
    height: 100vh;
    max-height: 100vh;
    z-index: 70;
    background: linear-gradient(180deg, rgba(10, 14, 24, 0.985) 0%, rgba(8, 11, 19, 0.985) 100%);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 24px 0 64px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(37, 99, 235, 0.05);
    transform: translateX(-105%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0.2, 1);
    padding: 64px 18px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: auto;
  }
  .psc-sidebar.is-open {
    transform: translateX(0);
  }
  /* Overlay backdrop premium */
  .psc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 4, 10, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }
  .psc-overlay:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
  }
  /* Lock scroll del body cuando el panel esta abierto. */
  body.psc-filters-open { overflow: hidden; }
  .psc-header { padding: 18px 16px; }
  .psc-main  { padding: 16px 12px 40px; }

  /* Boton de cerrar dentro del panel (X). */
  .psc-sidebar-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  }
  .psc-sidebar-close:hover {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.4);
    transform: rotate(90deg);
  }

  /* Animacion de entrada de los grupos del panel. */
  .psc-sidebar.is-open .psc-filter-group {
    animation: psc-filter-fadein 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .psc-sidebar.is-open .psc-filter-group:nth-child(1) { animation-delay: 0.06s; }
  .psc-sidebar.is-open .psc-filter-group:nth-child(2) { animation-delay: 0.10s; }
  .psc-sidebar.is-open .psc-filter-group:nth-child(3) { animation-delay: 0.14s; }
  .psc-sidebar.is-open .psc-filter-group:nth-child(4) { animation-delay: 0.18s; }
  .psc-sidebar.is-open .psc-filter-group:nth-child(5) { animation-delay: 0.22s; }
  .psc-sidebar.is-open .psc-filter-group:nth-child(6) { animation-delay: 0.26s; }
}
@keyframes psc-filter-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
/* En desktop el boton de cerrar del panel no se ve (sidebar permanente). */
@media (min-width: 901px) {
  .psc-sidebar-close { display: none !important; }
}
@media (max-width: 480px) {
  .psc-search-input { width: 160px; }
  .psc-sidebar { width: min(92vw, 320px); }
}

/* ── QV action buttons ───────────────────────────────────── */
.psc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #006FCD;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.psc-btn-primary:hover { background: #0052a3; }
.psc-btn-primary:disabled { opacity: .4; cursor: default; }

.psc-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,111,205,.12);
  border: 1px solid rgba(0,111,205,.4);
  color: #7ec8f9;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.psc-btn-secondary:hover { background: rgba(0,111,205,.25); border-color: rgba(0,111,205,.7); }
.psc-btn-secondary:disabled { opacity: .4; cursor: default; }

.psc-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  color: rgba(255,255,255,.65);
  font-size: 1.15rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.psc-btn-icon:hover { background: rgba(255,255,255,.12); color: #fff; }
.psc-btn-icon.is-active { color: #e53e3e; border-color: rgba(229,62,62,.4); }

/* ============================================================
   PSC PREMIUM v2 — fine UX/UI iteration
   Overrides & additions on top of base psc-* block
   ============================================================ */

/* ── Design tokens ───────────────────────────────────────── */
:root {
  --psc-ease:       cubic-bezier(.4, 0, .2, 1);
  --psc-ease-out:   cubic-bezier(.0, 0, .2, 1);
  --psc-bg:         #08090f;
  --psc-surface:    #0d1117;
  --psc-surface2:   #131a25;
  --psc-border:     rgba(255,255,255,.07);
  --psc-text:       #e2e8f0;
  --psc-muted:      #64748b;
  --psc-accent:     #2563eb;
  --psc-offer:      #f97316;
  --psc-psplus:     #a855f7;
  --psc-avail:      #22c55e;
  --psc-header-h:   58px;
}

/* ── Layout — darker bg ──────────────────────────────────── */
.psc-layout { background: var(--psc-bg); }

/* ── Header — glass premium ─────────────────────────────── */
.psc-header {
  padding: 23px 24px;
  background: rgba(8, 9, 15, .88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: rgba(255,255,255,.06);
  --psc-header-h: 58px;
}
.psc-header-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
#psc-count-label {
  color: var(--psc-muted);
  font-size: 0.8rem;
}

/* ── Search ──────────────────────────────────────────────── */
.psc-search-input {
  border-radius: 10px;
  font-size: 0.86rem;
  padding: 7px 14px 7px 32px;
  width: 210px;
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.09);
  transition: border-color .2s var(--psc-ease), background .2s var(--psc-ease), box-shadow .2s var(--psc-ease);
}
.psc-search-input:focus {
  border-color: var(--psc-accent);
  background: rgba(37,99,235,.07);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

/* ── Sort ────────────────────────────────────────────────── */
.psc-sort-select {
  border-radius: 10px;
  font-size: 0.86rem;
  padding: 7px 12px;
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.09);
  color: #eef3ff;
}

.psc-sort-select option,
.psc-sort-select optgroup {
  background: #121a2b;
  color: #eef3ff;
}

/* ── Filter toggle ───────────────────────────────────────── */
.psc-filter-toggle-btn {
  border-radius: 10px;
  font-size: 0.86rem;
  padding: 7px 14px;
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.09);
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.psc-filter-toggle-btn:hover {
  background: rgba(37,99,235,.14);
  border-color: rgba(37,99,235,.4);
}
.psc-active-badge { background: var(--psc-offer); }

/* En desktop la sidebar de filtros vive permanente en el layout — el boton
   solo tiene sentido en mobile, donde abre/cierra el panel deslizante. */
@media (min-width: 901px) {
  .psc-filter-toggle-btn { display: none !important; }
}

/* ── Sidebar — enhanced ──────────────────────────────────── */
.psc-sidebar {
  top: var(--psc-header-h);
  max-height: calc(100vh - var(--psc-header-h));
  background: rgba(8,9,15,.5);
  border-right-color: rgba(255,255,255,.06);
}
.psc-sidebar-title { color: var(--psc-muted); }
.psc-clear-btn { color: var(--psc-accent); }
.psc-filter-label { color: var(--psc-muted); }

/* Chip refinement */
.psc-chip {
  font-size: 0.76rem;
  border-radius: 6px;
  padding: 4px 10px;
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.09);
  transition: all .14s var(--psc-ease);
}
.psc-chip:hover {
  background: rgba(37,99,235,.12);
  border-color: rgba(37,99,235,.4);
  color: #93c5fd;
}
.psc-chip.is-active {
  background: var(--psc-accent);
  border-color: var(--psc-accent);
}

/* ── Grid ────────────────────────────────────────────────── */
.psc-grid { gap: 14px; }

/* ── CARD — Premium ─────────────────────────────────────── */
.psc-card {
  background: var(--psc-surface);
  border-color: rgba(255,255,255,.06);
  border-radius: 12px;
  will-change: transform;
  contain: layout style;
  transition:
    transform .24s var(--psc-ease),
    box-shadow .24s var(--psc-ease),
    border-color .24s var(--psc-ease);
}
.psc-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow:
    0 20px 48px rgba(0,0,0,.55),
    0 0 0 1px rgba(37,99,235,.35),
    0 0 30px rgba(37,99,235,.08);
  border-color: rgba(37,99,235,.4);
}

/* ── Thumb — aspect ratio more compact ──────────────────── */
.psc-card-thumb {
  aspect-ratio: 3/2;   /* keep 3/2 but override with inner bg for zoom */
  background: var(--psc-surface2);
  position: relative;
  overflow: hidden;
}

/* Inner background layer (zoom on hover) */
.psc-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform .45s var(--psc-ease);
  border-radius: 0;
}
.psc-card:hover .psc-card-bg { transform: scale(1.08); }

/* Hover overlay gradient */
.psc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.18) 55%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity .24s var(--psc-ease);
  pointer-events: none;
  z-index: 1;
}
.psc-card:hover .psc-card-overlay { opacity: 1; }

/* Badges sit above overlay */
.psc-badge { z-index: 2; }
.psc-card-fav { z-index: 2; }

/* Imagen/thumb de la card del catalogo clickeable -> producto.html?id=ID.
   Cubre todo el thumb pero queda debajo de badge y favorito (z-index 2). */
.psc-card-thumb-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  cursor: pointer;
}

/* === Card 100% clickeable ===========================================
   .psc-card.is-clickable se compone de un <a class="psc-card-link"> que
   envuelve thumb + body, y un boton de favorito posicionado absolute por
   encima. Toda la card responde al click navegando a producto.html?id=ID.
   No tocamos la estructura interna de .psc-card-thumb / .psc-card-body. */
.psc-card.is-clickable {
  position: relative;
}
.psc-card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  font: inherit;
  width: 100%;
}
.psc-card-link:focus-visible {
  outline: 2px solid rgba(37,99,235,.65);
  outline-offset: 2px;
  border-radius: 12px;
}
.psc-card-link--button { cursor: pointer; }
.psc-card.is-clickable .psc-card-fav {
  z-index: 4;
}
/* En cards clickeables el favorito es el unico boton interactivo del
   thumb: aseguramos que no quede tapado por overlays/badges. */
.psc-card.is-clickable .psc-card-thumb { z-index: auto; }
.psc-card.is-clickable .psc-badge { z-index: 3; }

/* PS Plus: el boton Comprar va abajo, dentro de un overlay que NO esta
   dentro del link clickeable. */
.psc-card-overlay-actions {
  position: relative;
  z-index: 3;
  padding: 0 12px 12px;
  display: flex;
  gap: 8px;
}
.psc-card-overlay-actions .psc-card-ver {
  flex: 1;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  background: var(--psc-accent, #2563eb);
  color: #fff;
  border: 0;
  transition: background .15s ease, transform .15s ease;
}
.psc-card-overlay-actions .psc-card-ver:hover:not(:disabled) {
  background: #1d4ed8;
  transform: translateY(-1px);
}
.psc-card-overlay-actions .psc-card-ver:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* Remove old ::after gradient (replaced by .psc-card-overlay) */
.psc-card-thumb::after { display: none; }

/* ── Card body — tighter ─────────────────────────────────── */
.psc-card-body {
  padding: 10px 12px 12px;
  gap: 2px;
  background: var(--psc-surface);
}
.psc-card-platform {
  font-size: 0.67rem;
  color: var(--psc-muted);
  letter-spacing: .09em;
}
.psc-card-name {
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: -.01em;
  -webkit-line-clamp: 1;
  color: #dde4f0;
}
.psc-card-price {
  display: grid;
  gap: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--psc-muted);
  margin-top: 4px;
  line-height: 1.2;
}
.psc-card-price strong {
  color: var(--psc-avail);
  font-weight: 700;
}

/* Actions — hidden until hover */
.psc-card-actions {
  margin-top: 8px;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity .2s var(--psc-ease),
    transform .2s var(--psc-ease);
}
.psc-card:hover .psc-card-actions,
.psc-card:focus-within .psc-card-actions {
  opacity: 1;
  transform: none;
}
.psc-card-qv {
  font-size: 0.73rem;
  border-radius: 7px;
  background: rgba(37,99,235,.12);
  border-color: rgba(37,99,235,.3);
  color: #93c5fd;
}
.psc-card-qv:hover {
  background: rgba(37,99,235,.25);
  border-color: rgba(37,99,235,.6);
}
.psc-card-ver {
  font-size: 0.73rem;
  border-radius: 7px;
  background: var(--psc-accent);
}
.psc-card-ver:hover { background: #1d4ed8; }

/* ── Card fav button ─────────────────────────────────────── */
.psc-card-fav {
  width: 30px;
  height: 30px;
  font-size: 0.9rem;
  top: 7px;
  right: 7px;
}

/* ── PS Plus card — violet accent ───────────────────────── */
.psc-card--psplus { border-color: rgba(168,85,247,.28); }
.psc-card--psplus:hover {
  border-color: rgba(168,85,247,.5);
  box-shadow:
    0 20px 48px rgba(0,0,0,.55),
    0 0 0 1px rgba(168,85,247,.4),
    0 0 30px rgba(168,85,247,.1);
}
.psc-card-psplus-tag {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  font-size: 0.62rem;
}

/* ── Badge — semantic colors ─────────────────────────────── */
.psc-badge--offer {
  background: var(--psc-offer);
  color: #fff;
  font-weight: 800;
}
.psc-badge--avail {
  background: rgba(34,197,94,.1);
  color: var(--psc-avail);
  border: 1px solid rgba(34,197,94,.3);
}
.psc-badge--pause {
  background: rgba(255,255,255,.06);
  color: var(--psc-muted);
  border: 1px solid rgba(255,255,255,.1);
}
.psc-badge--psplus {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  color: #fff;
}

/* ── Lazy load card entrance ─────────────────────────────── */
@keyframes psc-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.psc-card[data-visible] {
  animation: psc-card-in .3s var(--psc-ease-out) both;
}

/* ── View toggle buttons ─────────────────────────────────── */
.psc-view-toggle {
  display: flex;
  gap: 4px;
  align-items: center;
}
.psc-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  color: rgba(255,255,255,.4);
  font-size: 1rem;
  cursor: pointer;
  transition: background .14s, color .14s, border-color .14s;
}
.psc-view-btn:hover {
  background: rgba(37,99,235,.12);
  color: #93c5fd;
  border-color: rgba(37,99,235,.35);
}
.psc-view-btn.is-active {
  background: var(--psc-accent);
  border-color: var(--psc-accent);
  color: #fff;
}

/* ── Toolbar ─────────────────────────────────────────────── */
.psc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}
.psc-result-count { font-size: 0.82rem; color: var(--psc-muted); }

/* ── Compact list view ───────────────────────────────────── */
.psc-grid--compact {
  grid-template-columns: 1fr;
  gap: 6px;
}
.psc-grid--compact .psc-card {
  flex-direction: row;
  border-radius: 9px;
  min-height: 72px;
  max-height: 80px;
  contain: strict;
}
.psc-grid--compact .psc-card:hover {
  transform: translateX(3px);
}
.psc-grid--compact .psc-card-thumb {
  width: 112px;
  aspect-ratio: unset;
  height: 100%;
  flex-shrink: 0;
  border-radius: 9px 0 0 9px;
}
.psc-grid--compact .psc-card-bg {
  border-radius: 9px 0 0 9px;
}
.psc-grid--compact .psc-card-overlay { display: none; }
.psc-grid--compact .psc-card-body {
  flex-direction: row;
  align-items: center;
  flex: 1;
  padding: 8px 14px;
  gap: 14px;
  overflow: hidden;
}
.psc-grid--compact .psc-card-platform { display: none; }
.psc-grid--compact .psc-card-name {
  flex: 1;
  font-size: 0.88rem;
  -webkit-line-clamp: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
}
.psc-grid--compact .psc-card-price {
  margin: 0;
  font-size: 0.84rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.psc-grid--compact .psc-card-actions {
  opacity: 1;
  transform: none;
  margin: 0;
  flex-shrink: 0;
  gap: 6px;
}
.psc-grid--compact .psc-card-fav {
  position: static;
  background: transparent;
  border: none;
  width: 26px;
  height: 26px;
  font-size: 0.85rem;
}
.psc-grid--compact .psc-badge {
  position: static;
  display: inline-flex;
  font-size: 0.6rem;
  padding: 2px 6px;
  flex-shrink: 0;
}

/* ── Skeleton — improved ─────────────────────────────────── */
@keyframes psc-shimmer-v2 {
  0%   { background-position: -800px 0; }
  100% { background-position:  800px 0; }
}
/* Override previous shimmer */
.psc-skeleton {
  background: linear-gradient(90deg,
    var(--psc-surface) 25%,
    #1a2030 50%,
    var(--psc-surface) 75%
  );
  background-size: 800px 100%;
  animation: psc-shimmer-v2 1.5s infinite linear;
  border-radius: 12px;
  min-height: 200px;
  opacity: .8;
}

/* ── Pagination — refined ────────────────────────────────── */
.psc-page-num.is-active {
  background: var(--psc-accent);
  border-color: var(--psc-accent);
}

/* ── Quick View — cinematic ─────────────────────────────── */
.catalog-quickview {
  padding: 0;
  align-items: center;
  justify-content: center;
}
/* Entering animation on show */
.catalog-quickview:not([hidden]) {
  animation: qv-in .2s var(--psc-ease) both;
}
@keyframes qv-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.catalog-quickview-backdrop {
  background: rgba(4, 6, 16, .78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.catalog-quickview-dialog {
  background: linear-gradient(155deg, #0d1525 0%, #0f1420 60%, #080d18 100%);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  box-shadow:
    0 40px 120px rgba(0,0,0,.75),
    0 0 0 1px rgba(37,99,235,.08),
    0 0 80px rgba(37,99,235,.05);
  animation: qv-dialog-in .26s var(--psc-ease) both;
  padding: 0;
  overflow: hidden;
}
@keyframes qv-dialog-in {
  from { opacity: 0; transform: scale(.93) translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.catalog-quickview-close {
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.65);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
}
.catalog-quickview-close:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.catalog-quickview-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
}
.catalog-quickview-media {
  min-height: 320px;
  border-radius: 0;
  border: none;
  position: relative;
}
.catalog-quickview-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 55%,
    rgba(8,13,24,.85) 100%
  );
  pointer-events: none;
}
.catalog-quickview-copy {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-content: start;
}
.catalog-quickview-copy h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f0f4ff;
  letter-spacing: -.02em;
  margin: 4px 0 10px;
  line-height: 1.25;
}
.catalog-quickview-meta {
  gap: 7px;
  margin-bottom: 10px;
}
.product-platform {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.07);
  border-radius: 5px;
  padding: 3px 8px;
}
.catalog-membership-badge {
  font-size: 0.7rem;
  font-weight: 800;
  background: linear-gradient(90deg, #6d28d9, #a855f7);
  color: #fff;
  border-radius: 5px;
  padding: 3px 9px;
  letter-spacing: .02em;
}
#qv-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
#qv-badges .psc-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  border-radius: 5px;
  padding: 4px 10px;
}
.psc-kicker {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--psc-accent);
  margin: 0 0 2px;
}
.psc-qv-prices {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.psc-qv-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--psc-avail);
  margin: 0;
}
.psc-qv-price--sec { color: #7ec8f9; }
.psc-qv-avail { margin-bottom: 14px; }
.psc-avail-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
}
.psc-avail--ok {
  background: rgba(34,197,94,.1);
  color: var(--psc-avail);
  border: 1px solid rgba(34,197,94,.28);
}
.psc-avail--off {
  background: rgba(255,255,255,.05);
  color: var(--psc-muted);
  border: 1px solid rgba(255,255,255,.1);
}
.catalog-quickview-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
/* Better CTA buttons in QV */
.psc-btn-primary {
  background: var(--psc-accent);
  border-radius: 9px;
  font-size: 0.88rem;
  padding: 10px 20px;
  font-weight: 700;
  letter-spacing: .01em;
}
.psc-btn-primary:hover { background: #1d4ed8; }
.psc-btn-secondary {
  background: rgba(37,99,235,.1);
  border-color: rgba(37,99,235,.35);
  color: #93c5fd;
  border-radius: 9px;
  font-size: 0.88rem;
  padding: 10px 20px;
}
.psc-btn-secondary:hover {
  background: rgba(37,99,235,.22);
  border-color: rgba(37,99,235,.6);
}
.psc-btn-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  font-size: 1.1rem;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.psc-btn-icon.is-active { color: #f87171; border-color: rgba(248,113,113,.4); }

/* ── Responsive v2 ───────────────────────────────────────── */
@media (max-width: 960px) {
  .psc-grid { gap: 10px; }
  .psc-main { padding: 14px 12px 40px; }
  .psc-header { padding: 10px 14px; }
  .psc-search-input { width: 180px; }

  /* QV mobile — stack */
  .catalog-quickview-grid {
    grid-template-columns: 1fr;
  }
  .catalog-quickview-media {
    min-height: 180px;
    aspect-ratio: 16/7;
  }
  .catalog-quickview-media::after {
    background: linear-gradient(to top, rgba(8,13,24,.9) 0%, transparent 60%);
  }
  .catalog-quickview-dialog { max-height: 90vh; overflow-y: auto; }
  .catalog-quickview-copy { padding: 14px 16px 18px; }

  /* Sidebar v2 mobile */
  .psc-sidebar {
    top: 0;
    padding-top: 60px;
    background: rgba(8,9,15,.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}
@media (max-width: 540px) {
  .psc-grid { gap: 8px; }
  .psc-search-input { width: 140px; font-size: 0.82rem; }
  .psc-header-title { font-size: 1.05rem; }
  .psc-card-name { font-size: 0.82rem; }
  .psc-card-price { font-size: 0.8rem; }
  .psc-card-actions { gap: 5px; }
  .psc-card-qv, .psc-card-ver { font-size: 0.68rem; padding: 5px 0; }
}

/* === #8: Catalogo mobile en 2 columnas exactas ====================== */
@media (max-width: 640px) {
  /* Forzamos 2 columnas en la grilla del catalogo y la de ofertas
     (que comparte clase .psc-grid). Cards mas chicas, legibles. */
  .psc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }
  /* Compact view conserva 1 columna como lista. */
  .psc-grid.psc-grid--compact {
    grid-template-columns: 1fr !important;
  }
  /* Ajustes tipograficos y de spacing en las cards a 2 col. */
  .psc-grid .psc-card-name {
    font-size: 0.78rem;
    -webkit-line-clamp: 2;
    line-height: 1.22;
  }
  .psc-grid .psc-card-platform {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
  }
  .psc-grid .psc-card-price {
    font-size: 0.68rem;
    gap: 2px;
  }
  .psc-layout .psc-card .psc-card-price > span {
    padding: 5px 7px;
    font-size: 0.74rem;
    gap: 6px;
  }
  .psc-layout .psc-card .psc-card-price > span > strong {
    font-size: 0.58rem;
  }
  .pso-price-row { padding: 5px 7px; }
  .pso-price-label { font-size: 0.58rem; }
  .pso-price-value { font-size: 0.74rem; }
  .pso-urgency { font-size: 0.6rem; }
  .pso-availability { font-size: 0.62rem; padding: 2px 7px; }
  .psc-card-body { padding: 9px 10px 10px; }
  .psc-card-fav { width: 26px; height: 26px; font-size: 0.78rem; top: 5px; right: 5px; }
  .psc-badge { font-size: 0.58rem; padding: 2px 6px; bottom: 6px; left: 6px; }
  .pso-discount-pill { font-size: 0.62rem; padding: 2px 7px; }
  .pso-badge-stack { gap: 3px; }
  .pso-sale-badge { font-size: 0.5rem; padding: 1px 4px; }
}
@media (max-width: 380px) {
  .psc-grid { gap: 8px; }
  .psc-grid .psc-card-name { font-size: 0.72rem; }
}
/* ── Performance ─────────────────────────────────────────── */
.psc-grid { contain: layout; }
.psc-card  { contain: layout style; }
.psc-card-bg { backface-visibility: hidden; }
.catalog-quickview-backdrop { will-change: opacity; }

/* ── Compact: mobile adjustment ──────────────────────────── */
@media (max-width: 540px) {
  .psc-grid--compact .psc-card {
    min-height: 60px;
    max-height: 68px;
  }
  .psc-grid--compact .psc-card-thumb { width: 88px; }
  .psc-grid--compact .psc-card-qv { display: none; }
}

/* ============================================================
   OFERTAS PREMIUM (.pso-*)
   ============================================================ */

:root {
  --pso-bg: #090c14;
  --pso-surface: #121826;
  --pso-border: rgba(255, 255, 255, 0.08);
  --pso-text: #f2f6ff;
  --pso-muted: #9aa8c6;
  --pso-accent: #ff6d3a;
  --pso-accent-soft: #ff926f;
  --pso-accent-cool: #ffb08f;
  --pso-ok: #4ade80;
}

.pso-layout {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% -6%, rgba(255, 109, 58, 0.22), transparent 36%),
    radial-gradient(circle at 92% 8%, rgba(58, 117, 255, 0.12), transparent 28%),
    var(--pso-bg);
  color: var(--pso-text);
  padding-bottom: 70px;
}

.pso-hero {
  position: relative;
  margin: 18px 24px 12px;
  border: 1px solid rgba(255, 147, 112, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(255, 109, 58, 0.2), rgba(255, 109, 58, 0.04) 45%, rgba(30, 52, 92, 0.45)),
    #111827;
  padding: 18px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
}

.pso-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 14%, rgba(255, 109, 58, 0.26), transparent 32%),
    radial-gradient(circle at 28% 90%, rgba(255, 172, 120, 0.14), transparent 40%);
  pointer-events: none;
}

.pso-hero-copy,
.pso-hero-side {
  position: relative;
  z-index: 1;
}

.pso-hero-copy {
  display: grid;
  gap: 6px;
  max-width: 720px;
}

.pso-kicker {
  margin: 0;
  font: 700 0.72rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--pso-accent-cool);
}

.pso-hero h1 {
  margin: 0;
  font: 700 clamp(1.6rem, 3vw, 2.2rem) "Oxanium", sans-serif;
  letter-spacing: -0.02em;
}

.pso-subtitle {
  margin: 0;
  color: #c6d2ed;
  font-size: 0.98rem;
}

.pso-hero-side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.pso-countdown {
  border-radius: 999px;
  border: 1px solid rgba(255, 148, 112, 0.45);
  background: rgba(8, 12, 20, 0.48);
  padding: 7px 14px;
  color: #ffd6c6;
  font: 700 0.8rem "Rajdhani", sans-serif;
  letter-spacing: 0.06em;
  box-shadow: 0 0 24px rgba(255, 109, 58, 0.22);
}

.pso-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.pso-toolbar-head {
  top: 0;
  z-index: 42;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.pso-body {
  align-items: stretch;
}

.pso-sidebar {
  border-right-color: rgba(255, 255, 255, 0.07);
  background: rgba(7, 10, 18, 0.55);
}

.pso-toggle-list {
  display: grid;
  gap: 8px;
}

.pso-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b6c4e2;
  font: 600 0.86rem "Rajdhani", sans-serif;
}

.pso-toggle input {
  accent-color: var(--pso-accent);
}

.pso-main {
  padding-top: 18px;
}

.pso-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 4px 2px;
  scroll-snap-type: x mandatory;
}

.pso-quick-chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d5def2;
  font: 700 0.78rem "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 0.18s cubic-bezier(.34,1.56,.64,1), border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.pso-quick-chip .px-icon { opacity: .85; }

.pso-quick-chip:hover {
  border-color: rgba(255, 147, 112, 0.65);
  background: rgba(255, 109, 58, 0.16);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 109, 58, 0.15);
}

.pso-quick-chip:focus-visible {
  outline: 2px solid rgba(255, 147, 112, 0.7);
  outline-offset: 2px;
}

.pso-quick-chip.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(255, 109, 58, 0.95), rgba(255, 140, 95, 0.92));
  border-color: rgba(255, 200, 175, 0.55);
  box-shadow: 0 0 24px rgba(255, 109, 58, 0.4), 0 6px 18px rgba(255, 109, 58, 0.22);
  transform: translateY(-1px);
}

.pso-quick-chip.is-active .px-icon { opacity: 1; }

/* Grilla de ofertas: spacing mas generoso y padding superior. */
.pso-grid {
  gap: 18px;
  padding-top: 4px;
}

.pso-sticky-toolbar {
  position: sticky;
  top: 58px;
  z-index: 20;
  padding: 10px 0;
  margin-bottom: 14px;
  background: linear-gradient(180deg, rgba(9, 12, 20, 0.98), rgba(9, 12, 20, 0.75) 76%, transparent);
  backdrop-filter: blur(6px);
}

.pso-card {
  border-color: rgba(255, 148, 112, 0.24);
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.98), rgba(13, 18, 31, 0.98));
}

.pso-card:hover {
  border-color: rgba(255, 148, 112, 0.62);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 148, 112, 0.35),
    0 0 34px rgba(255, 109, 58, 0.2);
}

.pso-badge-stack {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: calc(100% - 56px);
}

.pso-sale-badge {
  border-radius: 5px;
  border: 1px solid rgba(255, 160, 126, 0.42);
  background: rgba(12, 16, 28, 0.82);
  color: #ffb898;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 5px;
}

.pso-discount-pill {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6432, #ff8b5f);
  color: #fff;
  font: 800 0.75rem "Rajdhani", sans-serif;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  box-shadow: 0 0 22px rgba(255, 100, 50, 0.35);
}

.pso-card-body {
  gap: 6px;
}

.pso-card .psc-card-platform {
  color: #9ba9c8;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.pso-card .psc-card-name {
  color: #f2f6ff;
  font: 700 0.94rem "Oxanium", sans-serif;
  line-height: 1.28;
  -webkit-line-clamp: 2;
}

.pso-card .psc-card-fav {
  background: rgba(4, 8, 16, 0.72);
  border-color: rgba(255, 170, 140, 0.28);
  color: rgba(255, 236, 228, 0.72);
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.pso-card .psc-card-fav:hover {
  background: rgba(255, 109, 58, 0.2);
  border-color: rgba(255, 170, 140, 0.74);
  color: #fff;
  transform: scale(1.05);
}

.pso-urgency {
  margin: 0;
  color: #ffcdb8;
  font: 700 0.72rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pso-price-pairs {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 6px;
}

.pso-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(7, 12, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pso-price-label {
  color: #88d8b4;
  font: 700 0.67rem "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pso-price-row:nth-child(2) .pso-price-label {
  color: #96b6ff;
}

.pso-price-value {
  color: #f7fbff;
  font: 800 0.92rem "Oxanium", sans-serif;
  letter-spacing: 0.01em;
}

.pso-availability {
  margin: 2px 0 0;
  align-self: flex-start;
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  font: 700 0.74rem "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pso-availability.is-ok {
  color: var(--pso-ok);
  background: rgba(74, 222, 128, 0.11);
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.pso-availability.is-off {
  color: #b3bfd8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pso-qv-saving {
  margin: 0 0 10px;
  color: #ffc9b1;
  font: 700 0.82rem "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 1120px) {
  .pso-hero {
    margin: 14px 14px 10px;
  }
}

@media (max-width: 920px) {
  .pso-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .pso-hero-side {
    justify-items: start;
  }

  .pso-hero-pills {
    justify-content: flex-start;
  }

  .pso-sticky-toolbar {
    top: 52px;
  }
}

@media (max-width: 640px) {
  .pso-main {
    padding-top: 12px;
  }

  .pso-hero {
    border-radius: 14px;
    padding: 14px;
  }

  .pso-hero h1 {
    font-size: 1.42rem;
  }

  .pso-countdown {
    font-size: 0.72rem;
    padding: 6px 10px;
  }

  .pso-quick-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .pso-quick-chip {
    white-space: nowrap;
  }

  .pso-discount-pill {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  .pso-price-row {
    padding: 6px 8px;
  }

  .pso-price-label {
    font-size: 0.63rem;
  }

  .pso-price-value {
    font-size: 0.86rem;
  }
}

/*
   Catalog cards visual parity with Offers cards
   Scope: only catalog page (.psc-layout), no logic changes
*/
.psc-layout .psc-card {
  border-color: rgba(255, 148, 112, 0.24);
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.98), rgba(13, 18, 31, 0.98));
}

.psc-layout .psc-card:hover {
  border-color: rgba(255, 148, 112, 0.62);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 148, 112, 0.35),
    0 0 34px rgba(255, 109, 58, 0.2);
}

.psc-layout .psc-card .psc-card-platform {
  color: #9ba9c8;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.psc-layout .psc-card .psc-card-name {
  color: #f2f6ff;
  font: 700 0.94rem "Oxanium", sans-serif;
  line-height: 1.28;
  -webkit-line-clamp: 2;
}

.psc-layout .psc-card .psc-card-price {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 6px;
}

.psc-layout .psc-card .psc-card-price > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(7, 12, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7fbff;
  font: 800 0.92rem "Oxanium", sans-serif;
  letter-spacing: 0.01em;
}

.psc-layout .psc-card .psc-card-price > span > strong {
  color: #88d8b4;
  font: 700 0.67rem "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.psc-layout .psc-card .psc-card-price > span:nth-child(2) > strong {
  color: #96b6ff;
}

.psc-layout .psc-card .psc-card-fav {
  background: rgba(4, 8, 16, 0.72);
  border-color: rgba(255, 170, 140, 0.28);
  color: rgba(255, 236, 228, 0.72);
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.psc-layout .psc-card .psc-card-fav:hover {
  background: rgba(255, 109, 58, 0.2);
  border-color: rgba(255, 170, 140, 0.74);
  color: #fff;
  transform: scale(1.05);
}

.psc-layout .psc-card .psc-badge--avail {
  background: rgba(74, 222, 128, 0.11);
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.psc-layout .psc-card .psc-badge--pause {
  color: #b3bfd8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 640px) {
  .psc-layout .psc-card .psc-card-price > span {
    padding: 6px 8px;
    font-size: 0.86rem;
  }

  .psc-layout .psc-card .psc-card-price > span > strong {
    font-size: 0.63rem;
  }
}

/*
   Home index cards visual parity with Catalog cards
   Scope: only dynamic home cards (.home-catalog-card), no logic changes
*/
.home-catalog-card {
  border-color: rgba(255, 148, 112, 0.24);
  background: linear-gradient(180deg, rgba(18, 24, 38, 0.98), rgba(13, 18, 31, 0.98));
}

.home-catalog-card:hover {
  border-color: rgba(255, 148, 112, 0.62);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 148, 112, 0.35),
    0 0 34px rgba(255, 109, 58, 0.2);
}

.home-catalog-card .psc-card-platform {
  color: #9ba9c8;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.home-catalog-card .psc-card-name {
  color: #f2f6ff;
  font: 700 0.94rem "Oxanium", sans-serif;
  line-height: 1.28;
  -webkit-line-clamp: 2;
}

.home-catalog-card .psc-card-price {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 6px;
}

.home-catalog-card .psc-card-price > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(7, 12, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7fbff;
  font: 800 0.92rem "Oxanium", sans-serif;
  letter-spacing: 0.01em;
}

.home-catalog-card .psc-card-price > span > strong {
  color: #88d8b4;
  font: 700 0.67rem "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-catalog-card .psc-card-price > span:nth-child(2) > strong {
  color: #96b6ff;
}

.home-catalog-card .catalog-card-signal {
  margin: 2px 0 0;
  align-self: flex-start;
  display: inline-flex;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--pso-ok);
  background: rgba(74, 222, 128, 0.11);
  border: 1px solid rgba(74, 222, 128, 0.35);
  font: 700 0.74rem "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-catalog-card .psc-card-fav {
  background: rgba(4, 8, 16, 0.72);
  border-color: rgba(255, 170, 140, 0.28);
  color: rgba(255, 236, 228, 0.72);
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.home-catalog-card .psc-card-fav:hover {
  background: rgba(255, 109, 58, 0.2);
  border-color: rgba(255, 170, 140, 0.74);
  color: #fff;
  transform: scale(1.05);
}

.home-catalog-card .psc-badge--avail {
  background: rgba(74, 222, 128, 0.11);
  border: 1px solid rgba(74, 222, 128, 0.35);
}

.home-catalog-card .psc-badge--pause {
  color: #b3bfd8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 640px) {
  .home-catalog-card .psc-card-price > span {
    padding: 6px 8px;
    font-size: 0.86rem;
  }

  .home-catalog-card .psc-card-price > span > strong {
    font-size: 0.63rem;
  }
}

/* ============================================================
   COMPACT POSTER CARD — sistema visual de cards verticales premium
   Clase reutilizable compartida por:
     - Home: "Tendencias ahora", "Entrega inmediata", "Descubri algo nuevo"
     - Pagina Catalogo  (.psc-card.compact-poster-card)
     - Pagina Ofertas   (.psc-card.pso-card.compact-poster-card)
   Se monta sobre .psc-card sin cambiar markup ni logica.
   Se usa el selector `.psc-card.compact-poster-card` para ganar
   especificidad sobre el theming por pagina (.psc-layout .psc-card,
   .pso-card, .home-catalog-card).
   No afecta a "Ofertas activas" de la home (.hot-offer-card).
   ============================================================ */

/* Portada vertical tipo cover PlayStation Store: 3/4 vertical.
   El recorte es elegante y centrado via background-size:cover
   de .psc-card-bg (no deforma imagenes horizontales). */
.psc-card.compact-poster-card .psc-card-thumb {
  aspect-ratio: 3 / 4;
}

/* Contenedor: redondeado, fondo oscuro premium y borde violeta sutil */
.psc-card.compact-poster-card {
  border-radius: 16px;
  border: 1px solid rgba(124, 110, 224, 0.28);
  background: linear-gradient(180deg, rgba(20, 21, 42, 0.98), rgba(11, 13, 26, 0.99));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(124, 110, 224, 0.08);
}

/* Hover premium: elevacion + glow violeta + borde iluminado.
   El zoom leve de imagen lo aporta `.psc-card:hover .psc-card-bg`. */
.psc-card.compact-poster-card:hover {
  border-color: rgba(146, 128, 255, 0.62);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(146, 128, 255, 0.42),
    0 0 36px rgba(120, 92, 255, 0.24);
}

/* Cuerpo compacto y eficiente */
.psc-card.compact-poster-card .psc-card-body {
  padding: 10px 11px 12px;
  gap: 3px;
}

/* Boton favorito en violeta para unificar el sistema visual */
.psc-card.compact-poster-card .psc-card-fav {
  background: rgba(8, 9, 20, 0.74);
  border-color: rgba(146, 128, 255, 0.32);
  color: rgba(226, 224, 255, 0.78);
}

.psc-card.compact-poster-card .psc-card-fav:hover {
  background: rgba(120, 92, 255, 0.26);
  border-color: rgba(146, 128, 255, 0.78);
  color: #fff;
}

.psc-card.compact-poster-card .psc-card-fav.is-active {
  color: #ff5d8f;
  border-color: rgba(255, 93, 143, 0.5);
}

@media (max-width: 640px) {
  .psc-card.compact-poster-card .psc-card-body {
    padding: 9px 10px 11px;
  }
}

/* ============================================================
   SELECTORES DE COMPRA (Consola / Tipo de cuenta) mas grandes
   Es la parte mas importante de la pagina de producto, asi que
   los botones pasan a formato card grande con icono + texto +
   descripcion, y se agrega un link a la explicacion de tipos
   de cuenta (instructivo.html).
   ============================================================ */
.product-options-section .option-group {
  gap: 9px;
  margin-bottom: 18px;
}

.product-options-section .option-label {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.product-options-section .option-buttons {
  gap: 12px;
}

/* Botones grandes tipo card: icono arriba, nombre, descripcion */
.product-options-section .option-btn {
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  padding: 18px 14px;
  border-radius: 14px;
}

.product-options-section .option-btn .console-icon,
.product-options-section .option-btn .account-icon {
  font-size: 1.95rem;
}

.product-options-section .option-btn .btn-text {
  font-size: 1.08rem;
  font-weight: 700;
}

/* Descripcion visible bajo el nombre (que es cada tipo de cuenta) */
.product-options-section .option-btn .btn-desc {
  display: block;
  font: 500 0.76rem "Rajdhani", sans-serif;
  color: #9aa9c9;
  text-transform: none;
  letter-spacing: 0.01em;
  opacity: 0.95;
  line-height: 1.3;
}

/* Link de ayuda: que es una cuenta primaria y secundaria */
.product-options-section .account-help-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  color: #9d8cff;
  font: 600 0.84rem "Rajdhani", sans-serif;
  text-decoration: none;
  transition: color 0.15s ease;
}

.product-options-section .account-help-link:hover {
  color: #c4b9ff;
  text-decoration: underline;
}

.product-options-section .account-help-link .px-icon {
  flex: 0 0 auto;
  font-size: 1rem;
}

/* ============================================================
   HERO — legibilidad y jerarquia premium del contenido
   Mejora textos, cards y botones que van sobre el fondo
   hexagonal. NO toca el fondo. Bloque al final = sobreescribe.
   ============================================================ */

/* 1. Textos principales -------------------------------------- */
/* Capa sutil de oscuridad detras del bloque de texto del hero. */
.banner-content::before {
  content: "";
  position: absolute;
  inset: -28px -52px -28px -36px;
  z-index: -1;
  border-radius: 34px;
  background: radial-gradient(ellipse at 32% 42%,
    rgba(5, 8, 20, 0.62), rgba(5, 8, 20, 0.28) 58%, transparent 78%);
  pointer-events: none;
}

.banner h1 {
  color: #ffffff;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(106, 140, 255, 0.4),
    0 0 60px rgba(127, 91, 255, 0.26);
}

.banner p {
  color: #d8e2f7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.62);
}

.banner-content .kicker {
  color: #5ce0b0;
  text-shadow: 0 0 16px rgba(71, 215, 162, 0.4);
}

/* 2. Cards de metricas del hero (glassmorphism) -------------- */
.hero-metric-card {
  background: linear-gradient(170deg, rgba(13, 18, 38, 0.72), rgba(8, 12, 26, 0.64));
  border: 1px solid rgba(124, 140, 255, 0.34);
  box-shadow:
    0 12px 28px rgba(2, 6, 18, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hero-metric-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 124, 255, 0.6);
  box-shadow:
    0 16px 34px rgba(2, 6, 18, 0.58),
    0 0 24px rgba(124, 92, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-metric-card strong {
  text-shadow: 0 0 18px rgba(124, 140, 255, 0.35);
}

.hero-metric-card span {
  color: #aebbe0;
}

/* 3. Card principal del producto ----------------------------- */
.hero-product {
  border: 1px solid rgba(130, 120, 230, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%),
    linear-gradient(160deg, rgba(18, 26, 52, 0.92), rgba(11, 16, 34, 0.94));
  box-shadow:
    0 26px 52px rgba(2, 6, 18, 0.55),
    0 0 30px rgba(124, 92, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-product-thumb {
  border: 1px solid rgba(139, 124, 255, 0.32);
  box-shadow:
    0 16px 32px rgba(2, 8, 20, 0.5),
    0 0 28px rgba(127, 91, 255, 0.3);
}

.hero-product-copy h2 {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero-product-copy p {
  color: #aebcdc;
}

.hero-product-meta strong {
  font-size: 1.14rem;
  text-shadow: 0 0 16px rgba(124, 140, 255, 0.4);
}

/* Boton "Ver producto": relleno + glow para que sea clickeable. */
.hero-product-link {
  border-color: rgba(139, 124, 255, 0.5);
  background: linear-gradient(95deg, rgba(127, 91, 255, 0.92), rgba(91, 110, 245, 0.92));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(60, 40, 160, 0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.hero-product-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  border-color: rgba(168, 150, 255, 0.7);
  box-shadow:
    0 12px 26px rgba(60, 40, 160, 0.5),
    0 0 26px rgba(127, 91, 255, 0.45);
}

/* 4. Cards inferiores de beneficios (trust-bar) -------------- */
.trust-item {
  padding: 18px 22px;
  background: linear-gradient(160deg, rgba(15, 21, 42, 0.8), rgba(10, 15, 32, 0.74));
  border: 1px solid rgba(124, 140, 255, 0.3);
  box-shadow:
    0 12px 26px rgba(2, 6, 18, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.trust-item:hover {
  border-color: rgba(139, 124, 255, 0.58);
  box-shadow:
    0 18px 34px rgba(2, 6, 18, 0.55),
    0 0 24px rgba(124, 92, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.trust-item strong {
  color: #c2b3ff;
  gap: 0.55rem;
}

.trust-item strong .px-icon {
  color: #9d8bff;
}

.trust-item span {
  color: #9aa9cc;
  margin-top: 2px;
}

/* 5. Botones del hero ---------------------------------------- */
.banner-ctas .cta {
  box-shadow: 0 10px 24px rgba(74, 52, 180, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.banner-ctas .cta:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.1);
  box-shadow:
    0 16px 32px rgba(74, 52, 180, 0.55),
    0 0 30px rgba(127, 91, 255, 0.5);
}

.banner-ctas .ghost-cta {
  background: rgba(18, 23, 46, 0.55);
  border-color: rgba(139, 124, 255, 0.5);
  color: #e4e9ff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.banner-ctas .ghost-cta:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 150, 255, 0.75);
  background: rgba(28, 34, 64, 0.66);
  box-shadow:
    0 12px 26px rgba(2, 6, 18, 0.5),
    0 0 22px rgba(124, 92, 255, 0.3);
}


/* ============================================================
   PS PLUS — REFRESH 2026
   Identidad visual propia (suscripcion / servicio):
   - Glow azul/violeta PS, badge de consola prominente sobre la portada
   - Layout premium: precio grande, sin Primaria/Secundaria, duracion clara
   - Card 100% clickeable (boton compra ocupa toda el area)
   Convencion vocabulario: cuando una card de juego muestra precios,
   usa <strong class="psc-price-label">Primaria</strong> +
   <span class="psc-price-amount">$1.234</span>. PS Plus no usa eso.
   ============================================================ */

/* Card PS Plus: borde y glow distintivo (PlayStation blue + violet) */
.psc-card.psc-card--psplus {
  border-color: rgba(99, 102, 241, .42);
  background: linear-gradient(180deg, rgba(20, 23, 64, .65), rgba(8, 10, 28, .85));
  box-shadow:
    0 8px 26px rgba(0, 0, 0, .42),
    inset 0 0 0 1px rgba(124, 92, 255, .12);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.psc-card.psc-card--psplus:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 255, .7);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, .58),
    0 0 28px rgba(124, 92, 255, .22),
    inset 0 0 0 1px rgba(124, 92, 255, .35);
}

/* La card PS Plus es 100% un <button>: que se vea como card, no como boton */
.psc-card-link--psplus {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.psc-card-link--psplus:focus-visible {
  outline: 2px solid #a78bfa;
  outline-offset: 2px;
}
.psc-card-link--psplus[disabled] {
  cursor: not-allowed;
  opacity: .78;
}

/* Badge prominente de consola PS Plus (PS4 / PS5 / PS4 / PS5) */
.psc-badge.psc-badge--psplus-console {
  position: absolute;
  top: 8px;
  left: 8px;
  bottom: auto;
  z-index: 3;
  background: linear-gradient(90deg, #0070d1, #2c6cff);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(8, 56, 158, .45);
  border: 1px solid rgba(255, 255, 255, .12);
}

/* Flag flotante "PS Plus" en la esquina derecha de la portada */
.psc-card-psplus-flag {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  color: #fff;
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: .08em;
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(124, 92, 255, .45);
}

/* Body PS Plus: precio grande, meta minimal */
.psc-card-body--psplus {
  gap: 6px;
  padding-bottom: 16px;
}
.psc-card-body--psplus .psc-card-platform {
  color: #a78bfa;
  letter-spacing: .12em;
  font-weight: 800;
}
.psc-card-psplus-price {
  margin: 6px 0 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #f9fafb;
  letter-spacing: .005em;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(124, 92, 255, .25);
}
.psc-card-psplus-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
}
.psc-card-psplus-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(124, 92, 255, .14);
  color: #c7b8ff;
  border: 1px solid rgba(124, 92, 255, .3);
}
.psc-card-psplus-chip--time {
  background: rgba(0, 112, 209, .12);
  color: #8fc6ff;
  border-color: rgba(0, 112, 209, .35);
}

/* Mobile: badges y card tighten up, sin overflow */
@media (max-width: 640px) {
  .psc-card.psc-card--psplus { border-radius: 12px; }
  .psc-card-psplus-price { font-size: 1.2rem; }
  .psc-badge.psc-badge--psplus-console {
    font-size: 0.62rem;
    padding: 3px 8px;
  }
  .psc-card-psplus-flag {
    font-size: 0.58rem;
    padding: 3px 7px;
  }
  .psc-card-body--psplus { padding-bottom: 12px; }
}

/* ============================================================
   VOCABULARIO UNIFICADO — Primaria / Secundaria
   Convencion: <strong class="psc-price-label">Primaria</strong>
   + <span class="psc-price-amount">$1.234</span>
   ============================================================ */
.psc-price-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #8892b0;
  display: inline-block;
  margin-right: 4px;
}
.psc-price-amount {
  font-weight: 700;
  color: #4ade80;
}

/* Producto sin precio configurado: en lugar de "$0" mostramos "Consultar". */
.psc-card-price--consult {
  display: block;
}
.psc-price-consult {
  display: inline-block;
  font: 700 0.78rem "Rajdhani", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--psc-muted, #9fb0c9);
}

/* ============================================================
   PRODUCT DETAIL — modo PS Plus
   Oculta el selector "Tipo de Cuenta" y el preview "Primaria/Secundaria"
   cuando la pagina detecta un producto PS Plus.
   ============================================================ */
body.is-psplus-product .product-kicker { color: #c7b8ff; }
body.is-psplus-product .product-title-row h1::after {
  content: 'PS Plus';
  display: inline-block;
  margin-left: 10px;
  font-size: 0.65em;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 10px;
  vertical-align: middle;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(124, 92, 255, .35);
}
/* Asegura que [hidden] gane a display:grid en producto PS Plus */
body.is-psplus-product .option-group[hidden],
body.is-psplus-product #price-preview[hidden],
body.is-psplus-product #avail-panel[hidden],
body.is-psplus-product .summary-row[hidden] {
  display: none !important;
}

/* ============================================================
   PX RAIL — Carrusel horizontal premium reutilizable (#4)
   Inspirado en PSN Store / Steam library rails.
   Aplica a: Tendencias ahora, Entrega inmediata, Descubri algo nuevo,
   Wishlist. Comparte estilo con .hot-offers-track (Ofertas activas).
   Parametrizable por CSS vars: --rail-card-w, --rail-gap.
   ============================================================ */
.px-rail-section {
  /* Contenedor que toma overflow:hidden de .section para evitar que
     las flechas y gradientes pinchen fuera del card de la seccion. */
  position: relative;
}

.px-rail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.px-rail-head-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.px-rail-head-title h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font: 600 1.35rem "Oxanium", sans-serif;
  letter-spacing: 0.4px;
}

.px-rail-head-title p {
  margin: 0;
  color: #a9bbdf;
  font-size: 0.9rem;
  max-width: 64ch;
}

.px-rail-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.px-rail-head-actions a {
  color: #9eb0ff;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* Wrapper relativo para apilar track + flechas + gradientes laterales */
.px-rail-wrap {
  position: relative;
  /* Permite que las flechas sobresalgan un poco hacia los lados sin
     romper el contenedor de la seccion (overflow:hidden en .section). */
  margin: 0 -4px;
  padding: 0 4px;
}

.px-rail {
  --rail-card-w: 200px;
  --rail-gap: 14px;
  display: grid;
  grid-template-columns: none; /* override grids preexistentes */
  grid-auto-flow: column;
  grid-auto-columns: minmax(var(--rail-card-w), var(--rail-card-w));
  gap: var(--rail-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(127, 91, 255, 0.32) transparent;
  padding: 2px 4px 8px;
  /* Trackpad / touch: scroll suave */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

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

.px-rail::-webkit-scrollbar-thumb {
  background: rgba(127, 91, 255, 0.32);
  border-radius: 999px;
}

.px-rail::-webkit-scrollbar-track {
  background: transparent;
}

.px-rail > * {
  scroll-snap-align: start;
  min-width: 0;
  contain: layout;
}

/* Cuando la unica card es el empty-state, dejamos que ocupe el ancho
   completo del track para no verse "pequena" en una franja vacia.
   Trick: cuando hay un solo hijo y es empty-state, cambiamos el track
   a grid simple de una sola fila full-width (sin afectar otros rails). */
.px-rail:has(> .empty-state-card:only-child) {
  grid-auto-columns: 100%;
}

/* Gradientes laterales que indican "hay mas contenido". Se atenuan al
   llegar a los bordes con clases .is-start / .is-end agregadas via JS. */
.px-rail-wrap::before,
.px-rail-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 56px;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.24s ease;
}

.px-rail-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(8, 16, 35, 0.92), rgba(8, 16, 35, 0));
}

.px-rail-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(8, 16, 35, 0.92), rgba(8, 16, 35, 0));
}

.px-rail-wrap.is-start::before { opacity: 0; }
.px-rail-wrap.is-end::after { opacity: 0; }

/* Controles prev/next: comparten estilo con .hero-carousel-arrow.
   Se posicionan absolutos sobre el track, verticalmente centrados. */
.px-rail-prev,
.px-rail-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(127, 91, 255, 0.34);
  border-radius: 50%;
  background: rgba(14, 18, 38, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(232, 232, 255, 0.92);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.px-rail-prev { left: -6px; }
.px-rail-next { right: -6px; }

.px-rail-prev:hover,
.px-rail-next:hover {
  border-color: rgba(146, 128, 255, 0.78);
  background: rgba(28, 32, 60, 0.95);
  box-shadow: 0 10px 28px rgba(120, 92, 255, 0.32), 0 0 0 1px rgba(146, 128, 255, 0.42);
  color: #fff;
}

.px-rail-prev:focus-visible,
.px-rail-next:focus-visible {
  outline: 2px solid rgba(146, 128, 255, 0.78);
  outline-offset: 2px;
}

/* Cuando esta en el borde, atenuamos el boton correspondiente */
.px-rail-wrap.is-start .px-rail-prev,
.px-rail-wrap.is-end .px-rail-next {
  opacity: 0;
  pointer-events: none;
}

/* Cards dentro del rail: la .compact-poster-card ya tiene aspect-ratio,
   pero los rails de wishlist usan .home-catalog-card sin compact, asi
   que les damos un ancho consistente via grid-auto-columns. */

/* Mobile: oculta flechas, deja swipe libre y ajusta gap/anchos para
   mostrar 1.3-1.7 cards visibles (invita al swipe). Tambien apila el head
   para que el link "Ver mas" quede debajo del titulo y no se chocque. */
@media (max-width: 760px) {
  .px-rail-prev,
  .px-rail-next {
    display: none;
  }
  .px-rail-wrap::before,
  .px-rail-wrap::after {
    width: 28px;
  }
  .px-rail {
    --rail-card-w: 44vw;
    --rail-gap: 10px;
    padding: 2px 2px 8px;
  }
  .px-rail-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
  }
  .px-rail-head-actions {
    margin-top: 2px;
  }
}

@media (max-width: 480px) {
  .px-rail {
    --rail-card-w: 50vw;
  }
}

/* En el rail, las hot-offer-card (Ofertas activas) deben usar el mismo
   sizing — su track usa .px-rail asi que ya hereda los anchos. */
.hot-offers-track.px-rail {
  /* override del minmax fijo anterior */
  grid-auto-columns: minmax(var(--rail-card-w), var(--rail-card-w));
}

@media (min-width: 761px) {
  /* En desktop la card de oferta es un poco mas ancha por la tipografia
     interna; mantenemos su variant. */
  .hot-offers-track.px-rail {
    --rail-card-w: 240px;
  }
}

/* ============================================================
   AUDITORIA VISUAL #5 — Spacing/typo/hover unificados
   ============================================================ */

/* Unifica padding de secciones interiores (algunas tenian 32, otras 28,
   .hot-offers-section tenia 2.8rem). Mantenemos clamp para mobile. */
.section:not(.banner) {
  padding: clamp(20px, 3.2vw, 32px);
}

.hot-offers-section {
  padding-top: clamp(22px, 3.4vw, 34px);
  padding-bottom: clamp(22px, 3.4vw, 34px);
}

/* Tipografia h2 consistente entre .section-head h2, .px-rail-head h2,
   .hot-offers-head h2 (este ultimo ya tenia clamp, lo bajamos un toque
   para alinearse con el resto). */
.section-head h2,
.px-rail-head-title h2 {
  font: 700 clamp(1.2rem, 1.9vw, 1.45rem) "Oxanium", sans-serif;
  letter-spacing: 0.4px;
}

.hot-offers-head h2 {
  font: 700 clamp(1.35rem, 2.2vw, 1.7rem) "Oxanium", sans-serif;
}

/* Hover lift+glow consistente para todas las cards del home/catalogo */
.psc-card,
.hot-offer-card,
.home-catalog-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.psc-card.is-clickable:hover,
.hot-offer-card:hover,
.home-catalog-card:hover {
  transform: translateY(-2px);
}

/* Microinteraccion uniforme en flechas y CTAs secundarios */
.hero-carousel-arrow,
.px-rail-prev,
.px-rail-next {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.hero-carousel-arrow:active,
.px-rail-prev:active,
.px-rail-next:active {
  transform: translateY(-50%) scale(0.94);
}

.hero-carousel-arrow:active {
  transform: scale(0.94);
}

/* Producto mobile: que el botton de Comprar/Agregar no se corte */
@media (max-width: 640px) {
  .product-buy-btn,
  .product-cta,
  .add-to-cart-btn,
  .buy-now-btn {
    width: 100%;
    min-height: 46px;
    font-size: 0.95rem;
  }
}

/* ============================================================
   AYUDA — Centro de ayuda premium (PSN / Steam / Epic feel)
   Estilos scoped a [data-page="ayuda"]. No tocan otras paginas.
   ============================================================ */

[data-page="ayuda"] {
  --ay-violet: 127, 91, 255;
  --ay-blue: 91, 140, 255;
  --ay-magenta: 216, 78, 233;
  --ay-success: 74, 222, 128;
  --ay-warn: 251, 191, 36;
  --ay-danger: 248, 113, 113;
  --ay-card: rgba(14, 21, 44, 0.7);
  --ay-card-strong: rgba(18, 26, 56, 0.85);
  --ay-border: rgba(127, 91, 255, 0.22);
  --ay-border-strong: rgba(146, 128, 255, 0.45);
}

[data-page="ayuda"] [data-ayuda-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-page="ayuda"] [data-ayuda-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ───────── HERO ───────── */
.ayuda-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 44px 44px 38px;
  margin: 0 0 28px;
  border-radius: 26px;
  border: 1px solid var(--ay-border);
  background:
    radial-gradient(circle at 18% 16%, rgba(127, 91, 255, 0.22), transparent 46%),
    radial-gradient(circle at 88% 26%, rgba(91, 140, 255, 0.18), transparent 46%),
    linear-gradient(155deg, rgba(15, 22, 50, 0.92), rgba(8, 12, 30, 0.94));
  box-shadow: 0 30px 60px rgba(2, 5, 18, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ayuda-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ayuda-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.ayuda-hero-orb--a {
  width: 320px;
  height: 320px;
  left: -80px;
  top: -110px;
  background: radial-gradient(circle, rgba(127, 91, 255, 0.85), transparent 70%);
  animation: ayuda-float-a 9s ease-in-out infinite alternate;
}

.ayuda-hero-orb--b {
  width: 280px;
  height: 280px;
  right: -60px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.65), transparent 70%);
  animation: ayuda-float-b 11s ease-in-out infinite alternate;
}

@keyframes ayuda-float-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(20px, 30px, 0) scale(1.08); }
}
@keyframes ayuda-float-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-30px, -20px, 0) scale(1.1); }
}

.ayuda-hero-content {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.ayuda-hero-kicker {
  margin: 0;
  font: 700 0.82rem "Rajdhani", sans-serif;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #a78bfa;
}

.ayuda-hero-title {
  margin: 0;
  font: 800 clamp(2rem, 4.2vw, 3.2rem) "Oxanium", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #ffffff 0%, #c8b4ff 55%, #7faeff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 24px rgba(127, 91, 255, 0.3);
}

.ayuda-hero-sub {
  margin: 0;
  max-width: 60ch;
  color: #cdd6ee;
  font-size: 1.04rem;
  line-height: 1.55;
}

.ayuda-hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.ayuda-mini-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--ay-border);
  background: linear-gradient(160deg, rgba(20, 28, 56, 0.78), rgba(10, 16, 36, 0.72));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.ayuda-mini-badge:hover {
  transform: translateY(-3px);
  border-color: var(--ay-border-strong);
  box-shadow: 0 14px 30px rgba(2, 8, 22, 0.55), 0 0 22px rgba(127, 91, 255, 0.2);
}

.ayuda-mini-badge-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(160deg, rgba(127, 91, 255, 0.28), rgba(91, 140, 255, 0.22));
  border: 1px solid rgba(146, 128, 255, 0.35);
  color: #d9c9ff;
  flex: 0 0 auto;
}

.ayuda-mini-badge-icon svg {
  width: 20px;
  height: 20px;
}

.ayuda-mini-badge-body {
  display: grid;
  gap: 1px;
}

.ayuda-mini-badge-body strong {
  font: 700 0.92rem "Oxanium", sans-serif;
  color: #f1f3ff;
}

.ayuda-mini-badge-body span {
  font: 500 0.74rem "Rajdhani", sans-serif;
  color: #94a2c8;
}

.ayuda-hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ayuda-hero-svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 24px 36px rgba(80, 60, 200, 0.45));
  animation: ayuda-hero-pulse 6s ease-in-out infinite alternate;
}

@keyframes ayuda-hero-pulse {
  from { transform: translateY(0) rotate(-1deg); }
  to   { transform: translateY(-6px) rotate(1.5deg); }
}

/* ───────── GRID PRINCIPAL ───────── */
.ayuda-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
  gap: 24px;
}

.ayuda-faq-col {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.ayuda-side {
  display: grid;
  gap: 22px;
  min-width: 0;
  align-self: start;
  position: sticky;
  top: calc(var(--topbar-px-height, 64px) + 16px);
}

/* ───────── SECCION + ENCABEZADO ───────── */
.ayuda-section {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--ay-border);
  background:
    radial-gradient(circle at 100% 0%, rgba(127, 91, 255, 0.12), transparent 45%),
    linear-gradient(170deg, rgba(14, 21, 44, 0.86), rgba(8, 12, 28, 0.88));
  box-shadow: 0 22px 46px rgba(2, 5, 18, 0.4);
}

.ayuda-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.ayuda-section-num {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(160deg, rgba(127, 91, 255, 0.32), rgba(91, 140, 255, 0.22));
  border: 1px solid rgba(146, 128, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e8defc;
  font: 800 0.96rem "Oxanium", sans-serif;
  letter-spacing: 0.05em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 18px rgba(127, 91, 255, 0.22);
}

.ayuda-section-head h2 {
  margin: 0 0 2px;
  font: 700 clamp(1.15rem, 1.7vw, 1.4rem) "Oxanium", sans-serif;
  color: #f1f4ff;
}

.ayuda-section-head p {
  margin: 0;
  color: #94a2c8;
  font-size: 0.86rem;
}

/* ───────── FAQ LIST (accordion premium) ───────── */
.ayuda-faq-list {
  display: grid;
  gap: 10px;
}

.ayuda-faq {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(127, 91, 255, 0.18);
  background: linear-gradient(160deg, rgba(16, 24, 50, 0.78), rgba(10, 16, 34, 0.78));
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.ayuda-faq:hover {
  border-color: rgba(146, 128, 255, 0.45);
  box-shadow: 0 14px 30px rgba(2, 5, 18, 0.42), 0 0 22px rgba(127, 91, 255, 0.18);
}

.ayuda-faq[open] {
  border-color: rgba(146, 128, 255, 0.6);
  background: linear-gradient(160deg, rgba(22, 32, 64, 0.92), rgba(12, 18, 40, 0.92));
  box-shadow: 0 16px 32px rgba(2, 5, 18, 0.5), 0 0 28px rgba(127, 91, 255, 0.22);
}

.ayuda-faq > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  outline: none;
}

.ayuda-faq > summary::-webkit-details-marker { display: none; }
.ayuda-faq > summary::marker { display: none; content: ''; }

.ayuda-faq-n {
  flex: 0 0 auto;
  font: 800 0.78rem "Oxanium", sans-serif;
  color: #a78bfa;
  letter-spacing: 0.06em;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(127, 91, 255, 0.14);
  border: 1px solid rgba(127, 91, 255, 0.32);
}

.ayuda-faq-q {
  font: 700 1.01rem "Oxanium", sans-serif;
  color: #eef1ff;
  line-height: 1.3;
}

.ayuda-faq-toggle {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid rgba(146, 128, 255, 0.4);
  background: rgba(127, 91, 255, 0.14);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.65, 0.05, 0.35, 1), background 0.22s ease, border-color 0.22s ease;
}

.ayuda-faq-toggle::before,
.ayuda-faq-toggle::after {
  content: '';
  position: absolute;
  background: #d9c9ff;
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transition: opacity 0.25s ease;
}

.ayuda-faq-toggle::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.ayuda-faq-toggle::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.ayuda-faq[open] > summary .ayuda-faq-toggle {
  transform: rotate(135deg);
  background: rgba(127, 91, 255, 0.32);
  border-color: rgba(168, 150, 255, 0.7);
}

.ayuda-faq-a {
  padding: 0 18px 18px 64px;
  color: #c9d2ee;
  font-size: 0.96rem;
  line-height: 1.6;
  animation: ayuda-faq-in 0.32s ease both;
}

.ayuda-faq-a p { margin: 0 0 8px; }
.ayuda-faq-a p:last-child { margin-bottom: 0; }

.ayuda-faq-a a {
  color: #a78bfa;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

@keyframes ayuda-faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* Sub-tarjetas dentro de respuestas */
.ayuda-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.ayuda-split-card {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(24, 32, 60, 0.65), rgba(12, 18, 38, 0.65));
}

.ayuda-split-card--primary { border-color: rgba(74, 222, 128, 0.35); }
.ayuda-split-card--secondary { border-color: rgba(91, 140, 255, 0.35); }

.ayuda-split-tag {
  display: inline-block;
  font: 800 0.7rem "Rajdhani", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.ayuda-split-card--primary .ayuda-split-tag {
  color: #5be3a4;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.4);
}

.ayuda-split-card--secondary .ayuda-split-tag {
  color: #93b3ff;
  background: rgba(91, 140, 255, 0.15);
  border: 1px solid rgba(91, 140, 255, 0.4);
}

.ayuda-split-card p { margin: 0; color: #c5cee9; font-size: 0.9rem; line-height: 1.45; }

.ayuda-bullets {
  margin: 4px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.ayuda-bullets li { color: #c9d2ee; }

.ayuda-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.ayuda-step-card {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(20, 28, 58, 0.78), rgba(10, 16, 34, 0.78));
}

.ayuda-step-card--primary { border-color: rgba(74, 222, 128, 0.32); }
.ayuda-step-card--secondary { border-color: rgba(91, 140, 255, 0.32); }

.ayuda-step-card header {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.ayuda-step-tag {
  font: 800 0.74rem "Rajdhani", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
}

.ayuda-step-card--primary .ayuda-step-tag {
  color: #5be3a4;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.38);
}

.ayuda-step-card--secondary .ayuda-step-tag {
  color: #93b3ff;
  background: rgba(91, 140, 255, 0.15);
  border: 1px solid rgba(91, 140, 255, 0.38);
}

.ayuda-step-hint {
  color: #97a4c8;
  font-size: 0.78rem;
}

.ayuda-step-card ul {
  margin: 4px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 5px;
}

.ayuda-step-card li {
  color: #d3dbf2;
  font-size: 0.88rem;
  line-height: 1.5;
}

.ayuda-step-card em { font-style: normal; color: #a78bfa; font-weight: 700; }

.ayuda-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(251, 191, 36, 0.32);
  background: rgba(251, 191, 36, 0.08);
  color: #f9d68d;
  font-size: 0.88rem;
}

/* ───────── CTA FINAL ───────── */
.ayuda-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 28px 30px;
  border-radius: 22px;
  border: 1px solid rgba(146, 128, 255, 0.4);
  background:
    radial-gradient(circle at 88% 28%, rgba(127, 91, 255, 0.25), transparent 55%),
    radial-gradient(circle at 0% 80%, rgba(91, 140, 255, 0.18), transparent 60%),
    linear-gradient(160deg, rgba(20, 26, 62, 0.94), rgba(10, 14, 36, 0.94));
  box-shadow: 0 22px 46px rgba(2, 5, 18, 0.5), 0 0 36px rgba(127, 91, 255, 0.2);
}

.ayuda-cta-glow {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from 180deg at 50% 50%,
    rgba(127, 91, 255, 0.3) 0deg,
    rgba(91, 140, 255, 0.25) 120deg,
    rgba(127, 91, 255, 0.3) 240deg,
    rgba(127, 91, 255, 0.3) 360deg);
  filter: blur(28px);
  opacity: 0.45;
  z-index: -1;
  animation: ayuda-cta-spin 14s linear infinite;
}

@keyframes ayuda-cta-spin {
  to { transform: rotate(360deg); }
}

.ayuda-cta-content { display: grid; gap: 4px; }

.ayuda-cta-kicker {
  margin: 0;
  font: 800 0.78rem "Rajdhani", sans-serif;
  letter-spacing: 0.28em;
  color: #a78bfa;
}

.ayuda-cta h2 {
  margin: 4px 0 4px;
  font: 800 clamp(1.3rem, 2.2vw, 1.7rem) "Oxanium", sans-serif;
  color: #f3f4ff;
  line-height: 1.18;
}

.ayuda-cta-content p {
  margin: 0;
  color: #c2cce8;
  max-width: 56ch;
}

.ayuda-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ayuda-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 13px;
  font: 700 0.9rem "Oxanium", sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ayuda-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.ayuda-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.ayuda-cta-icon svg { width: 100%; height: 100%; }

.ayuda-cta-btn--wa {
  background: linear-gradient(135deg, #25d366 0%, #15a851 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(20, 130, 80, 0.45);
}

.ayuda-cta-btn--wa:hover {
  box-shadow: 0 16px 30px rgba(20, 130, 80, 0.55), 0 0 26px rgba(37, 211, 102, 0.45);
}

.ayuda-cta-btn--ghost {
  background: rgba(20, 26, 52, 0.7);
  border-color: rgba(146, 128, 255, 0.5);
  color: #e7ebff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ayuda-cta-btn--ghost:hover {
  border-color: rgba(168, 150, 255, 0.85);
  background: rgba(30, 38, 72, 0.78);
  box-shadow: 0 14px 28px rgba(2, 5, 18, 0.5), 0 0 26px rgba(127, 91, 255, 0.32);
}

/* ───────── PANELES LATERALES ───────── */
.ayuda-panel {
  position: relative;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--ay-border);
  background:
    radial-gradient(circle at 100% 0%, rgba(127, 91, 255, 0.12), transparent 50%),
    linear-gradient(170deg, rgba(14, 21, 44, 0.88), rgba(8, 12, 28, 0.92));
  box-shadow: 0 18px 38px rgba(2, 5, 18, 0.42);
}

.ayuda-panel--policies { border-color: rgba(91, 140, 255, 0.32); }

.ayuda-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.ayuda-panel-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d9c9ff;
  background: linear-gradient(160deg, rgba(127, 91, 255, 0.32), rgba(91, 140, 255, 0.22));
  border: 1px solid rgba(146, 128, 255, 0.42);
}

.ayuda-panel--policies .ayuda-panel-icon {
  color: #b9d2ff;
  background: linear-gradient(160deg, rgba(91, 140, 255, 0.34), rgba(127, 91, 255, 0.18));
  border-color: rgba(91, 140, 255, 0.45);
}

.ayuda-panel-icon svg { width: 20px; height: 20px; }

.ayuda-panel-head h3 {
  margin: 0 0 2px;
  font: 800 1.05rem "Oxanium", sans-serif;
  color: #f1f4ff;
  letter-spacing: 0.01em;
}

.ayuda-panel-head p {
  margin: 0;
  color: #97a4c8;
  font-size: 0.82rem;
  line-height: 1.4;
}

.ayuda-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

/* Reglas individuales (con color semantico) */
.ayuda-rule {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, rgba(16, 24, 50, 0.7), rgba(10, 16, 34, 0.7));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.ayuda-rule:hover {
  transform: translateX(2px);
  box-shadow: 0 12px 24px rgba(2, 5, 18, 0.45);
}

.ayuda-rule-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ayuda-rule-icon svg { width: 19px; height: 19px; }

.ayuda-rule-body h4 {
  margin: 0 0 2px;
  font: 800 0.9rem "Oxanium", sans-serif;
  color: #f1f4ff;
  letter-spacing: 0.01em;
}

.ayuda-rule-body p {
  margin: 0;
  color: #c2cce8;
  font-size: 0.86rem;
  line-height: 1.5;
}

.ayuda-rule-body p + p { margin-top: 6px; }

/* Color semantico por regla */
.ayuda-rule--danger { border-color: rgba(248, 113, 113, 0.35); }
.ayuda-rule--danger .ayuda-rule-icon { background: rgba(248, 113, 113, 0.14); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.42); }

.ayuda-rule--violet { border-color: rgba(167, 139, 250, 0.35); }
.ayuda-rule--violet .ayuda-rule-icon { background: rgba(167, 139, 250, 0.14); color: #c4b5fd; border: 1px solid rgba(167, 139, 250, 0.42); }

.ayuda-rule--blue { border-color: rgba(96, 165, 250, 0.35); }
.ayuda-rule--blue .ayuda-rule-icon { background: rgba(96, 165, 250, 0.14); color: #93c5fd; border: 1px solid rgba(96, 165, 250, 0.42); }

.ayuda-rule--warning { border-color: rgba(251, 191, 36, 0.35); }
.ayuda-rule--warning .ayuda-rule-icon { background: rgba(251, 191, 36, 0.14); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.42); }

.ayuda-rule--success { border-color: rgba(74, 222, 128, 0.35); }
.ayuda-rule--success .ayuda-rule-icon { background: rgba(74, 222, 128, 0.14); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.42); }

.ayuda-panel-foot {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.08);
  color: #f9c1c1;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Sub-opciones de "Proceso de solucion" */
.ayuda-policy-options {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.ayuda-policy-option {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(20, 28, 60, 0.72), rgba(10, 16, 34, 0.72));
}

.ayuda-policy-option--switch { border-color: rgba(74, 222, 128, 0.32); }
.ayuda-policy-option--refund { border-color: rgba(127, 91, 255, 0.32); }

.ayuda-policy-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ayuda-policy-option--switch .ayuda-policy-icon { background: rgba(74, 222, 128, 0.14); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.32); }
.ayuda-policy-option--refund .ayuda-policy-icon { background: rgba(127, 91, 255, 0.16); color: #c4b5fd; border: 1px solid rgba(127, 91, 255, 0.38); }

.ayuda-policy-icon svg { width: 17px; height: 17px; }

.ayuda-policy-option strong {
  display: block;
  font: 800 0.86rem "Oxanium", sans-serif;
  color: #f1f4ff;
  margin-bottom: 2px;
}

.ayuda-policy-option span {
  color: #b8c2dd;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1180px) {
  .ayuda-grid {
    grid-template-columns: 1fr;
  }
  .ayuda-side {
    position: static;
  }
}

@media (max-width: 900px) {
  .ayuda-hero {
    grid-template-columns: 1fr;
    padding: 32px 24px 26px;
  }
  .ayuda-hero-art {
    order: -1;
    max-width: 240px;
    margin: 0 auto;
  }
  .ayuda-hero-svg { max-width: 240px; }
  .ayuda-hero-badges { grid-template-columns: 1fr; }
  .ayuda-cta {
    grid-template-columns: 1fr;
  }
  .ayuda-cta-actions { width: 100%; }
  .ayuda-cta-btn { flex: 1 1 calc(50% - 5px); }
}

@media (max-width: 640px) {
  .ayuda-hero {
    padding: 26px 18px 22px;
    border-radius: 20px;
    margin-bottom: 22px;
  }
  .ayuda-hero-title { font-size: clamp(1.7rem, 7.5vw, 2.3rem); }
  .ayuda-hero-sub { font-size: 0.96rem; }
  .ayuda-hero-svg { max-width: 200px; }

  .ayuda-section {
    padding: 18px 16px;
    border-radius: 18px;
  }
  .ayuda-section-num { width: 40px; height: 40px; font-size: 0.86rem; }

  .ayuda-faq > summary {
    padding: 14px;
    gap: 10px;
  }
  .ayuda-faq-q { font-size: 0.94rem; }
  .ayuda-faq-a {
    padding: 0 14px 14px 14px;
    font-size: 0.9rem;
  }

  .ayuda-split, .ayuda-steps {
    grid-template-columns: 1fr;
  }

  .ayuda-cta {
    padding: 22px 18px;
    border-radius: 18px;
  }
  .ayuda-cta-actions { gap: 8px; }
  .ayuda-cta-btn {
    flex: 1 1 100%;
    min-height: 44px;
    font-size: 0.86rem;
  }

  .ayuda-panel { padding: 18px; border-radius: 18px; }
  .ayuda-rule { padding: 11px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .ayuda-hero-orb--a,
  .ayuda-hero-orb--b,
  .ayuda-hero-svg,
  .ayuda-cta-glow {
    animation: none;
  }
}


/* ============================================================
   MOBILE — Zonas táctiles cómodas (~44px) y ajuste de hero.
   Solo aplica en pantallas chicas: no cambia el diseño desktop.
   Guía Apple/Google: objetivo táctil mínimo 44x44px.
   ============================================================ */
@media (max-width: 768px) {
  /* Flechas de carrusel: ícono igual, botón más fácil de tocar. */
  .hero-carousel-arrow {
    width: 44px;
    height: 44px;
  }

  /* Corazón de favorito en las cards: mantiene el círculo de 32px
     visible y extiende el área de toque a ~44px con un pseudo-elemento. */
  .psc-card-fav::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
  }

  /* Botón favorito de la ficha de producto. */
  .product-favorite-btn {
    min-height: 44px;
    height: 44px;
  }

  /* Botón "Ver producto" del quick view y otros botones primarios. */
  .psc-btn-primary,
  .psc-btn-secondary {
    min-height: 44px;
  }

  /* Botón hamburguesa del menú. */
  .nav-burger,
  .topbar-px-burger {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Botón "Vaciar carrito" en modo confirmación (segundo toque vacía). */
#cart-clear.is-confirming {
  border-color: rgba(255, 122, 122, 0.6);
  color: #ffb4b4;
}

/* En teléfonos muy chicos bajamos el piso del título del hero para que
   "ENTRAS, COMPRAS Y JUGAS HOY" no quede apretado. */
@media (max-width: 380px) {
  .banner h1 {
    font-size: 1.7rem;
  }
}

/* ============================================================
   MOBILE ≤640px — Reducción de tamaños (cards, ficha, heros).
   Bloque único para no tocar las ~80 media queries existentes.
   No cambia desktop; fácil de revertir.
   ============================================================ */
@media (max-width: 640px) {
  /* (0) Título del producto (h1): un título largo entraba en 3 líneas.
     Lo bajamos a ~18-20px para que quede en 2 líneas y no domine. */
  #product-title {
    font-size: clamp(1.05rem, 5.2vw, 1.3rem);
    line-height: 1.12;
    letter-spacing: -0.3px;
  }

  /* "Configura tu compra" entraba en 2 líneas por el letter-spacing;
     achicamos un poco para que entre en 1 línea. */
  .product-options-section h3 {
    font-size: 0.8rem;
    letter-spacing: 0.03em;
  }

  /* El marco de la ficha anida cards adentro (oferta/resumen, con su propio
     padding): de 12px de lado quedaba un triple borde y todo comprimido.
     Bajamos el padding horizontal para que el contenido respire. */
  .product-options-section { padding: 12px 8px; }
  .selection-summary .summary-row.price-row { padding: 12px 12px; }

  /* (1) Imágenes de las cards: la imagen (.psc-card-bg, cover) debe LLENAR
     el thumb. Antes usábamos max-height, pero junto con aspect-ratio el
     navegador achicaba el ANCHO para mantener la proporción y quedaba un
     hueco a la derecha. Usamos solo aspect-ratio: cuadrado en las cards de
     catálogo/rail (más bajas que 3/4, sin huecos). */
  .psc-card.compact-poster-card .psc-card-thumb { aspect-ratio: 1 / 1; }

  /* (2) Selectores de la ficha (PS4/PS5 · Primaria/Secundaria):
     más compactos (~56px) sin perder el tap target (>44px). */
  .product-options-section .option-btn { padding: 8px 10px; gap: 4px; }
  .product-options-section .option-btn .console-icon,
  .product-options-section .option-btn .account-icon { font-size: 1.3rem; }
  .product-options-section .option-btn .btn-text { font-size: 0.9rem; }

  /* (3) "Precio final" de la ficha: de ~34px a ~26px. */
  .selection-summary .summary-row.price-row .summary-value { font-size: 1.6rem; }

  /* (4) Títulos de hero: en mobile el clamp queda en el piso (~30-32px);
     los bajamos a ~24px para no comer media pantalla. */
  .instructivo-hero-copy h1 { font-size: 1.5rem; }
  .ayuda-hero-title { font-size: 1.5rem; }
  .auth-panel h1 { font-size: 1.55rem; }

  /* (5) Hero de Ayuda: menos padding para que las FAQ aparezcan antes. */
  .ayuda-hero { padding: 26px 20px 24px; }

  /* (6) CTAs del hero del home: 2x2 en lugar de 4 filas apiladas. */
  .banner-ctas { display: grid; grid-template-columns: repeat(2, 1fr); }
}
