/* TROIS MARKET UI SYSTEM v2.0 
    Concept: Minimalist Editorial
*/

:root {
    /* Paleta de Colores */
    --bg-body: #ffffff;
    --bg-surface: #ffffff;
    --bg-subtle: #f9fafb;
    
    --text-main: #111111;
    --text-muted: #6b7280;
    
    --brand-primary: #000000;
    --brand-accent: #FFD600; /* Amarillo Trois más vibrante */
    
    /* Sombras Elevadas (Apple Style) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);

    /* Radios */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-pill: 9999px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

/* --- UTILIDADES --- */
.text-accent { color: var(--brand-accent); }
.fw-900 { font-weight: 900; }
.tracking-tight { letter-spacing: -0.5px; }
.tracking-tighter { letter-spacing: -1px; }

/* --- COMPONENTES UI --- */

/* Navbar Glass */
.navbar-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

/* Cards Premium */
.card-premium {
    background: var(--bg-surface);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-premium:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0,0,0,0.08);
}

.card-highlight {
    border: 2px solid var(--brand-accent);
    position: relative;
}

.badge-recommended {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--brand-accent);
    color: #000;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 12px;
    border-bottom-left-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Botones */
.btn-trois {
    background: var(--brand-primary);
    color: #fff;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    border: none;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    width: 100%;
}

.btn-trois:hover {
    background: var(--brand-accent);
    color: var(--brand-primary);
    transform: scale(1.02);
}

.btn-trois-outline {
    background: transparent;
    border: 2px solid #eee;
    color: var(--text-main);
}

.btn-trois-outline:hover {
    border-color: var(--brand-primary);
    background: transparent;
}

/* Selectores Personalizados */
.select-minimal {
    width: 100%;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    transition: 0.2s;
    cursor: pointer;
}
.select-minimal:focus {
    outline: none;
    border-color: var(--brand-accent);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 214, 0, 0.1);
}

/* Buscador Hero */
.search-hero {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
.input-hero {
    width: 100%;
    padding: 22px 60px 22px 30px;
    font-size: 1.1rem;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-pill);
    background: #fff;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}
.input-hero:focus {
    outline: none;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    transform: scale(1.01);
}
.btn-search-hero {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-accent);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
}
.btn-search-hero:hover {
    background: #000;
    color: #fff;
}

/* Galería Grid */
.photo-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media(min-width: 768px) {
    .photo-grid-modern {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.item-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f3f4f6;
    aspect-ratio: 2/3;
    cursor: pointer;
}

.item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-card:hover img {
    transform: scale(1.05);
}

/* market.css - Modificación Overlay Permanente */

.item-overlay {
    position: absolute;
    inset: 0;
    /* Gradiente más fuerte para legibilidad permanente */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    opacity: 1; /* SIEMPRE VISIBLE */
    transition: 0.3s;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
}

/* Opcional: Si quieres que la flechita solo salga al pasar el mouse, descomenta esto:
.item-overlay .fa-arrow-right { opacity: 0; transition: 0.3s; transform: translateX(-10px); }
.item-card:hover .item-overlay .fa-arrow-right { opacity: 1; transform: translateX(0); }
*/

.item-card:hover .item-overlay {
    opacity: 1;
}

/* --- CARRITO FLOTANTE BRUTALISTA V2026.13 --- */


.cart-trigger:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px #000;
    background: #000;
}

.cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #FFD600;
    color: #000;
    font-size: 12px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0px !important;
    border: 2px solid #000;
    font-weight: 900;
}

/* SIDEBAR CART (CUADRADO) */
#cartModal {
    border-left: 3px solid #000 !important;
    box-shadow: -10px 0px 30px rgba(0,0,0,0.1) !important;
}

#cartModal .btn-close {
    border-radius: 0px !important;
    opacity: 1;
}

#cartModal .btn-dark:hover {
    background: var(--brand-accent) !important;
    color: #000 !important;
    transform: translate(-3px, -3px);
    box-shadow: 4px 4px 0px #000;
}
/* GALERÍA EN MODAL DE TIENDA */
.modal-gallery-strip {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.gallery-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.2s;
    flex-shrink: 0;
}

.gallery-thumb.active, .gallery-thumb:hover {
    border-color: #000;
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- MEJORAS EDITORIALES V15.0 --- */
.hero-minimal {
    padding: 120px 0 80px;
    background: var(--bg-body);
    text-align: center;
}

.hero-title {
    font-weight: 900;
    font-size: clamp(2.5rem, 8vw, 4.5rem); /* Tamaño fluido */
    letter-spacing: -3px;
    line-height: 0.95;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* Ajuste al buscador existente para mayor impacto */
.search-hero .input-hero {
    border: 1px solid rgba(0,0,0,0.08);
    padding: 28px 80px 28px 40px; /* Más aire interno */
    font-size: 1.25rem;
    box-shadow: 0 30px 60px -12px rgba(0,0,0,0.12); /* Sombra más profunda */
}

.search-hero .btn-search-hero {
    right: 18px;
    width: 56px;
    height: 56px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

/* Contenedor de Grid con espaciado editorial */
.home-grid-container {
    padding: 60px 0;
}

.card-img-wrapper {
    position: relative;
    aspect-ratio: 16/10; /* Ratio más cinematográfico para álbumes en el Home */
    overflow: hidden;
    background: var(--bg-subtle);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-premium:hover .card-img-wrapper img {
    transform: scale(1.08);
}

/* --- HERO DINÁMICO V15.1 --- */
.hero-minimal {
    position: relative;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f3f4f6 100%);
    overflow: hidden;
}

/* Efecto de texto detrás de la búsqueda */
.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(0,0,0,0.02);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    text-transform: uppercase;
}

/* --- GRID DE PACKS EQUILIBRADO --- */
.pack-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* El Full Pack ahora es horizontal y destaca */
.full-pack-highlight {
    grid-column: 1 / -1; /* Ocupa todo el ancho */
    background: linear-gradient(90deg, #000 0%, #222 100%);
    color: white !important;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    padding: 30px 50px !important;
}

.full-pack-highlight .price-tag { color: var(--brand-accent); font-size: 3rem !important; }
.full-pack-highlight h6 { color: rgba(255,255,255,0.6) !important; }

/* --- REPARACIÓN MÓVIL TOTAL V2026.18 (Mismo estilo que captura Mac) --- */
@media (max-width: 768px) {
    /* 1. Forzar Escala Legible */
    body { font-size: 16px !important; }
    
    .container { padding-left: 15px !important; padding-right: 15px !important; }

    /* 2. Hero Editorial: Títulos Grandes y Legibles */
    .hero-editorial { 
        padding: 130px 0 50px !important; 
        background: #fff;
    }
    
    .hero-bg-overlay { 
        width: 100% !important; 
        opacity: 0.60; /* Incrementado 25% para mayor visibilidad móvil */
        mask-image: none !important;
        background-position: center top;
    }
    
    .hero-title-solid { 
        font-size: 4rem !important; /* Impacto visual igual a captura */
        line-height: 0.85 !important;
        margin-bottom: 25px !important;
        letter-spacing: -2px !important;
    }

    /* 3. Buscador Brutalista apilado */
    .search-brutalist { 
        flex-direction: column;
        width: 100%;
        box-shadow: 6px 6px 0px #000 !important;
    }
    
    .search-brutalist input { 
        padding: 18px !important; 
        font-size: 1.1rem !important; 
        border-bottom: 2px solid #000 !important;
    }
    
    .btn-brutalist-search { 
        width: 100%;
        padding: 22px !important; /* Área de contacto masiva */
        font-size: 1.1rem !important; /* Fuente legible al sol */
        letter-spacing: 2px;
        background: #000 !important;
        color: #FFD600 !important; /* Contraste máximo Trois */
        border: none !important;
        font-weight: 900 !important;
    }

    /* 4. GRID DE ÁLBUMES: 2 COLUMNAS PERFECTAS */
    #galleryContainer .col-6, #market-grid .col-6 {
        padding: 6px !important; /* Espaciado entre fotos igual a captura */
    }

    .item-card-brutalist {
        border-width: 1.5px !important;
    }

    .item-card-brutalist .p-3 {
        padding: 10px !important;
    }

    .item-card-brutalist .fw-900 {
        font-size: 0.85rem !important;
        line-height: 1.1;
    }

    /* 5. Menú Hamburguesa Brutalista (Desplegable) */
    .navbar-collapse {
        background: #fff;
        border: 3px solid #000;
        box-shadow: 12px 12px 0px #FFD600;
        margin: 15px -5px 0 -5px;
        padding: 20px !important;
        z-index: 9999;
    }

    .hub-link {
        font-size: 1.3rem !important;
        font-weight: 900 !important;
        border-bottom: 2px solid #f0f0f0;
        width: 100%;
        padding: 15px 0 !important;
        text-align: left;
    }

    /* 6. Triggers Flotantes: Ajuste de colisión */
    .floating-container-left { left: 15px; bottom: 20px; }
    .whatsapp-float { right: 15px; bottom: 20px !important; }
    .cart-trigger { right: 15px; bottom: 90px !important; }

    /* --- SELECTORES DE TALLA MOBILE --- */
    .variant-selector {
        padding: 15px 22px !important; /* Área de contacto aumentada */
        font-size: 1rem !important;
        min-width: 65px;
        justify-content: center;
        border-width: 2px !important;
    }

    /* Ajuste del contenedor de variantes para evitar desbordes */
    #modal-variants-area .d-flex {
        gap: 12px !important;
    }
}

/* --- REFUERZO BRUTALISTA GLOBAL V2026.20 --- */
input, select, textarea, .form-control, .form-select {
    border-radius: 0px !important;
    border: 2px solid #000 !important;
    box-shadow: none !important;
    font-weight: 600 !important;
}

input:focus, select:focus, textarea:focus {
    background-color: #fff !important;
    box-shadow: 6px 6px 0px #FFD600 !important; /* Sombra sólida al enfocar */
    transform: translate(-2px, -2px);
}

/* ESTILO PARA ALERTAS (SWEETALERT2) */
.swal2-popup {
    border-radius: 0px !important;
    border: 3px solid #000 !important;
    box-shadow: 15px 15px 0px #000 !important;
}

.swal2-title {
    text-transform: uppercase !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
}

.swal2-confirm, .swal2-cancel {
    border-radius: 0px !important;
    border: 2px solid #000 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* --- DIFERENCIACIÓN VISUAL DE TICKETS EN GRID --- */

/* Fondo distintivo para que parezca una entrada/afiche */
[data-type="ticket"] .ratio {
    background: #FFFBEB !important; /* Tono crema cálido */
    border-bottom: 1px dashed #e5e7eb;
}

/* Ajuste de imagen para afiches de carrera (evita cortes feos) */
[data-type="ticket"] img {
    object-fit: contain !important; 
    padding: 15px; /* Margen interno para que el logo respire */
}

/* Efecto visual de "Ticket" (Bordes perforados simulados) */
[data-type="ticket"] .card-premium, 
[data-type="ticket"] .bg-white {
    position: relative;
}

[data-type="ticket"] .bg-white::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    width: 20px;
    height: 20px;
    background: var(--bg-body);
    border-radius: 50%;
    box-shadow: inset -1px 0 2px rgba(0,0,0,0.05);
}

/* --- HERO DINÁMICO EDITORIAL V15.2 --- */
.hero-minimal {
    position: relative;
    padding: 140px 0 100px;
    background: #fff;
    overflow: hidden;
}

/* Animación de fondo sutil */
.hero-minimal::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,214,0,0.05) 0%, rgba(255,255,255,0) 70%);
    animation: rotateGradient 20s linear infinite;
    z-index: 0;
}

@keyframes rotateGradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-weight: 900;
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 0.85;
    letter-spacing: -4px;
    z-index: 1;
    position: relative;
    text-transform: uppercase;
}

.hero-title .outline-text {
    -webkit-text-stroke: 1.5px #000;
    color: transparent;
    display: block;
}

/* --- REDISEÑO DE PACKS PROFESIONAL --- */
.pack-container-v3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.pack-card-v3 {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px 20px;
    border-radius: 20px;
    transition: 0.3s;
    text-align: center;
}

/* FULL PACK: ESTILO DARK PREMIUM */
.full-pack-v3 {
    grid-column: 1 / -1;
    background: #000;
    color: #fff;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.full-pack-v3 .price-large {
    font-size: 4rem;
    font-weight: 900;
    color: var(--brand-accent);
    line-height: 1;
}

.btn-full-pack {
    background: var(--brand-accent);
    color: #000;
    border: none;
    padding: 18px 45px;
    font-weight: 900;
    border-radius: 100px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-full-pack:hover { transform: scale(1.05); background: #fff; }

@media (max-width: 991px) {
    .full-pack-v3 { flex-direction: column; text-align: center; gap: 20px; padding: 40px 20px; }
}

/* --- PACKS V15.5: REFERENCIA VISUAL --- */

/* Contenedor general */
.pack-section-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Tarjetas Blancas (Standard) */
.pack-card-standard {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pack-card-standard:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.pack-title {
    font-size: 0.85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111;
    margin-bottom: 10px;
}

.pack-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #111;
    line-height: 1;
    margin-bottom: 20px;
}

/* Botón Negro (Standard) */
.btn-pack-standard {
    background: #1a1a1a;
    color: #fff;
    font-weight: 800;
    border-radius: 50px;
    padding: 12px 0;
    width: 100%;
    border: none;
    font-size: 0.9rem;
    transition: 0.2s;
}
.btn-pack-standard:hover {
    background: #000;
    transform: scale(1.02);
}

/* --- FULL PACK (VIP BLACK & GOLD) --- */
.full-pack-vip {
    background: #111;
    border: 2px solid #FFD600; /* Borde Dorado */
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: #fff;
    position: relative;
    box-shadow: 0 0 40px rgba(255, 214, 0, 0.15); /* Resplandor dorado sutil */
    overflow: hidden;
}

/* Efecto de partículas doradas (opcional, sutil fondo) */
.full-pack-vip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, rgba(255,214,0,0.1) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.vip-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FFD600;
    color: #000;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 4px;
}

.full-pack-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFD600;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.full-pack-price {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin: 15px 0;
}

.btn-pack-vip {
    background: #FFD600;
    color: #000;
    font-weight: 900;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 214, 0, 0.4);
}
.btn-pack-vip:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* --- LISTA DE INCLUSIONES --- */
.inclusions-list {
    margin-top: 50px;
    text-align: center;
}
.inclusion-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 20px;
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}
.inclusion-icon {
    color: #10b981; /* Verde Check */
    font-size: 1.1rem;
}

/* --- PACKS V15.6: ESTRUCTURA "TOP 4 + HERO" --- */

/* Tarjetas Blancas Superiores */
.pack-card-white {
    background: #fff;
    border: 1px solid #f3f3f3;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pack-card-white:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.pack-card-white .pack-name {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.pack-card-white .pack-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #111;
    margin-bottom: 20px;
}

/* Botón Negro Redondeado */
.btn-pack-black {
    background: #111;
    color: #fff;
    font-weight: 800;
    border-radius: 8px; /* Ligeramente cuadrado como la referencia */
    padding: 12px 0;
    width: 100%;
    border: none;
    font-size: 0.85rem;
    transition: 0.2s;
    text-transform: uppercase;
}
.btn-pack-black:hover {
    background: #000;
    transform: scale(1.03);
}

/* --- FULL PACK HERO (INFERIOR) --- */
.full-pack-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    border-radius: 24px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Destello dorado sutil */
.full-pack-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,214,0,0.15) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
}

.badge-popular {
    background: #FFD600;
    color: #000;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 6px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.btn-hero-gold {
    background: #FFD600;
    color: #000;
    font-weight: 900;
    padding: 16px 40px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(255, 214, 0, 0.3);
    transition: 0.3s;
}
.btn-hero-gold:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

@media (max-width: 991px) {
    .full-pack-hero { flex-direction: column; text-align: center; gap: 30px; }
}

/* Lista de Inclusiones Limpia */
/* --- INCLUSIONES V15.8: GRID PERFECTO (3x2) --- */
.features-grid {
    display: grid;
    /* En móviles 1 columna, en tablet 2, en escritorio 3 exactas */
    grid-template-columns: repeat(1, 1fr);
    gap: 20px 40px; /* Gap vertical 20px, horizontal 40px */
    margin-top: 50px;
    max-width: 900px; /* Limitamos ancho para que no se dispersen */
    margin-left: auto;
    margin-right: auto;
}

@media(min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #444;
    font-weight: 600;
    font-size: 0.95rem;
    justify-content: flex-start; /* Alineación izquierda dentro de su celda */
}

.feature-icon {
    color: #10b981; /* Verde éxito */
    font-size: 1.3rem;
    flex-shrink: 0; /* Evita que el icono se aplaste */
}
.feature-icon {
    color: #10b981; /* Verde éxito */
    font-size: 1.2rem;
}

/* --- SELECTOR DE CARRERA V15.7 (High Visibility) --- */
#raceSelect {
    background-color: #fff;
    border: 2px solid var(--brand-accent); /* Borde Amarillo Trois */
    color: #000;
    font-weight: 800;
    padding: 10px 30px 10px 15px;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 214, 0, 0.15); /* Sombra sutil */
    transition: all 0.2s ease;
    
    /* Flecha personalizada negra y gruesa */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-size: 10px;
}

#raceSelect:hover, #raceSelect:focus {
    box-shadow: 0 5px 15px rgba(255, 214, 0, 0.3);
    transform: translateY(-2px);
    outline: none;
    border-color: #e6c200;
}

/* Etiqueta flotante para guiar al usuario */
.race-select-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--brand-accent);
    background: #000;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 5px;
}

/* --- WHATSAPP FLOTANTE BRUTALISTA V2026.14 --- */


.whatsapp-float:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px #000;
    background: #25D366;
    color: #fff;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    background: #128C7E;
    color: #fff;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    font-size: 32px;
}

/* Tooltip "Ayuda" al pasar el mouse */
.whatsapp-float::before {
    content: '¿Ayuda?';
    position: absolute;
    right: 70px;
    background: #fff;
    color: #111;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(10px);
    transition: 0.3s;
    pointer-events: none;
    white-space: nowrap;
}

.whatsapp-float:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Links */
.hover-dark:hover {
    color: #000 !important;
    text-decoration: underline !important;
}

/* --- UI CRÉDITOS CHECKOUT V16 (Diseño Exacto) --- */
.coupon-card-success {
    background-color: #ecfdf5;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    animation: fadeIn 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.coupon-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #047857; /* Verde Esmeralda Oscuro */
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.coupon-pack-name {
    font-size: 1.1rem;
    font-weight: 900;
    color: #111;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
    letter-spacing: -0.5px;
}

.coupon-subtext {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d1fae5;
}

.credit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.badge-disp {
    background: #fff;
    border: 1px solid #a7f3d0;
    color: #111;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 6px;
}

/* --- BRANDING SVG (V19.0) --- */
.brand-logo {
    height: 28px; /* Altura estándar para Header */
    width: auto;
    display: block;
    color: #000; /* Color por defecto (Negro) */
    transition: all 0.3s ease;
}

/* Versión Footer (Más grande) */
.brand-logo-footer {
    height: 32px;
    color: #000;
    margin-bottom: 15px;
}

/* Versión Dashboard Sidebar (Blanco Forzado) */
.brand-logo-sidebar {
    height: 32px;
    color: #fff !important; /* Forzamos blanco sobre fondo oscuro */
    margin-bottom: 40px;
}

/* Versión Login (Grande) */
.brand-logo-login {
    height: 40px;
    color: #000;
    margin-bottom: 30px;
}

/* [UPDATE V2026.7] - REBRANDING EDITORIAL BRUTALISTA */
/* [UPDATE V2026.8] - REBRANDING EDITORIAL BRUTALISTA (SQUARE & SOLID) */
:root {
    --bg-body: #F2F2F2; /* Fondo editorial desaturado */
    --bg-surface: #ffffff;
    --text-main: #000000;
    --text-muted: #333333;
    --brand-accent: #FFD600;
    
    /* ELIMINACIÓN TOTAL DE REDONDEO (Estilo Bandit/Satisfy) */
    --radius-sm: 0px !important; 
    --radius-md: 0px !important;
    --radius-pill: 0px !important;
    
    --border-solid: 2px solid #000000; /* Bordes más gruesos y definidos */
}

/* RESET GLOBAL DE BORDES */
* { border-radius: 0px !important; }

body {
    background-color: var(--bg-body);
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* HERO EDITORIAL V2 */
.hero-editorial {
    position: relative;
    padding: 240px 0 160px; /* Más aire superior para un look de revista */
    background: #fff;
    border-bottom: var(--border-solid);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; 
    right: 0; 
    width: 65%; /* Mayor presencia de la imagen */
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Efecto de grano y alto contraste cinematográfico */
    filter: grayscale(100%) contrast(1.25) brightness(0.85); 
    z-index: 1;
    /* Fundido suave hacia el texto */
    mask-image: linear-gradient(to right, transparent 0%, black 50%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%);
}

.hero-title-solid {
    font-size: clamp(3.5rem, 14vw, 8.5rem);
    font-weight: 900;
    line-height: 0.8; /* Texto muy pegado estilo editorial */
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #000;
    position: relative;
}

.section-label-brutalist {
    background: #000;
    color: #fff;
    padding: 5px 12px;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
}

/* BUSCADOR CON SOMBRA SÓLIDA */
.search-brutalist {
    display: flex;
    max-width: 600px;
    margin-top: 50px;
    position: relative;
    z-index: 10;
    background: #fff;
    border: var(--border-solid);
    box-shadow: 10px 10px 0px #000; /* Sombra sólida no difusa */
}

.search-brutalist input {
    flex-grow: 1;
    border: none;
    padding: 22px 25px;
    font-size: 1.1rem;
    font-weight: 900;
    outline: none;
    text-transform: uppercase;
}

.btn-brutalist-search {
    background: #000;
    color: #FFD600;
    border: none;
    padding: 0 35px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.1s;
}

.btn-brutalist-search:hover {
    background: #FFD600;
    color: #000;
}

/* --- UI TIENDA BRUTALISTA V2026.11 --- */
.item-card-brutalist {
    background: #fff;
    border: 2px solid #000;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Sombra sólida desplazada al pasar el mouse (Estilo Bandit) */
.item-card-brutalist:hover {
    transform: translate(-6px, -6px);
    box-shadow: 8px 8px 0px #000;
}

/* Efecto de imagen editorial */
.grayscale-hover {
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.item-card-brutalist:hover .grayscale-hover {
    filter: grayscale(0%);
}

/* Tipografía densa para nombres de producto */
.lh-1 {
    line-height: 1.1 !important;
}

/* Ajuste de badges de ubicación para el nuevo estilo */
.badge-distributor {
    color: #000 !important;
    background: var(--brand-accent);
    display: inline-block;
    padding: 2px 6px;
    margin-bottom: 8px;
    font-weight: 900;
    border: 1px solid #000;
}

/* Ajuste del modal de producto para que no tenga bordes redondeados */
#productModal .modal-content {
    border-radius: 0px !important;
    border: 3px solid #000;
    box-shadow: 15px 15px 0px #FFD600;
}

@media (max-width: 768px) {
    /* Ajustes del Hero Mobile */
    .hero-editorial { 
        padding: 140px 0 60px !important; 
        min-height: 80vh;
        display: flex;
        align-items: center;
    }
    
    .hero-bg-overlay { 
        width: 100% !important; 
        opacity: 0.40; /* Incrementado 25% */
        mask-image: none !important; 
        -webkit-mask-image: none !important; 
        filter: grayscale(100%) contrast(1.1);
    }
    
    .hero-title-solid { 
        font-size: 3.2rem !important; 
        line-height: 0.9 !important;
        letter-spacing: -2px !important;
        margin-bottom: 30px !important;
    }

    .section-label-brutalist {
        font-size: 0.6rem !important;
        margin-bottom: 10px !important;
    }

    /* Buscador Mobile: Más compacto y sin desborde */
    .search-brutalist { 
        margin-top: 20px;
        box-shadow: 6px 6px 0px #000 !important; 
        width: 100%;
        max-width: 100%;
    }
    
    .search-brutalist input { 
        padding: 15px 20px !important; 
        font-size: 0.95rem !important; 
    }
    
    .btn-brutalist-search { 
        padding: 0 15px !important; 
        font-size: 0.7rem !important; 
    }

    /* Ajuste de Iconos Flotantes para evitar choque con barra de sistema iOS */
    .floating-container-left { left: 15px; bottom: 25px; }
    .whatsapp-float { right: 15px; bottom: 25px !important; }
    .cart-trigger { right: 15px; bottom: 95px !important; }

    /* Forzar visibilidad del menú hamburguesa */
    .navbar-collapse {
        background: white;
        padding: 20px;
        border: 2px solid #000;
        box-shadow: 10px 10px 0px #FFD600;
        margin-top: 15px;
    }
    
    .hub-link {
        padding: 15px 0 !important;
        border-bottom: 1px solid #eee !important;
        width: 100%;
        text-align: left;
    }
}

/* --- BOTONES DE MODAL BRUTALISTAS V2026.12 --- */
#productModal .btn {
    border-radius: 0px !important; /* Cuadrado absoluto */
    border: 2px solid #000 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.1s ease;
}

#btn-add-cart {
    background: #000;
    color: #fff;
}

#btn-add-cart:hover:not(:disabled) {
    background: var(--brand-accent);
    color: #000;
    transform: translate(-3px, -3px);
    box-shadow: 4px 4px 0px #000;
}

#btn-gift-cart {
    background: #fff;
    color: #000;
}

#btn-gift-cart:hover:not(:disabled) {
    background: #000;
    color: #fff;
    transform: translate(-3px, -3px);
    box-shadow: 4px 4px 0px #FFD600;
}

/* Estilo para los selectores de Talla/Distancia (Botones pequeños) */
.variant-selector {
    border-radius: 0px !important;
    border: 1.5px solid #000 !important;
    font-weight: 800 !important;
}

/* --- OVERHAUL TIPOGRÁFICO BRUTALISTA V2026.16 --- */

/* Títulos de álbumes en la Home */
.item-title {
    font-size: 1rem !important;
    line-height: 0.9 !important; /* Texto muy pegado */
    letter-spacing: -0.04em !important;
    margin-bottom: 4px;
}

.item-meta {
    font-weight: 900 !important;
    text-transform: uppercase;
    font-size: 0.65rem !important;
    letter-spacing: 0.1em;
    color: #FFD600 !important; /* Metadata en Amarillo para resaltar sobre el negro */
}

/* Tipografía del Modal (Lightbox de compra) */
#modal-title {
    text-transform: uppercase;
    line-height: 0.85;
    letter-spacing: -0.05em;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

#modal-price {
    font-weight: 900;
    letter-spacing: -1px;
}

/* Descripción de producto técnica y densa */
#modal-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    color: #000 !important; /* Texto negro puro para contraste */
}

.desc-container {
    background: #fff !important;
    border: 2px solid #000 !important; /* Contenedor sólido */
    box-shadow: 6px 6px 0px #F2F2F2;
    padding: 20px !important;
}

/* --- NÚCLEO DE ICONOS FLOTANTES BRUTALISTAS V2026.15 --- */

/* Contenedor Izquierdo (Chatbot) */
.floating-container-left {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
}

/* Estilo Base de los Triggers Cuadrados */
.brutalist-trigger, .cart-trigger, .whatsapp-float {
    width: 60px;
    height: 60px;
    border-radius: 0px !important;
    border: 2px solid #000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Chatbot (Izquierda) */
.brutalist-trigger {
    background: #000;
    color: #fff;
    box-shadow: 8px 8px 0px #FFD600;
}

/* WhatsApp (Derecha - ABAJO) */
.whatsapp-float {
    position: fixed;
    bottom: 30px !important; /* Alineado con el Chatbot */
    right: 30px;
    background: #25D366;
    color: #fff;
    box-shadow: 8px 8px 0px #000;
    z-index: 5000;
}

/* Carrito (Derecha - ARRIBA de WhatsApp) */
.cart-trigger {
    position: fixed;
    bottom: 100px !important; /* 30px base + 60px whatsapp + 10px gap */
    right: 30px;
    background: #000;
    color: #fff;
    box-shadow: 8px 8px 0px #FFD600;
    z-index: 5001;
}

/* Efectos Hover Unificados (El Salto Brutalista) */
.brutalist-trigger:hover, .whatsapp-float:hover, .cart-trigger:hover {
    transform: translate(-4px, -4px);
}

.brutalist-trigger:hover { box-shadow: 12px 12px 0px #000; }
.whatsapp-float:hover { box-shadow: 12px 12px 0px #000; color: #fff; }
.cart-trigger:hover { box-shadow: 12px 12px 0px #000; }

/* Responsive: Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .floating-container-left { left: 20px; bottom: 20px; }
    .whatsapp-float { right: 20px; bottom: 20px !important; }
    .cart-trigger { right: 20px; bottom: 90px !important; }
}

/* --- UI LIGHTBOX EDITORIAL V2026.19 --- */
.lightbox-overlay { 
    position: fixed; inset: 0; background: #000; 
    z-index: 9000; display: none; align-items: center; justify-content: center; 
    opacity: 0; transition: all 0.3s ease; 
}
.lightbox-overlay.show { opacity: 1; }

.lightbox-img { 
    max-width: 85%; max-height: 80vh; 
    object-fit: contain; 
    border: 2px solid #333;
    box-shadow: 0 0 100px rgba(255,214,0,0.1);
    transform: scale(0.9); transition: 0.3s;
}
.lightbox-overlay.show .lightbox-img { transform: scale(1); }

.lightbox-controls-top {
    position: absolute; top: 0; left: 0; width: 100%;
    padding: 30px; display: flex; justify-content: flex-end;
}

.lightbox-close-btn {
    background: #FFD600; color: #000; padding: 12px 25px;
    font-weight: 900; font-size: 0.8rem; letter-spacing: 2px;
    border: 2px solid #000; cursor: pointer;
    transition: 0.1s; display: flex; align-items: center; gap: 10px;
}
.lightbox-close-btn:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0px #fff; }

/* --- BOTONES DE ACCIÓN GALERÍA (THUMB-FRIENDLY) --- */
.btn-brutalist-action, .btn-brutalist-buy {
    width: 44px; height: 44px; border: 1.5px solid rgba(255,255,255,0.3);
    background: #000; color: #fff; display: flex; align-items: center;
    justify-content: center; font-size: 0.9rem; transition: 0.1s;
    border-radius: 0px !important;
}

.btn-brutalist-buy { background: #fff; color: #000; border-color: #fff; }

/* Ajuste específico para Smartphones */
@media (max-width: 768px) {
    .btn-brutalist-action, .btn-brutalist-buy {
        width: 50px !important; /* Más grande para el pulgar */
        height: 50px !important;
        font-size: 1.1rem !important;
    }
    
    .mobile-action-bar {
        bottom: 10px !important;
        right: 10px !important;
    }

    .lightbox-img { max-width: 95%; max-height: 70vh; border: none; }
    
    .lightbox-controls-top { padding: 15px; }
    .lightbox-close-btn span { display: none; } /* Solo icono en móvil */
    .lightbox-close-btn { padding: 15px; }
}

/* --- FOOTER SOCIAL BRUTALISTA V2026.21 --- */
.footer-social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff !important;
    border: 2px solid #000;
    transition: all 0.1s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
}

.footer-social-link:hover {
    background: #FFD600; /* Cambio a Amarillo Trois */
    color: #000 !important;
    transform: translate(-4px, -4px); /* Salto físico */
    box-shadow: 6px 6px 0px #000; /* Sombra sólida negra */
}

.footer-social-link i {
    font-size: 1.1rem;
}

/* --- HIPER-OPTIMIZACIÓN VISUAL V2026 --- */
.item-card-brutalist, .item-card {
    background: #eeeeee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

@keyframes shine {
    to { background-position-x: -200%; }
}

/* Una vez cargada la imagen, quitamos el efecto */
img.visible {
    animation: fadeInImg 0.5s ease forwards;
}

@keyframes fadeInImg {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* Reducción de CLS (Cumulative Layout Shift) */
img { height: auto; max-width: 100%; }

/* --- STORE MEGA MENU & SIDEBAR BRUTALISTA --- */
.store-nav-menu {
    gap: 30px;
}
.store-nav-link {
    color: #888;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    padding: 12px 0;
    border-bottom: 4px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 1.1rem;
}
.store-nav-link:hover { color: #000; }
.store-nav-link.active {
    color: #000;
    border-bottom-color: var(--brand-accent);
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.filter-section-title {
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #000;
    color: #000;
    letter-spacing: 0.5px;
}

/* Checkboxes Brutalistas para Filtros */
.filter-label {
    margin-bottom: 8px;
}
.filter-label input[type="checkbox"] { 
    appearance: none; 
    width: 18px; 
    height: 18px; 
    border: 2px solid #000; 
    border-radius: 0; 
    background: #fff;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    transition: 0.1s;
}
.filter-label input[type="checkbox"]:checked { 
    background: #FFD600; 
    box-shadow: inset 0 0 0 3px #000; 
}
.filter-label:hover span { color: #000 !important; }

@media (max-width: 768px) {
    .store-nav-link { font-size: 0.9rem; padding: 10px 0; }
}