        :root {
            --primary: #1a365d;
            --secondary: #0d9488;
            --accent: #f59e0b;
            --light: #f8fafc;
            --dark: #0f172a;
            --gray: #64748b;
            --danger: #ef4444;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.6;
        }

        /* Header Corporativo Fijo */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.8rem 4%;
            z-index: 1000;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

        .logo-container img {
            width: 45px;
            height: 45px;
            object-fit: cover;
            border-radius: 50%;
        }

        .logo-container span {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--primary);
        }

        .quick-nav {
            display: flex;
            gap: 18px;
            align-items: center;
        }

        .quick-nav a {
            text-decoration: none;
            color: var(--primary);
            font-weight: 600;
            font-size: 0.85rem;
            transition: color 0.2s;
        }

        .quick-nav a:hover {
            color: var(--secondary);
        }

        .nav-buttons {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .btn-volver {
            background: var(--primary);
            color: white;
            padding: 0.45rem 0.9rem;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.8rem;
            transition: background 0.3s;
        }

        .btn-volver:hover { background: var(--secondary); }

        .cart-btn {
            background: var(--accent);
            color: var(--dark);
            border: none;
            padding: 0.45rem 0.9rem;
            border-radius: 30px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.85rem;
            box-shadow: 0 4px 10px rgba(245, 158, 11, 0.95);
            transition: transform 0.2s;
        }
        .cart-btn:hover { transform: scale(1.05); }

        /* Hero Banner */
        .hero-tienda {
            height: 38vh;
            background: linear-gradient(rgba(15, 23, 42, 0.5), 
            rgba(15, 23, 42, 0.7)), 
            url('PRODUCTOVENDER/IMAGENPRODUCTOVENDER/empresafondo.jpg') center/cover no-repeat;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            padding: 0 1rem;
            margin-top: 70px;
        }

        .hero-tienda h1 {
            font-size: 2.3rem;
            font-weight: 800;
            margin-bottom: 0.4rem;
            color: var(--accent);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .hero-tienda p {
            font-size: 1.05rem;
            font-weight: 500;
            color: #f1f5f9;
        }

        section {
            padding: 3.5rem 4%;
        }

        .section-title {
            font-size: 1.7rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            font-weight: 700;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 45px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
        }

        /* SECCIÓN: Promociones del Mes (Corrección de contenedor y badges estables) */
        .promo-wrapper {
            position: relative;
            display: flex;
            align-items: center;
        }

        .promo-slider-container {
            display: flex;
            gap: 1.5rem;
            overflow-x: auto;
            padding: 1rem 0.5rem;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
        }

        .promo-slider-container::-webkit-scrollbar { height: 6px; }
        .promo-slider-container::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

        .promo-card {
            min-width: 280px;
            flex: 0 0 280px;
            background: linear-gradient(145deg, #ffffff, #fffbeb);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
            scroll-snap-align: start;
            border: 2px solid var(--accent);
            display: flex;
            flex-direction: column;
            transition: transform 0.3s;
            position: relative;
        }

        .promo-card:hover { transform: translateY(-5px); }

        .promo-img-box {
            position: relative;
            height: 180px;
            cursor: pointer;
            overflow: hidden;
            background: #fff;
        }

        .promo-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .promo-card:hover .promo-img-box img { transform: scale(1.08); }

        /* Badge corregido para que no flote fuera de su tarjeta ni parpadee */
        .promo-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--danger);
            color: white;
            font-size: 0.7rem;
            font-weight: 800;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.25);
            z-index: 5;
            pointer-events: none;
        }

        .zoom-hint {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background: rgba(0,0,0,0.6);
            color: white;
            padding: 4px 10px;
            font-size: 0.7rem;
            border-radius: 6px;
            font-weight: 600;
            z-index: 5;
        }

        .slider-arrow {
            background: var(--primary);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.5);
            position: absolute;
            z-index: 10;
            transition: background 0.2s;
        }
        .slider-arrow:hover { background: var(--secondary); }
        .arrow-left { left: -20px; }
        .arrow-right { right: -20px; }

        /* SECCIÓN: Próximas Promociones */
        .proximas-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
        }

        .banner-promo-diagonals {
            border-radius: 20px;
            min-height: 260px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            display: flex;
            align-items: center;
            padding: 2rem;
        }

        .banner-madre-bg {
            background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(139, 92, 246, 0.4)), 
            url('PRODUCTOVENDER/IMAGENPRODUCTOVENDER/AMORAMISTAD.jpg') center/cover;
        }

        .banner-padre-bg {
            background: linear-gradient(135deg, rgba(2, 132, 199, 0.3), rgba(15, 23, 42, 0.4)), 
            url('PRODUCTOVENDER/IMAGENPRODUCTOVENDER/BRUJITOS.jpg') center/cover;
        }

        .banner-content-split {
            z-index: 2;
            color: white;
            max-width: 85%;
        }

        .banner-content-split h3 {
            font-size: 1.8rem;
            font-weight: 800;
            margin-bottom: 0.6rem;
            color: #fef08a;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.94);
        }

        .banner-content-split p {
            font-size: 1rem;
            margin-bottom: 1rem;
            font-weight: 500;
        }

        /* SECCIÓN: Super Combos Famille */
        .combos-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .combo-card {
            background: linear-gradient(135deg, #ffffff, #f0fdf4);
            border-radius: 20px;
            padding: 1.5rem;
            box-shadow: 0 10px 30px rgba(13, 148, 136, 0.4);
            border: 3px solid var(--secondary);
            text-align: center;
            position: relative;
            overflow: hidden;
            transition: transform 0.3s;
        }
        .combo-card:hover { transform: translateY(-5px); }

        .combo-badge-top {
            display: inline-block;
            background: var(--accent);
            color: var(--dark);
            padding: 4px 12px;
            font-size: 0.7rem;
            font-weight: 800;
            border-radius: 20px;
            margin-bottom: 10px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.91);
        }

        .combo-img-box {
            position: relative;
            height: 190px;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            margin-bottom: 1rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.91);
            background: #fff;
        }

        .combo-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }
        .combo-img-box:hover img { transform: scale(1.06); }

        .combo-card h3 {
            color: var(--primary);
            font-size: 1.3rem;
            font-weight: 800;
            margin-bottom: 0.4rem;
        }

        .combo-precio {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--secondary);
            margin: 0.5rem 0;
        }

        /* SECCIÓN: Catálogo de Productos */
        .catalogo-header-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 2rem;
            background: white;
            padding: 1rem 1.5rem;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }

        .filter-select {
            padding: 0.6rem 1rem;
            border-radius: 8px;
            border: 2px solid var(--secondary);
            font-weight: 600;
            color: var(--primary);
            background: white;
            cursor: pointer;
            outline: none;
            font-size: 0.85rem;
        }

        .product-info {
            padding: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
            flex-grow: 1;
        }

        .product-title {
            font-size: 0.9rem;
            font-weight: 700;
            color: var(--primary);
            line-height: 1.3;
        }

        .product-ref {  font-size: 0.7rem; 
                        color: var(--gray); 
                        font-weight: 600; }
        .product-price {    font-size: 1.1rem; 
                            font-weight: 800; 
                            color: var(--secondary); }
        .product-stock {    font-size: 0.75rem; 
                            font-weight: 600; 
                            color: #059669; }
        .product-mensaje {  font-size: 0.75rem; 
                            color: var(--accent); 
                            font-weight: 700; 
                            font-style: italic; }

        .add-to-cart-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0.7rem;
            font-weight: 700;
            cursor: pointer;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 0.85rem;
            transition: background 0.2s;
        }
        .add-to-cart-btn:hover { background: var(--secondary); }

        /* Modal para Zoom y Galería Múltiple */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.85);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            padding: 2rem;
        }

        .modal-content {
            background: white;
            border-radius: 16px;
            max-width: 600px;
            width: 100%;
            padding: 1.8rem;
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--gray);
            transition: color 0.2s;
        }
        .modal-close:hover { color: var(--danger); }

        .modal-img-principal {
            width: 100%;
            height: 280px;
            object-fit: contain;
            background: #f8fafc;
            border-radius: 10px;
            border: 1px solid #e2e8f0;
        }

        .modal-gallery-thumbnails {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 5px;
        }

        .modal-thumb {
            width: 65px;
            height: 65px;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: border-color 0.2s;
        }
        .modal-thumb.active, .modal-thumb:hover { border-color: var(--secondary); }

        /* Carrito Lateral */
        .cart-modal {
            display: none;
            position: fixed;
            top: 0;
            right: 0;
            width: 380px;
            max-width: 100%;
            height: 100%;
            background: white;
            z-index: 2500;
            box-shadow: -5px 0 25px rgba(0,0,0,0.2);
            flex-direction: column;
            padding: 1.5rem;
        }

        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 1rem;
        }

        .cart-items {
            flex-grow: 1;
            overflow-y: auto;
            padding: 1rem 0;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        .cart-item-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f8fafc;
            padding: 0.7rem;
            border-radius: 8px;
            border-left: 4px solid var(--secondary);
            font-size: 0.85rem;
        }

        .whatsapp-send-btn {
            background: #25d366;
            color: white;
            border: none;
            padding: 0.8rem;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.95rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            text-decoration: none;
            transition: background 0.2s;
        }
        .whatsapp-send-btn:hover { background: #1ebd59; }

        footer {
            background: var(--dark);
            color: white;
            text-align: center;
            padding: 2.5rem 2rem;
            margin-top: 4rem;
        }
