/* =============================================================
   MÓDULO: BOHEME (REWORK: PRIMAVERA SILVESTRE / LAVANDA & ROSA)
   ============================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Lato', sans-serif;
    background-color: #faf5ff; /* Blanco Lavanda muy brillante */
    color: #3a1b5c; /* Violeta oscuro para textos, mejor contraste */
    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 (Luminosa) --- */
.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); /* Blanca y limpia */
    border-bottom: 2px solid #e9d5ff; /* Borde lila suave */
    backdrop-filter: blur(10px);
}
.navbar a { color: #5b21b6; } /* Violeta vibrante */
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; display: flex; align-items: center; gap: 12px; color: #3a1b5c; }
.logo img { height: 45px; width: auto; object-fit: contain; }
.logo span { color: #7c3aed; } /* Violeta acento */
.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: #a78bfa; } /* Lila claro */

/* --- HERO & ANIMACIONES FLORALES --- */
.hero-boheme {
    min-height: 55vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    /* Degradado alegre: Lila claro -> Rosa pastel -> Blanco */
    background: linear-gradient(135deg, #f3e8ff 0%, #fce7f3 50%, #ffffff 100%);
    border-bottom: 2px solid #fbcfe8; /* Borde rosa suave */
    padding: 60px 20px;
}
.floral-engine { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.floral-element { position: absolute; bottom: -50px; opacity: 0.7; animation: floatUpCheerful linear infinite; }
@keyframes floatUpCheerful {
    0% { transform: translateY(0) rotate(0deg) scale(0.8); opacity: 0; }
    20% { opacity: 0.9; }
    100% { transform: translateY(-80vh) rotate(360deg) scale(1.2); opacity: 0; }
}

.brand-intro-glass {
    position: relative; z-index: 10;
    background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(15px);
    padding: 3rem; border-radius: 20px; max-width: 850px; text-align: center;
    border: 1px solid rgba(233, 213, 255, 0.5); 
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.1); /* Sombra lila sutil */
}
.titulo-boho { font-size: clamp(2.8rem, 6vw, 4.5rem); color: #5b21b6; margin-bottom: 1rem; text-shadow: 2px 2px 0px #fff; letter-spacing: 3px; }
.boho-story { font-family: 'Manrope', sans-serif; font-size: 1.1rem; line-height: 1.8; color: #4c1d95; }
.boho-story strong { color: #7c3aed; font-weight: 700; }

/* --- LOBBY DE COLECCIONES (index.html) --- */
.collections-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem;
    padding: 5rem 5%; max-width: 1400px; margin: 0 auto;
}
.collection-card {
    position: relative; height: 380px; border-radius: 16px; overflow: hidden;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.1); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer;
    background-color: #f3e8ff; 
    display: flex; align-items: flex-end; padding: 2rem; text-decoration: none;
    border: 2px solid transparent;
}
.collection-card img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; transition: 0.6s ease; z-index: 1; opacity: 0.95;
}
.collection-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Degradado de lila oscuro a rosa transparente */
    background: linear-gradient(to top, rgba(91, 33, 182, 0.8) 0%, rgba(252, 231, 243, 0.2) 70%); z-index: 2;
}
.collection-card h3 {
    position: relative; z-index: 3; color: #fff; font-size: 1.9rem; letter-spacing: 2px;
    font-weight: 700; text-transform: uppercase;
    border-bottom: 3px solid #fbcfe8; padding-bottom: 8px; width: 100%; transition: 0.3s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.collection-card:hover { transform: translateY(-12px) scale(1.02); box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2); border-color: #fbcfe8; }
.collection-card:hover img { transform: scale(1.1); opacity: 1; }
.collection-card:hover h3 { color: #fbcfe8; border-color: #fff; }

/* --- CONTROLES Y TARJETAS DE PRODUCTO (coleccion.html) --- */
.section-padding { padding: 5rem 5%; max-width: 1400px; margin: 0 auto; }
.catalog-controls { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 4rem; flex-wrap: wrap; }
.catalog-controls input, .catalog-controls select {
    background: #fff; border: 2px solid #e9d5ff; color: #4c1d95;
    border-radius: 30px; padding: 14px 25px; outline: none; transition: 0.3s; font-family: 'Lato', sans-serif; font-size: 0.95rem;
}
.catalog-controls input:focus, .catalog-controls select:focus { border-color: #a78bfa; box-shadow: 0 0 15px rgba(167, 139, 250, 0.3); }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 3rem; }

.product-card {
    background: #ffffff; border: 1px solid #f3e8ff; border-radius: 12px;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.04); transition: all 0.4s ease;
    text-align: center; padding: 2rem; cursor: pointer; position: relative; overflow: hidden;
}
/* Pequeño detalle floral de fondo en hover */
.product-card::before {
    content: '🌸'; position: absolute; bottom: -20px; right: -20px; font-size: 5rem; opacity: 0; transition: 0.5s; pointer-events: none;
}
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(124, 58, 237, 0.12); border-color: #e9d5ff; }
.product-card:hover::before { opacity: 0.05; transform: scale(1.2) rotate(15deg); }

.product-card img { width: 100%; height: 260px; object-fit: contain; padding: 10px; transition: 0.6s ease; }
.product-card:hover img { transform: scale(1.08); }
.product-card h4 { color: #3a1b5c; font-weight: 700; margin: 15px 0 8px 0; font-size: 1.15rem; font-family: 'Cinzel', serif; letter-spacing: 1px; }
.product-card .price { color: #7c3aed; font-size: 1.5rem; font-weight: 800; }
.category-tag { color: #6d28d9; background: #f3e8ff; padding: 5px 15px; border-radius: 20px; font-size: 0.75rem; letter-spacing: 1px; display: inline-block; margin-bottom: 8px; text-transform: uppercase; font-weight: bold; }

/* --- MODAL COMPACTO CRO (VERSIÓN PRIMAVERA) --- */
.modal { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(58, 27, 92, 0.7); align-items: center; justify-content: center; overflow-y: auto; padding: 0; backdrop-filter: blur(5px); }
.modal-content { background: #fff; border: 1px solid #e9d5ff; border-radius: 20px; box-shadow: 0 25px 60px rgba(58, 27, 92, 0.2); color: #3a1b5c; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; width: 92%; max-width: 430px; padding: 3rem 1.5rem 1.5rem 1.5rem; margin: auto; }
.close-btn { position: absolute; top: 8px; right: 15px; font-size: 2.8rem; color: #a78bfa; cursor: pointer; font-weight: 300; line-height: 1; z-index: 20; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.close-btn:hover { color: #ff69b4; transform: rotate(90deg); }
.galeria-container { position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 0.8rem; width: 100%; }
.modal-content img { width: 100%; height: auto; max-height: 260px; object-fit: contain; border-radius: 12px; }
.nav-btn { background: rgba(255,255,255,0.95); color: #7c3aed; border: 1px solid #e9d5ff; border-radius: 50%; padding: 10px; font-size: 1.1rem; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; transition: 0.3s; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15); }
.nav-btn:hover { background: #7c3aed; color: #fff; border-color: #7c3aed; }
.prev { left: -8px; } .next { right: -8px; }

#modal-titulo { color: #5b21b6; font-size: 1.4rem; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
#modal-precio { color: #7c3aed !important; font-size: 1.6rem !important; margin: 0 0 8px 0 !important; font-weight: 800; }
#modal-descripcion { color: #6d28d9; border-top: 1px solid #f3e8ff; border-bottom: 1px solid #f3e8ff; font-style: italic; margin: 0.8rem 0 !important; padding: 8px 0 !important; font-size: 0.9rem !important; line-height: 1.5 !important; max-height: 70px; overflow-y: auto; background-color: #faf5ff; border-radius: 4px;}
#modal-descripcion::-webkit-scrollbar { width: 4px; }
#modal-descripcion::-webkit-scrollbar-thumb { background: #e9d5ff; border-radius: 10px; }

.privacy-wrapper { color: #4c1d95 !important; margin: 5px 0 !important; font-size: 0.8rem !important; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; }
.privacy-wrapper a { color: #7c3aed !important; text-decoration: underline; font-weight: bold; }
.privacy-wrapper input[type="checkbox"] { accent-color: #ff69b4; width: 18px; height: 18px; cursor: pointer; }

/* Botón WhatsApp Alegre (Lila vibrante a Rosa) */
.btn-llamada-doble {
    background: linear-gradient(135deg, #7c3aed 0%, #ff69b4 100%); color: #fff;
    border: none; box-shadow: 0 10px 25px rgba(255, 105, 180, 0.3); border-radius: 30px;
    padding: 12px !important; margin-top: 15px !important; transition: all 0.3s ease;
    display: flex; flex-direction: column; align-items: center; width: 100%; text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}
.btn-llamada-doble:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(255, 105, 180, 0.5); }
.btn-llamada-doble .texto-grande { font-weight: 800; letter-spacing: 1px; font-size: 0.9rem !important; margin-bottom: 3px !important; text-transform: uppercase;}
.btn-llamada-doble .texto-pequeno { font-weight: 500; font-size: 1rem !important; opacity: 0.95;}

/* --- FOOTER --- */
footer { background: #f3e8ff; color: #4c1d95; padding: 4rem 5% 1.5rem; border-top: 1px solid #e9d5ff; position: relative;}
/* Detalle floral decorativo en el footer */
footer::before { content: '🌿🌸🌿'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: #faf5ff; padding: 0 15px; font-size: 1.2rem; border-radius: 20px; border: 1px solid #e9d5ff;}

.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3rem; }
.contact-details h3 { color: #5b21b6; margin-bottom: 1.2rem; font-weight: 700; letter-spacing: 1px;}
.contact-details p { margin-bottom: 0.5rem; font-size: 0.95rem;}
.legal-links { margin-top: 15px; font-size: 0.8rem; text-align: center; border-top: 1px solid #e9d5ff; padding-top: 1rem;}
.legal-links a { color: #7c3aed; text-decoration: none; font-weight: bold; margin: 0 10px;}
.legal-links a:hover { color: #ff69b4; text-decoration: underline;}

/* --- MÓVIL --- */
@media (max-width: 768px) {
    .navbar { padding: 1rem 20px; }
    .nav-links { background: rgba(255, 255, 255, 0.98) !important; border-left: 4px solid #fbcfe8; position: absolute; right: 0; top: 70px; height: 90vh; width: 85%; flex-direction: column; transform: translateX(100%); transition: 0.5s ease; justify-content: center; box-shadow: -10px 0 30px rgba(124, 58, 237, 0.1); }
    .nav-links.nav-active { transform: translateX(0%); }
    .nav-links a { color: #3a1b5c !important; border-bottom: 1px dashed #e9d5ff; width: 85%; text-align: center; padding-bottom: 12px; font-size: 1rem;}
    
    .hero-boheme { min-height: 45vh; padding: 40px 15px; }
    .brand-intro-glass { padding: 2rem 1.5rem; border-radius: 15px; }
    .titulo-boho { font-size: 2.5rem; }
    
    .collections-grid { padding: 3rem 15px; gap: 1.5rem; }
    .collection-card { height: 320px; padding: 1.5rem; }
    .collection-card h3 { font-size: 1.6rem; }

    .modal-content { padding: 2.2rem 1rem 1rem 1rem; margin: 2vh auto; border-radius: 15px;}
    .modal-content img { max-height: 190px !important; }
    #modal-descripcion { max-height: 55px; }
    #modal-titulo { font-size: 1.2rem; }
}
/* =========================================
   ESPECIFICACIONES TÉCNICAS Y ANEXO (LOBBY)
   ========================================= */

.technical-specs {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(124, 58, 237, 0.3);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
}

.spec-badge {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e9d5ff;
    color: #5b21b6;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.05);
}

.anexo-fabrica {
    margin-top: 1.5rem;
    background: rgba(252, 231, 243, 0.6); /* Fondo rosa pastel muy suave */
    border: 1px solid #fbcfe8;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #9d174d; /* Rosa oscuro elegante para advertencias */
    font-style: italic;
    text-align: left;
    line-height: 1.6;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .technical-specs { gap: 8px; }
    .spec-badge { padding: 5px 12px; font-size: 0.8rem; }
    .anexo-fabrica { font-size: 0.8rem; text-align: center; }
}