:root {
    --vino: #850E35;    
    --rosa-pastel: #FBC9C9; 
    --crema-fondo: #FCF5EE;      
    --rosa-banner: #E96B85; 
}

/* =========================================
   CURSOR PERSONALIZADO (SOLO EN DESKTOP)
========================================= */
@media (pointer: fine) {
    body { cursor: none; }
    a, button, input, .card, .icon-interactivo, i, .btn-filtro { cursor: none !important; }
}

.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999999;
    pointer-events: none;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--vino);
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(133, 14, 53, 0.4);
    transition: width 0.25s ease-out, height 0.25s ease-out, background-color 0.25s ease-out, border-color 0.25s ease-out;
}
/* Estado hover del cursor */
.cursor-outline.hover {
    width: 60px;
    height: 60px;
    background-color: rgba(133, 14, 53, 0.1);
    border-color: transparent;
}


body { font-family: 'Outfit', sans-serif; margin: 0; background-color: var(--crema-fondo); color: #333; overflow-x: hidden; scroll-behavior: smooth; }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   BARRA DE NAVEGACIÓN (GLASSMORPHISM)
========================================= */
.promo-banner { 
    background: rgba(233, 107, 133, 0.85); /* Color semitransparente */
    backdrop-filter: blur(15px); /* Efecto cristal esmerilado */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white; padding: 15px 0; position: sticky; top: 0; z-index: 1000; transition: background 0.8s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.05); 
}
.header-container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 25px; }
.header-nav-links { display: flex; gap: 20px; align-items: center; }
.nav-link-main { color: white; text-decoration: none; font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; }
.header-logo-area { text-align: center; }
.logo-top { font-weight: 800; font-size: 1.6rem; letter-spacing: 3px; }
.header-icons { display: flex; gap: 25px; justify-content: flex-end; align-items: center; }
.header-icons i { font-size: 1.5rem; transition: 0.3s; }
.icon-interactivo:hover { transform: scale(1.2); opacity: 0.8; }

.nav-logo { display: flex; align-items: center; margin-right: 20px; text-decoration: none; }
.nav-logo img { height: 75px; width: auto; object-fit: contain; filter: invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.3)); transition: transform 0.3s ease; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }
.nav-logo img:hover { transform: scale(1.08); }

/* Glassmorphism en el Menú Desplegable */
.dropdown-content { display: none; position: absolute; background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); min-width: 160px; box-shadow: 0px 10px 25px rgba(0,0,0,0.1); z-index: 1; border-radius: 12px; border: 1px solid rgba(255,255,255,0.4); top: 100%; overflow: hidden; }
.dropdown-content a { color: var(--vino) !important; padding: 12px 16px; text-decoration: none; display: block; text-align: left; font-size: 0.9rem; transition: 0.2s;}
.dropdown-content a:hover { background-color: rgba(251, 201, 201, 0.5); font-weight: bold;}
.dropdown:hover .dropdown-content { display: block; }

#search-container { position: absolute; top: 100%; left: 0; width: 100%; background: white; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); display: none; flex-direction: column; align-items: center; z-index: 2000; }
#search-input { width: 60%; padding: 12px 25px; border: 2px solid var(--rosa-banner); border-radius: 30px; outline: none; font-family: 'Outfit'; font-size: 1rem; }
#predictive-results { width: 60%; max-height: 350px; overflow-y: auto; background: white; margin-top: 10px; border-radius: 10px; display: none; border: 1px solid #eee; text-align: left;}
.search-result-item { display: flex; align-items: center; gap: 15px; padding: 12px; border-bottom: 1px solid #f5f5f5; transition: 0.3s; }
.search-result-item:hover { background: var(--crema-fondo); }
.search-result-item img { width: 45px; height: 45px; border-radius: 5px; object-fit: cover; }
.search-result-info h4 { margin: 0; font-size: 0.9rem; color: var(--vino); }
.search-result-info p { margin: 0; font-size: 0.8rem; color: #666; }

/* HERO */
.hero-boutique { position: relative; height: 75vh; width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.slider-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease-in-out; }
.hero-bg.slide.active { opacity: 1; z-index: 2; }
.hero-overlay { position: relative; z-index: 3; text-align: center; color: white; background: rgba(0, 0, 0, 0.45); padding: 40px; border-radius: 15px; backdrop-filter: blur(5px); }
.hero-overlay h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; margin: 0; }
.btn-hero { display: inline-block; margin-top: 20px; padding: 12px 30px; border: 2px solid white; color: white; text-decoration: none; font-weight: 600; transition: transform 0.1s ease, box-shadow 0.3s ease; border-radius: 30px; }
.btn-hero:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

/* SLIDER PERRÍSIMO */
.promo-container-wrapper { position: relative; max-width: 1100px; margin: 80px auto; padding: 0 40px; }
.promo-split { display: flex; background: linear-gradient(135deg, #ffffff 0%, #fffbfb 100%); margin: 0 auto; border-radius: 30px; overflow: hidden; box-shadow: 0 25px 50px rgba(133, 14, 53, 0.1); border: 1px solid rgba(133, 14, 53, 0.05); position: relative; z-index: 1; min-height: 420px; }
.promo-image { width: 50%; position: relative; background: #000; overflow: hidden; }
.promo-image img, .promo-image video { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; opacity: 0; transform: scale(1.1); transition: opacity 0.8s ease, transform 6s cubic-bezier(0.25, 1, 0.5, 1); }
.promo-image img.show, .promo-image video.show { transform: scale(1); }
.promo-details { width: 50%; padding: 60px 50px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; }
.content-anim { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.content-anim.show { opacity: 1; transform: translateY(0); }
.tag-anuncio { background: transparent; color: var(--vino); padding: 6px 18px; border-radius: 50px; font-weight: 800; font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 20px; border: 2px solid var(--rosa-banner); display: inline-block; }
.promo-details h2 { color: var(--vino); font-size: 2.8rem; margin: 0 0 15px 0; font-family: 'Playfair Display', serif; line-height: 1.1; }
.promo-details p { color: #555; line-height: 1.7; font-size: 1.1rem; margin-bottom: 30px; max-width: 95%; }
.slider-dots { display: flex; gap: 8px; margin-top: auto; padding-top: 15px; }
.dot { width: 12px; height: 6px; border-radius: 10px; background: rgba(133, 14, 53, 0.2); transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.dot.active { background: var(--vino); width: 35px; }

.arrow-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(5px); color: var(--vino); width: 55px; height: 55px; border-radius: 50%; border: 1px solid rgba(133, 14, 53, 0.1); z-index: 10; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.arrow-btn:hover { background: var(--vino); color: white; transform: translateY(-50%) scale(1.1); box-shadow: 0 15px 25px rgba(133, 14, 53, 0.2); }
.arrow-left-outer { left: 10px; } 
.arrow-right-outer { right: 10px; }

/* Botón WhatsApp Magnético Slider */
.btn-whatsapp-slider {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--vino);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    box-shadow: 0 8px 20px rgba(133, 14, 53, 0.25);
    font-family: 'Outfit', sans-serif;
    border: 2px solid transparent;
}
.btn-whatsapp-slider:hover {
    background-color: white;
    color: var(--vino);
    border: 2px solid var(--vino);
    box-shadow: 0 12px 25px rgba(133, 14, 53, 0.35);
}

/* DEMÁS SECCIONES */
.filter-bar-wrapper { max-width: 1000px; margin: 40px auto 20px auto; padding: 15px 20px; text-align: center; position: sticky; top: 105px; z-index: 999; background-color: var(--crema-fondo); box-shadow: 0 10px 15px -10px rgba(0,0,0,0.1); }
.filter-bar { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; background: white; padding: 12px 20px; border-radius: 50px; box-shadow: 0 8px 25px rgba(133, 14, 53, 0.08); border: 1px solid rgba(251, 201, 201, 0.5); }
.btn-filtro { background: transparent; border: none; padding: 12px 22px; font-family: 'Outfit', sans-serif; font-weight: 600; color: #555; border-radius: 30px; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); font-size: 0.95rem; display: flex; align-items: center; gap: 8px;}
.btn-filtro:hover { background: #fff5f7; color: var(--vino); transform: translateY(-2px); }
.btn-filtro.active-filter { background: var(--vino); color: white; box-shadow: 0 6px 15px rgba(133, 14, 53, 0.35); transform: translateY(-2px); }

.menu-item-dropdown { position: relative; display: inline-block; }
.submenu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); min-width: 200px; background-color: #ffffff; border-radius: 15px; box-shadow: 0px 10px 30px rgba(133, 14, 53, 0.15); padding: 8px 0; border: 1px solid var(--rosa-pastel); z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.submenu::before { content: ""; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; background: transparent; }
.menu-item-dropdown:hover .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu a { display: block; padding: 12px 20px; color: #444; text-decoration: none; font-size: 0.9rem; font-weight: 500; text-align: left; transition: all 0.2s ease; border-left: 3px solid transparent; }
.submenu a:hover { background-color: #fff5f7; color: var(--vino); font-weight: 700; padding-left: 25px; border-left: 3px solid var(--vino); }

/* GRID PRODUCTOS */
.main-content { max-width: 1200px; margin: auto; padding: 0 20px 60px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px; }
.card { background: white; border-radius: 15px; overflow: hidden; position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.08); transition: 0.3s; border: 1px solid #eee; }
.status-tag { position: absolute; top: 15px; right: 15px; background: var(--rosa-banner); color: white; padding: 5px 12px; border-radius: 10px; font-size: 0.65rem; font-weight: 800; z-index: 5; }
.img-box { position: relative; overflow: hidden; }
.img-box img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: 0.5s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(133,14,53,0.15); }
.card:hover .img-box img { transform: scale(1.05); }
.info { padding: 25px 20px; text-align: left; background-color: var(--rosa-pastel); }
.category-label { font-size: 0.7rem; color: var(--vino); font-weight: 700; margin-bottom: 8px; display: block; text-transform: uppercase; letter-spacing: 1px;}
.info h3 { margin: 0 0 15px 0; font-size: 1.4rem; font-weight: 700; color: #1a1a1a; transition: color 0.3s;} 
.info h3:hover { color: var(--rosa-banner); }
.price-container { margin-bottom: 20px; display: block; }
.current-price { font-size: 1.2rem; font-weight: 700; color: var(--vino); }
.old-price-card { text-decoration: line-through; color: #777; font-size: 0.9rem; margin-right: 8px; }
.btn-pedido { display: block; width: 100%; background: var(--vino); color: white; text-align: center; padding: 14px 0; text-decoration: none; font-weight: 700; border-radius: 8px; transition: 0.3s; font-family: 'Outfit'; border: none;}
.btn-pedido:hover { background: #610a26; color: white; }
.footer-morado { background: var(--vino); color: white; padding: 50px; text-align: center; }
.producto-agotado { opacity: 0.7; filter: grayscale(1); }
.btn-agotado { background: #ccc !important; color: #666 !important; pointer-events: none;}

/* FLOTANTES */
.flotantes-container { position: fixed; bottom: 25px; right: 25px; display: flex; flex-direction: column; gap: 15px; z-index: 3000; }
.btn-flotante { width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 30px; text-decoration: none; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: transform 0.1s ease, box-shadow 0.3s ease; }
.btn-flotante:hover { box-shadow: 0 15px 25px rgba(0,0,0,0.3); }
.whatsapp-flotante { background-color: #25D366; }
.instagram-flotante { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.squad-section { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #fdf6f5 0%, #fae8e8 100%); padding: 60px 50px; border-radius: 24px; margin: 60px auto; max-width: 1200px; gap: 50px; box-shadow: 0 15px 40px rgba(139, 24, 52, 0.05); border: 1px solid rgba(139, 24, 52, 0.08); }
.squad-text-content { flex: 1; max-width: 400px; text-align: left; }
.squad-text-content .tag-accent { display: inline-block; background: var(--vino); color: #fff; padding: 6px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; margin-bottom: 20px; box-shadow: 0 4px 10px rgba(139, 24, 52, 0.2); }
.squad-text-content h2 { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--vino); margin-bottom: 20px; line-height: 1.1; margin-top: 0; }
.squad-text-content p { font-size: 1.15rem; color: #666; margin-bottom: 35px; line-height: 1.6; font-family: 'Outfit', sans-serif; }
.btn-squad { display: inline-block; background-color: var(--vino); color: white; padding: 16px 35px; border-radius: 50px; text-decoration: none; font-weight: 700; transition: transform 0.1s ease, box-shadow 0.3s ease; box-shadow: 0 8px 15px rgba(139, 24, 52, 0.2); font-family: 'Outfit', sans-serif; }
.btn-squad:hover { background-color: #a31838; color: #fff; box-shadow: 0 12px 25px rgba(139, 24, 52, 0.3); }
.squad-gallery-duo { flex: 2; display: flex; gap: 20px; height: 400px; }
.squad-item-duo { flex: 1; position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); background-color: #fff; }
.squad-item-duo img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s ease; }
.item-label { position: absolute; bottom: 20px; left: 20px; background: rgba(255, 255, 255, 0.95); color: var(--vino); padding: 8px 20px; border-radius: 30px; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(5px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.squad-item-duo:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(139, 24, 52, 0.15); }
.squad-item-duo:hover img { transform: scale(1.03); }
/* =========================================
   📱 CELULARES (AJUSTES CORREGIDOS Y REDISEÑADOS)
========================================= */
@media (max-width: 768px) { 
    /* HEADER (Esto ya estaba bien) */
    .header-container { grid-template-columns: 1fr; gap: 10px; padding: 0 15px; }
    .header-logo-area { order: -1;} 
    .header-nav-links { justify-content: center; width: 100%; }
    .header-icons { justify-content: center; width: 100%;}
    .submenu { position: absolute; left: 0; transform: none; width: 220px; }
    .flotantes-container { bottom: 15px; right: 15px; gap: 10px; }
    .btn-flotante { width: 50px; height: 50px; font-size: 25px; }

    /* 1. SLIDER / HERO - Centrado, con aire y sin amontonarse */
    .promo-container-wrapper { padding: 0 !important; margin: 20px auto !important; width: 100% !important; } 
    .promo-split { 
        flex-direction: column !important; 
        border-radius: 20px !important;
        width: calc(100% - 40px) !important; /* Le da espacio a los lados para que respire */
        margin: 0 auto !important;
        box-sizing: border-box !important;
    } 
    .promo-image { width: 100% !important; height: 300px !important; }
    .promo-details { 
        width: 100% !important; 
        padding: 30px 20px !important; 
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; 
        justify-content: center !important;
        text-align: center !important; 
        box-sizing: border-box !important; 
    }
    .promo-details h2 { font-size: 1.8rem !important; text-align: center !important; margin: 0 auto 15px auto !important; width: 100% !important; }
    .promo-details p { text-align: center !important; margin: 0 auto 20px auto !important; width: 100% !important; }
    .slider-dots { justify-content: center !important; width: 100% !important; }

    /* 2. SECCIÓN MATCH / TUS FAVORITOS (Para que salgan las 2 fotos y no colapsen) */
    .squad-section { 
        flex-direction: column !important; /* Apila el texto y las fotos verticalmente */
        padding: 30px 20px !important; 
        gap: 20px !important;
        margin: 30px 15px !important;
        border-radius: 20px !important;
    }
    .squad-text-content { max-width: 100% !important; text-align: center !important; margin: 0 auto !important;}
    .squad-text-content h2 { font-size: 2.2rem !important; text-align: center !important; }
    .squad-text-content p { text-align: center !important; }
    .squad-gallery-duo { 
        width: 100% !important; 
        height: auto !important; /* Quita el alto fijo para que no se escondan */
        flex-direction: column !important; /* Las fotos van una arriba de la otra */
        display: flex !important;
        gap: 15px !important;
    }
    .squad-item-duo { 
        height: auto !important; 
        min-height: 250px !important; /* Asegura que la foto siempre se vea y tenga tamaño */
        width: 100% !important; 
        display: block !important;
    }

    /* 3. BARRA DE FILTROS (DISEÑO VERTICAL TIPO MENÚ) */
    .filter-bar-wrapper { 
        position: static !important;
        top: auto !important; 
        background-color: transparent !important; 
        padding: 0 !important;
        margin: 15px auto !important;
        width: 100% !important;
    } 
    .filter-bar { 
        display: flex !important; 
        flex-direction: column !important; /* ¡FUERZA LISTA VERTICAL! */
        align-items: center !important;
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(5px);
        padding: 15px !important;
        border-radius: 15px !important;
        width: calc(100% - 30px) !important; /* Aire a los lados */
        margin: 0 auto !important;
        box-shadow: 0 5px 20px rgba(133, 14, 53, 0.08) !important;
        overflow: visible !important; /* No más scroll horizontal */
    }
    .filter-bar::-webkit-scrollbar { display: none; } 
    .btn-filtro { 
        display: block !important;
        width: 100% !important; /* Botones a todo lo ancho */
        max-width: 250px; 
        text-align: center !important;
        margin: 5px auto !important;
        padding: 12px !important;
        font-size: 0.95rem !important;
        color: var(--vino) !important;
        border: 1px solid rgba(133, 14, 53, 0.1) !important;
        background: #fff;
        white-space: normal !important; /* Deja que el texto baje si es largo */
    }
    .btn-filtro.active-filter {
        background: var(--vino) !important;
        color: #fff !important;
        box-shadow: none !important;
    }

    /* 4. GORROS Y ESPACIO EN BLANCO HASTA ABAJO */
    .grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; padding: 0 10px !important; } 
    .card { 
        display: flex !important; 
        flex-direction: column !important; 
        height: 100% !important; 
        justify-content: space-between !important;
    }
    .info { 
        display: flex !important; 
        flex-direction: column !important; 
        flex-grow: 1 !important; /* Esto estira la tarjeta para rellenar el espacio blanco */
        justify-content: space-between !important;
        padding: 15px 10px !important;
    }
    .info h3 { font-size: 1.1rem !important; margin-bottom: 10px !important; }
    .btn-pedido { margin-top: auto !important; } /* Esto empuja el botón siempre hasta abajo */

    /* 5. MODAL DE PRODUCTO (REDISEÑO MÓVIL COMPLETO Y FOTOS CHICAS ABAJO) */
    .modal-content { 
        flex-direction: column !important; /* Imagen arriba, info abajo */
        overflow-y: auto !important; /* Permite scroll vertical interno */
        max-height: 90vh !important; /* Limita la altura al 90% de la pantalla */
        width: 95% !important; 
        border-radius: 20px !important;
    } 
    .modal-left { 
        width: 100% !important; 
        padding: 15px !important; 
        border-right: none !important; 
        border-bottom: 1px solid #eaeaea !important;
        background: #fff !important;
        overflow-y: visible !important; 
    } 
    .modal-main-img { 
        max-height: 200px !important; /* IMAGEN PRINCIPAL MÁS CHICA */
        object-fit: contain !important; 
        margin-bottom: 10px !important;
        padding: 5px !important;
    }
    /* AQUÍ ESTÁ LA MAGIA PARA LAS FOTOS DE ABAJO */
    .modal-thumbnails { 
        display: flex !important; 
        gap: 8px !important; 
        flex-wrap: nowrap !important; /* Fila horizontal */
        justify-content: center !important; 
        width: 100% !important;
        overflow-x: auto !important; /* Scroll horizontal si hay muchas miniaturas */
        margin-top: 5px !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px; 
    }
    .modal-thumb { 
        width: 50px !important; /* Cuadritos chiquitos */
        height: 50px !important; 
        border-radius: 8px !important;
        flex-shrink: 0; 
    }
    .modal-right { 
        width: 100% !important; 
        padding: 20px 15px !important; 
    } 
    .modal-tag { margin-bottom: 8px !important; padding: 4px 12px !important; font-size: 0.75rem !important;}
    .modal-title { font-size: 1.6rem !important; margin: 0 0 10px 0 !important; text-align: center; } 
    .modal-desc { 
        font-size: 0.9rem !important; 
        margin-bottom: 15px !important; 
        line-height: 1.4 !important;
        border-left: 3px solid var(--rosa-pastel) !important;
    }
    .modal-price-box { 
        padding: 10px 15px !important; 
        border-radius: 12px !important;
        margin: 0 auto 20px auto !important; 
        display: block !important;
        width: fit-content;
    }
    .modal-price { font-size: 1.6rem !important; justify-content: center;} 
    .modal-price-old { font-size: 1.1rem !important; }
    .modal-price span { font-size: 0.8rem !important; }
    .modal-buttons-duo { 
        flex-direction: row !important; /* Botones juntos de nuevo */
        gap: 10px !important;
        width: 100% !important;
    }
    .btn-wa-modal, .btn-modal-cart {
        padding: 12px !important; 
        font-size: 0.9rem !important;
        border-radius: 15px !important;
    }
    .modal-close { 
        top: 10px !important; 
        right: 10px !important; 
        width: 30px !important; 
        height: 30px !important; 
        font-size: 1.1rem !important;
    } 
}

/* MODAL VIP Y CARRITO (GLASSMORPHISM) */
.ver-mas-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(133, 14, 53, 0.4); color: white; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; font-weight: bold; opacity: 0; transition: 0.3s; z-index: 10; pointer-events: none; }
.img-box:hover .ver-mas-overlay { opacity: 1; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; z-index: 99999 !important; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.active { opacity: 1; display: flex; }
.modal-content { background: #fff; width: 90%; max-width: 950px; border-radius: 24px; display: flex; flex-direction: row; position: relative; overflow: hidden; max-height: 90vh; box-shadow: 0 25px 60px rgba(0,0,0,0.4); transform: translateY(50px); transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; color: #fff; z-index: 10; background: var(--vino); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: 0.3s; }
.modal-close:hover { background: var(--rosa-banner); transform: rotate(90deg); }
.modal-left { width: 50%; padding: 30px; display: flex; flex-direction: column; align-items: center; background: linear-gradient(135deg, #fbfbfb 0%, #f0f0f0 100%); border-right: 1px solid #eaeaea; overflow-y: auto; }
.modal-main-img { width: 100%; max-height: 400px; object-fit: contain; border-radius: 16px; margin-bottom: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); transition: opacity 0.3s ease; background: white; padding: 10px; }
.modal-thumbnails { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%; }
.modal-thumb { width: 70px; height: 70px; object-fit: cover; border-radius: 12px; border: 3px solid transparent; opacity: 0.6; transition: all 0.3s ease; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.modal-thumb:hover { opacity: 1; transform: translateY(-3px); }
.modal-thumb.active { border-color: var(--vino); opacity: 1; transform: scale(1.08); box-shadow: 0 8px 15px rgba(133, 14, 53, 0.3); }
.modal-right { width: 50%; padding: 50px 40px; display: flex; flex-direction: column; justify-content: center; background: #fff; overflow-y: auto; }
.modal-tag { display: inline-block; background: #fff0f3; color: var(--vino); padding: 6px 18px; border-radius: 30px; font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; margin-bottom: 15px; align-self: flex-start; border: 1px solid #ffd6e0; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--vino); margin: 0 0 15px 0; line-height: 1.1; }
.modal-desc { color: #666; line-height: 1.7; margin-bottom: 30px; font-size: 1.05rem; border-left: 4px solid var(--rosa-pastel); padding-left: 15px; font-style: italic; flex-grow: 1; }
.modal-price-box { background: #fdf8f9; border: 1px solid #f0e4e6; box-shadow: 0 4px 10px rgba(133, 14, 53, 0.05); padding: 15px 25px; border-radius: 16px; margin-bottom: 30px; display: inline-block; width: fit-content; }
.modal-price { font-size: 2.2rem; font-weight: 800; color: var(--vino); display: flex; align-items: center; gap: 12px; margin: 0;}
.modal-price-old { text-decoration: line-through; color: #a0a0a0; font-size: 1.3rem; font-weight: 600; }
.modal-price span { font-size: 1rem; color: #888; font-weight: 400; margin-left: 5px; }
.btn-wa-modal { background: var(--vino); color: white; border: none; padding: 18px 20px; font-size: 1rem; font-weight: 700; border-radius: 30px; flex: 1; transition: transform 0.1s ease, box-shadow 0.3s ease; box-shadow: 0 10px 20px rgba(133, 14, 53, 0.2); font-family: 'Outfit'; }
.btn-wa-modal:hover { background: #610a26; box-shadow: 0 15px 25px rgba(133, 14, 53, 0.3); color: white; }
.btn-agotado-modal { background: #eee; color: #999; box-shadow: none; border: 1px solid #ccc; width: 100%; pointer-events:none;}
@media (max-width: 768px) { .modal-content { flex-direction: column; overflow-y: auto; max-height: 95vh; width: 95%; } .modal-left { width: 100%; padding: 20px; border-right: none; border-bottom: 1px solid #eaeaea; } .modal-right { width: 100%; padding: 30px 20px; } .modal-title { font-size: 2rem; } .modal-price { font-size: 1.8rem; } .modal-close { top: 10px; right: 10px; } .modal-buttons-duo { flex-direction: column; } }

.cart-icon-container { position: relative; display: inline-block; }
.cart-count-badge { position: absolute; top: -8px; right: -12px; background: var(--vino); color: white; border-radius: 50%; padding: 2px 7px; font-size: 0.75rem; font-weight: 800; border: 2px solid white; font-family: 'Outfit'; box-shadow: 0 2px 5px rgba(0,0,0,0.2); transition: transform 0.2s; }
.botones-card-container { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; width: 100%; }
.modal-buttons-duo { display: flex; gap: 15px; width: 100%; margin-top: 10px; }
.btn-add-carrito { background: white; color: var(--vino); border: 2px solid var(--vino); }
.btn-add-carrito:hover { background: #fff5f7; color: var(--vino); }
.btn-modal-cart { background: white; color: var(--vino); border: 2px solid var(--vino); padding: 18px 20px; font-size: 1rem; font-weight: 700; border-radius: 30px; flex: 1; transition: transform 0.1s ease, box-shadow 0.3s ease; font-family: 'Outfit'; }
.btn-modal-cart:hover { background: #fff0f3; box-shadow: 0 5px 15px rgba(133, 14, 53, 0.1); }

/* Carrito con Glassmorphism */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 99999 !important; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: -100%; width: 420px; max-width: 90%; height: 100vh; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); box-shadow: -10px 0 30px rgba(0,0,0,0.15); border-left: 1px solid rgba(255,255,255,0.5); display: flex; flex-direction: column; transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); z-index: 100000 !important; }
.cart-overlay.active .cart-drawer { right: 0; }
.cart-header { padding: 25px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(200,200,200,0.3); }
.cart-header h2 { margin: 0; font-family: 'Playfair Display', serif; color: var(--vino); font-size: 1.8rem; }
.close-cart { font-size: 1.8rem; color: #555; transition: 0.3s; }
.close-cart:hover { color: var(--vino); transform: rotate(90deg); }
.cart-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.cart-empty-msg { text-align: center; color: #999; margin-top: 50px; font-size: 1.1rem; }
.cart-item { display: flex; gap: 15px; background: rgba(255,255,255,0.6); padding: 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.8); position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.02);}
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding-right: 20px;}
.cart-item-title { margin: 0 0 5px 0; font-size: 1.1rem; color: var(--vino); font-weight: 700; line-height: 1.2; }
.cart-item-price { color: var(--rosa-banner); font-weight: 700; font-size: 1rem; }
.cart-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.btn-qty { background: white; border: 1px solid #ccc; color: #555; width: 30px; height: 30px; border-radius: 6px; font-weight: bold; display: flex; align-items: center; justify-content: center; transition: 0.2s; font-size: 1rem;}
.btn-qty:hover { background: var(--vino); color: white; border-color: var(--vino); }
.item-qty { font-weight: 600; font-size: 1rem; width: 25px; text-align: center; color: #333; }
.btn-remove-item { position: absolute; top: 15px; right: 15px; color: #ccc; background: none; border: none; font-size: 1.2rem; transition: 0.2s; }
.btn-remove-item:hover { color: red; transform: scale(1.1); }
.cart-footer { padding: 25px; border-top: 1px solid rgba(200,200,200,0.3); box-shadow: 0 -5px 15px rgba(0,0,0,0.03);}
.cart-total { display: flex; justify-content: space-between; font-size: 1.5rem; font-weight: 800; color: var(--vino); margin-bottom: 20px; font-family: 'Playfair Display', serif; }
.btn-checkout { background: var(--vino); color: white; border: none; padding: 20px; width: 100%; border-radius: 30px; font-size: 1.1rem; font-weight: 700; font-family: 'Outfit', sans-serif; transition: transform 0.1s ease, box-shadow 0.3s ease; display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-checkout:hover { box-shadow: 0 10px 20px rgba(133,14,53,0.3); }
.btn-agotado {
    background-color: #f2f2f2;
    color: #999;
    border: 2px dashed #ccc;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    cursor: not-allowed;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* =========================================
   🚀 OPTIMIZACIÓN DE RENDIMIENTO (GPU)
========================================= */
.card, 
.slide, 
#identidad-img, 
#identidad-video,
.modal-content,
.cart-drawer {
    transform: translateZ(0); /* Fuerza la aceleración por Hardware */
    backface-visibility: hidden;
    will-change: transform, opacity;
}

/* Mejora para las imágenes lazy load para que no salten */
img {
    content-visibility: auto; 
}

/* =========================================
   🚀 MODAL TURBO & SMOOTH
========================================= */

/* Aceleración para el modal */
#modal-producto {
    backdrop-filter: blur(5px); /* Se ve pro y moderno */
    transition: all 0.3s ease;
}

.modal-content {
    transform: translateZ(0); /* Fuerza a la tarjeta de video a trabajar */
    will-change: opacity, transform;
    border-radius: 20px;
    overflow: hidden;
}
/* Evita que la imagen grande rompa el layout mientras carga */
.img-modal-optimizada {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1; /* Mantiene el espacio cuadrado antes de que cargue la foto */
    object-fit: cover;
    background: #f0f0f0; /* Color de fondo mientras descarga */
    border-radius: 15px;
}

/* Animación de entrada suave */
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content {
    animation: modalFadeIn 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* =========================================
   🚀 ANIMACIÓN FLY-TO-CART
========================================= */
.flying-img {
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 999999;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    pointer-events: none; /* Esto evita que la foto voladora bloquee tus clics o el cursor */
}

.cart-bounce {
    animation: cartBounce 0.4s ease;
}
