/* =============================================================
   MÓDULO: ANDREA MARAZZINI (100% INDEPENDIENTE - LUMINOSO)
   ============================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

/* 1. FONDO DE LA PÁGINA (Cristalino y limpio) */
body { 
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f4f7f6 50%, #e6e9f0 100%);
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Cinzel', serif; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* 2. BARRA DE NAVEGACIÓN (Blanca para que destaque el logo) */
.navbar { 
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.95); 
    border-bottom: 1px solid rgba(0,0,0,0.05); 
    backdrop-filter: blur(10px); 
}
.navbar a { color: #333; } 
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; display: flex; align-items: center; gap: 12px; color: #333; }
.logo img { height: 45px; width: auto; object-fit: contain; }
.logo span { background: linear-gradient(45deg, #db2777, #8E2DE2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-size: 0.9rem; letter-spacing: 1px; font-weight: bold; }
.nav-links a:hover { color: #db2777; }
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 2px; background: #333; margin: 5px; transition: all 0.3s ease; }
.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

/* 3. HEADER AMATISTA */
.brand-intro {
    background: linear-gradient(135deg, #4a00e0 0%, #8e2de2 50%, #db2777 100%);
    padding: 5rem 2rem; text-align: center; color: white;
    position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(142, 45, 226, 0.2);
}
.texto-cristal {
    background: linear-gradient(to right, #fff, #ff00cc, #00ffff, #ffff00, #fff);
    background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: brillo-texto 5s linear infinite; font-weight: 700;
}
@keyframes brillo-texto { to { background-position: 200% center; } }

/* 4. CONTROLES DEL CATÁLOGO */
.section-padding { padding: 4rem 5%; max-width: 1400px; margin: 0 auto; position: relative; }
.catalog-controls { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; position: relative; z-index: 2; }
.catalog-controls input, .catalog-controls select {
    background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(0,0,0,0.1); color: #333;
    border-radius: 4px; padding: 12px 20px; font-family: 'Lato', sans-serif;
    backdrop-filter: blur(5px); transition: 0.3s; outline: none;
}
.catalog-controls input:focus, .catalog-controls select:focus { border-color: #8E2DE2; box-shadow: 0 0 15px rgba(142, 45, 226, 0.2); }

/* 5. TARJETAS DE PRODUCTO (Borde brillante sutil) */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2.5rem; position: relative; z-index: 2; }

@keyframes borde-movimiento { 0% { background-position: 0 0, 0% 50%; } 100% { background-position: 0 0, 100% 50%; } }
.product-card {
    position: relative; padding: 1.5rem; border-radius: 12px; transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent; text-align: center; cursor: pointer;
    background-image: linear-gradient(white, white), linear-gradient(45deg, #db2777, #333399, #00ffff, #ffd700, #db2777);
    background-origin: padding-box, border-box; background-clip: padding-box, border-box; background-size: 100% 100%, 400% 400%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.product-card:hover { transform: translateY(-7px); box-shadow: 0 15px 30px rgba(219, 39, 119, 0.2); animation: borde-movimiento 3s linear infinite; }
.product-card img { width: 100%; height: 250px; object-fit: contain; margin-bottom: 1rem; }
.product-card h4 { color: #831843; font-family: 'Cinzel', serif; margin-bottom: 0.5rem; }
.product-card .price { background: linear-gradient(45deg, #db2777, #8E2DE2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.4rem; font-weight: 700; }
.category-tag { color: #999; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; }

/* --- MODAL (Blanco y Rosa) --- */
.modal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(255,255,255,0.9); align-items: flex-start; justify-content: center; overflow-y: auto; padding: 0; }
.modal-content { background-color: #fff; color: #333; padding: 3rem 1.5rem 2rem 1.5rem; text-align: center; width: 90%; max-width: 500px; margin: 10vh auto; position: relative; border: 2px solid #db2777; border-radius: 12px; box-shadow: 0 0 40px rgba(0,0,0,0.2); display: flex; flex-direction: column; align-items: center; }
.close-btn { position: absolute; top: 10px; right: 15px; font-size: 2.5rem; color: #333; cursor: pointer; line-height: 1; z-index: 20; }
.close-btn:hover { color: #db2777; }
.galeria-container { position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; width: 100%; }
.modal-content img { width: 100%; height: auto; max-height: 350px; object-fit: contain; }
.nav-btn { background: rgba(0,0,0,0.1); color: #333; border: none; padding: 15px; font-size: 1.2rem; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; border-radius: 50%; transition: 0.3s; }
.nav-btn:hover { background: #db2777; color: white; }
.prev { left: 0; } .next { right: 0; }
.privacy-wrapper { margin: 15px 0 10px 0; color: #333 !important; font-size: 0.9rem; text-align: left; }
.privacy-wrapper a { color: #db2777 !important; text-decoration: underline; font-weight: bold; }
.btn-llamada-doble { background: linear-gradient(45deg, #db2777, #4A00E0); color: white; padding: 15px; width: 100%; border-radius: 8px; margin-top: 15px; display: block; transition: 0.3s; }
.btn-llamada-doble:hover { transform: scale(1.02); box-shadow: 0 5px 20px rgba(219, 39, 119, 0.4); }

/* --- FOOTER & COOKIES (Estilo Marazzini) --- */
footer { background-color: #0a0a2a; color: #e0e0e0; padding: 4rem 5% 1rem; border-top: 5px solid; border-image: linear-gradient(to right, #ff3399, #6666ff, #00ccff, #33ff99) 1; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3rem; align-items: center; margin-bottom: 3rem; }
.contact-details { flex: 1; min-width: 280px; }
.legal-links { margin-top: 1rem; font-size: 0.8rem; display: flex; justify-content: center; gap: 1.5rem; }
.legal-links a { color: #fff; transition: 0.3s; } .legal-links a:hover { color: #ff3399; }

#cookie-banner { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: #ffffff; color: #333; padding: 25px 20px; z-index: 999999; border-top: 2px solid #db2777; box-shadow: 0 -5px 25px rgba(0,0,0,0.1); }
.cookie-content { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.cookie-text { flex: 1; min-width: 300px; font-size: 0.95rem; }
.cookie-text a { color: #8E2DE2; text-decoration: underline; font-weight: bold; }
.cookie-buttons { display: flex; gap: 15px; min-width: 300px; }
.btn-cookie { flex: 1; padding: 12px 20px; border: 1px solid #8E2DE2; background: transparent; color: #8E2DE2; font-weight: bold; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.btn-cookie:hover { background: #8E2DE2; color: #fff; }

/* 6. ARREGLO DEL MENÚ MÓVIL (Para que se vea BLANCO) */
@media (max-width: 768px) {
    .nav-links { background: rgba(255, 255, 255, 0.98) !important; border-left: 1px solid #fce7f3; width: 80%; position: absolute; right: 0; top: 70px; height: 90vh; flex-direction: column; transform: translateX(100%); transition: 0.5s ease; justify-content: center; box-shadow: -5px 0 15px rgba(0,0,0,0.1); }
    .nav-links a { color: #831843 !important; }
    .nav-active { transform: translateX(0%); }
    .burger { display: block; }
    .brand-intro h1 { font-size: 2.2rem !important; }
}