/* ============ 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); }
.btn-whatsapp {
 background: #25D366;
 color: #fff;
 font-weight: 700;
 letter-spacing: 0.01em;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 100%;
 text-decoration: none;
 border: 1px solid #1ebe5a;
}
.btn-whatsapp:hover { background: #1ebe5a; color: #fff; }
.btn-whatsapp:active { transform: translateY(1px); }

/* ============ 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--superfeatured {
 box-shadow:
  0 0 0 3px var(--brand-red),
  0 10px 28px rgba(230, 0, 18, 0.18),
  var(--shadow-md);
}
.product-card--featured.product-card--superfeatured {
 border-color: var(--brand-yellow);
}
.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--superfeatured {
 background: linear-gradient(135deg, #c8102e 0%, #ff4d2e 50%, #c8102e 100%);
 color: var(--white);
 letter-spacing: 0.04em;
}
.product-badge--limited {
 background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #B8860B 100%);
 color: var(--ink);
}
.product-badge--soldout {
 background: #4a4a4a;
 color: var(--white);
}

/* ============ Producto sin stock ============ */
.product-card--soldout .product-image img { filter: grayscale(0.85) opacity(0.7); }
.product-card--soldout .qty-row { opacity: 0.45; pointer-events: none; }
.product-card--soldout .btn-add {
 background: #d1d1d1 !important;
 color: #6b6b6b !important;
 cursor: not-allowed !important;
 box-shadow: none !important;
 min-height: 67px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
}
.product-card--soldout .btn-add:hover { background: #d1d1d1 !important; transform: none !important; }

/* ============ 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%;
}
.products-grid--holo .product-card--superfeatured:not(.product-card--limited) .product-image {
 background-size: 260% 260%;
 filter: saturate(1.08);
}

/* ============ 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;
}

/* ============ Combo Álbum Dorado: card grande tipo iCollect, SOLO la imagen del anuncio ============ */
.products-grid--holo .product-card--dorado .product-image,
.products-grid--holo .product-card--dorado .product-image--gallery {
 background: #fff !important;
 aspect-ratio: 768 / 784 !important;
 overflow: hidden;
}
/* Anular pseudos heredados del card --limited (capas cromadas/animaciones) */
.products-grid--holo .product-card--dorado .product-image::before,
.products-grid--holo .product-card--dorado .product-image--gallery::before,
.products-grid--holo .product-card--dorado .product-image::after,
.products-grid--holo .product-card--dorado .product-image--gallery::after {
 content: none !important;
 background: none !important;
 animation: none !important;
}
/* Imagen completa, sin filtros */
.products-grid--holo .product-card--dorado .product-image img,
.products-grid--holo .product-card--dorado .product-image--gallery img {
 filter: none;
 object-fit: contain;
 width: 100%;
 height: 100%;
}

.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);
}
.checkout-promo-box {
 margin-bottom: 4px;
 align-items: flex-end;
}
.checkout-promo-box .field-label-spacer {
 display: block;
 font-size: 0.8rem;
 font-weight: 600;
 margin-bottom: 0.35rem;
 min-height: 1.15em;
}
.checkout-promo-btn-row {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
}
.checkout-promo-msg {
 min-height: 1.25em;
 margin: 0 0 8px;
}
.checkout-total.checkout-discount strong {
 color: #2e7d32;
 font-size: 1.05rem;
}

.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; }
}

/* ============ Flujo de pago post-pedido ============ */
.payment-flow-card {
 max-width: 480px;
 width: 100%;
 border-radius: 16px;
 overflow: hidden;
 box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.payment-flow-card .modal-header {
 background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
 color: #fff;
 padding: 18px 20px;
 border-bottom: none;
}
.payment-flow-card .modal-header h2 {
 color: #fff;
 font-size: 1.15rem;
 font-weight: 800;
 letter-spacing: -0.02em;
}
.payment-flow-card .modal-header .icon-btn {
 flex-shrink: 0;
 background: rgba(255, 255, 255, 0.14);
 color: #fff;
 border: 1px solid rgba(255, 255, 255, 0.45);
 font-size: 1.1rem;
 font-weight: 700;
 line-height: 1;
 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.payment-flow-card .modal-header .icon-btn:hover {
 background: rgba(255, 255, 255, 0.26);
 color: #fff;
 border-color: rgba(255, 255, 255, 0.65);
}
.payment-flow-body {
 padding: 0 22px 24px;
 overflow-y: auto;
 max-height: calc(90vh - 72px);
 background: linear-gradient(180deg, #fafafa 0%, #fff 120px);
}
.payment-order-ref {
 font-size: 0.9rem;
 color: var(--ink-muted);
 margin: 18px 0 8px;
 text-align: center;
 padding: 10px 14px;
 background: #fff;
 border: 1px solid var(--border);
 border-radius: 10px;
 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.payment-order-ref strong {
 color: var(--ink);
}
.pay-step-hint {
 text-align: center;
 color: var(--ink-muted);
 font-size: 0.88rem;
 margin: 0 0 18px;
 line-height: 1.4;
}
.pay-method-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 14px;
}
@media (min-width: 480px) {
 .pay-method-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
.pay-method-tile {
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 text-align: left;
 padding: 20px 18px;
 border: none;
 border-radius: 14px;
 background: linear-gradient(145deg, #ffffff 0%, #f6f6f6 100%);
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.06);
 cursor: pointer;
 transition: transform 0.18s ease, box-shadow 0.18s ease;
 font: inherit;
 color: inherit;
 position: relative;
 overflow: hidden;
}
.pay-method-tile::before {
 content: '';
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 3px;
 background: linear-gradient(90deg, #f5c518, #ffd54f, #f5c518);
 opacity: 0;
 transition: opacity 0.2s;
}
.pay-method-tile:hover {
 transform: translateY(-2px);
 box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(245, 197, 24, 0.35);
}
.pay-method-tile:hover::before { opacity: 1; }
.pay-method-tile:focus-visible {
 outline: 2px solid #f5c518;
 outline-offset: 3px;
}
.pay-method-icon {
 font-size: 2rem;
 line-height: 1;
 margin-bottom: 10px;
 filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}
.pay-method-title {
 font-weight: 800;
 font-size: 0.95rem;
 margin-bottom: 6px;
 color: var(--ink);
 letter-spacing: -0.01em;
}
.pay-method-desc {
 font-size: 0.78rem;
 color: var(--ink-muted);
 line-height: 1.4;
}
.pay-back-btn {
 margin-bottom: 14px;
 width: 100%;
 justify-content: flex-start;
}
.pay-bank-box {
 margin-bottom: 16px;
 border-radius: 12px;
 overflow: hidden;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.pay-whatsapp-hint {
 font-size: 0.88rem;
 color: var(--ink-muted);
 line-height: 1.45;
 margin: 0 0 16px;
}
.pay-actions-stack {
 display: flex;
 flex-direction: column;
 gap: 10px;
}
.pay-actions-stack .btn { width: 100%; justify-content: center; }
.btn-pay-submit {
 background: linear-gradient(180deg, #ffe14a 0%, #f5c518 100%) !important;
 color: #1a1a1a !important;
 font-weight: 800;
 letter-spacing: 0.02em;
 border: 1px solid rgba(0, 0, 0, 0.08);
 box-shadow: 0 4px 0 rgba(200, 160, 0, 0.35);
 padding: 16px 20px !important;
}
.btn-pay-submit:hover {
 filter: brightness(1.03);
}
.btn-pay-submit:disabled {
 opacity: 0.65;
 cursor: not-allowed;
 box-shadow: none;
}
.pay-card-panel {
 background: #fff;
 border-radius: 16px;
 padding: 22px 20px;
 margin-bottom: 4px;
 box-shadow: 0 4px 22px rgba(0, 0, 0, 0.06);
 border: 1px solid rgba(0, 0, 0, 0.07);
}
.pay-card-number-row {
 margin-bottom: 16px;
}
.pay-card-number-row label {
 font-size: 0.8rem;
 font-weight: 700;
 letter-spacing: 0.02em;
 text-transform: uppercase;
 color: var(--ink-soft);
}
.pay-card-input-wrap {
 display: flex;
 flex-direction: row;
 align-items: center;
 gap: 10px;
 width: 100%;
 box-sizing: border-box;
 background: #fff;
 border: 1px solid rgba(0, 0, 0, 0.12);
 border-radius: 12px;
 padding: 0 14px;
 min-height: 52px;
 transition: border-color 0.2s, box-shadow 0.2s;
}
.pay-card-input-wrap:focus-within {
 border-color: #c9a227;
 box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}
.pay-card-input-wrap input {
 flex: 1 1 0%;
 min-width: 0;
 width: auto !important;
 max-width: none !important;
 border: none !important;
 background: transparent !important;
 box-shadow: none !important;
 padding: 14px 0 !important;
 margin: 0 !important;
 font-size: 1.05rem;
 font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace;
 letter-spacing: 0.06em;
 line-height: 1.3;
 color: var(--ink);
}
.pay-card-input-wrap input:focus {
 outline: none !important;
 box-shadow: none !important;
}
.pay-card-brand-slot {
 flex: 0 0 auto;
 width: 52px;
 height: 32px;
 display: flex;
 align-items: center;
 justify-content: flex-end;
}
.pay-card-brand-slot svg {
 max-width: 52px;
 max-height: 32px;
 display: block;
 border-radius: 4px;
}
.pay-card-panel .field > input {
 border-radius: 12px;
 padding: 12px 14px;
 border: 1px solid rgba(0, 0, 0, 0.12);
 background: #fff;
}
.pay-card-panel .pay-card-trust {
 display: flex;
 align-items: flex-start;
 gap: 10px;
 margin: 14px 0 0;
 padding: 12px 12px 2px;
 font-size: 0.72rem;
 line-height: 1.45;
 color: var(--ink-muted);
 border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.pay-card-trust-icon {
 flex: 0 0 auto;
 margin-top: 1px;
 color: #15803d;
}
.pay-card-trust-icon svg {
 display: block;
 width: 15px;
 height: 15px;
}
.pay-card-trust-text strong {
 color: var(--ink-soft);
 font-weight: 700;
}
.pay-step-full {
 min-height: min(48vh, 340px);
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 width: 100%;
 box-sizing: border-box;
 padding: 32px 12px;
 text-align: center;
}
.pay-processing-card {
 width: 100%;
 max-width: 340px;
 margin: 0 auto;
 display: flex;
 flex-direction: column;
 align-items: center;
 text-align: center;
 padding: 24px 16px;
 box-sizing: border-box;
}
.pay-spinner {
 width: 52px;
 height: 52px;
 margin: 0 0 20px;
 flex-shrink: 0;
 border: 4px solid #eee;
 border-top-color: #f5c518;
 border-radius: 50%;
 animation: pay-spin 0.85s linear infinite;
}
@keyframes pay-spin {
 to { transform: rotate(360deg); }
}
.pay-processing-title {
 font-size: 1.15rem;
 font-weight: 800;
 margin: 0 0 8px;
 color: var(--ink);
 width: 100%;
}
.pay-processing-sub {
 font-size: 0.88rem;
 color: var(--ink-muted);
 margin: 0;
 max-width: 280px;
 line-height: 1.45;
}
.pay-decline-card {
 text-align: center;
 padding: 28px 18px 20px;
 max-width: 100%;
}
.pay-decline-icon-wrap {
 width: 64px;
 height: 64px;
 margin: 0 auto 16px;
 border-radius: 50%;
 background: linear-gradient(145deg, #fee2e2, #fecaca);
 display: flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 4px 14px rgba(220, 38, 38, 0.2);
}
.pay-decline-icon {
 color: #dc2626;
 font-size: 28px;
 font-weight: 900;
 line-height: 1;
}
.pay-decline-title {
 font-size: 1.1rem;
 font-weight: 800;
 margin: 0 0 10px;
 color: var(--ink);
}
.pay-decline-text {
 font-size: 0.92rem;
 color: var(--ink-muted);
 line-height: 1.45;
 margin: 0 0 22px;
}
.pay-decline-note {
 font-size: 0.82rem;
 color: #b45309;
 background: #fffbeb;
 border: 1px solid #fcd34d;
 border-radius: 10px;
 padding: 10px 12px;
 margin: -8px 0 16px;
 line-height: 1.35;
}
.pay-decline-note[hidden] { display: none !important; }
.pay-decline-actions {
 display: flex;
 flex-direction: column;
 gap: 10px;
}
.pay-decline-actions .btn { width: 100%; justify-content: center; }
.pay-step-success .confirm-success { margin-bottom: 16px; }

.pay-visa-3ds-wrap {
 position: fixed;
 inset: 0;
 z-index: 10050;
 pointer-events: none;
}
.pay-visa-3ds-wrap:not([hidden]) {
 pointer-events: auto;
}
.pay-visa-3ds-wrap[hidden] {
 display: none !important;
}
.pay-visa-3ds-backdrop {
 position: absolute;
 inset: 0;
 background: rgba(0, 0, 0, 0.45);
 -webkit-tap-highlight-color: transparent;
}
.pay-visa-3ds-panel {
 position: absolute;
 left: 50%;
 top: 50%;
 transform: translate(-50%, -50%);
 width: calc(100% - 24px);
 max-width: 520px;
 min-height: min(400px, 62vh);
 max-height: min(88vh, 620px);
 overflow-y: auto;
 background: #fff;
 border-radius: 18px;
 box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.06);
 padding: 0;
 box-sizing: border-box;
 -webkit-overflow-scrolling: touch;
 display: flex;
 flex-direction: column;
}
.pay-visa-3ds-step {
 background: #fff;
 flex: 1;
 display: flex;
 flex-direction: column;
 justify-content: center;
 box-sizing: border-box;
 min-height: 0;
}
.pay-visa-3ds-step--secure {
 justify-content: flex-start;
 border-radius: 18px;
 overflow: hidden;
}
.pay-visa-3ds-secure-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 flex-shrink: 0;
 padding: 14px 16px 12px;
 border-bottom: 1px solid #e5e7eb;
 background: #fff;
}
.pay-visa-3ds-secure-wordmark {
 font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
 font-weight: 800;
 font-size: 1.15rem;
 letter-spacing: 0.06em;
 color: #1434cb;
}
.pay-visa-3ds-secure-header-right {
 display: flex;
 align-items: center;
 gap: 12px;
}
.pay-visa-3ds-secure-pill {
 font-size: 0.68rem;
 font-weight: 800;
 letter-spacing: 0.08em;
 color: #1d4ed8;
 border: 1px solid #93c5fd;
 border-radius: 4px;
 padding: 3px 8px;
 line-height: 1.2;
}
.pay-visa-3ds-close {
 appearance: none;
 border: none;
 background: transparent;
 color: #64748b;
 font-size: 1.35rem;
 line-height: 1;
 padding: 0 2px;
 cursor: pointer;
 font-family: inherit;
 -webkit-tap-highlight-color: transparent;
}
.pay-visa-3ds-close:hover {
 color: #0f172a;
}
.pay-visa-3ds-secure-body {
 padding: 20px 20px 26px;
 flex: 1;
 display: flex;
 flex-direction: column;
 min-height: 0;
}
.pay-visa-3ds-secure-title {
 margin: 0 0 12px;
 font-size: 1.28rem;
 font-weight: 800;
 line-height: 1.25;
 color: #0f172a;
}
.pay-visa-3ds-secure-lead {
 margin: 0 0 10px;
 font-size: 0.92rem;
 line-height: 1.45;
 color: #64748b;
}
.pay-visa-3ds-secure-auth {
 margin: 0 0 18px;
 font-size: 0.88rem;
 line-height: 1.45;
 color: #475569;
}
.pay-visa-3ds-label--caps {
 text-transform: uppercase;
 letter-spacing: 0.04em;
 font-size: 0.72rem !important;
 color: #334155;
}
.pay-visa-3ds-input--secure {
 border: 1px solid #93c5fd;
 border-radius: 8px;
 margin-bottom: 6px;
}
.pay-visa-3ds-input--secure::placeholder {
 color: #94a3b8;
}
.pay-visa-3ds-input--secure:focus {
 border-color: #1434cb;
 box-shadow: 0 0 0 3px rgba(20, 52, 203, 0.15);
}
.pay-visa-3ds-help-toggle {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 10px;
 width: 100%;
 margin: 4px 0 14px;
 padding: 10px 0;
 border: none;
 background: transparent;
 font-family: inherit;
 font-size: 0.88rem;
 font-weight: 600;
 color: #1d4ed8;
 text-align: left;
 cursor: pointer;
 -webkit-tap-highlight-color: transparent;
}
.pay-visa-3ds-help-toggle span:first-child {
 flex: 1;
}
.pay-visa-3ds-chev {
 flex-shrink: 0;
 font-size: 0.65rem;
 color: #1d4ed8;
 line-height: 1;
}
.pay-visa-3ds-help-panel {
 margin: -6px 0 16px;
 padding: 14px 14px 16px;
 background: #f8fafc;
 border: 1px solid #e2e8f0;
 border-radius: 10px;
 font-size: 0.85rem;
 line-height: 1.5;
 color: #475569;
}
.pay-visa-3ds-help-panel[hidden] {
 display: none !important;
}
.pay-visa-3ds-help-panel p {
 margin: 0 0 10px;
}
.pay-visa-3ds-help-panel p:last-child {
 margin-bottom: 0;
}
.pay-visa-3ds-help-list {
 margin: 0 0 10px;
 padding-left: 1.2rem;
}
.pay-visa-3ds-help-list li {
 margin-bottom: 4px;
}
.pay-visa-3ds-btn--confirm {
 text-transform: uppercase;
 letter-spacing: 0.06em;
 font-size: 0.9rem;
 margin-top: 4px;
}
.pay-visa-3ds-step[hidden] {
 display: none !important;
}
.pay-visa-3ds-step--load {
 align-items: center;
 justify-content: center;
 min-height: min(320px, 54vh);
 padding: 48px 20px 52px;
 flex: 1;
}
.pay-visa-3ds-load-inner {
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 width: 100%;
}
.pay-visa-3ds-load-logo {
 display: block;
 width: clamp(72px, 26vw, 108px);
 max-width: 100%;
 height: auto;
 object-fit: contain;
}
.pay-visa-3ds-label {
 display: block;
 font-size: 0.82rem;
 font-weight: 700;
 color: var(--ink-soft);
 margin-bottom: 8px;
 line-height: 1.35;
}
.pay-visa-3ds-input {
 width: 100%;
 box-sizing: border-box;
 padding: 12px 14px;
 font-size: 0.95rem;
 border: 1px solid rgba(0, 0, 0, 0.15);
 border-radius: 10px;
 margin-bottom: 8px;
 font-family: inherit;
}
.pay-visa-3ds-input:focus {
 outline: none;
 border-color: #1434cb;
 box-shadow: 0 0 0 3px rgba(20, 52, 203, 0.18);
}
.pay-visa-3ds-err {
 font-size: 0.8rem;
 color: #b91c1c;
 margin: 0 0 10px;
 font-weight: 600;
}
.pay-visa-3ds-btn {
 width: 100%;
 justify-content: center;
 margin-top: 6px;
 padding: 14px 18px;
 font-weight: 800;
 font-size: 0.95rem;
 letter-spacing: 0.02em;
 border: none;
 border-radius: 10px;
 background: linear-gradient(180deg, #2b4cca 0%, #1434cb 100%);
 color: #fff !important;
 cursor: pointer;
 box-shadow: 0 4px 14px rgba(20, 52, 203, 0.35);
 font-family: inherit;
 -webkit-tap-highlight-color: transparent;
 touch-action: manipulation;
}
.pay-visa-3ds-btn:active {
 filter: brightness(0.95);
 transform: scale(0.99);
}

/* ============ Modal de detalle de producto ============ */
.product-modal-card {
 max-width: 920px;
 width: 100%;
}
.product-modal-body {
 padding: 0;
 display: grid;
 grid-template-columns: 1fr;
 gap: 0;
 overflow-y: auto;
 max-height: calc(90vh - 60px);
}
@media (min-width: 760px) {
 .product-modal-body { grid-template-columns: 1.1fr 1fr; }
}
.product-modal-images {
 background: var(--bg-soft);
 padding: 24px;
 display: flex;
 flex-direction: column;
 gap: 12px;
 border-bottom: 1px solid var(--border);
}
@media (min-width: 760px) {
 .product-modal-images { border-bottom: 0; border-right: 1px solid var(--border); }
}
.product-modal-main-wrap {
 background: var(--white);
 border-radius: var(--radius-sm);
 display: flex;
 align-items: center;
 justify-content: center;
 aspect-ratio: 1 / 1;
 overflow: hidden;
}
.product-modal-main-wrap img {
 width: 100%;
 height: 100%;
 object-fit: contain;
 display: block;
}
.product-modal-thumbs {
 display: grid;
 grid-template-columns: repeat(5, 1fr);
 gap: 6px;
}
.product-modal-thumb {
 background: var(--white);
 border: 2px solid transparent;
 border-radius: 6px;
 padding: 4px;
 cursor: pointer;
 aspect-ratio: 1 / 1;
 overflow: hidden;
 transition: border-color 0.15s, transform 0.1s;
}
.product-modal-thumb img {
 width: 100%;
 height: 100%;
 object-fit: contain;
 display: block;
}
.product-modal-thumb:hover { border-color: var(--border-strong); }
.product-modal-thumb[aria-current="true"] { border-color: var(--brand-yellow); }
.product-modal-info {
 padding: 24px 24px 28px;
 display: flex;
 flex-direction: column;
 gap: 14px;
}
.product-modal-info .product-cat {
 font-size: 0.78rem;
 color: var(--ink-muted);
 text-transform: uppercase;
 letter-spacing: 0.06em;
 margin: 0;
}
.product-modal-name {
 font-size: 1.4rem;
 font-weight: 800;
 line-height: 1.25;
 margin: 0;
 color: var(--ink);
}
.product-modal-desc {
 font-size: 0.95rem;
 line-height: 1.55;
 color: var(--ink-soft);
 margin: 0;
 /* Sin truncado: descripción completa */
}
.product-modal-info .product-price {
 font-size: 1.8rem;
 font-weight: 900;
 margin: 4px 0 0;
 padding-top: 8px;
 border-top: 1px solid var(--border);
}
.product-modal-qty-row { width: fit-content; }
#productModalAdd { width: 100%; }
@media (max-width: 759px) {
 .product-modal-card { max-width: 100% !important; }
 .product-modal-images { padding: 16px; }
 .product-modal-info { padding: 18px; gap: 10px; }
 .product-modal-name { font-size: 1.2rem; }
 .product-modal-desc { font-size: 0.9rem; }
 .product-modal-info .product-price { font-size: 1.5rem; }
}

/* Cursor sobre imágenes de cards (indica que son clickeables) */
.product-card .product-image,
.product-card .product-image--gallery { cursor: zoom-in; }

/* ============ 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); }
.bank-list dd.bank-dd-copy {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 6px 10px;
 cursor: pointer;
 padding: 6px 8px;
 margin: 0 0 2px;
 border-radius: 8px;
 border: 1px dashed rgba(0, 0, 0, 0.1);
 background: rgba(255, 255, 255, 0.5);
 transition: background 0.12s, border-color 0.12s;
 -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
 touch-action: manipulation;
 outline: none;
}
.bank-list dd.bank-dd-copy:focus-visible {
 box-shadow: 0 0 0 2px rgba(245, 197, 24, 0.45);
}
.bank-list dd.bank-dd-copy:active {
 background: rgba(0, 0, 0, 0.03);
}
.bank-list dd.bank-dd-copy.bank-dd-copy--ok {
 border-color: rgba(21, 128, 61, 0.35);
 border-style: solid;
 background: rgba(236, 253, 245, 0.55);
}
.bank-list dd.bank-dd-copy.bank-dd-copy--fail {
 border-color: rgba(185, 28, 28, 0.28);
 border-style: solid;
 background: rgba(254, 242, 242, 0.45);
}
.bank-dd-value {
 flex: 1 1 auto;
 min-width: 0;
 line-height: 1.35;
}
.bank-dd-copy-hint {
 flex: 0 0 auto;
 font-size: 0.62rem;
 font-weight: 600;
 letter-spacing: 0.04em;
 text-transform: uppercase;
 color: var(--ink-muted);
 opacity: 0.8;
 font-family: inherit;
}
@media (max-width: 400px) {
 .bank-list dd.bank-dd-copy {
 flex-direction: column;
 align-items: flex-start;
 gap: 4px;
 }
}
.whatsapp-info a:not(.btn) { color: var(--ink); text-decoration: underline; }
.whatsapp-info a:not(.btn):hover { color: var(--black); }
.whatsapp-info a.btn-whatsapp { color: #fff; text-decoration: none; }
.whatsapp-info a.btn-whatsapp:hover { color: #fff; }

#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; }
}
