/* ============ Reset minimo ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ============ Paleta Panini ============ */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --bg-soft-2: #efefef;
  --ink: #111111;
  --ink-soft: #444444;
  --ink-muted: #888888;
  --border: #e5e5e5;
  --border-strong: #cfcfcf;
  --black: #000;
  --white: #fff;
  --brand-yellow: #FFE500;
  --brand-yellow-d: #E5CD00;
  --brand-red: #E30613;
  --brand-red-d: #B30410;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 18px 48px rgba(0,0,0,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1280px;
  --container-pad: 20px;
  --header-h: 76px;

  --font-display: 'Anton', 'Bebas Neue', Impact, system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ============ Base ============ */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
p { margin: 0 0 1em; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.muted { color: var(--ink-muted); font-size: 0.9rem; }

/* ============ Video de fondo + overlay (blanco semitransparente) ============ */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  background: var(--bg-soft);
  filter: saturate(0.85) contrast(1.02);
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  image-rendering: optimizeQuality;
}
.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 100%);
  z-index: -1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg-video { display: none; }
  body::before {
    content: '';
    position: fixed; inset: 0;
    background: var(--bg-soft);
    z-index: -2;
  }
}

/* ============ Página de categoría (figuritas.html) ============ */
.page-categoria {
  position: relative;
  min-height: 100vh;
  background: #000;
}
/* Background fixed con la imagen del sobre, en alta resolución y sin overlay (efecto parallax) */
.page-categoria::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url('/panini/paquetefiguritas.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  image-rendering: -webkit-optimize-contrast;
}
/* Variante: Cartas Adrenalyn XL — usa video de estadio (.bg-video), no imagen estática */
.page-categoria--cartas { background: transparent; }
.page-categoria--cartas::before { display: none; }

/* Variante: Figuritas y Álbum — usa video custom (.bg-video), no imagen estática */
.page-categoria--figuritas { background: transparent; }
.page-categoria--figuritas::before { display: none; }
.breadcrumbs {
  padding: 18px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
.breadcrumbs a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s;
}
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-hidden] { color: rgba(255, 255, 255, 0.6); }

.categoria-hero {
  padding: 32px 0 20px;
  text-align: center;
}
.categoria-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}
.categoria-sub {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.categoria-sub strong { color: #fff; }

/* Grilla full-width en subpáginas — mobile-first 2 cols desde 380px */
.products-grid.products-grid--full { grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 359px) { .products-grid.products-grid--full { grid-template-columns: 1fr; } }
@media (min-width: 600px) { .products-grid.products-grid--full { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (min-width: 900px) { .products-grid.products-grid--full { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1200px) { .products-grid.products-grid--full { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

/* ============ Topbar (anuncios rotativos) ============ */
.topbar {
  background: #003DA5;
  color: var(--white);
  border-top: 3px solid var(--brand-yellow);
  border-bottom: 1px solid #002B7A;
  position: relative;
  z-index: 49;
}
.topbar p {
  margin: 0;
  padding: 10px 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

/* Topbar ticker (carousel de promociones) */
.topbar-ticker {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  height: 40px;
}
.topbar-ticker-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
  opacity: 0;
  pointer-events: none;
  animation: tickerFade 24s infinite;
}
.topbar-ticker-item:nth-child(1) { animation-delay: 0s; }
.topbar-ticker-item:nth-child(2) { animation-delay: 6s; }
.topbar-ticker-item:nth-child(3) { animation-delay: 12s; }
.topbar-ticker-item:nth-child(4) { animation-delay: 18s; }
.topbar-ticker-item a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}
.topbar-ticker-item a:hover { color: var(--brand-yellow); }
.topbar-ticker-item strong {
  color: var(--brand-yellow);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-right: 4px;
}
@keyframes tickerFade {
  0%   { opacity: 0; pointer-events: none; }
  3%   { opacity: 1; pointer-events: auto; }
  22%  { opacity: 1; pointer-events: auto; }
  25%  { opacity: 0; pointer-events: none; }
  100% { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  .topbar-ticker-item { animation: none; }
  .topbar-ticker-item:nth-child(1) { opacity: 1; pointer-events: auto; }
}
@media (max-width: 600px) {
  .topbar-ticker { height: 48px; }
  .topbar-ticker-item { padding: 0 16px; }
  .topbar-ticker-item a { font-size: 0.78rem; }
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand-logo {
  height: 56px;
  width: auto;
  display: block;
  mix-blend-mode: darken;
}
.site-nav {
  margin-left: auto;
  display: none;
  gap: 24px;
}
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--ink); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-btn-header {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background 0.15s;
  padding: 0;
}
.icon-btn-header:hover { background: var(--bg-soft); }
.icon-btn-header svg { width: 22px; height: 22px; display: block; }
.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}
.cart-btn:hover { background: var(--bg-soft); }
.cart-icon { width: 24px; height: 24px; display: block; }
.cart-badge {
  position: absolute;
  top: -2px; right: -4px;
  background: var(--brand-red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid var(--white);
  line-height: 1;
}

@media (min-width: 768px) {
  .site-nav { display: flex; }
  .brand-logo { height: 60px; }
}

.site-header .header-inner { padding-left: 8px; }
@media (min-width: 768px) {
  .site-header .header-inner { padding-left: 12px; }
}

/* ============ Hero ============ */
.hero {
  padding: 0 0 60px;
  text-align: center;
}
.hero-carousel {
  position: relative;
  width: 100%;
  background: var(--white);
  overflow: hidden;
}
.carousel-viewport {
  width: 100%;
  overflow: hidden;
}
.carousel-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.carousel-slide > a {
  display: block;
  width: 100%;
  text-decoration: none;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 500;
  object-fit: cover;
  display: block;
  background: var(--white);
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.15s, transform 0.15s;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.carousel-nav:hover { background: var(--white); transform: translateY(-50%) scale(1.05); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.15);
  padding: 0;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.carousel-dot:hover { background: rgba(255,255,255,0.85); }
.carousel-dot[aria-current="true"] { background: var(--brand-yellow); transform: scale(1.2); }
@media (max-width: 600px) {
  .carousel-nav { width: 36px; height: 36px; font-size: 1.3rem; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-dots { bottom: 10px; }
}

/* ============ Dual banners (debajo del carousel) ============ */
.dual-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  background: var(--white);
  margin-top: 0;
}
.dual-banner {
  display: block;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
}
.dual-banner:hover { opacity: 0.92; }
.dual-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 500;
  object-fit: cover;
  display: block;
}
@media (min-width: 700px) {
  .dual-banners { grid-template-columns: 1fr 1fr; }
}

/* Mobile (≤699px): los 2 banners rotan uno a la vez como mini carousel auto */
@media (max-width: 699px) {
  /* Ocultar el hero-carousel manual: en mobile solo se ve el dual-banners auto */
  .hero-carousel { display: none; }

  .dual-banners {
    position: relative;
    display: block;
    aspect-ratio: 1920 / 500;
    overflow: hidden;
  }
  .dual-banner {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .dual-banner img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }
  .dual-banner:nth-child(1) { animation: dualBannerFade1 8s infinite; }
  .dual-banner:nth-child(2) { animation: dualBannerFade2 8s infinite; }
}
@keyframes dualBannerFade1 {
  0%, 45% { opacity: 1; pointer-events: auto; }
  50%, 95% { opacity: 0; pointer-events: none; }
  100% { opacity: 1; pointer-events: auto; }
}
@keyframes dualBannerFade2 {
  0%, 45% { opacity: 0; pointer-events: none; }
  50%, 95% { opacity: 1; pointer-events: auto; }
  100% { opacity: 0; pointer-events: none; }
}
/* Reduced motion: sin animación, solo se ve el primer banner */
@media (max-width: 699px) and (prefers-reduced-motion: reduce) {
  .dual-banner { animation: none; opacity: 1; pointer-events: auto; }
  .dual-banner:nth-child(2) { display: none; }
}

/* ============ Botones ============ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.1s, background 0.15s, box-shadow 0.15s, border-color 0.15s;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-primary {
  background: var(--brand-yellow);
  color: var(--ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}
.btn-primary:hover { background: var(--brand-yellow-d); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--ink-muted); }

/* ============ Sections ============ */
.section {
  padding: 60px 0;
  background: transparent;
  position: relative;
}
.section-alt { background: transparent; }

/* ============ Sectores (Figuritas / Cartas) lado a lado ============ */
.sectores-wrapper {
  padding: 60px 0;
  position: relative;
}
.sectores-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
.sector {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sector .products-grid {
  flex: 1;
  grid-auto-rows: 1fr;
}
@media (min-width: 1024px) {
  .sectores-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 18px;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

/* ============ Productos ============ */
.combo-recommend {
  background: var(--bg-soft);
  color: var(--ink-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--ink);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.combo-recommend strong { color: var(--ink); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 359px) { .products-grid { grid-template-columns: 1fr; } }
.product-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.product-card--featured {
  border: 2px solid var(--brand-yellow);
  box-shadow: var(--shadow-md);
}
.product-card--featured .product-image { background: linear-gradient(180deg, #FFFBE6 0%, var(--white) 60%); }
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-red);
  color: var(--white);
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: var(--shadow-sm);
}
.product-badge--new { background: var(--brand-red); }
.product-badge--offer { background: var(--brand-red-d); }
.product-badge--featured { background: var(--brand-yellow); color: var(--ink); }
.product-badge--limited {
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #B8860B 100%);
  color: var(--ink);
}

/* ============ Product gallery (Omni Set) ============ */
.product-card--omni .product-image--gallery {
  aspect-ratio: 4 / 3;
  background: #0a0a0a;
}
.product-card--omni .product-image--gallery img {
  background: transparent;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 10px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.product-thumb {
  padding: 0;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: border-color 0.15s, transform 0.15s;
  display: block;
}
.product-thumb:hover { border-color: var(--ink-muted); transform: translateY(-1px); }
.product-thumb[aria-current="true"] {
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 1px var(--brand-yellow);
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0a;
  padding: 2px;
}
@media (min-width: 700px) {
  .product-thumbs { grid-template-columns: repeat(9, 1fr); }
}

/* Thumbnails compactos para cards regulares (Mini) */
.product-thumbs--compact {
  grid-template-columns: repeat(6, 1fr) !important;
  padding: 8px;
  gap: 4px;
}
.product-thumbs--compact .product-thumb {
  border-width: 1px;
}
.product-thumbs--compact .product-thumb img {
  background: var(--white);
  padding: 1px;
}

/* Sector cartas: 2 cols desde mobile (380px+). El Omniset ocupa toda la fila. */
.products-grid--cartas {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: none;
  margin: 0;
  gap: 10px;
}
@media (max-width: 359px) { .products-grid--cartas { grid-template-columns: 1fr !important; } }
@media (min-width: 700px) { .products-grid--cartas { gap: 14px; } }
.products-grid--cartas .product-card--omni { grid-column: 1 / -1 !important; }
.products-grid--cartas .product-card--omni .product-image--gallery { aspect-ratio: 16 / 9; }
.product-cat {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 0;
  font-weight: 500;
}
.product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.product-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ============ Fondo tornasolado para cards de figuritas y álbumes ============ */
.products-grid--holo .product-card:not(.product-card--limited) .product-image {
  position: relative;
  background:
    linear-gradient(135deg,
      hsl(340, 85%, 78%) 0%,
      hsl(45,  90%, 75%) 18%,
      hsl(140, 70%, 75%) 36%,
      hsl(190, 80%, 75%) 54%,
      hsl(250, 75%, 80%) 72%,
      hsl(310, 80%, 78%) 90%,
      hsl(340, 85%, 78%) 100%);
  background-size: 220% 220%;
  background-position: 0% 50%;
  transition: background-position 700ms ease, filter 700ms ease;
  overflow: hidden;
}
.products-grid--holo .product-card:not(.product-card--limited) .product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(120deg,
      rgba(255, 255, 255, 0.18) 0 2px,
      rgba(255, 255, 255, 0)    2px 7px);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.7;
}
.products-grid--holo .product-card:not(.product-card--limited) .product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%);
  transform: translateX(-110%);
  transition: transform 900ms ease;
  pointer-events: none;
}
.products-grid--holo .product-card:not(.product-card--limited):hover .product-image {
  background-position: 100% 50%;
  filter: saturate(1.15);
}
.products-grid--holo .product-card:not(.product-card--limited):hover .product-image::after {
  transform: translateX(110%);
}
.products-grid--holo .product-card:not(.product-card--limited) .product-image img {
  position: relative;
  z-index: 1;
}
.products-grid--holo .product-card--featured:not(.product-card--limited) .product-image {
  background:
    linear-gradient(135deg,
      hsl(340, 85%, 78%) 0%,
      hsl(45,  90%, 75%) 18%,
      hsl(140, 70%, 75%) 36%,
      hsl(190, 80%, 75%) 54%,
      hsl(250, 75%, 80%) 72%,
      hsl(310, 80%, 78%) 90%,
      hsl(340, 85%, 78%) 100%);
  background-size: 220% 220%;
  background-position: 0% 50%;
}

/* ============ Black + Gold iridiscente PREMIUM para Omni Set (edición limitada) ============ */
@keyframes omniRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes omniPulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 0.85; transform: translate(-50%, -50%) scale(1.08); }
}
.products-grid--holo .product-card--limited .product-image,
.products-grid--holo .product-card--limited .product-image--gallery {
  position: relative;
  background:
    radial-gradient(ellipse 65% 55% at 50% 50%,
      rgba(40, 28, 8, 0.4) 0%,
      #050301              80%),
    #030201;
  overflow: hidden;
  isolation: isolate;
}
/* Capa 1: conic gradient rotatorio NEGRO dominante con acentos dorados */
.products-grid--holo .product-card--limited .product-image::before,
.products-grid--holo .product-card--limited .product-image--gallery::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 200%; height: 200%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg at 50% 50%,
    #020100 0deg,
    #0a0703 60deg,
    #1f1606 90deg,
    #5a3f0e 105deg,
    #d4af37 120deg,
    #5a3f0e 135deg,
    #0a0703 150deg,
    #020100 180deg,
    #0a0703 240deg,
    #2a1d08 270deg,
    #8a6418 285deg,
    #d4af37 300deg,
    #4a3508 320deg,
    #0a0703 340deg,
    #020100 360deg);
  animation: omniRotate 16s linear infinite;
  pointer-events: none;
  z-index: 0;
  filter: blur(0.5px);
}
/* Capa 2: burst dorado radial chico + rayos sutiles (no domina, solo acento) */
.products-grid--holo .product-card--limited .product-image::after,
.products-grid--holo .product-card--limited .product-image--gallery::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at center,
      rgba(255, 230, 150, 0.35) 0%,
      rgba(212, 175, 55, 0.18)  20%,
      transparent              55%),
    repeating-conic-gradient(from 0deg at 50% 50%,
      transparent 0deg,
      rgba(255, 215, 0, 0.12) 1deg,
      transparent 3deg,
      transparent 18deg);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  animation: omniPulse 5s ease-in-out infinite;
}
.products-grid--holo .product-card--limited .product-image img,
.products-grid--holo .product-card--limited .product-image--gallery img {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 30px rgba(255, 200, 50, 0.35));
}
.products-grid--holo .product-card--limited:hover .product-image::before,
.products-grid--holo .product-card--limited:hover .product-image--gallery::before {
  animation-duration: 6s;
}
.products-grid--holo .product-card--limited:hover .product-image::after,
.products-grid--holo .product-card--limited:hover .product-image--gallery::after {
  animation-duration: 1.5s;
}
@media (prefers-reduced-motion: reduce) {
  .products-grid--holo .product-card--limited .product-image::before,
  .products-grid--holo .product-card--omni .product-image--gallery::before,
  .products-grid--holo .product-card--limited .product-image::after,
  .products-grid--holo .product-card--limited .product-image--gallery::after {
    animation: none;
  }
}

/* ============ Omni Set: override con dorado dominante (sunburst clásico) ============ */
.products-grid--holo .product-card--omni .product-image,
.products-grid--holo .product-card--omni .product-image--gallery {
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%,
      rgba(255, 248, 210, 0) 30%,
      rgba(20, 14, 4, 0.85)  100%),
    #060504;
}
.products-grid--holo .product-card--omni .product-image::before,
.products-grid--holo .product-card--omni .product-image--gallery::before {
  background: conic-gradient(from 0deg at 50% 50%,
    #050402 0deg,
    #2a1d05 25deg,
    #8a6418 55deg,
    #d4af37 90deg,
    #fff3a8 110deg,
    #ffe27a 135deg,
    #d4af37 165deg,
    #6b4a10 200deg,
    #1a1206 240deg,
    #050402 280deg,
    #6b4a10 310deg,
    #d4af37 340deg,
    #050402 360deg);
  animation-duration: 14s;
}
.products-grid--holo .product-card--omni .product-image::after,
.products-grid--holo .product-card--omni .product-image--gallery::after {
  width: 130%; height: 130%;
  background:
    radial-gradient(circle at center,
      rgba(255, 240, 170, 0.55) 0%,
      rgba(255, 215, 0, 0.35)   18%,
      rgba(180, 130, 30, 0.15)  40%,
      transparent              70%),
    repeating-conic-gradient(from 0deg at 50% 50%,
      transparent 0deg,
      rgba(255, 215, 0, 0.18) 2deg,
      transparent 4deg,
      transparent 14deg);
  animation-duration: 4s;
}

.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-name {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.45;
  min-height: 4.35em;
}
.product-price {
  font-size: 1.5rem;
  color: var(--ink);
  margin: 4px 0 0;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-top: auto; /* Empuja el precio hacia abajo, alinea controles entre cards */
  padding-top: 6px;
}
.product-price .price-unit { font-size: 0.85rem; color: var(--ink-muted); font-weight: 500; margin-left: 4px; }
/* El omniset es caso especial — descripción completa visible */
.product-card--omni .product-name { min-height: 0; -webkit-line-clamp: unset; }
.product-card--omni .product-desc { min-height: 0; -webkit-line-clamp: unset; }

.qty-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: fit-content;
  overflow: hidden;
}
.qty-btn {
  width: 40px; height: 44px;
  font-size: 1.2rem;
  font-weight: 600;
  background: var(--white);
  color: var(--ink);
  transition: background 0.1s;
}
.qty-btn:hover { background: var(--bg-soft); }
.qty-input {
  width: 70px; height: 44px;
  text-align: center;
  border: 0;
  border-left: 1px solid var(--border-strong);
  border-right: 1px solid var(--border-strong);
  font-weight: 600;
  background: var(--white);
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.qty-preview { font-size: 0.9rem; color: var(--ink-muted); margin: 0; }

@media (min-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ============ Galería ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery-item {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.04); }

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* ============ Extras bar (Countdown + FAQ) ============ */
.extras-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.extras-bar--wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) {
  .extras-bar--wide { grid-template-columns: 1fr 1.4fr; align-items: stretch; }
}

/* Countdown */
.countdown {
  background: linear-gradient(135deg, #003DA5 0%, #001f5c 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--brand-yellow);
  position: relative;
  overflow: hidden;
}
.countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(255, 229, 0, 0.18), transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(227, 6, 19, 0.18), transparent 50%);
  pointer-events: none;
}
.countdown > * { position: relative; z-index: 1; }
.countdown-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-yellow);
}
.countdown-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.countdown-box {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 12px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(255, 229, 0, 0.18);
}
.countdown-num {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--white);
}
.countdown-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
}
.countdown-sub {
  margin: 14px 0 0;
  font-size: 0.85rem;
  opacity: 0.92;
}

/* FAQ */
.faq {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 22px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.faq-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.faq-item {
  border-top: 1px solid var(--border);
  padding: 14px 0;
}
.faq-item:last-child { padding-bottom: 0; }
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--ink);
  padding-right: 4px;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand-red);
  transition: transform 0.2s;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Cómo comprar (3 pasos) */
.how-to-buy {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.how-to-buy-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.how-to-buy-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: steps;
}
@media (min-width: 720px) {
  .how-to-buy-steps { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
.how-to-buy-step {
  position: relative;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid var(--border);
}
.step-num {
  position: absolute;
  top: -10px;
  left: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-red);
  color: var(--white);
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.step-icon {
  width: 28px;
  height: 28px;
  color: var(--brand-red);
  margin-top: 4px;
}
.how-to-buy-step h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}
.how-to-buy-step p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0;
}

/* Figuritas raras 1-of-1 (rarity ladder) */
.rare-stickers {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1206 60%, #2a1d05 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  border: 2px solid #d4af37;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.rare-stickers::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(212, 175, 55, 0.18), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(212, 175, 55, 0.12), transparent 55%);
  pointer-events: none;
}
.rare-stickers > * { position: relative; z-index: 1; }
.rare-stickers-eyebrow {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #d4af37;
}
.rare-stickers-title {
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 0 10px;
  line-height: 1.25;
  color: var(--white);
}
.rare-stickers-intro {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}
.rare-stickers-intro strong { color: #ffe27a; }

.rarity-ladder {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rarity-tier {
  display: grid;
  grid-template-columns: minmax(120px, max-content) 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.4);
}
.rarity-badge {
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
}
.rarity-desc {
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}
.rarity-desc strong { color: #ffe27a; }
.rarity-desc em { color: #d4af37; font-style: normal; font-weight: 700; }

.rarity-tier--gold .rarity-badge {
  background: linear-gradient(135deg, #b8860b 0%, #ffd700 50%, #b8860b 100%);
  color: #1a1206;
}
.rarity-tier--colors .rarity-badge {
  background: linear-gradient(90deg, #1e6fff 0%, #c41e3a 33%, #8a2be2 66%, #2ecc71 100%);
  color: var(--white);
}
.rarity-tier--black {
  border-color: #d4af37;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, 0.18), transparent 70%),
    rgba(0, 0, 0, 0.65);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.25), inset 0 0 12px rgba(212, 175, 55, 0.12);
}
.rarity-tier--black .rarity-badge {
  background: #000;
  color: #ffd700;
  border: 1px solid #d4af37;
}

.rare-stickers-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-yellow);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 4px 14px rgba(255, 229, 0, 0.35);
}
.rare-stickers-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 229, 0, 0.5);
}

/* Por qué Panini (stats) */
.why-panini {
  background: var(--brand-yellow);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  border: 2px solid var(--brand-yellow-d);
  box-shadow: var(--shadow-md);
}
.why-panini-title {
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.why-panini-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .why-panini-stats { grid-template-columns: 1fr; }
}
.why-panini-stat {
  background: rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--brand-red);
  border-radius: var(--radius-sm);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.why-panini-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  color: var(--brand-red);
  letter-spacing: -0.02em;
}
.why-panini-label {
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 600;
}

/* ============ Panini Apps section ============ */
.panini-apps {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  padding: 48px 0 56px;
  border-top: 1px solid var(--border);
}
.panini-apps-eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  text-align: center;
}
.panini-apps-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  margin: 0 0 8px;
  text-align: center;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.panini-apps-intro {
  margin: 0 auto 32px;
  text-align: center;
  max-width: 540px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}
.panini-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 720px) { .panini-apps-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .panini-apps-grid { grid-template-columns: repeat(6, 1fr); gap: 14px; } }

.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 200ms ease;
}
.app-card:hover { transform: translateY(-4px); }
.app-card:hover .app-icon { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }

.app-icon-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 132px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: box-shadow 200ms ease;
  display: block;
}
.app-card:hover .app-icon-img { box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.app-name {
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  color: var(--ink);
}

/* ============ Footer ============ */
.site-footer {
  padding: 48px 0 24px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  margin-top: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  position: relative;
}
.site-footer p { margin: 4px 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-about p {
  margin: 12px 0 0;
  line-height: 1.55;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.footer-logo {
  height: 44px;
  width: auto;
  border-radius: 6px;
  display: block;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-list li {
  display: flex;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.footer-list li::before {
  content: "✓";
  color: var(--brand-red);
  font-weight: 800;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.social-icons {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 150ms ease, color 150ms ease, opacity 150ms ease;
  opacity: 0.85;
}
.social-icon:hover { opacity: 1; transform: translateY(-2px); color: var(--brand-red); }
.social-icon svg { width: 26px; height: 26px; }

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-bottom .muted {
  font-size: 0.75rem;
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto;
}

/* ============ Drawer carrito ============ */
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 90;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 420px;
  height: 100dvh;
  background: var(--white);
  color: var(--ink);
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.25s ease-out;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.drawer-header, .drawer-footer {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-footer {
  border-bottom: 0;
  border-top: 1px solid var(--border);
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.drawer-header h2 {
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 800;
}
.icon-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 1rem;
  color: var(--ink-soft);
  transition: background 0.1s, color 0.1s;
}
.icon-btn:hover { background: var(--bg-soft-2); color: var(--ink); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item:last-child { border-bottom: 0; }
.cart-item-img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}
.cart-item-info { min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.95rem; color: var(--ink); margin-bottom: 4px; }
.cart-item-price { font-size: 0.85rem; color: var(--ink-muted); }
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.cart-item-qty {
  width: 56px; height: 32px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-weight: 600;
}
.cart-item-remove {
  color: var(--ink-soft);
  font-size: 0.8rem;
  text-decoration: underline;
  background: none;
  padding: 4px 6px;
}
.cart-item-remove:hover { color: var(--ink); }
.cart-item-subtotal {
  font-weight: 800;
  color: var(--ink);
  font-size: 1rem;
  white-space: nowrap;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.total-row strong {
  font-size: 1.3rem;
  color: var(--ink);
}
.drawer-actions {
  display: flex;
  gap: 10px;
}
.drawer-actions .btn { flex: 1; }

/* ============ Modal ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
  animation: fadeIn 0.2s;
}
.modal-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  width: 100%;
  max-width: 640px;
  max-height: 92dvh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: popIn 0.2s ease-out;
}
@keyframes popIn { from { transform: translateY(20px) scale(0.96); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.modal-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h2 {
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 800;
}

/* ============ Form checkout ============ */
.checkout-form { padding: 20px; overflow-y: auto; }
.checkout-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 24px;
}
.checkout-form legend {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  padding: 0;
}
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row:has(.field-grow) { grid-template-columns: 2fr 1fr 1fr; }
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
  width: 100%;
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #c00;
}
.field textarea { resize: vertical; min-height: 60px; }

.error {
  font-size: 0.8rem;
  color: #c00;
  font-weight: 600;
  min-height: 16px;
}

.form-error {
  background: #fff5f5;
  color: #900;
  border: 1px solid #f3c0c0;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.checkout-summary {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}
.checkout-summary h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.checkout-summary ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.checkout-summary li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed var(--border);
}
.checkout-summary li:last-child { border-bottom: 0; }
.checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.checkout-total strong {
  font-size: 1.25rem;
  color: var(--ink);
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.modal-actions .btn { flex: 1 1 auto; }
@media (min-width: 600px) {
  .modal-actions .btn { flex: 0 1 auto; }
}

/* ============ Confirmacion ============ */
.confirm-card { max-width: 560px; }
.confirm-body { padding: 20px; overflow-y: auto; }
.confirm-success {
  font-size: 1.05rem;
  text-align: center;
  margin: 0 0 8px;
  color: var(--ink-soft);
}
.order-number {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 24px;
  color: var(--ink-soft);
}
.order-number strong {
  font-size: 1.6rem;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.02em;
  display: block;
  margin-top: 4px;
}
.confirm-section {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 16px;
}
.confirm-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.confirm-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.confirm-section li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.confirm-total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.confirm-total strong {
  font-size: 1.25rem;
  color: var(--ink);
}

.bank-info { border-left: 3px solid var(--ink); }
.bank-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 12px;
  margin: 0;
  font-size: 0.95rem;
}
.bank-list dt { font-weight: 700; color: var(--ink-soft); }
.bank-list dd { margin: 0; word-break: break-all; font-family: 'SFMono-Regular', Consolas, monospace; color: var(--ink); }

.whatsapp-info { border-left: 3px solid var(--ink-muted); }
.whatsapp-info a { color: var(--ink); text-decoration: underline; }
.whatsapp-info a:hover { color: var(--black); }

#backToShopBtn { width: 100%; }

/* ============ Search modal ============ */
.modal--search { align-items: flex-start; padding-top: 80px; }
.search-card { max-width: 640px; }
.search-body { padding: 20px; }
.search-input-wrap {
  position: relative;
  margin-bottom: 16px;
}
.search-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--ink-muted);
  pointer-events: none;
}
#searchInput {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
#searchInput:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}
.search-hint {
  margin: 0;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
  padding: 16px 0;
}
.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 380px;
  overflow-y: auto;
}
.search-results li { margin: 0; }
.search-results li.empty {
  padding: 16px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 8px;
  text-decoration: none;
  color: var(--ink);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.search-result:hover {
  background: var(--bg-soft);
  border-color: var(--border);
}
.search-result-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: var(--bg-soft);
  border-radius: 6px;
  flex-shrink: 0;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--ink);
}
.search-result-cat {
  font-size: 0.78rem;
  color: var(--ink-muted);
}
.search-result-price {
  font-weight: 800;
  color: var(--ink);
  font-size: 1rem;
  white-space: nowrap;
}

/* ============ Body locked when modal/drawer open ============ */
body.no-scroll { overflow: hidden; }

/* Borde negro para productos edición limitada (override featured yellow) */
.product-card--limited.product-card--featured {
  border: 2px solid transparent;
  background-image:
    linear-gradient(var(--white), var(--white)),
    linear-gradient(135deg, #b8860b 0%, #ffd700 25%, #fff4b8 50%, #ffd700 75%, #b8860b 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.35);
}
/* Override: el Omni Set lleva borde negro sólido (no dorado) */
.product-card--omni.product-card--limited.product-card--featured {
  border: 2px solid #000;
  background-image: none;
  background: var(--white);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
}
/* Edición limitada: ocupa el ancho completo del grid (como el Omni Set) */
.products-grid--holo .product-card--limited { grid-column: 1 / -1; }
.products-grid--holo .product-card--limited .product-image--gallery { aspect-ratio: 16 / 9; }

/* ============================================================================
   MOBILE OPTIMIZATION (≤ 600px)
   - Cards más compactas, padding reducido, font sizes con clamp()
   - Touch targets ≥44px (Apple HIG)
   - Quantity controls + botones más anchos para tap fácil
   - Descripciones ocultas en cards (se ven al expandir, full screen real estate)
   ============================================================================ */
@media (max-width: 600px) {
  /* Container padding ajustado */
  .container { padding: 0 12px; }

  /* Hero / categoría más compacta */
  .categoria-hero { padding: 18px 0 10px; }
  .categoria-title { font-size: clamp(1.4rem, 5vw, 1.8rem); margin: 0 0 8px; }
  .categoria-sub { font-size: 0.88rem; line-height: 1.45; }
  .breadcrumbs { padding: 12px 0 0; font-size: 0.78rem; }

  /* Section titles más chicos */
  .section-title { font-size: clamp(1.3rem, 5vw, 1.7rem); margin-bottom: 4px; }

  /* Reducir padding vertical del wrapper y separación entre sectores para acortar el scroll */
  .sectores-wrapper { padding: 8px 0 14px; }
  .sectores-grid { gap: 10px; }
  .sector { display: block; }

  /* Sectores grid: stack vertical sin huecos en index */
  .sectores-grid, .sectores-grid * { align-items: stretch; }

  /* Product cards: compactas */
  /* Cada card toma su altura natural — evita el gran espacio en blanco entre descripción y precio */
  .products-grid { align-items: start; gap: 6px; grid-auto-rows: auto; }
  .sector .products-grid { grid-auto-rows: auto; }
  .product-card { align-self: start; }
  .product-body { padding: 8px 10px 10px; gap: 3px; flex: 0 1 auto; }
  .product-image { padding: 8px; aspect-ratio: 4 / 3; }
  .product-cat { font-size: 0.65rem; letter-spacing: 0.04em; margin: 0; }
  .product-name { font-size: 0.9rem; line-height: 1.2; min-height: 2.4em; margin: 0; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .product-desc { font-size: 0.75rem; line-height: 1.35; min-height: 2.7em; margin: 0; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .product-price { font-size: 1.1rem; padding-top: 2px; margin-top: 1px; }
  .product-price .price-unit { font-size: 0.7rem; }
  .product-badge { padding: 3px 8px; font-size: 0.6rem; top: 6px; left: 6px; }

  /* Quantity controls: más compactos pero mantienen 44px alto para touch */
  .qty-row { width: 100%; justify-content: space-between; }
  .qty-btn { width: 36px; height: 40px; font-size: 1.1rem; flex-shrink: 0; }
  .qty-input { flex: 1; height: 40px; font-size: 0.95rem; min-width: 0; }

  /* Botones full-width para tap fácil */
  .btn { padding: 12px 16px; font-size: 0.85rem; }
  .btn-add { width: 100%; }

  /* Edición limitada en mobile: aspect ratio más alto (no tanto 16:9 que es muy ancho) */
  .products-grid--holo .product-card--limited .product-image--gallery,
  .products-grid--cartas .product-card--omni .product-image--gallery { aspect-ratio: 4 / 3; }

  /* Thumbnails de gallery: 5 columnas en mobile (las 9 originales no entran bien) */
  .product-thumbs { grid-template-columns: repeat(5, 1fr) !important; gap: 4px; padding: 6px; }
  .product-thumbs--compact { grid-template-columns: repeat(5, 1fr) !important; }

  /* Hero carousel más bajo */
  .carousel-viewport { aspect-ratio: 16 / 10; }

  /* Topbar ticker tipografía menor */
  .topbar-ticker { height: 44px; }
  .topbar-ticker-item { padding: 0 14px; }
  .topbar-ticker-item a { font-size: 0.75rem; line-height: 1.3; }

  /* Header brand logo más chico */
  .brand-logo { height: 40px; }
  .header-inner { height: 60px; gap: 10px; }
  .icon-btn-header svg, .cart-icon { width: 22px; height: 22px; }

  /* Footer compacto */
  .footer-grid { gap: 24px; padding-bottom: 20px; }
  .footer-col h4 { font-size: 0.78rem; margin-bottom: 8px; }
  .footer-list li { font-size: 0.82rem; }
  .footer-bottom .muted { font-size: 0.7rem; }

  /* Countdown: cajas más ajustadas */
  .countdown { padding: 18px 14px; }
  .countdown-boxes { gap: 6px; }
  .countdown-box { padding: 10px 2px; }
  .countdown-num { font-size: clamp(1.4rem, 7vw, 1.9rem); }
  .countdown-label { font-size: 0.62rem; letter-spacing: 0.06em; }
  .countdown-sub { font-size: 0.78rem; margin-top: 10px; }

  /* FAQ más compacto */
  .faq { padding: 18px 16px 12px; }
  .faq-item { padding: 12px 0; }
  .faq-item summary { font-size: 0.88rem; }
  .faq-item p { font-size: 0.82rem; }

  /* Cómo comprar steps */
  .how-to-buy { padding: 18px 16px 20px; }
  .how-to-buy-steps { gap: 22px; }
  .how-to-buy-step { padding: 14px 14px 12px; }

  /* Rare stickers */
  .rare-stickers { padding: 22px 16px 18px; }
  .rare-stickers-title { font-size: 1.05rem; }
  .rare-stickers-intro { font-size: 0.85rem; }
  .rarity-tier { grid-template-columns: 1fr; gap: 6px; padding: 10px 12px; }
  .rarity-badge { justify-self: start; font-size: 0.7rem; }
  .rarity-desc { font-size: 0.8rem; }
  .rare-stickers-cta { width: 100%; justify-content: center; padding: 12px 16px; font-size: 0.88rem; }

  /* Por qué Panini stats */
  .why-panini { padding: 20px 16px 18px; }
  .why-panini-title { font-size: 0.92rem; }
  .why-panini-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .why-panini-stat { padding: 12px 12px 10px; }
  .why-panini-num { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .why-panini-label { font-size: 0.74rem; }

  /* Apps section */
  .panini-apps { padding: 32px 0 36px; }
  .panini-apps-title { font-size: 1.2rem; }
  .panini-apps-intro { font-size: 0.85rem; margin-bottom: 22px; }
  .panini-apps-grid { gap: 14px; }
  .app-icon-img { max-width: 100px; border-radius: 18px; }
  .app-name { font-size: 0.7rem; }

  /* Modales/dialogs full-screen para mejor UX */
  .modal { width: 100% !important; max-width: 100% !important; max-height: 100vh !important; border-radius: 0 !important; }

  /* Sticky cart button más visible */
  .cart-btn { padding: 6px 8px; }
  .cart-badge { top: -2px; right: -2px; min-width: 18px; height: 18px; font-size: 0.65rem; }
}

/* Phones muy chicas (≤ 360px) — Galaxy S8 etc */
@media (max-width: 360px) {
  .product-name { font-size: 0.85rem; }
  .product-price { font-size: 1.05rem; }
  .qty-btn { width: 32px; }
  .qty-input { font-size: 0.9rem; }
  .why-panini-stats { grid-template-columns: 1fr; }
}
