/* styles.css — estilos globales de Dungeon TCG & Games
   Requiere: config.js → shared.js → styles.css (via <link>)
   Generado a partir de las hojas de estilo individuales de cada página.
*/

    html { overflow-y: scroll; }

    :root {
      --promo-height: 0px;
      --bg: #0d0d14;
      --bg2: #13131f;
      --bg3: #1a1a2e;
      --border: #2a2a40;
      --gold: #f59e0b;
      --gold2: #d97706;
      --text: #e5e7eb;
      --text2: #9ca3af;
      --red: #dc2626;
      --green: #16a34a;
      --nav-bg: rgba(13,13,20,0.95);
    }
    html[data-theme="claro"] {
      --bg: #f2f2f8; --bg2: #ffffff; --bg3: #eaeaf2;
      --border: #d2d2e8; --gold: #c97d06; --gold2: #a06004;
      --text: #1a1a30; --text2: #44446a;
      --red: #cc1f1f; --green: #157a30;
      --nav-bg: rgba(242,242,248,0.97);
    }
    html[data-theme="arcano"] {
      --bg: #0e0818; --bg2: #160c28; --bg3: #1e1238;
      --border: #2e1850; --gold: #c084fc; --gold2: #a855f7;
      --text: #ecdeff; --text2: #9070b8;
      --red: #e05080; --green: #22c55e;
      --nav-bg: rgba(14,8,24,0.97);
    }
    html[data-theme="oceano"] {
      --bg: #04131a; --bg2: #081e28; --bg3: #0d2a38;
      --border: #103848; --gold: #22d3ee; --gold2: #0ea5e9;
      --text: #d8f4ff; --text2: #5d9aaf;
      --red: #f87171; --green: #34d399;
      --nav-bg: rgba(4,19,26,0.97);
    }
    html[data-theme="navidad"] {
      --bg: #080f08; --bg2: #0f1c0f; --bg3: #162616;
      --border: #1e3018; --gold: #fbbf5a; --gold2: #d97706;
      --text: #f0ffe8; --text2: #78aa68;
      --red: #ff4444; --green: #22c55e;
      --nav-bg: rgba(8,15,8,0.97);
    }
    html[data-theme="navidad"] .btn-primary,
    html[data-theme="navidad"] .btn-store,
    html[data-theme="navidad"] .btn-primary:hover,
    html[data-theme="navidad"] .btn-store:hover,
    html[data-theme="halloween"] {
      --bg:#0d0508; --bg2:#160a0e; --bg3:#200d12;
      --border:#4a1a08; --gold:#f97316; --gold2:#ea580c;
      --text:#fef0d8; --text2:#c2784a;
      --red:#ff3333; --green:#22c55e;
      --nav-bg:rgba(13,5,8,0.97);
    }
    * { box-sizing: border-box; margin: 0; padding: 0;
    }
    a, button, [onclick] { -webkit-tap-highlight-color: transparent; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Segoe UI', system-ui, sans-serif;
      margin: 0;
      display: flex; flex-direction: column; min-height: 100vh;
    }
    a { color: inherit; text-decoration: none; }

    /* SCROLLBAR */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg2); }
    ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

    /* PROMO BANNER */
    .promo-banner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: .75rem;
      background: var(--bg3);
      border-bottom: 1px solid rgba(245,158,11,.45);
      color: var(--gold);
      text-align: center;
      padding: .5rem 3rem;
      font-size: .82rem;
      font-weight: 600;
      letter-spacing: .02em;
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 1001;
    }
    .promo-banner-text { flex: 1; }
    .promo-banner-close {
      position: absolute;
      right: .75rem; top: 50%;
      transform: translateY(-50%);
      background: none; border: none;
      color: rgba(245,158,11,.45);
      cursor: pointer;
      font-size: 1.1rem; line-height: 1;
      padding: .2rem .4rem;
      border-radius: 4px;
      transition: color .15s;
    }
    .promo-banner-close:hover { color: var(--gold); }

    /* NAV */

#navbar {
      position: fixed; top: var(--promo-height, 0px); left: 0; right: 0; z-index: 1000;
      pointer-events: all;
      background: var(--nav-bg);
      -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      height: 64px;
      will-change: transform;
      display: flex; align-items: center;
    }
    .nav-inner {
      max-width: 1200px; margin: 0 auto; width: 100%;
      padding: 0 1.5rem;
      display: flex; align-items: center; justify-content: space-between;
    }
    .nav-logo {
      display: flex; align-items: center; gap: 0.75rem;
      font-size: 1.1rem; font-weight: 700; letter-spacing: 0.03em;
      flex: 1; justify-content: flex-start;
    }
    .nav-logo img { height: 66px; width: auto; object-fit: contain; object-position: left center; aspect-ratio: 78/62; }
    .nav-logo:focus, .nav-logo:focus-visible { outline: none; }
    .nav-account { position: relative; display: inline-flex; align-items: center; }
    .nav-account-btn { display: inline-flex; align-items: center; gap: .5rem; background: none; border: none; cursor: pointer; color: var(--text); padding: .25rem .5rem; border-radius: 8px; font: inherit; }
    .nav-account-btn:hover { background: rgba(255,255,255,.06); }
    .nav-account-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #000; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; flex-shrink: 0; background-size: cover; background-position: center; }
    .nav-account-name { font-size: .9rem; font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .nav-account-menu { position: absolute; top: calc(100% + .4rem); right: 0; min-width: 175px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: .35rem; display: none; flex-direction: column; gap: .12rem; box-shadow: 0 8px 24px rgba(0,0,0,.35); z-index: 1200; }
    .nav-account-menu.open { display: flex; }
    .nav-account-menu a, .nav-account-menu button { text-align: left; background: none; border: none; color: var(--text); padding: .55rem .7rem; border-radius: 7px; cursor: pointer; font: inherit; font-size: .88rem; text-decoration: none; width: 100%; }
    .nav-account-menu a:hover, .nav-account-menu button:hover { background: rgba(255,255,255,.06); color: var(--gold); }
    .nav-links {
      display: flex; flex: 1; justify-content: center; gap: 0.25rem; align-items: center;
    }
    .nav-links a {
      padding: 0.4rem 0.85rem;
      border-radius: 6px;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text2);
      cursor: pointer;
    }
    .nav-links a.active {
      color: var(--gold);
      background: rgba(245,158,11,0.1);
    }
    .nav-links a:hover {
      color: var(--gold);
      background: rgba(245,158,11,0.1);
      transition: color 0.15s, background 0.15s;
    }
    /* Destaque sutil de Commander: chip con borde, sin competir con el estado activo */
    .nav-fire {
      color: var(--gold) !important;
      font-weight: 700 !important;
      box-shadow: inset 0 0 0 1px rgba(245,158,11,.45);
      border-radius: 8px;
    }
    .nav-fire:hover {
      background: rgba(245,158,11,.12) !important;
    }
    .hamburger {
      display: none;
      flex-direction: column; gap: 5px;
      cursor: pointer; background: none; border: none;
      padding: 10px 9px; margin: -6px -5px -6px 0; /* área táctil ≥42px; sin margen negativo izquierdo para no pegarse al carrito */
      transition: transform 0.3s;
    }
    .hamburger span {
      display: block; width: 24px; height: 2px;
      background: var(--text); border-radius: 2px;
      transition: transform 0.25s, opacity 0.25s;
      transform-origin: center;
    }
    .hamburger.open { transform: rotate(90deg); }
    .hamburger.open span { background: var(--gold); }
    .nav-right-mobile {
      display: flex; align-items: center; gap: 0.5rem;
      flex: 1; justify-content: flex-end;
    }
    /* Cuenta visible en la barra móvil (avatar o 👤) — oculta en desktop */
    .nav-account-topm { display: none; }
    @media (max-width: 768px) {
      .nav-account-topm {
        display: inline-flex; align-items: center; justify-content: center;
        width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
        color: var(--text2); text-decoration: none; flex-shrink: 0;
        background: rgba(255,255,255,.05); border: 1px solid var(--border);
        transition: color .15s, border-color .15s;
      }
      .nav-account-topm:active { color: var(--gold); border-color: var(--gold); }
    }


    /* TCGs dropdown */
    .nav-dropdown { position: relative; }
    .nav-dropdown-trigger {
      padding: 0.4rem 0.85rem;
      border-radius: 6px;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text2);
      transition: all 0.15s;
      cursor: pointer;
      display: flex; align-items: center; gap: 0.3rem;
      background: none; border: none; font-family: inherit;
    }
    .nav-dropdown-trigger:hover, .nav-dropdown:hover .nav-dropdown-trigger,
    .nav-dropdown-trigger.active {
      color: var(--gold); background: rgba(245,158,11,0.1);
    }
    .nav-dropdown-trigger::after { content: '▾'; font-size: .7rem; opacity: .7; }
    .nav-dropdown-menu {
      display: none;
      position: absolute; top: 100%; left: 50%;
      transform: translateX(-50%);
      background: var(--bg2); border: 1px solid var(--border);
      border-radius: 10px; overflow: hidden;
      padding-top: 6px; min-width: 240px; z-index: 999; white-space: nowrap;
      box-shadow: 0 8px 24px rgba(0,0,0,.35);
    }
    /* Hover solo en dispositivos con puntero real; en táctil se usa .open (JS) */
    @media (hover: hover) and (pointer: fine) {
      .nav-dropdown:hover .nav-dropdown-menu { display: block; }
    }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .nav-dropdown-menu a {
      display: flex; align-items: center; gap: .75rem;
      padding: 1rem 1.1rem;
      font-size: .875rem; font-weight: 500;
      color: var(--text); text-decoration: none;
      border-bottom: 1px solid var(--border);
      transition: background .12s, color .12s;
    }
    .nav-dropdown-menu a:last-child { border-bottom: none; }
    .nav-dropdown-menu a:hover { background: rgba(245,158,11,0.08); color: var(--gold); }
    /* Mobile TCGs sub-menu */
    .mobile-tcg-sub {
      display: none; flex-direction: column;
      background: rgba(0,0,0,.15);
    }
    .mobile-tcg-sub.open { display: flex; }
    .mobile-tcg-sub a { display: flex !important; align-items: center; gap: .75rem;
      padding: 0.85rem 1.5rem 0.85rem 2rem !important;
      font-size: 0.95rem !important; font-weight: 600 !important;
      color: var(--text2) !important;
      border-left: 3px solid var(--gold); border-bottom: 1px solid var(--border);
      background: rgba(0,0,0,0.18) !important; }
    
/* SECTIONS */
    .section { display: none; padding-top: calc(64px + var(--promo-height, 0px)); min-height: 100vh; position: relative; z-index: 0; isolation: isolate; }
    .section.active { display: block; }
    .section-inner { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.5rem; }

    /* HERO */
    #home { display: none; }
    #home.active { display: block; }
    
    .hero h1 span { color: var(--gold); }
    .hero p {
      font-size: 1.1rem; color: var(--text); margin: 0 auto 2rem;
      max-width: 500px; text-align: center;
    }
    .btn-primary {
      background: var(--gold);
      color: #000;
      padding: 0.75rem 2rem;
      border-radius: 10px;
      font-weight: 700;
      font-size: 1rem;
      border: none;
      cursor: pointer;
      transition: all 0.15s;
    }
    .btn-primary:hover { background: var(--gold2); transform: translateY(-1px); }
    .btn-secondary {
      background: rgba(10,10,20,0.75);
      color: var(--text);
      padding: 0.75rem 2rem;
      border-radius: 10px;
      font-weight: 600;
      font-size: 1rem;
      border: 1px solid rgba(245,158,11,0.5);
      cursor: pointer;
      transition: all 0.15s;
    }
    .btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

    .section-title {
      font-size: 1.5rem; font-weight: 800;
      color: var(--text); margin: 0 0 1.5rem;
      display: flex; align-items: center; gap: 0.75rem;
    }
    .section-title::after {
      content: ''; flex: 1; height: 1px; background: var(--border);
    }
    /* Títulos de sección planos: el dorado queda reservado al hero y CTAs */
    .section-title span { color: inherit; }

    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1.25rem;
    }

    /* Carrusel destacados */
    /* .carousel-container es el contenedor visual (gradientes, botones, overflow clip) */
    .carousel-container {
      position: relative;
      overflow: hidden;   /* clip para que los gradientes no salgan */
    }
    .carousel-container::before,
    .carousel-container::after {
      content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 3; pointer-events: none;
    }
    .carousel-container::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
    .carousel-container::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }
    /* .carousel-wrap: contenedor del track animado */
    .carousel-wrap {
      overflow: hidden;
      touch-action: pan-y; /* swipe vertical = scroll de página; horizontal = carousel */
    }
    .carousel-track {
      display: flex; gap: 1.25rem; width: max-content;
    }
    .carousel-track .product-card { width: 200px; flex-shrink: 0; }
    .carousel-btn {
      position: absolute; top: 50%; transform: translateY(-50%);
      z-index: 10; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.15);
      color: #fff; width: 2.4rem; height: 2.4rem; border-radius: 50%;
      font-size: 1.6rem; line-height: 1; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background .2s, opacity .2s;
      opacity: 0.7;
    }
    .carousel-btn:hover { background: rgba(245,158,11,0.75); opacity: 1; }
    .carousel-swipe-hint { display: none; } /* mobile only — shown via @media */
    .carousel-btn--prev { left: .25rem; }
    .carousel-btn--next { right: .25rem; }
    .product-card {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      transition: border-color 0.2s, box-shadow 0.2s;
      display: flex;
      flex-direction: column;
    }
    .product-card:hover {
      border-color: var(--gold);
      box-shadow: 0 8px 24px rgba(245,158,11,0.15);
    }
    .product-img {
      width: 100%; aspect-ratio: 3/4;
      background: var(--bg3); overflow: hidden;
      display: flex; align-items: center; justify-content: center;
      color: var(--text2); font-size: 2.5rem;
    }
    .product-img img { width: 100%; height: 100%; object-fit: cover; }
    /* Producto sin imagen: logo tenue como marca de agua (nada de vacío negro) */
    .product-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
    .product-noimg img { width: 46% !important; height: auto !important; object-fit: contain !important; opacity: .14; filter: grayscale(1); }
    .product-info { padding: 0.875rem; display: flex; flex-direction: column; flex: 1; }
    .product-name {
      font-weight: 700; font-size: 0.9rem;
      color: var(--text); margin: 0 0 0.4rem;
      line-height: 1.3; flex: 1;
      display: -webkit-box; -webkit-line-clamp: 3;
      -webkit-box-orient: vertical; overflow: hidden;
    }
    .product-desc { display: none; }
    .product-price { font-weight: 900; font-size: 1.25rem; color: var(--gold); margin-bottom: 2px; }
    .product-stock { font-size: 0.72rem; color: var(--text2); margin-bottom: 0.6rem; }
    .stock-low { color: #ef4444; }
    /* Badges de producto (descuento y stock bajo) */
    .product-badges {
      position: absolute; top: 8px; left: 8px;
      display: flex; flex-direction: column; gap: 4px;
      z-index: 2; pointer-events: none;
    }
    .product-badge {
      display: inline-block; padding: 3px 8px; border-radius: 20px;
      font-size: .68rem; font-weight: 800; letter-spacing: .04em; line-height: 1.5;
    }
    .badge-offer { background: #8b5cf6; color: #fff; }
    .badge-stock { background: rgba(245,158,11,.16); color: var(--gold); border: 1px solid rgba(245,158,11,.4); }
    .product-badge-lang {
      position: absolute; bottom: 7px; right: 7px;
      background: rgba(14,165,233,.18); color: #38bdf8;
      border: 1px solid rgba(14,165,233,.38);
      border-radius: 20px; padding: 2px 8px;
      font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
      z-index: 2; pointer-events: none; backdrop-filter: blur(4px);
    }
    .add-cart-btn {
      width: 100%; background: var(--gold); color: #000; border: none;
      border-radius: 7px; padding: 0.5rem;
      font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: background 0.15s;
    }
    .add-cart-btn:hover { background: var(--gold2); }
    .add-cart-btn:disabled { background: var(--border); color: var(--text2); cursor: not-allowed; }

    .store-filters {
      display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem;
    }
    .store-search {
      width: 100%; max-width: 420px;
      background: var(--bg2); border: 1px solid var(--border);
      color: var(--text); border-radius: 8px; padding: 0.5rem 0.875rem; font-size: 0.875rem;
    }
    .store-search:focus { outline: none; border-color: var(--gold); }
    .store-search::placeholder { color: var(--text2); }
    .filter-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
    /* En mobile: scroll horizontal por fila, sin wrap ni crowding */

    /* ── Paginación de tienda ──────────────────────────────────────────────── */
    .pagination-wrap {
      display: flex; align-items: center; justify-content: center;
      gap: .5rem; margin: 2rem 0 1rem; flex-wrap: wrap;
    }
    .pagination-wrap button {
      min-width: 40px; height: 40px; border-radius: 8px;
      border: 1px solid var(--border); background: var(--bg2);
      color: var(--text2); font-size: .9rem; font-weight: 600;
      cursor: pointer; transition: all .15s;
      display: inline-flex; align-items: center; justify-content: center;
      padding: 0 .5rem;
    }
    .pagination-wrap button:hover { border-color: var(--gold); color: var(--gold); background: rgba(245,158,11,.06); }
    .pagination-wrap button.active { background: var(--gold); border-color: var(--gold); color: #000; cursor: default; }
    .pagination-wrap .pg-arrow { font-size: 1.2rem; min-width: 40px; }
    .pagination-wrap .pg-ellipsis { color: var(--text2); padding: 0 .25rem; line-height: 40px; }

    @media (max-width: 768px) {
      .filter-chips {
        flex-wrap: nowrap; overflow-x: auto;
        scrollbar-width: none; -ms-overflow-style: none;
        padding-bottom: 2px; padding-right: 32px;
        /* Gradiente derecho = hint visual de que hay más chips */
        -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
        mask-image: linear-gradient(to right, black 80%, transparent 100%);
      }
      .filter-chips::-webkit-scrollbar { display: none; }
    }
    .filter-label {
      font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
      letter-spacing: 0.07em; color: var(--text2); margin-right: 0.25rem;
    }
    .chip {
      padding: 0.45rem 1.1rem; border-radius: 20px;
      border: 1px solid var(--border); background: var(--bg2);
      color: var(--text2); font-size: 0.875rem; font-weight: 600;
      cursor: pointer; transition: all 0.15s; white-space: nowrap;
      display: inline-flex; align-items: center; gap: 0.4rem;
      min-height: 38px; height: auto;
    }
    .chip:hover { border-color: var(--gold); color: var(--gold); background: rgba(245,158,11,0.06); }
    .chip.active { background: rgba(245,158,11,0.15); border-color: var(--gold); color: var(--gold); }
    @media (max-width: 768px) {
      .chip { font-size: 0.8rem; padding: 0.4rem 0.75rem; min-height: 38px; }
      #game-chips .chip img { display: none; }
    }
    .store-sort-bar {
      display: flex; align-items: center; justify-content: space-between;
      gap: 1rem; flex-wrap: wrap; padding-top: .25rem;
    }
    .store-result-count { font-size: .8rem; color: var(--text2); min-width: 6ch; }
    .store-sort-select {
      background: var(--bg2); border: 1px solid var(--border);
      color: var(--text); border-radius: 8px; padding: .35rem .75rem;
      font-size: .82rem; cursor: pointer; font-family: inherit;
    }
    .store-sort-select:focus { outline: none; border-color: var(--gold); }

.address-field { display: none; }
.address-field.show { display: block; }

        .modal-overlay {
      position: fixed; inset: 0; background: rgba(0,0,0,0.75);
      z-index: 1200; display: none; align-items: center; justify-content: center; padding: 1rem;
      }
    .modal-overlay.open { display: flex; }
    .modal {
      background: var(--bg2); border: 1px solid var(--border);
      border-radius: 16px; width: 100%; max-width: 520px;
      max-height: 90vh; overflow-y: auto; -webkit-overflow-scrolling: touch; animation: fadeIn 0.2s ease;
    }
    @keyframes fadeIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

    /* Estilos de navegación de producto: ver bloque ═══ al final del archivo */

    .modal-header {
      padding: 1.5rem; border-bottom: 1px solid var(--border);
      display: flex; align-items: center; justify-content: space-between;
    }
    .modal-header h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }
    .modal-body { padding: 1.5rem; }
    .form-group { margin-bottom: 1rem; }
    .form-label { display: block; font-size: 0.825rem; font-weight: 600; color: var(--text2); margin-bottom: 0.35rem; }
    .form-input {
      width: 100%; background: var(--bg3); border: 1px solid var(--border);
      color: var(--text); border-radius: 8px; padding: 0.625rem 0.875rem; font-size: 1rem;
    }
    .form-input:focus { outline: none; border-color: var(--gold); }
    .form-input::placeholder { color: var(--text2); }
    textarea.form-input { resize: vertical; min-height: 80px; }
    .shipping-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.75rem; }
    .shipping-option {
      border: 2px solid var(--border); border-radius: 8px; padding: 0.55rem 0.65rem;
      cursor: pointer; transition: all 0.15s; display: flex; align-items: center; gap: 0.5rem;
    }
    .shipping-option:hover { border-color: var(--gold); }
    .shipping-option.selected { border-color: var(--gold); background: rgba(245,158,11,0.08); }
    .shipping-option input { display: none; }
    .shipping-option .icon { font-size: 1.2rem; flex-shrink: 0; }
    .shipping-option .info { flex: 1; min-width: 0; }
    .shipping-option .label { font-weight: 700; font-size: 0.78rem; color: var(--text); line-height: 1.2; }
    .shipping-option .sub { font-size: 0.7rem; color: var(--text2); }
    .shipping-option .cost { font-weight: 700; color: var(--gold); font-size: 0.75rem; flex-shrink: 0; }
    /* Payment methods */
    .payment-options { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.75rem; }
    .payment-option {
      border: 2px solid var(--border); border-radius: 8px; padding: 0.55rem 0.75rem;
      cursor: pointer; transition: all 0.15s; display: flex; align-items: center; gap: 0.6rem;
      font-size: 0.85rem; font-weight: 600; color: var(--text);
    }
    .payment-option:hover { border-color: var(--gold); }
    .payment-option.selected { border-color: var(--gold); background: rgba(245,158,11,0.08); }
    .payment-option input { display: none; }
    .payment-option .pay-icon { font-size: 1.1rem; }
    .payment-option .pay-desc { font-size: 0.72rem; font-weight: 400; color: var(--text2); }
    .payment-option.disabled { opacity: 0.35; pointer-events: none; }
    .pay-discount-badge {
      margin-left: auto;
      padding: .2rem .55rem;
      border-radius: 20px;
      background: rgba(34,197,94,.15);
      border: 1px solid rgba(34,197,94,.4);
      color: var(--green);
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .03em;
      white-space: nowrap;
      flex-shrink: 0;
    }
    /* Checkout modal — sticky header */
    #checkout-modal { display: flex; flex-direction: column; overflow: hidden; }
    #checkout-modal .modal-header { flex-shrink: 0; position: sticky; top: 0; z-index: 2; background: var(--bg2); }
    #checkout-modal .modal-body { overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; }
    .order-summary { background: var(--bg3); border-radius: 10px; padding: 1rem; margin-bottom: 1.25rem; }
    .order-line { display: flex; justify-content: space-between; font-size: 0.875rem; padding: 0.25rem 0; color: var(--text2); }
    .order-line.total {
      font-weight: 800; color: var(--text); font-size: 1rem;
      border-top: 1px solid var(--border); margin-top: 0.5rem; padding-top: 0.75rem;
    }
    .order-line.total span:last-child { color: var(--gold); }
    #mp-container { min-height: 50px; }
    /* address-field: reglas movidas al scope global para funcionar en desktop también */

    /* ── Checkout page layout ── */
    .checkout-page { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }
    #sticky-total-bar { display: none !important; } /* Solo visible en mobile via media query */
    /* WA: oculto en checkout, posición ajustada en mobile */
    body:has(#checkout-page) #wa-float { display: none !important; }
    .checkout-layout {
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 2rem;
      align-items: start;
    }
    .co-section {
      background: var(--bg2); border: 1px solid var(--border);
      border-radius: 12px; padding: 1.25rem; margin-bottom: 1.25rem;
    }
    .co-section:last-child { margin-bottom: 0; }
    .co-section-title {
      font-size: 0.95rem; font-weight: 700; color: var(--text);
      margin: 0 0 1rem; padding-bottom: 0.6rem;
      border-bottom: 1px solid var(--border);
    }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .pay-now-btn {
      width: 100%; background: var(--gold); color: #000;
      border: none; border-radius: 10px; padding: 1rem;
      font-size: 1rem; font-weight: 800; cursor: pointer;
      transition: background 0.15s; margin-top: 0.5rem;
    }
    .pay-now-btn:hover { background: var(--gold2); }
    .pay-now-btn:disabled { opacity: 0.5; cursor: not-allowed; }
    @media (max-width: 768px) {
      .checkout-layout { grid-template-columns: 1fr; }
      /* checkout-right sigue el orden natural del DOM en mobile: form primero, resumen después */
      .form-row { grid-template-columns: 1fr; }
      .page-header--checkout { padding-top: calc(52px + var(--promo-height, 0px)); padding-bottom: 16px; }
      .page-header--checkout h1 { font-size: 1.3rem; margin-bottom: 0; }
      .checkout-page { padding: 1rem 0.75rem; }
      .co-section { padding: 1rem; margin-bottom: .75rem; }
      .checkout-layout { gap: .75rem; }
      .pay-sticky-bar {
        position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
        background: var(--bg); border-top: 1px solid var(--border);
        padding: .85rem 1rem; box-shadow: 0 -4px 16px rgba(0,0,0,.25);
        display: flex; flex-direction: column; gap: .4rem;
      }
      .pay-sticky-bar .pay-now-btn { margin-top: 0; }
      #sticky-total-bar {
        display: flex !important; justify-content: space-between; align-items: center;
        font-size: .9rem; font-weight: 800; color: var(--gold);
        padding: 0 .1rem;
      }
      .checkout-left { padding-bottom: 0; }
    }

    /* ── Checkout — ítems del resumen ── */
    .co-item { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
    .co-item:last-of-type { border-bottom: none; }
    .co-item-top {
      display: flex; justify-content: space-between; align-items: flex-start;
      gap: 0.5rem; margin-bottom: 0.4rem;
    }
    .co-item-name { font-size: 0.875rem; font-weight: 600; color: var(--text); line-height: 1.3; flex: 1; }
    .co-remove-btn {
      background: none; border: none; cursor: pointer;
      font-size: 0.9rem; color: var(--text2); padding: 0; line-height: 1; flex-shrink: 0;
      transition: color 0.15s;
    }
    .co-remove-btn:hover { color: #ef4444; }
    .co-item-bottom { display: flex; justify-content: space-between; align-items: center; }
    .co-qty-badge {
      font-size: 0.78rem; font-weight: 600; color: var(--text2);
      background: var(--bg3); border: 1px solid var(--border);
      border-radius: 6px; padding: 2px 8px;
    }
    .co-item-price { font-weight: 700; font-size: 0.9rem; color: var(--gold); }
    .co-line {
      display: flex; justify-content: space-between; align-items: center;
      padding: 0.5rem 0; font-size: 0.875rem; color: var(--text2);
      border-top: 1px solid var(--border); margin-top: 0.5rem;
    }
    .co-total {
      font-weight: 800; font-size: 1.05rem; color: var(--text);
      border-top: 2px solid var(--border); padding-top: 0.75rem;
    }
    .co-total span:last-child { color: var(--gold); }

    .calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
    .cal-nav-btn {
      background: var(--bg2); border: 1px solid var(--border);
      color: var(--text); width: 36px; height: 36px; border-radius: 8px;
      cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center;
    }
    .cal-nav-btn:hover { border-color: var(--gold); color: var(--gold); }
    .cal-month { font-size: 1.1rem; font-weight: 700; min-width: 180px; text-align: center; }
    .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
    .cal-day-header { text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--text2); padding: 0.5rem 0; }
    .cal-day {
      background: var(--bg2); border: 1px solid var(--border);
      border-radius: 8px; min-height: 80px; padding: 0.4rem;
      cursor: pointer; transition: border-color 0.15s; overflow: hidden;
    }
    /* "+N más": pill visible y clickeable (el día entero abre el panel) */
    .cal-more {
      display: block; margin-top: 3px; padding: 2px 5px; border-radius: 3px;
      text-align: center; font-size: .66rem; font-weight: 800; letter-spacing: .03em;
      text-transform: uppercase; color: var(--gold);
      background: rgba(245,158,11,.10); border: 1px dashed rgba(245,158,11,.45);
    }
    .cal-day.has-events:hover { border-color: var(--gold); }
    .cal-day:not(.has-events) { cursor: default; }
    .cal-day.today { border-color: var(--gold); }
    .cal-day.other-month { opacity: 0.35; }
    .cal-day-num { font-size: 0.8rem; font-weight: 600; color: var(--text2); margin-bottom: 2px; }
    .cal-day.today .cal-day-num { color: var(--gold); }
    .cal-event-dot {
      font-size: 0.72rem; color: #fff; background: var(--gold);
      border-radius: 3px; padding: 2px 5px; margin-top: 3px; display: block;
      font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
      cursor: pointer; transition: filter 0.15s;
    }
    .cal-event-dot:hover { filter: brightness(1.2); }
    .event-type-mtg       { background: #b45309; }
    .event-type-pokemon   { background: #2563eb; }
    .event-type-onepiece  { background: #dc2626; }
    .event-type-riftbound { background: #7c3aed; }
    .event-type-otros     { background: #475569; }
    .cal-event-dot.cal-dot-special { box-shadow: 0 0 0 2px var(--gold, #f59e0b); }
    .cal-day.has-events {
      background: linear-gradient(180deg, var(--bg2) 60%, color-mix(in srgb, var(--gold) 8%, var(--bg2)));
    }
    /* ── Calendario en celular: grilla con puntos; tocá un día para ver sus eventos ── */
    @media (max-width: 600px) {
      .calendar-grid { gap: 3px; }
      .cal-day-header { font-size: .68rem; padding: .3rem 0; }
      .cal-day { min-height: 48px; padding: .25rem .15rem; border-radius: 6px; }
      .cal-day-num { font-size: .74rem; margin-bottom: 2px; text-align: center; }
      .cal-dots { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; align-items: center; }
      .cal-event-dot {
        width: 8px; height: 8px; min-width: 8px; padding: 0; margin: 0;
        border-radius: 50%; font-size: 0; line-height: 0; text-indent: -9999px;
        overflow: hidden; display: block; box-sizing: border-box;
      }
      .cal-event-dot.cal-dot-special { box-shadow: 0 0 0 2px var(--gold); }
      /* "+N" compacto junto a los puntos (sin la palabra "más") */
      .cal-more {
        display: block; width: auto; padding: 0; margin: 0; border: none; background: none;
        font-size: .62rem; font-weight: 800; color: var(--gold); letter-spacing: 0; line-height: 1;
      }
      .cal-more-lbl { display: none; }
    }
    /* ── Panel de eventos del día seleccionado (todas las pantallas) ── */
    .cal-day.cal-selected { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
    .cal-day-panel { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
    .cal-day-panel:empty { display: none; }
    .cal-day-panel-head { font-weight: 800; color: var(--gold); font-size: .95rem; }
    /* Entrada del panel del día: fade + leve subida para llamar la vista */
    @keyframes calPanelIn { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: none; } }
    .cal-panel-in { animation: calPanelIn .32s ease; }
    .cal-panel-event {
      display: flex; align-items: center; gap: .7rem; cursor: pointer;
      background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
      padding: .7rem .85rem; transition: border-color .15s;
    }
    .cal-panel-event:hover { border-color: var(--gold); }
    .cal-panel-event .event-badge { flex-shrink: 0; }
    .cal-panel-event-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
    .cal-panel-time { color: var(--text2); font-size: .82rem; }
    .events-list { margin-top: 2rem; }
    .event-item {
      background: var(--bg2); border: 1px solid var(--border);
      border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 0.75rem;
      display: flex; gap: 1rem; align-items: flex-start;
    }
    /* Fecha informativa: tenue (el dorado con relleno queda para acciones) */
    .event-date-box {
      background: var(--bg3); border: 1px solid var(--border); border-radius: 8px;
      width: 52px; text-align: center; padding: 0.35rem; flex-shrink: 0;
    }
    .event-date-box .day { font-size: 1.4rem; font-weight: 900; line-height: 1; color: var(--gold); }
    .event-date-box .month { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; color: var(--text2); }
    .event-info h4 { margin: 0 0 0.25rem; font-size: 0.95rem; font-weight: 700; }
    .event-info p { margin: 0; font-size: 0.8rem; color: var(--text2); }
    .event-time { font-size: 0.78rem; color: var(--gold); margin-top: 4px; }
    .event-badge { font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; margin-left: 8px; vertical-align: middle; }

    .news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
    .news-card {
      background: var(--bg2); border: 1px solid var(--border);
      border-radius: 12px; overflow: hidden; transition: all 0.2s;
      cursor: pointer;
    }
    .news-card:hover { border-color: var(--gold); transform: translateY(-2px); }
    .news-img {
      width: 100%; height: 180px; object-fit: cover; background: var(--bg3);
      display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--text2);
    }
    .news-img img { width: 100%; height: 100%; object-fit: cover; }
    .news-content { padding: 1.25rem; }
    .news-date { font-size: 0.75rem; color: var(--text2); margin-bottom: 0.35rem; }
    .news-title { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0 0 0.5rem; }
    .news-text { font-size: 0.85rem; color: var(--text2); line-height: 1.5;
      display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
    .contact-info h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 1.25rem; }
    .contact-item { display: flex; gap: 0.875rem; align-items: flex-start; margin-bottom: 1.25rem; }
    .contact-icon {
      width: 40px; height: 40px; background: rgba(245,158,11,0.1);
      border: 1px solid rgba(245,158,11,0.3); border-radius: 8px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    }
    .contact-item-text strong { display: block; font-size: 0.8rem; color: var(--text2); }
    .contact-item-text span { font-size: 0.9rem; color: var(--text); }
    .contact-form-wrap h3 { font-size: 1.3rem; font-weight: 800; margin: 0 0 1.25rem; }
    .submit-btn {
      width: 100%; background: var(--gold); color: #000; border: none; border-radius: 10px;
      padding: 0.75rem; font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.15s; margin-top: 0.5rem;
    }
    .submit-btn:hover { background: var(--gold2); }

    .toast {
      position: fixed; top: 5rem; right: 1.5rem; z-index: 1300;
      background: rgba(19,19,31,0.45); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
      padding: 0.875rem 1.25rem; font-size: 0.875rem; font-weight: 500;
      transform: translateY(-80px); opacity: 0; transition: all 0.3s; max-width: 320px;
      pointer-events: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    }
    .toast.show { transform: translateY(0); opacity: 1; pointer-events: none; }
    .toast.success { border-color: var(--green); background: rgba(22,163,74,0.25); }
    .toast.error { border-color: var(--red); background: rgba(220,38,38,0.2); }

    @media (max-width: 600px) {
      .toast {
        top: auto; bottom: 5.5rem; right: auto;
        left: 4vw; width: 92vw; max-width: none;
        transform: translateY(20px);
        text-align: center; border-radius: 16px;
        padding: 1rem 1.25rem; font-size: 0.95rem;
        box-shadow: 0 4px 20px rgba(0,0,0,.3);
      }
      .toast.show { transform: translateY(0); }
    }

    .loading { display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 3rem; color: var(--text2); }
    .spinner { width: 24px; height: 24px; border: 2px solid var(--border); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.7s linear infinite; }
.img-spinner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg3); }
.img-spinner .spinner { width: 28px; height: 28px; }
    @keyframes spin { to { transform: rotate(360deg); } }

    
    main { flex: 1; }

    footer {
      background: var(--bg2); border-top: 1px solid var(--border);
      padding: 2rem 1.5rem; text-align: center; color: var(--text2); font-size: .85rem;
    }
    footer a { color: var(--text2); text-decoration: none; transition: color .15s; }
    footer a:hover { color: var(--gold); }
    footer strong { color: var(--gold); }
    

    .mobile-nav {
      display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 999;
      background: var(--bg2); border-bottom: 1px solid var(--border);
      flex-direction: column; gap: 0;
      /* No pasarse del alto de pantalla: si la lista es larga (o hay submenús
         abiertos / pantalla baja), el propio menú scrollea en vez de cortarse.
         dvh contempla la barra dinámica del navegador móvil; vh es el fallback. */
      max-height: calc(100vh - 64px);
      max-height: calc(100dvh - 64px);
      overflow-y: auto; -webkit-overflow-scrolling: touch;
    }
    .mobile-nav.open { display: flex; animation: mnavIn .22s ease; }
    @keyframes mnavIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
    .mobile-nav a {
      padding: 1rem 1.5rem; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.01em;
      color: var(--text2); cursor: pointer;
      border-bottom: 1px solid var(--border);
      display: block; width: 100%;
    }
    .mobile-nav a:last-child { border-bottom: none; }
    .mobile-nav a:hover, .mobile-nav a.active { color: var(--gold); background: rgba(245,158,11,0.08); }

    @media (max-width: 768px) {
      #navbar { background: var(--bg); backdrop-filter: none; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .nav-logo img { height: 56px; }
      .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
      .shipping-options { grid-template-columns: 1fr 1fr; }
      .products-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
      .carousel-container::before,
      .carousel-container::after { width: 20px; }
      .carousel-track .product-card { width: 160px; }
      /* Mobile: ocultar botones, el usuario desliza */
      .carousel-btn { display: none; }
      /* Hint de swipe */
      .carousel-swipe-hint {
        display: flex; align-items: center; justify-content: center;
        margin-top: .75rem; pointer-events: none; user-select: none;
      }
      .carousel-dots { display: flex; gap: 7px; align-items: center; justify-content: center; }
      .carousel-dot {
        width: 7px; height: 7px; border-radius: 50%;
        background: rgba(255,255,255,0.25);
        transition: background .2s, transform .2s;
        flex-shrink: 0;
      }
      .carousel-dot.active {
        background: var(--gold);
        transform: scale(1.35);
      }
      .page-header { padding: calc(60px + var(--promo-height, 0px)) 1.25rem 28px; }
      .page-header h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
      .page-header p { font-size: 0.95rem; }
    }
    @media (max-width: 480px) {
      .calendar-grid { gap: 2px; }
      .cal-day { min-height: 46px; }
      .hero h1 { font-size: 1.6rem; }
      .hero p { font-size: 0.95rem; }
      /* Chips de juegos en hero: más chicos y sin ancho mínimo fijo */
      .hero-game-chips a { min-width: 80px !important; font-size: .78rem !important; padding: .4rem .7rem !important; }
      /* Paginación: botones más compactos */
      #store-pagination button { min-width: 34px; height: 34px; font-size: .8rem; }
    }

    
    .page-header { background: linear-gradient(135deg, #0d0d14 0%, #1a1a2e 50%, #0d0d14 100%); padding: calc(120px + var(--promo-height, 0px)) 1.5rem 60px; text-align: center; position: relative; overflow: hidden; }
    .page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(245,158,11,0.12) 0%, transparent 70%); pointer-events: none; }
    .page-header-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
    .page-header h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; margin: 0 0 0.75rem; }
    .page-header h1 span { color: var(--gold); }
    .page-header p { font-size: 1.05rem; color: var(--text2); max-width: 580px; margin: 0 auto; line-height: 1.6; }
    .page-content { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
    /* ── TCG Dropdown nav ── */

        /* nav mobile override — siempre vuelve a flex en mobile */
    @media (max-width: 768px) {
      
      
      
      
    }
  

/* ── Hero — base (páginas TCG) ────────────────────────────────────────── */


.hero {
  background: linear-gradient(135deg, #0d0d14 0%, #1a1a2e 50%, #0d0d14 100%);
  padding: 120px 1.5rem 60px;
  text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,158,11,0.12) 0%, transparent 70%);
}

/* ── Hero — index.html (con imagen de fondo) ──────────────────────────── */
#home .hero {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(245,158,11,0.13) 0%, transparent 65%),
    linear-gradient(rgba(5,5,15,0.62), rgba(5,5,15,0.55)),
    url('../assets/banner-hero.jpg') center 47%/100% auto no-repeat,
    linear-gradient(135deg, #0d0d14 0%, #1a1a2e 50%, #0d0d14 100%);
}
/* WebP para navegadores que lo soportan (−50% de peso en el LCP de la home).
   La clase html.webp la pone un one-liner de detección en el <head> del index.
   Solo desktop: en móvil el hero es gradiente puro (ver override de 600px). */
@media (min-width: 601px) and (max-width: 1920px) {
  html.webp #home .hero {
    background:
      radial-gradient(ellipse at 50% 0%, rgba(245,158,11,0.13) 0%, transparent 65%),
      linear-gradient(rgba(5,5,15,0.62), rgba(5,5,15,0.55)),
      url('../assets/banner-hero.webp') center 47%/100% auto no-repeat,
      linear-gradient(135deg, #0d0d14 0%, #1a1a2e 50%, #0d0d14 100%);
  }
}
.hero-logo img { width: 100%; filter: drop-shadow(0 0 30px rgba(245,158,11,0.4)); }

/* ── Hero: fade lateral + imagen fija en pantallas > 1920px ───────────── */
/* Base: imagen al 100% con fade lateral sutil */
#home .hero {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(245,158,11,0.13) 0%, transparent 65%),
    linear-gradient(rgba(5,5,15,0.62), rgba(5,5,15,0.55)),
    url('../assets/banner-hero.jpg') center 47% / 100% auto no-repeat,
    linear-gradient(135deg, #0d0d14 0%, #1a1a2e 50%, #0d0d14 100%);
}
/* En pantallas > 1920px: imagen fija en 1920px + fade exacto en sus bordes */
@media (min-width: 1921px) {
  #home .hero {
    background:
      linear-gradient(to right,
        #0d0d14 0,
        #0d0d14 calc(50% - 960px),
        transparent calc(50% - 760px),
        transparent calc(50% + 760px),
        #0d0d14 calc(50% + 960px),
        #0d0d14 100%),
      radial-gradient(ellipse at 50% 0%, rgba(245,158,11,0.13) 0%, transparent 65%),
      linear-gradient(rgba(5,5,15,0.62), rgba(5,5,15,0.55)),
      url('../assets/banner-hero.jpg') center 47% / 1920px auto no-repeat,
      linear-gradient(135deg, #0d0d14 0%, #1a1a2e 50%, #0d0d14 100%);
  }
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.1; margin: 0 0 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 0 40px rgba(0,0,0,0.5);
}
.hero-badge {
  display: inline-block; background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3); color: var(--gold);
  padding: 0.3rem 1rem; border-radius: 9999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1.25rem;
}
.hero-cta, .hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Layout páginas TCG ────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
body > main > section { padding: 4rem 0; }
body > main > section + section { border-top: 1px solid var(--border); }
.section-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
h2 span { color: var(--gold); }
.lead { font-size: 1.05rem; color: var(--text2); line-height: 1.7; max-width: 720px; }
.lead + .lead { margin-top: 0.75rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.card { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; transition: border-color 0.15s; }
.card:hover { border-color: var(--gold); }
.card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: var(--text2); line-height: 1.5; }

/* ── Hero — overrides móvil (van después de las reglas base para ganar cascada) ── */
@media (max-width: 600px) {
  .hero { padding: 3.5rem 1.5rem 2.5rem; }
  .hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .hero p { font-size: 0.95rem; }
  .hero-cta, .hero-actions { flex-direction: column; align-items: center; gap: .6rem; }
  /* Logos de categorías TCG: más espacio arriba en mobile */
  .game-logo-wrap { margin-top: 2rem; }
  /* Home: en pantallas chicas el banner (con el logo) se mezclaba con el
     texto del hero — mejor gradiente limpio, el texto respira */
  #home .hero {
    background:
      radial-gradient(ellipse at 50% 0%, rgba(245,158,11,0.13) 0%, transparent 65%),
      linear-gradient(135deg, #0d0d14 0%, #1a1a2e 50%, #0d0d14 100%);
  }
}

/* ── Tap targets en móvil (botones/links chicos para el dedo) ─────────── */
@media (max-width: 768px) {
  .add-cart-btn { padding: 0.7rem 0.5rem; font-size: 0.9rem; }
  footer a { display: inline-block; padding: 0.3rem 0; }
  .contact-item-text a { display: inline-block; padding: 0.2rem 0; }
}

/* ── Fluidez táctil ─────────────────────────────────────────────────────
   - sin flash gris al tocar (tap-highlight)
   - touch-action: manipulation elimina el retraso de doble-tap en botones
   - overscroll-behavior evita que el scroll de un modal "arrastre" la
     página de fondo cuando llega al final (scroll chaining) */
a, button, select, .chip, .cmd-fbtn, .acc-evf, .cmd-card { -webkit-tap-highlight-color: transparent; }
button, .chip, .add-cart-btn, .pagination-wrap button, .cmd-fbtn, .acc-evf { touch-action: manipulation; }
.modal, .modal-overlay, .cart-panel, .cart-items, .mobile-nav, .news-detail-panel { overscroll-behavior: contain; }
@media (prefers-reduced-motion: reduce) {
  .mobile-nav.open, .cart-panel, .modal { animation: none; }
}

/* ── prefers-reduced-motion: desactivar animaciones para accesibilidad ────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* El spinner muestra feedback visual sin animar */
  .spinner { animation: none !important; border-top-color: var(--gold); }
}

/* ── Turbo progress bar ─────────────────────────────────────────────────── */
.turbo-progress-bar {
  height: 3px;
  background: var(--gold);
}

/* ── Páginas TCG — contenido estático ──────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.faq-item { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem 1.5rem; }
.faq-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.faq-item p { font-size: .9rem; color: var(--text2); line-height: 1.6; margin: 0; }

.cta-banner { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem 2rem; text-align: center; }
.cta-banner .section-tag { justify-content: center; display: flex; }
.cta-banner h2 { font-size: 1.5rem; margin: .75rem 0 .5rem; }
.cta-banner p { color: var(--text2); margin-bottom: 1.5rem; }
.cta-banner .btn-primary { display: inline-block; }

/* ── Comunidad WhatsApp banner ────────────────────────────────────────────── */
.wa-community-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg2);
  border: 1px solid rgba(37,211,102,.35);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  margin: 2.5rem 0 0;
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
}
.wa-community-banner:hover {
  border-color: rgba(37,211,102,.75);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,.12);
}
.wa-community-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(37,211,102,.15);
  color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-community-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.wa-community-title {
  font-weight: 700;
  font-size: .97rem;
  color: var(--text);
}
.wa-community-sub {
  font-size: .82rem;
  color: var(--text2);
  line-height: 1.4;
}
.wa-community-btn {
  flex-shrink: 0;
  background: #25d366;
  color: #06301a; /* contraste AA sobre el verde WhatsApp (antes blanco: fallaba) */
  font-weight: 800;
  font-size: .82rem;
  padding: .45rem 1rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s;
}
.wa-community-banner:hover .wa-community-btn {
  background: #1ebe5d;
}
@media (max-width: 600px) {
  .wa-community-banner { flex-wrap: wrap; gap: .75rem; }
  .wa-community-btn { width: 100%; text-align: center; padding: .5rem; }
}


/* ═══════════════════════════════════════════════════════════════
   CLASES EXTRAÍDAS DE INLINE STYLES
   ═══════════════════════════════════════════════════════════════ */

/* ─── Utilidades básicas ──────────────────────────────────────── */
.hidden            { display: none; }
.page-inner        { max-width: 1200px; margin: 0 auto; }
.hero-inner        { position: relative; z-index: 1; }
.form-hint         { font-size: .75rem; color: var(--text2); }
.form-hint code    { background: var(--bg3); padding: .1rem .35rem; border-radius: 4px; font-size: .78rem; }
.honeypot          { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ─── Mobile nav — botón TCG / Singles ───────────────────────── */
#mobile-tcg-btn,
#mobile-singles-btn {
  padding: 1rem 1.5rem;
  color: var(--text);
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  width: 100%;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

/* ─── Hero chips (home) ───────────────────────────────────────── */
.hero-game-chips {
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hero-game-chip {
  background: rgba(8, 8, 20, 0.82);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: var(--text);
  padding: .5rem 1.1rem;
  border-radius: 9999px;
  font-size: .85rem;
  font-weight: 600;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 36px;
  text-decoration: none;
}
.hero-game-chip img { height: 24px; width: auto; object-fit: contain; vertical-align: middle; }
.hero-game-chip img.chip-lg { height: 26px; opacity: .9; }

/* ─── Logo imagen dentro de chip de filtro (tienda) ─────────── */
.chip-logo { height: 26px; width: auto; object-fit: contain; }

/* ─── Modal de noticias / evento (compartido) ────────────────── */
.modal-media            { width: 100%; max-height: 260px; overflow: hidden; }
.modal-media img        { width: 100%; height: 260px; object-fit: cover; }
.modal-body             { padding: 1.5rem; }
.modal-meta             { font-size: .8rem; color: var(--text2); margin-bottom: 1rem; }
.modal-text             { color: var(--text); font-size: .95rem; line-height: 1.75; white-space: pre-line; }

/* ─── Leyenda del calendario ─────────────────────────────────── */
.cal-legend      { display: flex; gap: .5rem; flex-wrap: wrap; }
.cal-legend-item { font-size: .78rem; color: var(--text2); display: flex; align-items: center; gap: .35rem; }
.cal-legend-dot  { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.cal-legend-dot--torneos     { background: #7c3aed; }
.cal-legend-dot--lanzamientos{ background: #0891b2; }
.cal-legend-dot--eventos     { background: #dc2626; }
.cal-legend-dot--especiales  { background: var(--gold2, #d97706); }

/* ─── Bloque de fecha en modal de evento ─────────────────────── */
.event-date-block  { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.event-date-num    { background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: .6rem 1rem; text-align: center; flex-shrink: 0; }
.event-date-day    { font-size: 1.8rem; font-weight: 900; line-height: 1; color: var(--gold); }
.event-date-month  { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--text2); }
.event-detail-title{ font-size: .9rem; color: var(--gold); font-weight: 600; margin-bottom: .25rem; }
.event-detail-loc  { font-size: .9rem; color: var(--text2); line-height: 1.5; }
.event-detail-notes{ margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.event-detail-notes-text { font-size: .85rem; color: var(--text2); }
.event-detail-notes-label{ font-weight: 700; color: var(--gold); }

/* ─── Íconos de contacto — variantes de color ────────────────── */
.contact-icon-wa { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.3); }
.contact-icon-ig { background: rgba(225, 48, 108, 0.1); border-color: rgba(225, 48, 108, 0.3); }
.contact-icon-fb { background: rgba(24, 119, 242, 0.1); border-color: rgba(24, 119, 242, 0.3); }

/* ─── Banner de singles (tienda) ─────────────────────────────── */
.singles-promo {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #1a1a2e, #13131f);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.singles-promo-tag  { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.singles-promo-title{ font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; }
.singles-promo-text { font-size: .88rem; color: var(--text2); line-height: 1.55; max-width: 420px; }

/* ─── Botón Moxfield ─────────────────────────────────────────── */
.moxfield-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.4rem;
  background: rgba(245, 158, 11, .12);
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.moxfield-btn:hover { background: rgba(245, 158, 11, .22); }

/* ─── Clases de soporte adicionales ─────────────────────────── */
.pos-rel          { position: relative; }
.text-center      { text-align: center; }
.loading-fallback { max-width: 900px; margin: 80px auto; padding: 2rem; font-family: sans-serif; }
.game-logo-wrap   { margin-bottom: 1.5rem; }
.game-logo        { height: 60px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5)); }
.game-logo--lg    { height: 85px; }
.game-logo-wrap--text { display: flex; align-items: center; justify-content: center; height: 60px; }
.game-logo-text   { font-size: 1.4rem; font-weight: 900; color: #fff; text-align: center; letter-spacing: .05em; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.game-cta-row     { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── Checkout additions ────────────────────────────────────── */
.co-section--notes  { padding-top: .25rem; }
.form-group--flush  { margin: 0; }
.form-label-opt     { color: var(--text2); font-weight: 400; }
.textarea-notes     { resize: vertical; font-size: .9rem; }
.checkout-footer-note { font-size: .75rem; color: var(--text2); margin: 1rem 0 0; text-align: center; }
.link-gold          { color: var(--gold); }

/* ─── Contact form ─────────────────────────────────────────── */
.contact-info       { opacity: 0; transition: opacity .2s; }

/* ─── Admin additions ──────────────────────────────────────── */
.btn-login          { width: 100%; justify-content: center; padding: .7rem; }
.form-btn-row       { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }

/* ─── Modal tamaños ─────────────────────────────────── */
.modal--sm { max-width: 440px; }
.modal--md { max-width: 600px; }
.modal--xs { max-width: 380px; }
.modal-body--flush { padding: 0; }

/* ─── Event detail modal — elementos con ID ─────────── */
.event-modal-header { display: flex; align-items: center; gap: .75rem; }
#ed-badge   { font-size: .75rem; padding: 3px 10px; }
#ed-title   { margin: 0; font-size: 1.1rem; }
#ed-date-box{ background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: .5rem 1rem; text-align: center; }
#ed-day     { font-size: 1.8rem; font-weight: 900; line-height: 1; color: var(--gold); }
#ed-month   { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: var(--text2); }
#ed-time    { font-size: .9rem; color: var(--gold); font-weight: 600; margin-bottom: .25rem; }
#ed-desc    { font-size: .9rem; color: var(--text2); line-height: 1.5; }
.event-price-hint { font-size: .85rem; color: var(--text2); }
#ed-price   { font-weight: 700; color: var(--gold); }

/* ─── Sección title margin ──────────────────────────── */
.section-title--news { margin-top: 3rem; }

/* ─── Footer de página (404, etc.) ─────────────────── */
.page-footer { text-align: center; padding: 1.5rem; color: var(--text2); font-size: .8rem; border-top: 1px solid var(--border); }

/* ─── Contact links ─────────────────────────────────── */
.contact-item-text a { color: var(--text); }
.cost--free       { color: var(--green); }
.discount-reason  { padding: .4rem .6rem; border-radius: 8px; border: 1px solid var(--border); background: var(--bg3); color: var(--text); font-size: .85rem; }
.auth-box-desc    { font-size: .85rem; color: var(--text2); margin: 0 0 1rem; }
.auth-input-center{ margin-bottom: .75rem; text-align: center; }
.btn-full         { width: 100%; }
.chip--sale-toggle { opacity: .7; }
.chip--sale-toggle.active { opacity: 1; }

/* ── Página de Políticas ─────────────────────────────────── */
.policy-wrap {
  max-width: 780px; margin: 0 auto; padding: 0 1rem 3rem;
}
.policy-section {
  margin-bottom: 2.5rem;
}
.policy-section h2 {
  font-size: 1.25rem; font-weight: 700; color: var(--gold);
  margin: 0 0 1rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.policy-section h3 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin: 1.25rem 0 .4rem;
}
.policy-section p, .policy-section li {
  font-size: .95rem; color: var(--text2); line-height: 1.7;
}
.policy-section ul {
  padding-left: 1.4rem; margin: .4rem 0 0;
}
.policy-section li { margin-bottom: .25rem; }
.policy-section a { color: var(--gold); text-decoration: underline; }
.policy-footer-note {
  font-size: .85rem; color: var(--text2); font-style: italic;
  border-top: 1px solid var(--border); padding-top: 1.25rem; margin-top: 1rem;
}
/* Footer link */
footer a { color: var(--text2); text-decoration: underline; font-size: .85rem; }
footer a:hover { color: var(--gold); }
.checkout-accept-note { font-size: .78rem; color: var(--text2); text-align: center; margin-top: .6rem; }
.checkout-accept-note a { color: var(--text2); text-decoration: underline; }
.checkout-accept-note a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════════
   PRODUCT DETAIL MODAL
   Desktop : modal centrado, flechas laterales — sin cambios
   Mobile  : pantalla completa, pill dorada, carrusel flechas en imagen
══════════════════════════════════════════════════════════════════════ */

/* Overlay */
#product-detail-overlay {
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
}

/* Wrapper + fila nav (desktop) */
#pd-wrapper { width: 100%; max-width: 700px; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
#pd-nav-row  { display: flex; align-items: center; gap: 1rem; width: 100%; }

#pd-prev-btn, #pd-next-btn {
  flex-shrink: 0;
  background: rgba(255,255,255,.15); color: #fff;
  border: 2px solid rgba(255,255,255,.45);
  width: 3rem; height: 5rem; border-radius: 12px;
  font-size: 2.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .15s, border-color .15s;
}
#pd-prev-btn:hover, #pd-next-btn:hover { background: rgba(255,255,255,.28); border-color: rgba(255,255,255,.72); }
#pd-prev-btn:disabled, #pd-next-btn:disabled { opacity: .15; pointer-events: none; }

/* Tarjeta modal */
#pd-modal {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex; flex-direction: column;
  overflow: hidden;
  max-height: 88vh;
  position: relative;
  animation: pdFadeIn .22s ease;
}
@keyframes pdFadeIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }

/* ── Cabecera mobile: pill dorada + botón X circular (flotante sobre imagen) ── */
.pd-mob-header {
  display: none; /* visible solo en mobile */
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 40;
  padding: .75rem 1rem .5rem;
  align-items: center; justify-content: center;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.42) 0%, transparent 100%);
}
.pd-mob-pill {
  background: linear-gradient(135deg, #b8860b 0%, #e0b030 50%, #b8860b 100%);
  color: #000;
  font-size: .72rem; font-weight: 900;
  padding: .28rem 1rem; border-radius: 20px;
  letter-spacing: .08em;
  box-shadow: 0 2px 8px rgba(0,0,0,.45);
  pointer-events: none;
  white-space: nowrap;
}
.pd-mob-close {
  position: absolute; right: .8rem; top: .65rem;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: rgba(20,20,20,.72);
  border: none;
  color: rgba(255,255,255,.9); font-size: 1rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; pointer-events: auto;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  transition: background .12s, transform .12s;
}
.pd-mob-close:active { background: rgba(0,0,0,.88); transform: scale(.92); }

/* Botón cerrar flotante (desktop) */
.pd-close {
  position: absolute; top: .75rem; right: .75rem; z-index: 20;
  background: rgba(0,0,0,.55); border: none; border-radius: 50%;
  width: 34px; height: 34px; color: #fff; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; line-height: 1;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .15s, transform .15s;
}
.pd-close:hover { background: rgba(0,0,0,.78); transform: scale(1.08); }

/* Zona animable */
#pd-content {
  flex: 1; display: flex; flex-direction: column;
  overflow: hidden; min-height: 0;
}

/* Imagen */
.pd-img-wrap {
  position: relative; width: 100%; height: 300px;
  flex-shrink: 0; background: var(--bg3); overflow: hidden;
}
.pd-img-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.pd-img-inner img { width: 100%; height: 100%; object-fit: contain; }

/* Flechas carrusel (solo mobile) */
.pd-img-arrow {
  display: none;
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 20;
  background: rgba(0,0,0,.45); border: none;
  color: #fff; font-size: 2rem;
  width: 2.2rem; height: 3.2rem; border-radius: 8px;
  align-items: center; justify-content: center;
  cursor: pointer; line-height: 1;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background .12s;
}
.pd-img-arrow:active { background: rgba(0,0,0,.72); }
.pd-img-prev { left: .45rem; }
.pd-img-next { right: .45rem; }

.pd-badges-wrap {
  position: absolute; top: .75rem; left: .75rem;
  display: flex; flex-direction: column; gap: 4px;
  z-index: 5; pointer-events: none;
}
#pd-nav-counter {
  background: linear-gradient(135deg, #b8860b 0%, #e0b030 50%, #b8860b 100%);
  color: #000;
  font-size: .72rem; font-weight: 900; letter-spacing: .08em;
  padding: .28rem .85rem; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.5);
  pointer-events: none; white-space: nowrap;
}
#pd-nav-counter:empty { display: none; }

/* Cuerpo: categoría + título + separador + descripción */
.pd-body {
  flex: 1; overflow-y: auto; min-height: 0;
  padding: .9rem 1.25rem 1rem;
  display: flex; flex-direction: column; gap: .35rem;
  scrollbar-width: none;
}
.pd-body::-webkit-scrollbar { display: none; }
.pd-sep {
  border: none; border-top: 1px solid var(--border);
  margin: .45rem 0 .5rem; flex-shrink: 0;
}

/* Tags / categorías */
.pd-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .1rem; }
.pd-tags span {
  font-size: .68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .22rem .6rem; border-radius: 6px;
  border: 1px solid; white-space: nowrap;
}
/* Colores por juego */
.pd-tags span.tag-magic    { background: rgba(155,89,182,.14); border-color: rgba(155,89,182,.45); color: #c39bd3; }
.pd-tags span.tag-pokemon  { background: rgba(241,196,15,.12); border-color: rgba(241,196,15,.42); color: #f4d03f; }
.pd-tags span.tag-onepiece { background: rgba(231,76,60,.12);  border-color: rgba(231,76,60,.42);  color: #f1948a; }
.pd-tags span.tag-riftbound{ background: rgba(26,188,156,.12); border-color: rgba(26,188,156,.42); color: #48c9b0; }
.pd-tags span.tag-game     { background: rgba(245,158,11,.09); border-color: rgba(245,158,11,.35); color: var(--gold); }
.pd-tags span.tag-cat      { background: transparent; border-color: var(--border); color: var(--text2); font-weight: 600; }
.pd-tags span.tag-lang     { background: rgba(14,165,233,.10); border-color: rgba(14,165,233,.38); color: #38bdf8; }

.pd-name { font-size: 1.15rem; font-weight: 800; color: var(--text); line-height: 1.3; margin: 0; }
.pd-desc { font-size: .875rem; color: var(--text2); line-height: 1.7; white-space: pre-wrap; }

/* Bloque precio fijo */
.pd-price-block {
  flex-shrink: 0;
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}
.pd-price-val { font-size: 1.7rem; font-weight: 900; color: var(--gold); line-height: 1.1; }
.pd-stock-badge { font-size: .78rem; color: var(--text2); }

/* Footer */
.pd-footer {
  display: flex; align-items: center; gap: .65rem;
  padding: .75rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg2); flex-shrink: 0;
  height: 4.2rem;
}
.pd-cta, .pd-qty-group {
  transition: opacity .15s ease, visibility .15s ease;
}
.pd-qty-group { display: flex; align-items: center; gap: .5rem; }

.pd-qty-group .qty-btn { width: 3rem; height: 2.75rem; border-radius: 8px; flex-shrink: 0; }
.pd-qty-group .qty-btn:not(.pd-clear-icon) { flex: 1; max-width: 4.5rem; }
.pd-qty-group .pd-clear-icon { width: 2.5rem; flex-shrink: 0; }
#pd-qty-num {
  width: 3.5rem; flex-shrink: 0; text-align: center;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); border-radius: 8px;
  font-size: 1rem; font-weight: 600; padding: .4rem .25rem;
  height: 2.75rem;
  -moz-appearance: textfield;
}
#pd-qty-num::-webkit-inner-spin-button,
#pd-qty-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pd-cta {
  flex: 1; background: var(--gold); color: #000;
  border: 2px solid transparent; border-radius: 10px;
  padding: 0 .5rem; height: 2.75rem;
  font-size: .92rem; font-weight: 800;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap;
}
.pd-cta:hover { background: var(--gold2); }
.pd-cta:disabled { background: var(--border); color: var(--text2); cursor: not-allowed; }
/* Subtotal en el footer cuando qty > 1 */
.pd-subtotal {
  margin-left: auto;
  font-size: 1.4rem; font-weight: 900;
  color: var(--gold); white-space: nowrap;
}
/* Botón "Ir al carrito" — mismo estilo que pd-cta pero con borde dorado */
.pd-cta.pd-cart-cta {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.pd-cta.pd-cart-cta:hover { background: rgba(245,158,11,.12); }

/* Animaciones de slide */
#pd-content.pd-exit-left   { animation: pdExitLeft  .17s ease forwards; pointer-events: none; }
#pd-content.pd-exit-right  { animation: pdExitRight .17s ease forwards; pointer-events: none; }
#pd-content.pd-enter-right { animation: pdEnterRight .22s ease; }
#pd-content.pd-enter-left  { animation: pdEnterLeft  .22s ease; }
@keyframes pdExitLeft   { to { transform: translateX(-55px); opacity: 0; } }
@keyframes pdExitRight  { to { transform: translateX(55px);  opacity: 0; } }
@keyframes pdEnterRight { from { transform: translateX(55px);  opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes pdEnterLeft  { from { transform: translateX(-55px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ══════════════════════════════════════════════════════════════════
   MOBILE <=600px — pantalla completa, pill dorada, carrusel
══════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  #product-detail-overlay { padding: 0; align-items: flex-end; justify-content: stretch; }
  #pd-wrapper { max-width: 100%; width: 100%; }
  #pd-nav-row { gap: 0; }

  /* Flechas laterales: versión mobile — finas, sombreadas, flotantes */
  #pd-prev-btn, #pd-next-btn {
    display: flex !important;
    position: fixed; top: 50%; transform: translateY(-50%);
    z-index: 1250;
    width: 1.6rem; height: 5rem;
    background: rgba(0,0,0,.28);
    border: none; border-radius: 0 8px 8px 0;
    color: rgba(255,255,255,.85); font-size: 1.4rem;
    box-shadow: 3px 0 12px rgba(0,0,0,.35);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    cursor: pointer; align-items: center; justify-content: center;
    transition: background .15s;
  }
  #pd-prev-btn { left: 0; border-radius: 0 8px 8px 0; }
  #pd-next-btn { right: 0; border-radius: 8px 0 0 8px; box-shadow: -3px 0 12px rgba(0,0,0,.35); }
  #pd-prev-btn:active, #pd-next-btn:active { background: rgba(0,0,0,.55); }

  /* Botón cerrar desktop: oculto */
  .pd-close { display: none !important; }

  /* Mostrar cabecera mobile (pill + X) */
  .pd-mob-header { display: flex; }

  /* Flechas carrusel sobre imagen */
  .pd-img-arrow { display: flex; }

  /* Contador: en mobile se usa pd-mob-counter, ocultar el de desktop */
  #pd-nav-counter { display: none; }

  /* Pantalla completa */
  #pd-modal {
    border-radius: 0; border: none; flex: 1; width: 100%;
    height: 100vh; height: -webkit-fill-available; height: 100svh;
    max-height: 100svh;
    animation: pdSheetUp .28s cubic-bezier(.32,.72,0,1);
  }
  @keyframes pdSheetUp { from { transform: translateY(60px); opacity: .5; } to { transform: translateY(0); opacity: 1; } }

  /* Imagen: 2/5 de la pantalla con espacio superior para la pastilla */
  .pd-img-wrap {
    height: 40svh; min-height: 160px; max-height: none;
    flex-shrink: 0;
    padding-top: 2.6rem;       /* espacio invisible que ocupa la pastilla */
    box-sizing: border-box;
  }

  /* Cuerpo scrollable — padding lateral evita que las flechas tapen el texto */
  .pd-body {
    padding: .8rem 2.2rem .6rem;
    gap: .3rem;
  }
  .pd-name  { font-size: 1.05rem; }
  .pd-desc  { font-size: .84rem; line-height: 1.65; }

  /* Precio */
  .pd-price-block { padding: .6rem 1rem; }
  .pd-price-val   { font-size: 1.6rem; }

  /* Footer con safe-area (notch iOS) */
  .pd-footer {
    padding: 0 1rem env(safe-area-inset-bottom, 0px);
    gap: .5rem;
    height: calc(3.8rem + env(safe-area-inset-bottom, 0px));
  }

  .pd-cta { padding: .875rem .5rem; font-size: .95rem; border-radius: 12px; }
  .pd-qty-group .qty-btn { height: 2.75rem; }
}

/* Dots del carrusel de imágenes */
.pd-img-dots {
  display: none;           /* JS lo activa; en desktop siempre oculto */
  justify-content: center; align-items: center; gap: 6px;
  padding: .4rem 0 .2rem;
  flex-shrink: 0;
  background: transparent;
}
.pd-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border);
  transition: background .18s ease, transform .2s ease;
  flex-shrink: 0;
}
.pd-dot-active {
  background: var(--gold); transform: scale(1.5);
}
@media (max-width: 600px) {
  /* En mobile los dots son visibles (el JS los activa con display:flex) */
  .pd-img-dots { background: var(--bg2); }
}

/* ── Cart panel (movido desde cart.js para evitar flash) ───────────────── */
.cart-btn {
  position: relative; background: var(--gold); color: #000; border: none;
  padding: 0.45rem 1rem; border-radius: 8px; font-weight: 700; font-size: 0.85rem;
  cursor: pointer; display: flex; align-items: center;
  transition: background 0.15s; margin-left: 0.5rem; text-decoration: none;
}
.cart-btn:hover { background: var(--gold2); }
.cart-btn .cart-label { margin-left: 0.45rem; }
/* Móvil: carrito icónico — círculo dorado gemelo del botón de cuenta */
@media (max-width: 768px) {
  .cart-btn {
    width: 38px; height: 38px; padding: 0; margin-left: 0;
    border-radius: 50%; justify-content: center; flex-shrink: 0;
  }
  .cart-btn .cart-label { display: none; }
}
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--red, #dc2626); color: white; border-radius: 9999px;
  font-size: 0.65rem; font-weight: 700; min-width: 18px; height: 18px;
  display: none; align-items: center; justify-content: center;
  padding: 0 4px; line-height: 1;
}
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 1100; display: none; align-items: stretch; justify-content: flex-end;
}
.cart-overlay.open { display: flex; }
.cart-panel {
  background: var(--bg2, #13131f); width: 100%; max-width: 420px;
  display: flex; flex-direction: column;
  border-left: 1px solid var(--border, #2a2a40);
  animation: cartSlideIn 0.2s ease;
}
@keyframes cartSlideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@media (max-width: 768px) {
  .cart-overlay { align-items: flex-end; justify-content: stretch; }
  .cart-panel {
    max-width: 100%; width: 100%; max-height: 90vh;
    border-left: none; border-top: 1px solid var(--border, #2a2a40);
    border-radius: 16px 16px 0 0;
    animation: cartSlideUp 0.25s ease;
  }
  @keyframes cartSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
.cart-header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border, #2a2a40);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.cart-close {
  background: none; border: none; color: var(--text2, #9ca3af); font-size: 1.5rem;
  cursor: pointer; line-height: 1; touch-action: manipulation;
  min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center;
}
.cart-close:hover { color: var(--text, #e5e7eb); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-item {
  display: flex; gap: 0.75rem; padding: 0.875rem 0;
  border-bottom: 1px solid var(--border, #2a2a40); align-items: flex-start;
}
.cart-item-img {
  width: 52px; height: 68px; border-radius: 6px;
  background: var(--bg3, #1a1a2e); overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-weight: 600; font-size: 0.85rem; color: var(--text, #e5e7eb);
  line-height: 1.3;
}
.cart-qty { display: flex; align-items: center; gap: 0.4rem; margin-top: 10px; }
.qty-btn {
  background: var(--bg3, #1a1a2e); border: 1px solid var(--border, #2a2a40);
  color: var(--text, #e5e7eb); width: 26px; height: 26px; border-radius: 6px;
  font-size: 0.875rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color .15s;
}
.qty-btn:hover { border-color: var(--gold, #f59e0b); }
.qty-num { font-size: 0.85rem; min-width: 20px; text-align: center; font-weight: 600; }
.cart-item-prices {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 2px; flex-shrink: 0; min-width: 60px;
}
.cart-item-price { color: var(--gold, #f59e0b); font-weight: 700; font-size: 0.875rem; white-space: nowrap; }
.cart-item-unit { color: var(--text2, #9ca3af); font-size: .75rem; font-weight: 500; white-space: nowrap; text-align: right; }
.cart-item-subtotal { color: var(--gold, #f59e0b); font-weight: 800; font-size: .95rem; white-space: nowrap; margin-top: 2px; }
.remove-item {
  background: none; border: none; color: var(--text2, #9ca3af); cursor: pointer;
  padding: 2px; border-radius: 6px; align-self: flex-start;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s; margin-bottom: 4px;
}
.remove-item:hover { color: #ef4444; background: rgba(239,68,68,.1); }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text2, #9ca3af); }
.cart-empty .icon { font-size: 3rem; margin-bottom: 0.75rem; }
.cart-footer { padding: 1.25rem 1.5rem; border-top: 1px solid var(--border, #2a2a40); }
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text2, #9ca3af); margin-bottom: .75rem; padding-top: .25rem;
}
.cart-total-price { color: var(--gold, #f59e0b); font-size: 1.2rem; letter-spacing: 0; text-transform: none; }
.checkout-btn {
  width: 100%; background: var(--gold, #f59e0b); color: #000;
  border: none; border-radius: 10px; padding: 0.875rem; font-size: 1rem; font-weight: 800;
  cursor: pointer; transition: background 0.15s;
}
.checkout-btn:hover { background: var(--gold2, #d97706); }
.cart-footer-links {
  display: flex; justify-content: space-between; align-items: center; margin-top: .75rem;
}
.cart-shop-link {
  color: var(--text2, #9ca3af); font-size: .8rem; font-weight: 500;
  text-decoration: none; transition: color .15s;
}
.cart-shop-link:hover { color: var(--gold, #f59e0b); }
.cart-clear-link {
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--text2, #9ca3af); font-size: .8rem; font-weight: 500; transition: color .15s;
}
.cart-clear-link:hover { color: #ef4444; }


/* ── Noticia destacada (última / más reciente) ─────────────── */
.news-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), 0 12px 32px rgba(245, 158, 11, 0.14);
}
.news-card--featured .news-img { height: 100%; min-height: 280px; font-size: 4rem; }
.news-card--featured .news-content {
  padding: 2rem; display: flex; flex-direction: column; justify-content: center;
}
.news-featured-badge {
  display: inline-block; align-self: flex-start;
  background: rgba(245,158,11,.16); color: var(--gold); border: 1px solid rgba(245,158,11,.4);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 99px; margin-bottom: 0.85rem;
}
.news-card--featured .news-title { font-size: 1.65rem; line-height: 1.2; margin-bottom: 0.75rem; }
.news-card--featured .news-text { font-size: 0.95rem; -webkit-line-clamp: 4; }
@media (max-width: 700px) {
  .news-card--featured { grid-template-columns: 1fr; }
  .news-card--featured .news-img { min-height: 200px; }
  .news-card--featured .news-content { padding: 1.25rem; }
  .news-card--featured .news-title { font-size: 1.3rem; }
}


/* ── Modal de detalle de noticia (rediseño) ────────────────── */
.news-detail-modal { max-width: 780px; position: relative; padding: 0; }
.news-detail-modal .nd-close {
  position: absolute; top: .6rem; right: .6rem; z-index: 5;
  background: rgba(0,0,0,.5); border-radius: 50%; color: #fff;
  min-width: 40px; min-height: 40px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.news-detail-modal .nd-close:hover { background: rgba(0,0,0,.72); color: #fff; }
.nd-hero { width: 100%; max-height: 340px; overflow: hidden; background: var(--bg3); border-radius: 16px 16px 0 0; }
.nd-hero img { width: 100%; height: 340px; object-fit: cover; display: block; }
.nd-body { padding: 1.75rem 1.75rem 2rem; }
.nd-date-pill {
  display: inline-block; background: rgba(245,158,11,.14); color: var(--gold);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .3rem .7rem; border-radius: 99px; margin-bottom: .9rem;
}
.nd-title {
  font-size: 1.7rem; font-weight: 800; line-height: 1.2; color: var(--text);
  margin: 0 0 1.1rem; padding-bottom: 1rem; position: relative;
}
.nd-title::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 48px; height: 3px; background: var(--gold); border-radius: 3px;
}
.nd-content { color: var(--text); font-size: 1rem; line-height: 1.85; white-space: pre-line; }
@media (max-width: 600px) {
  .nd-hero, .nd-hero img { max-height: 230px; height: 230px; }
  .nd-body { padding: 1.25rem 1.25rem 1.6rem; }
  .nd-title { font-size: 1.35rem; }
}

    /* Lightbox de fotos del calendario */
    .cal-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 3000; display: flex; align-items: center; justify-content: center; }
    .cal-lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 10px; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
    .cal-lb-close, .cal-lb-prev, .cal-lb-next { position: absolute; background: rgba(255,255,255,.14); border: none; color: #fff; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 1.7rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
    .cal-lb-close:hover, .cal-lb-prev:hover, .cal-lb-next:hover { background: rgba(255,255,255,.28); }
    .cal-lb-close { top: 1rem; right: 1rem; font-size: 1.3rem; }
    .cal-lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
    .cal-lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
    .cal-lb-count { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; background: rgba(0,0,0,.5); padding: .3rem .85rem; border-radius: 99px; }
    @media (max-width:560px){ .cal-lb-prev { left:.4rem; } .cal-lb-next { right:.4rem; } .cal-lb-prev, .cal-lb-next { width: 42px; height: 42px; } }

/* ── Home: "Esta semana se juega" ── */
.home-ev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: .9rem; }
.home-ev-more { border-left-color: var(--gold) !important; border-style: dashed; align-items: center; justify-content: center; }
/* Celular: tira horizontal deslizable (una columna de 8+ tarjetas es eterna) */
@media (max-width: 600px) {
  .home-ev-grid {
    display: flex; overflow-x: auto; gap: .7rem;
    scroll-snap-type: x mandatory; padding-bottom: .6rem;
    -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  }
  .home-ev-card { flex: 0 0 86%; scroll-snap-align: start; }
}
.home-ev-card { display: flex; align-items: center; gap: .9rem; background: var(--bg2); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 12px; padding: .8rem 1rem; text-decoration: none; color: var(--text); transition: transform .15s, border-color .15s, box-shadow .15s; }
.home-ev-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.home-ev-date { flex-shrink: 0; width: 52px; text-align: center; background: var(--bg3); border-radius: 10px; padding: .4rem 0; }
.home-ev-date span { display: block; font-size: 1.35rem; font-weight: 800; color: var(--gold); line-height: 1.1; }
.home-ev-date small { display: block; font-size: .68rem; text-transform: uppercase; color: var(--text2); letter-spacing: .06em; }
.home-ev-body { flex: 1; min-width: 0; }
.home-ev-title { font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.home-ev-meta { display: flex; gap: .55rem; flex-wrap: wrap; font-size: .74rem; color: var(--text2); align-items: center; }
.home-ev-chip { color: #fff; border-radius: 99px; padding: .1rem .5rem; font-weight: 700; font-size: .68rem; }
.home-ev-go { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; }

/* ── Profundidad sutil en CTAs dorados ──────────────────────────────────
   Micro-gradiente (brillo arriba, sombra abajo), glow ámbar suave y estado
   pressed al tocar. Los controles secundarios quedan planos a propósito
   para mantener la jerarquía. */
.btn-primary, .cart-btn, .add-cart-btn,
.acc-btn:not(.acc-ev-cancel), .ev-paybtn.ev-paybtn--mp,
.checkout-btn, .pay-now-btn, .submit-btn, .pd-cta, .cmd-btn, .poll-btn {
  background-image: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 45%, rgba(0,0,0,.10));
  box-shadow: 0 2px 12px rgba(245,158,11,.22), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .12s ease, box-shadow .18s ease, background-color .15s ease;
}
.btn-primary:hover, .cart-btn:hover, .add-cart-btn:hover:not(:disabled),
.acc-btn:not(.acc-ev-cancel):hover:not(:disabled), .ev-paybtn.ev-paybtn--mp:hover:not(:disabled),
.checkout-btn:hover:not(:disabled), .pay-now-btn:hover:not(:disabled), .submit-btn:hover:not(:disabled),
.pd-cta:hover:not(:disabled), .cmd-btn:hover:not(:disabled), .poll-btn:hover:not(:disabled) {
  box-shadow: 0 4px 18px rgba(245,158,11,.32), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:active, .cart-btn:active, .add-cart-btn:active:not(:disabled),
.acc-btn:not(.acc-ev-cancel):active:not(:disabled), .ev-paybtn.ev-paybtn--mp:active:not(:disabled),
.checkout-btn:active:not(:disabled), .pay-now-btn:active:not(:disabled), .submit-btn:active:not(:disabled),
.pd-cta:active:not(:disabled), .cmd-btn:active:not(:disabled), .poll-btn:active:not(:disabled) {
  transform: translateY(1px);
  box-shadow: 0 1px 5px rgba(245,158,11,.18), inset 0 1px 0 rgba(255,255,255,.10);
}
.add-cart-btn:disabled, .acc-btn:disabled, .checkout-btn:disabled, .pay-now-btn:disabled,
.submit-btn:disabled, .pd-cta:disabled, .cmd-btn:disabled, .poll-btn:disabled {
  background-image: none; box-shadow: none;
}

/* Elevación tenue de tarjetas al hover (solo con puntero real) */
@media (hover: hover) {
  .product-card:hover, .card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.35); }
}

/* ── Subtítulo de sección (ritmo uniforme bajo cada título) ── */
.section-sub, .home-fotos-sub { color: var(--text2); font-size: .9rem; margin: -0.4rem 0 1rem; }

/* ── Home: "Así se vive el Dungeon" (fotos de eventos) ── */
#home-fotos-wrap { margin-top: 2.8rem; }
.home-fotos-strip { display: flex; gap: .8rem; overflow-x: auto; padding-bottom: .6rem; scroll-snap-type: x mandatory; }
.home-foto { flex: 0 0 240px; min-width: 0; margin: 0; scroll-snap-align: start; }
.home-foto img { width: 240px; height: 170px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); display: block; cursor: zoom-in; }
/* Fotos verticales: celda angosta 3:4 anclada arriba (no se decapita a nadie) */
.home-foto.vert { flex: 0 0 128px; }
.home-foto.vert img { width: 128px; object-position: center 25%; }
.home-foto figcaption { font-size: .72rem; color: var(--text2); padding-top: .3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Footer simple (info + redes) ── */
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 1.2rem;
}
.footer-info p { margin: .2rem 0; line-height: 1.5; }
.footer-brand-name { color: var(--gold); font-weight: 800; font-size: 1.02rem; margin-bottom: .4rem !important; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.footer-social a { display: inline-flex; align-items: center; }
.footer-social svg { flex-shrink: 0; opacity: .8; }
.footer-review { color: var(--gold) !important; font-weight: 700; }
.footer-bottom {
  max-width: 1100px;
  margin: 1.1rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: .78rem;
}
@media (max-width: 700px) {
  .footer-inner { flex-direction: column; text-align: center; gap: 1.1rem; }
  .footer-social { justify-content: center; }
}
