/* =============================================================
   MÓDULO: OLIVIA BURTON (TEMA PRIMAVERAL / GLASSMORPHISM)
   ============================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Lato', sans-serif;
    background-color: #fff9fc; 
    color: #4a2c3a; 
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Cinzel', serif; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- NAVBAR (Degradado Femenino) --- */
.navbar { 
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; position: sticky; top: 0; z-index: 1000;
    background: linear-gradient(to right, #4a2c3a, #d23669);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.navbar a { color: #eee; } 
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; display: flex; align-items: center; gap: 12px; color: #fff; }
.logo img { height: 45px; width: auto; object-fit: contain; }
.logo span { color: #ffb7c5; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { font-size: 0.9rem; letter-spacing: 1px; font-weight: bold; text-transform: uppercase; }
.nav-links a:hover { color: #ffb7c5; }

/* --- HERO & ANIMACIONES --- */
.hero-olivia {
    min-height: 65vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    background: linear-gradient(to top, #f8cdda 0%, #a8edea 100%);
    border-bottom: 4px solid #ff69b4; padding: 40px 20px;
}
.spring-engine { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.spring-element { position: absolute; bottom: -50px; font-size: 30px; opacity: 0.7; animation: floatUp linear infinite; }
@keyframes floatUp {
    0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
    20% { opacity: 0.8; }
    100% { transform: translateY(-70vh) rotate(360deg) scale(1.2); opacity: 0; }
}

.brand-intro-glass {
    position: relative; z-index: 10;
    background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(10px);
    padding: 3rem; border-radius: 20px; max-width: 900px; text-align: center;
    border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 15px 40px rgba(210, 54, 105, 0.15);
}
.titulo-londres { font-size: clamp(2rem, 5vw, 3.5rem); color: #6a2c70; margin-bottom: 1.5rem; text-shadow: 2px 2px 0px #fff; }
.olivia-story { font-family: 'Manrope', sans-serif; font-size: 1.05rem; line-height: 1.8; color: #4a2c3a; }
.olivia-story strong { color: #d23669; font-weight: 700; }

/* --- CONTROLES Y TARJETAS --- */
.section-padding { padding: 4rem 5%; max-width: 1400px; margin: 0 auto; }
.catalog-controls { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.catalog-controls input, .catalog-controls select {
    background: #fff; border: 1px solid #ffb7c5; color: #333;
    border-radius: 20px; padding: 12px 20px; outline: none; transition: 0.3s;
}
.catalog-controls input:focus, .catalog-controls select:focus { border-color: #d23669; box-shadow: 0 0 10px rgba(210, 54, 105, 0.2); }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2.5rem; }

.product-card {
    background: #ffffff; border: 1px solid #ffc0cb; border-radius: 16px;
    box-shadow: 0 10px 20px rgba(210, 54, 105, 0.05); transition: all 0.3s ease;
    overflow: hidden; text-align: center; padding: 1.5rem; cursor: pointer;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(210, 54, 105, 0.2); border-color: #d23669; }
.product-card img { width: 100%; height: 250px; object-fit: contain; padding: 10px; transition: transform 0.5s ease; }
.product-card:hover img { transform: scale(1.05); }
.product-card h4 { color: #5d2e46; font-weight: 700; margin: 10px 0 5px 0; font-size: 1.1rem; }
.product-card .price { color: #d23669; font-size: 1.4rem; font-weight: 800; }
.category-tag { color: #885a7a; background: #fff0f5; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; letter-spacing: 1px; display: inline-block; margin-bottom: 5px; text-transform: uppercase; }

/* =========================================
   ESTRUCTURA BASE DEL MODAL (COMPACTO Y CRO + ESTILO OLIVIA)
   ========================================= */
.modal {
    display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6); align-items: center; justify-content: center; overflow-y: auto; padding: 0;
}
.modal-content {
    background: rgba(255, 245, 247, 0.98); border: 1px solid #ffb7c5; border-radius: 24px;
    box-shadow: 0 20px 50px rgba(210, 54, 105, 0.25); color: #5d2e46;
    position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
    width: 92%; max-width: 420px; padding: 2.5rem 1rem 1rem 1rem; margin: auto;
}
.close-btn { position: absolute; top: 5px; right: 10px; font-size: 2.5rem; color: #d23669; cursor: pointer; font-weight: 300; line-height: 1; z-index: 20; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.galeria-container { position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; width: 100%; }
.modal-content img { width: 100%; height: auto; max-height: 250px; object-fit: contain; border-radius: 12px; }
.nav-btn { background: rgba(255,255,255,0.8); color: #d23669; border: 1px solid #ffc0cb; border-radius: 50%; padding: 10px; font-size: 1rem; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; transition: 0.3s; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.nav-btn:hover { background: #d23669; color: #fff; }
.prev { left: -5px; } .next { right: -5px; }

#modal-titulo { color: #d23669; font-size: 1.3rem; margin-bottom: 5px; text-transform: uppercase; }
#modal-precio { color: #d23669; font-size: 1.5rem !important; margin: 0 0 5px 0 !important; font-weight: 700; }
#modal-descripcion { color: #885a7a; border-top: 1px solid #ffe4e1; border-bottom: 1px solid #ffe4e1; font-style: italic; margin: 0.5rem 0 !important; padding: 5px 0 !important; font-size: 0.85rem !important; line-height: 1.4 !important; max-height: 65px; overflow-y: auto; }
#modal-descripcion::-webkit-scrollbar { width: 3px; }
#modal-descripcion::-webkit-scrollbar-thumb { background: #ffc0cb; border-radius: 10px; }

.privacy-wrapper { color: #5d2e46 !important; margin: 3px 0 !important; font-size: 0.75rem !important; display: flex; align-items: center; justify-content: center; gap: 8px; }
.privacy-wrapper a { color: #d23669 !important; text-decoration: underline; font-weight: bold; }
.privacy-wrapper input[type="checkbox"] { accent-color: #d23669; width: 16px; height: 16px; cursor: pointer; }

.btn-llamada-doble {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); color: #5d2e46;
    border: none; box-shadow: 0 8px 20px rgba(255, 154, 158, 0.4); border-radius: 50px;
    padding: 10px !important; margin-top: 10px !important; transition: transform 0.2s ease;
    display: flex; flex-direction: column; align-items: center; width: 100%;
}
.btn-llamada-doble:hover { transform: scale(1.02); }
.btn-llamada-doble .texto-grande { font-weight: 800; letter-spacing: 1px; font-size: 0.8rem !important; margin-bottom: 2px !important; }
.btn-llamada-doble .texto-pequeno { font-weight: 500; font-size: 0.95rem !important; }

/* --- FOOTER --- */
footer { background: linear-gradient(to bottom, #fff0f5, #ffe4e1); color: #6a2c70; padding: 3rem 5% 1rem; border-top: 3px dashed #ffb7c5; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.contact-details h3 { color: #d23669; margin-bottom: 1rem; font-weight: 700; }
.contact-details p { margin-bottom: 0.3rem; }
.legal-links { margin-top: 10px; font-size: 0.75rem; text-align: center; }
.legal-links a { color: #d23669; text-decoration: none; font-weight: bold; }

/* --- MÓVIL --- */
@media (max-width: 768px) {
    .burger { display: block; cursor: pointer; }
    .burger div { width: 25px; height: 2px; background-color: #ffb7c5; margin: 5px; transition: all 0.3s ease; }
    .nav-links { background: linear-gradient(135deg, #fff0f5 0%, #ffe4e1 100%) !important; border-left: 4px solid #ffb7c5; position: absolute; right: 0; top: 70px; height: 90vh; width: 80%; flex-direction: column; transform: translateX(100%); transition: 0.5s ease; justify-content: center; box-shadow: -5px 0 20px rgba(210, 54, 105, 0.2); }
    .nav-links.nav-active { transform: translateX(0%); }
    .nav-links a { color: #5d2e46 !important; border-bottom: 1px dashed rgba(210, 54, 105, 0.1); width: 80%; text-align: center; padding-bottom: 10px; }
    
    .modal-content { padding: 2rem 0.8rem 1rem 0.8rem; margin: 2vh auto; }
    .modal-content img { max-height: 180px !important; }
    #modal-descripcion { max-height: 50px; }
}