:root {
    color-scheme: light only;
    color-scheme: light only;
    color-scheme: light only;
    --primary: #ff6b35;
    --secondary: #ff8c42;
    --tertiary: #ffa45c;
    --accent: #ffb876;
    --dark: #2a2a2a;
    --darker: #1a1a1a;
    --light: #ffffff;
    --gray: #6b6b6b;
    --light-gray: #e8e8e8;
    --success: #00d9a3;
    --error: #c0392b;
    --card-bg: #ffffff;
    --gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffa45c 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 66, 0.05) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-orange: 0 8px 32px rgba(255, 107, 53, 0.2);
    /* Tarjetas de catálogo / carruseles: Bebas en títulos, DM Sans en cuerpo */
    --font-card-title: 'Bebas Neue', sans-serif;
    --font-card-body: 'DM Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    background: #ffffff !important;
    color: #2a2a2a !important;
    forced-color-adjust: none;
    -webkit-forced-color-adjust: none;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Pathway Extreme', sans-serif;
    background: #ffffff !important;
    color: #2a2a2a !important;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    color-scheme: light only;
}

/* ========================
   HEADER
======================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    box-shadow: var(--shadow-md);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo-container a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    min-width: max-content;
}

/* Logo imagen en header */
.header-logo-img {
    height: 52px;
    width: 52px;
    object-fit: contain;
    display: block;
}

/* Logo imagen en footer */
.footer-logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-orange);
    color: #fff;
    font-family: 'Anton', sans-serif;
}

.brand-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    white-space: nowrap;
}

.brand-anime, .brand-chile {
    color: var(--dark);
}

.footer .brand-anime,
.footer .brand-chile {
    color: #ffffff;
}

.brand-two {
    color: var(--primary);
    font-size: 2rem;
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--dark);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-link:hover { color: var(--primary); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--primary); }

.nav-link-pokemon {
    color: rgba(55, 7, 230, 0.624) !important;
    background: #ff9800;
    padding: 0.35rem 0.9rem !important;
    border-radius: 8px;
    border: 1px solid rgba(255, 203, 5, 0.25);
    transition: all 0.3s ease;
}

.nav-link-pokemon:hover,
.nav-link-pokemon.active {
    background: linear-gradient(135deg, #ffcb05, #ff9800) !important;
    color: #1a1a2e !important;
    border-color: transparent;
}

.nav-link-pokemon::after { display: none; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ========================
   SLIDER
======================== */
.slider {
    margin-top: 120px;
    padding: 0 1.55rem;
}

.slider.home-hero-layout {
    max-width: none;
    margin-top: 85px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}

.hero-banner-block {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: 0;
    height: auto;
    min-height: 0;
    background: #ffffff;
    border: none;
    box-shadow: none;
    overflow: visible;
    text-decoration: none;
    display: block;
}

.hero-banner-block img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: unset;
    object-position: unset;
    display: block;
}

/* Escritorio: mismo ancho y márgenes que la fila de categorías. */
@media (min-width: 769px) and (orientation: landscape), (min-width: 1201px) {
    .hero-banner-block {
        max-width: 1300px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 1.55rem;
        box-sizing: border-box;
    }

    .hero-banner-block picture {
        display: block;
        width: 100%;
    }
}

.hero-main-card {
    border-radius: 24px;
    padding: 0.8rem 1rem;
    background: #ffffff;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-main-badge {
    width: fit-content;
    background: var(--gradient);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}

.hero-main-title {
    margin-top: 0.35rem;
    font-family: 'Anton', sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    line-height: 0.95;
    letter-spacing: 1px;
    color: #2a2a2a;
}

.hero-main-title span {
    display: block;
    color: var(--primary);
}

.hero-main-copy {
    margin-top: 0.25rem;
    max-width: 530px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.76rem;
    line-height: 1.2;
    color: #555555;
}

.hero-main-actions {
    margin-top: 0.35rem;
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.hero-btn {
    text-decoration: none;
    border-radius: 9px;
    padding: 0.4rem 0.72rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn-primary {
    background: var(--gradient);
    color: #ffffff;
    box-shadow: var(--shadow-orange);
}

.hero-btn-outline {
    color: var(--dark);
    border: 1px solid rgba(42, 42, 42, 0.25);
    background: rgba(255, 255, 255, 0.7);
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.95);
}

.home-categories-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.95rem;
    max-width: 1300px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.55rem;
    box-sizing: border-box;
}

.home-category-card {
    text-decoration: none;
    border-radius: 0;
    padding: 0.9rem;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #ffffff;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    cursor: default;
    pointer-events: none;
}

.home-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.16) 45%, rgba(0, 0, 0, 0) 75%);
    pointer-events: none;
}

.home-category-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.home-category-content {
    position: relative;
    z-index: 1;
}

.home-category-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 1.85rem;
    line-height: 1.04;
}

.home-category-card p {
    margin-top: 0.28rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.96rem;
    opacity: 0.95;
}

.home-category-figuras {
    background: linear-gradient(135deg, #ff8d5f 0%, #ff6b35 100%);
}

.home-category-coleccionables {
    background: linear-gradient(135deg, #ffb367 0%, #ff9345 100%);
}

.home-category-libros {
    background: linear-gradient(135deg, #ffa77a 0%, #ff7f50 100%);
}

.home-category-reservas {
    background: linear-gradient(135deg, #ffc16d 0%, #ff9f1c 100%);
}

/* ========================
   PRODUCTS SECTION (Nuevos Lanzamientos)
======================== */
.products-section {
    padding: 4rem 2rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
}

@media (max-width: 768px), (max-width: 1200px) and (orientation: portrait) {
    .products-section {
        padding: 2rem 0.5rem 0.75rem;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* móvil: 2 columnas */
    gap: 1.25rem;
}

@media (min-width: 768px) and (orientation: landscape), (min-width: 1201px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 360px)); /* desktop: 3 columnas centradas */
        gap: 2rem;
        justify-content: center;
    }
}

.product-card, .banner-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
}

/* Base legible para texto futuro en tarjetas del carrusel “Artículos destacados” */
#dest-grid .product-card,
.destacados-carrusel-wrap .product-card {
    font-family: var(--font-card-body);
}

.product-card {
    display: block;
    aspect-ratio: 4 / 5;
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

/* Sin borde naranja al hover */
.product-card::before { display: none; }

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* Imagen: ocupa 100% de la tarjeta */
.product-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

/* Overlay suave solo al hover — sin texto ni botón */
.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.35s ease;
    pointer-events: none;
}

.product-card:hover .product-image::after {
    background: rgba(0, 0, 0, 0.15);
}

/* Info oculta — no se muestra nada */
.product-info { display: none; }

.product-series  { display: none; }
.product-name    { display: none; }
.product-price   { display: none; }
.product-shipping { display: none; }
.add-to-cart-btn { display: none; }

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255,107,53,0.6);
}

/* Banner Cards */
.banner-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #fff9f5 100%);
    cursor: pointer;
    border: 2px solid transparent;
}

.banner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.banner-card:hover::before { opacity: 1; }
.banner-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-orange);
    border-color: transparent;
}

.banner-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.2));
}

.banner-title {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.banner-description {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.banner-btn {
    padding: 1rem 2.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    background: var(--gradient);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

/* ========================
   INSTAGRAM BANNER
======================== */
.instagram-banner-row {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.instagram-card {
    position: relative;
    width: 100%;
    max-width: 860px;
    background: #ffffff;
    border-radius: 24px;
    padding: 2.25rem 2.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.instagram-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(238, 42, 123, 0.15);
}

/* Decorative background glow */
.instagram-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238,42,123,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.instagram-left {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex: 1;
}

.instagram-icon-wrap {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(249,206,52,0.12), rgba(238,42,123,0.12), rgba(98,40,215,0.12));
    border-radius: 18px;
    border: 1px solid rgba(238,42,123,0.15);
}

.instagram-svg {
    width: 38px;
    height: 38px;
}

.instagram-handle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #f9ce34, #ee2a7b, #6228d7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.instagram-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.instagram-desc {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.6;
    max-width: 380px;
}

.instagram-right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.instagram-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.ig-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.ig-stat-num {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ee2a7b, #6228d7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.ig-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray);
}

.ig-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--light-gray);
}

.instagram-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(238, 42, 123, 0.25);
    white-space: nowrap;
}

.instagram-btn:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(98, 40, 215, 0.35);
}

@media (max-width: 768px), (max-width: 1200px) and (orientation: portrait) {
    .instagram-card {
        flex-direction: column;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .instagram-left {
        flex-direction: column;
        align-items: center;
    }

    .instagram-desc {
        max-width: 100%;
    }

    .instagram-right {
        width: 100%;
    }

    .instagram-btn {
        width: 100%;
        text-align: center;
    }
}

/* ========================
   CATÁLOGO PRINCIPAL
======================== */
.catalog-section {
    padding: 2rem 2rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.catalog-label {
    display: inline-block;
    font-family: var(--font-card-title);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--primary);
    background: rgba(255, 107, 53, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.catalog-title {
    font-family: var(--font-card-title);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    color: var(--dark);
    letter-spacing: 1px;
}

.catalog-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.catalog-header-right {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.catalog-desc {
    font-family: var(--font-card-body);
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
}

.catalog-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    border: 2px solid rgba(255, 107, 53, 0.25);
    background: transparent;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-orange);
}

/* Catalog grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.catalog-grid > a {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.catalog-grid > a .catalog-card {
    flex: 1;
    min-height: 0;
}

.catalog-card {
    font-family: var(--font-card-body);
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.catalog-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    box-shadow: 0 0 0 2px var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.catalog-card:hover::after { opacity: 1; }
.catalog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-orange);
}

/* Singles (TCG): sin “caja” blanca; la carta se ve libre sobre el fondo */
.catalog-card.catalog-card--singles {
    background: transparent;
    border: none;
    box-shadow: none;
}

.catalog-card.catalog-card--singles:hover {
    transform: translateY(-6px);
    box-shadow: none;
}

.catalog-card.catalog-card--singles .catalog-image {
    background: transparent;
    height: 240px;
}

.catalog-card.catalog-card--singles .catalog-img-real {
    padding: 0;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.14));
}

.catalog-card.catalog-card--singles:hover .catalog-image {
    transform: none;
}

.catalog-card.catalog-card--singles:hover .catalog-img-real {
    transform: scale(1.03);
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.18));
}

.catalog-card.catalog-card--singles .catalog-info {
    padding: 1rem 0 0;
    background: transparent;
}

.catalog-card.catalog-card--singles .catalog-img-placeholder {
    border-radius: 12px;
}

/* Badge */
.catalog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    font-family: var(--font-card-title);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    background: var(--gradient);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.catalog-badge.villain {
    background: linear-gradient(135deg, #c0392b, #8e1010);
}

.catalog-badge.new {
    background: linear-gradient(135deg, #00b894, #00d9a3);
}

/* Logo 25th Anniversary en tarjeta de catálogo */
.catalog-25th-logo {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    width: 64px;
    height: 64px;
    object-fit: contain;
    pointer-events: none;
}

/* Logo Wonder Festival en tarjeta de catálogo (PNG suelto, igual que 25th) */
.catalog-wf-logo {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    width: 54px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

/* Catalog image */
.catalog-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease;
}

.catalog-card:hover .catalog-image { transform: scale(1.05); }

.catalog-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen real dentro de la tarjeta del catálogo */
.catalog-img-real {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0.75rem;
    transition: transform 0.4s ease;
}

.catalog-card:hover .catalog-img-real {
    transform: scale(1.06);
}

.placeholder-text {
    font-family: var(--font-card-title);
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    letter-spacing: 3px;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Catalog card info */
.catalog-info {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.catalog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.catalog-series {
    font-family: var(--font-card-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.catalog-stock {
    font-family: var(--font-card-body);
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
}

.catalog-stock.in-stock {
    background: rgba(0, 217, 163, 0.12);
    color: #00a87e;
}

.catalog-stock.low-stock {
    background: rgba(255, 165, 0, 0.12);
    color: #d97706;
}

.catalog-stock.out-stock {
    background: rgba(200, 50, 50, 0.1);
    color: #c0392b;
}

.catalog-name {
    font-family: var(--font-card-title);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--dark);
    margin-top: 0.25rem;
    line-height: 1.25;
    min-height: calc(2 * 1.25em);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
}

/* Continuación del título en catálogo (misma línea/tipografía; negro como el nombre) */
.catalog-name .catalog-name-suffix {
    color: var(--dark);
    font-weight: inherit;
}

.catalog-detail {
    font-family: var(--font-card-body);
    font-size: 0.78rem;
    color: var(--gray);
    letter-spacing: 0.3px;
    flex: 1;
}

.catalog-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    gap: 0.75rem;
}

.catalog-price {
    font-family: var(--font-card-body);
    font-size: 1.36rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.catalog-cart-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-family: var(--font-card-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 0.55rem 1rem;
    background: var(--gradient) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255,107,53,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.catalog-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,107,53,0.6);
}

.catalog-cart-btn:disabled {
    background: #e0e0e0 !important;
    color: #aaa !important;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* CTA below catalog */
.catalog-cta {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.catalog-cta p {
    font-family: var(--font-card-body);
    font-size: 1rem;
    color: var(--gray);
    font-weight: 600;
}

/* ========================
   POKÉMON TCG SECTION
======================== */
.pokemon-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.pokemon-section::before {
    content: '⚡';
    position: absolute;
    font-size: 30rem;
    opacity: 0.03;
    top: -5rem;
    right: -5rem;
    pointer-events: none;
    line-height: 1;
}

.pokemon-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.pokemon-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pokemon-text .catalog-label {
    background: rgba(255, 203, 5, 0.15);
    color: #ffcb05;
    border-color: rgba(255, 203, 5, 0.3);
    margin-bottom: 1rem;
    align-self: flex-start;
}

.pokemon-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.95;
    color: #ffffff;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.pokemon-title span {
    background: linear-gradient(135deg, #ffcb05 0%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pokemon-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.pokemon-btn {
    display: inline-block;
    align-self: flex-start;
    padding: 1rem 2.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffcb05 0%, #ff9800 100%);
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 203, 5, 0.25);
}

.pokemon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 203, 5, 0.4);
}

/* Card stack visual */
.pokemon-visual {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    height: 320px;
    position: relative;
}

.pokemon-card-stack {
    position: relative;
    width: 180px;
    height: 260px;
}

.poke-card {
    position: absolute;
    width: 180px;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
    background: #1a1a2e; /* fondo oscuro mientras carga la imagen */
}

/* Imagen real de la carta */
.poke-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px;
}

.poke-card-1 {
    z-index: 3;
    transform: rotate(-3deg) translateX(0px);
}

.poke-card-2 {
    z-index: 2;
    transform: rotate(4deg) translateX(20px) translateY(-10px);
}

.poke-card-3 {
    z-index: 1;
    transform: rotate(10deg) translateX(40px) translateY(-20px);
}

/* Activado al entrar en vista (scroll), ver index.html — IntersectionObserver */
.pokemon-visual.poke-stack--active .poke-card-1 { transform: rotate(-8deg) translateX(-15px) translateY(-5px); }
.pokemon-visual.poke-stack--active .poke-card-2 { transform: rotate(0deg) translateX(10px) translateY(-15px); }
.pokemon-visual.poke-stack--active .poke-card-3 { transform: rotate(8deg) translateX(35px) translateY(-25px); }

@media (max-width: 900px), (max-width: 1200px) and (orientation: portrait) {
    .pokemon-inner {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .pokemon-text .catalog-label,
    .pokemon-btn {
        align-self: center;
    }

    .pokemon-desc {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .pokemon-visual {
        width: 240px;
        height: 240px;
    }

    .poke-card {
        width: 140px;
        height: 200px;
        font-size: 3.5rem;
    }
}

/* ========================
   INFO BANNER
======================== */
.info-banner {
    background: var(--dark);
    padding: 2.5rem 2rem;
    margin-top: 2rem;
}

.info-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 200px;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: #ffffff;
}

.info-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.1rem;
}

.info-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* ========================
   FOOTER
======================== */
.footer {
    background: var(--darker);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-brand {}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-tagline {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.75rem;
    font-size: 0.88rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange);
}

.footer-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links .footer-link-disabled {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    cursor: default;
}

.footer-newsletter-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.75rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Pathway Extreme', sans-serif;
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
    padding: 0.85rem 1.25rem;
    background: var(--gradient);
    border: none;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover { opacity: 0.88; }

.newsletter-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.25);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover { color: var(--primary); }

/* ========================
   RESPONSIVE
   Móvil y tablet vertical: max-width 768px, o portrait hasta 1200px.
   Escritorio y tablet horizontal: landscape, o más de 1200px.
======================== */
@media (max-width: 1200px) and (orientation: landscape) {
    /* En tablets horizontales las 3 tarjetas siguen en fila */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px), (max-width: 1200px) and (orientation: portrait) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-header {
        flex-direction: column;
    }

    .catalog-header-right {
        max-width: 100%;
    }

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

@media (max-width: 768px), (max-width: 1200px) and (orientation: portrait) {
    .nav { display: none; }
    .mobile-menu-btn { display: block; }

    .header-content {
        justify-content: flex-end;
        gap: 0.15rem;
    }

    .logo-container {
        margin-right: auto;
    }

    .slider {
        margin-top: 104px;
        padding: 0 1.1rem;
    }

    .slider.home-hero-layout {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 85px;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-banner-block {
        aspect-ratio: auto;
        height: auto;
        overflow: visible;
    }

    .hero-banner-block picture {
        display: block;
        width: 100%;
        height: auto;
    }

    .hero-banner-block img {
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: contain;
        object-position: center;
        transform: none;
    }

    .home-categories-grid {
        --cat-margin-left: 0.55rem;
        --cat-margin-right: 1.25rem;
        --cat-gap: 0.75rem;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        grid-template-columns: none;
        gap: var(--cat-gap);
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--cat-margin-left) var(--cat-margin-right);
        scrollbar-width: none;
        max-width: none;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .home-categories-grid::-webkit-scrollbar {
        display: none;
    }

    /* Espaciadores laterales: margen con los bordes (izq. un poco menor para peek de la 3.ª) */
    .home-categories-grid::before {
        content: "";
        flex: 0 0 var(--cat-margin-left);
    }

    .home-categories-grid::after {
        content: "";
        flex: 0 0 var(--cat-margin-right);
    }

    .home-category-card {
        /* 15% más grandes que el tamaño base del carrusel; 2 visibles + peek de la 3.ª */
        flex: 0 0 calc((100vw - 5.32rem) / 2 * 1.15);
        width: calc((100vw - 5.32rem) / 2 * 1.15);
        max-width: none;
        scroll-snap-align: start;
        border-radius: 0;
        padding: 0.8rem;
    }

    .home-category-card:last-child {
        margin-right: 0;
    }

    .home-category-card h3 {
        font-size: 1.5rem;
    }

    .home-category-card p {
        font-size: 0.84rem;
    }

    .hero-main-card {
        height: auto;
        min-height: 0;
        padding: 0.65rem 0.8rem;
    }

    .hero-main-title {
        font-size: clamp(1rem, 6.4vw, 1.6rem);
    }

    .hero-main-copy {
        font-size: 0.68rem;
        max-width: 100%;
    }

    .hero-btn {
        padding: 0.35rem 0.62rem;
        font-size: 0.66rem;
    }

    /* Móvil: el carrusel maneja el layout — ver bloque .destacados-carrusel-wrap */

    .catalog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .catalog-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-cart-btn {
        width: 100%;
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .info-banner-inner {
        flex-direction: column;
    }

    .catalog-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-main-actions {
        width: 100%;
    }

    .hero-main-actions .hero-btn {
        flex: 1;
        text-align: center;
    }

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

    .catalog-image {
        height: 200px;
    }

    .catalog-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.9rem;
    }

    /* 2-column catalog page cards */
    .catalog-page-grid .catalog-image {
        height: 150px;
    }

    .catalog-page-grid .catalog-info {
        padding: 0.75rem 0.85rem 1rem;
        gap: 0.25rem;
    }

    .catalog-page-grid .catalog-name {
        font-size: 1.1rem;
    }

    .catalog-page-grid .catalog-stock {
        font-size: 0.6rem;
        padding: 0.15rem 0.45rem;
        top: 10px;
        right: 10px;
    }

    .catalog-page-grid .catalog-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.55rem;
        top: 10px;
        left: 10px;
    }

    .catalog-page-grid .catalog-25th-logo {
        top: 10px;
        left: 10px;
        width: 45px;
        height: 45px;
    }

    .catalog-page-grid .catalog-wf-logo,
    .series-card-image .catalog-wf-logo {
        top: 8px;
        left: 8px;
        width: 35px;
        max-width: 35px;
        height: auto;
    }

    .catalog-page-grid .catalog-bottom {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .catalog-page-grid .catalog-cart-btn {
        font-size: 0.75rem;
        padding: 0.45rem 0.6rem;
        letter-spacing: 0.5px;
    }
}

/* ── Cabecera Nuevos Lanzamientos ── */
.lanzamientos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Contenedor que alinea el header con el ancho real de las 3 tarjetas */
.lanzamientos-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.lanzamientos-inner .lanzamientos-header {
    width: 100%;
    max-width: calc(3 * 360px + 2 * 2rem); /* 3 tarjetas + 2 gaps */
}

.lanzamientos-inner .products-grid {
    width: 100%;
}

.lanzamientos-titulo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin: 0;
    color: #111;
    letter-spacing: 2px;
    font-weight: 400;
}

.lanzamientos-ver-todo {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
}

@media (max-width: 768px), (max-width: 1200px) and (orientation: portrait) {
    .lanzamientos-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-bottom: 0.25rem;
    }

    .lanzamientos-titulo {
        text-align: left;
        width: 100%;
        margin-bottom: 0;
        font-size: 1.8rem;
    }

    /* El botón se mueve después del grid con CSS order */
    .lanzamientos-ver-todo {
        display: none; /* se oculta aquí y aparece abajo */
    }
}

/* Botón VER TODO debajo del grid — solo móvil */
.lanzamientos-ver-todo-mobile {
    display: none;
}

@media (max-width: 768px), (max-width: 1200px) and (orientation: portrait) {
    .lanzamientos-ver-todo-mobile {
        display: flex;
        justify-content: center;
        margin-top: 1.25rem;
    }
}

/* ── Carrusel móvil artículos destacados ── */
.destacados-carrusel-wrap {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* En desktop el wrapper no interfiere con el grid */
@media (min-width: 768px) and (orientation: landscape), (min-width: 1201px) {
    .destacados-carrusel-wrap   { display: contents; }
    .destacados-arrow           { display: none !important; }
    .destacados-arrows-row      { display: none !important; }
    .destacados-carrusel-outer  { overflow: visible !important; width: 100% !important; }
}

@media (max-width: 767px), (max-width: 1200px) and (orientation: portrait) {
    .destacados-carrusel-outer {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Padding izquierdo para inset inicial, derecho deja ver el peek */
        padding: 0.5rem 0 0.75rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .destacados-carrusel-outer::-webkit-scrollbar { display: none; }

    /* Grid en modo flex horizontal */
    .products-grid {
        display: flex !important;
        flex-direction: row !important;
        gap: 0 !important;
        margin: 0 !important;
        width: max-content;
    }

    /* Cada tarjeta: ancho = 100% del outer - padding izq - peek fijo de 40px */
    .products-grid > a,
    .products-grid > article {
        flex: 0 0 auto;
        width: calc(100vw - 1rem - 40px - 2 * 0.4rem - 40px);
        /* 100vw - padding_left(1rem) - peek(40px) - espacio flechas(~80px + gaps) */
        /* Simplificado: tarjeta ocupa ~80% del viewport menos espacio para flechas */
        width: calc(100vw - 120px);
        scroll-snap-align: start;
        margin-right: 0.75rem;
    }

    .products-grid > a:last-of-type,
    .products-grid > article:last-of-type {
        /* Padding derecho al final para que la última tarjeta quede bien */
        margin-right: 0;
        padding-right: 0;
    }

    .banner-card { display: none !important; }
}

/* Fila de flechas debajo */
.destacados-arrows-row {
    display: none;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
}

@media (max-width: 767px), (max-width: 1200px) and (orientation: portrait) {
    .destacados-arrows-row { display: none; }
}

/* Flechas */
.destacados-arrow {
    background: #fff;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, opacity 0.2s, transform 0.15s;
    padding: 0;
    flex-shrink: 0;
}
.destacados-arrow:hover  { background: var(--primary); color: #fff; border-color: var(--primary); }
.destacados-arrow:active { transform: scale(0.92); }

/* ── Menú móvil desplegable ── */
@media (max-width: 768px), (max-width: 1200px) and (orientation: portrait) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem 2rem 1.5rem;
        gap: 0.25rem;
        border-top: 1px solid rgba(255,107,53,0.15);
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav.nav-abierto {
        display: flex;
    }

    .nav .nav-link {
        padding: 0.85rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        width: 100%;
    }

    .nav .nav-link:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn.activo {
        color: var(--primary);
    }
}

/* ── Menú móvil desplegable ── */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-top: 1px solid rgba(255,107,53,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0.5rem 0 1rem;
}

.mobile-nav.abierto {
    display: flex;
}

.mobile-nav a {
    padding: 0.9rem 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.2s, color 0.2s;
}

.mobile-nav a:hover {
    background: var(--gradient-subtle);
    color: var(--primary);
}

.mobile-nav a.nav-link-pokemon { color: var(--primary); }
.mobile-menu-btn.abierto { color: var(--primary); }

/* ============================================================
   REDES SOCIALES — Sección final
   ============================================================ */

.redes-section {
    padding: 2rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.redes-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.redes-section-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.redes-section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    color: var(--dark);
    font-weight: 400;
}

.redes-grid {
    display: flex;
    justify-content: center;
}

/* ── Tarjeta Instagram (sin stats) ── */
.instagram-card {
    position: relative;
    width: 100%;
    max-width: 860px;
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.instagram-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(238, 42, 123, 0.15);
}

.instagram-glow {
    position: absolute;
    top: -60px; right: -60px;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(238,42,123,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.instagram-left {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex: 1;
}

.instagram-icon-wrap {
    flex-shrink: 0;
    width: 70px; height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(249,206,52,0.12), rgba(238,42,123,0.12), rgba(98,40,215,0.12));
    border-radius: 18px;
    border: 1px solid rgba(238,42,123,0.15);
}

.instagram-svg { width: 38px; height: 38px; }

.instagram-handle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #f9ce34, #ee2a7b, #6228d7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.instagram-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--dark);
    margin-bottom: 0.4rem;
    line-height: 1;
}

.instagram-desc {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.6;
}

.instagram-right { flex-shrink: 0; }

.instagram-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(238, 42, 123, 0.25);
    white-space: nowrap;
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(98, 40, 215, 0.35);
}

/* ── Responsive redes ── */
@media (max-width: 768px), (max-width: 1200px) and (orientation: portrait) {
    .instagram-card {
        flex-direction: column;
        padding: 1.75rem 1.5rem;
        text-align: center;
    }

    .instagram-left {
        flex-direction: column;
        align-items: center;
    }

    .instagram-right { width: 100%; }

    .instagram-btn { width: 100%; text-align: center; display: block; }
}

/* ============================================================
   TIRAS DE MINIATURAS (scroll-linked)
   ============================================================ */

.populares-section {
    --pop-visible: 7;
    --pop-gap: 0.75rem;
    --pop-row-gap: 0.55rem;
    --pop-item: calc((100vw - (var(--pop-visible) - 1) * var(--pop-gap)) / var(--pop-visible));
    padding: 2.35rem 0 2.6rem;
    overflow: hidden;
}

.populares-header {
    text-align: left;
    margin: 0 auto 1.15rem;
    padding: 0 2rem;
    max-width: 1400px;
}

.populares-titulo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.15rem;
    letter-spacing: 2px;
    color: var(--dark);
    font-weight: 400;
    margin: 0;
}

.populares-strips {
    display: flex;
    flex-direction: column;
    gap: var(--pop-row-gap);
}

.populares-strip {
    position: relative;
    overflow: hidden;
    height: calc(var(--pop-item) * 0.88);
}

.populares-strip::before,
.populares-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3.75rem;
    z-index: 2;
    pointer-events: none;
}

.populares-strip::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0.7) 42%, rgba(255,255,255,0) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 38%, transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 38%, transparent 100%);
}

.populares-strip::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255,255,255,0.7) 42%, rgba(255,255,255,0) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 38%, transparent 100%);
    mask-image: linear-gradient(to left, #000 0%, #000 38%, transparent 100%);
}

.populares-strip-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--pop-gap);
    width: max-content;
    height: 100%;
    will-change: transform;
}

.populares-strip-item {
    flex: 0 0 var(--pop-item);
    width: var(--pop-item);
    min-width: var(--pop-item);
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: var(--gradient-subtle);
    border: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    text-decoration: none;
    display: block;
    cursor: default;
    transition: box-shadow 0.25s ease;
}

.populares-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.populares-strip-item:hover {
    box-shadow: 0 8px 22px rgba(0,0,0,0.14);
}

@media (max-width: 768px), (max-width: 1200px) and (orientation: portrait) {
    .populares-section {
        --pop-visible: 5;
        --pop-gap: 0.3rem;
        --pop-row-gap: 0.35rem;
        padding: 2.15rem 0 2.6rem;
    }

    .populares-header {
        margin-bottom: 1.1rem;
        padding: 0 0.5rem;
    }

    .populares-titulo {
        font-size: 1.55rem;
        letter-spacing: 1.5px;
    }

    .populares-strip {
        height: var(--pop-item);
    }

    .populares-strip::before,
    .populares-strip::after {
        width: 2.15rem;
    }

    .populares-strip-item {
        border-radius: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .populares-strip-track {
        transform: none !important;
        will-change: auto;
    }
}

/* ============================================================
   CARRUSELES DE SERIE (home) — estilo Jump-Ichiban
   ============================================================ */

.series-carousels-wrap {
    --series-bg: var(--primary);
    --series-cols: 4;
    --series-gap: 1rem;
    --series-peek: 2.75rem;
    --series-pad-left: max(2rem, calc((100vw - 1400px) / 2 + 2rem));
    --series-card-w: calc((100vw - var(--series-pad-left) - var(--series-peek) - (var(--series-cols) - 1) * var(--series-gap)) / var(--series-cols));
    background: linear-gradient(165deg, #e85a28 0%, var(--primary) 52%, #ff8c42 100%);
    margin-top: 1.75rem;
    padding: 2.25rem 0 2.75rem;
    overflow: hidden;
}

.series-carousel + .series-carousel {
    margin-top: 2.35rem;
}

.series-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 var(--series-peek) 1.1rem var(--series-pad-left);
}

.series-carousel-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(1.7rem, 3.4vw, 2.85rem);
    color: #111;
    letter-spacing: 2px;
    line-height: 1.05;
    margin: 0;
    text-wrap: balance;
}

.series-carousel-arrows {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.series-carousel-all {
    margin-right: 0.45rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    letter-spacing: 1.5px;
    line-height: 1;
    color: #111;
    text-decoration: underline;
    text-underline-offset: 0.16em;
    text-decoration-thickness: 2px;
    white-space: nowrap;
}

.series-carousel-all:hover {
    color: #fff;
}

.series-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: transparent;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}

.series-arrow svg {
    width: 22px;
    height: 22px;
}

.series-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.16);
}

.series-arrow:active:not(:disabled) {
    transform: scale(0.94);
}

.series-arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.series-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--series-pad-left);
    touch-action: pan-x;
    overscroll-behavior-x: contain;
}

.series-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.series-carousel-track {
    display: flex;
    gap: var(--series-gap);
    width: max-content;
    padding-left: var(--series-pad-left);
    padding-right: var(--series-pad-left);
}

.series-card {
    flex: 0 0 var(--series-card-w);
    width: var(--series-card-w);
    max-width: var(--series-card-w);
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.series-card-body {
    background: #fff;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.series-card-top {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.series-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    margin: 10px 10px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.series-card-image > img:not(.catalog-wf-logo):not(.catalog-25th-logo) {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.series-card-image .catalog-wf-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 6;
    width: 54px;
    max-width: 54px;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}

.series-card-image .catalog-25th-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 6;
    width: 64px;
    max-width: 64px;
    height: 64px;
    object-fit: contain;
    pointer-events: none;
}

.series-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-align: center;
    padding: 1rem;
}

.series-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: #fff;
    color: #2563eb;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.22rem 0.5rem;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.series-card-badge--preventa {
    color: #2563eb;
}

.series-card-badge--agotado {
    color: #b91c1c;
}

.series-card-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-align: center;
    margin: 0.7rem 0.9rem 0.55rem;
    min-height: calc(2 * 1.3em);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.series-card-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.9rem 0.85rem;
}

.series-card-price {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.34rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.series-card-buy-btn {
    width: 100%;
    margin: 0;
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.16);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.78rem 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: background 0.15s ease;
}

.series-card-buy-btn:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.24);
}

.series-card-buy-btn:active:not(:disabled) {
    background: rgba(0, 0, 0, 0.3);
}

.series-card-buy-btn:disabled {
    background: rgba(0, 0, 0, 0.28);
    color: rgba(255, 255, 255, 0.7);
    cursor: not-allowed;
}

.series-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding: 0.55rem 0.85rem 0.7rem;
    border-top: 1px solid #eee;
}

.series-card-official {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
    color: #6b6b6b;
}

.series-card-official svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.series-card-official div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.series-card-official span {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.58rem;
    line-height: 1.25;
    color: #6b6b6b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.series-card-maker {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    min-width: 0;
    max-width: 42%;
}

.series-card-maker-name {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.series-card-maker-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.55rem;
    color: #8a8a8a;
}

@media (max-width: 768px), (max-width: 1200px) and (orientation: portrait) {
    .series-carousels-wrap {
        --series-cols: 2;
        --series-gap: 0.7rem;
        --series-peek: 1.65rem;
        --series-pad-left: 1rem;
        padding: 1.5rem 0 2rem;
    }

    .series-carousel + .series-carousel {
        margin-top: 1.75rem;
    }

    .series-carousel-header {
        padding-bottom: 0.85rem;
    }

    .series-carousel-title {
        font-size: 1.45rem;
    }

    .series-carousel-all {
        font-size: 1.4rem;
        margin-right: 0.3rem;
    }

    .series-arrow {
        width: 40px;
        height: 40px;
    }

    .series-arrow svg {
        width: 18px;
        height: 18px;
    }

    .series-card-image .catalog-wf-logo {
        top: 8px;
        left: 8px;
        width: 35px;
        max-width: 35px;
        height: auto;
    }

    .series-card-image .catalog-25th-logo {
        top: 8px;
        left: 8px;
        width: 45px;
        max-width: 45px;
        height: 45px;
    }

    .series-card-name {
        font-size: 0.8rem;
        margin: 0.55rem 0.7rem 0.45rem;
    }

    .series-card-actions {
        padding: 0 0.7rem 0.7rem;
    }

    .series-card-price {
        font-size: 1.14rem;
    }

    .series-card-buy-btn {
        font-size: 0.72rem;
        padding: 0.68rem 0.7rem;
        letter-spacing: 0.1em;
    }

    .series-card-footer {
        padding: 0.4rem 0.6rem 0.5rem;
    }

    .series-card-official div {
        display: none;
    }

    .series-card-maker {
        max-width: 70%;
        align-items: flex-end;
    }

    .series-card-maker-name {
        -webkit-line-clamp: 1;
        font-size: 0.55rem;
    }
}

/* Tablet vertical: misma estructura móvil, tarjetas más chicas (no aplica en horizontal) */
@media (min-width: 600px) and (max-width: 1200px) and (orientation: portrait) {
    .home-category-card {
        flex: 0 0 calc((100vw - 5.32rem) / 3.3);
        width: calc((100vw - 5.32rem) / 3.3);
    }

    .home-category-card h3 {
        font-size: 1.25rem;
    }

    .destacados-carrusel-wrap .products-grid > a,
    .destacados-carrusel-wrap .products-grid > article {
        width: min(17.5rem, calc((100vw - 2.75rem) / 2.45));
    }

    .series-carousels-wrap {
        --series-cols: 3;
        --series-gap: 0.75rem;
        --series-peek: 2.1rem;
        --series-pad-left: 1.15rem;
    }

    .populares-section {
        --pop-visible: 8;
        --pop-gap: 0.45rem;
    }
}
