/* =============================================================
   STELLA JOYEROS - CORE.CSS (GLOBAL)
   ============================================================= */
:root {
    --gold: #D1D5DB;       
    --dark: #0f0f0f;       
    --grey: #1a1a1a;       
    --text: #e5e5e5;       
    --white: #ffffff;      
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%; overflow-x: hidden; position: relative;
    font-family: 'Lato', sans-serif; color: var(--text);
    line-height: 1.7; background-color: var(--dark);
}

h1, h2, h3, h4 { font-family: 'Cinzel', serif; color: var(--white); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

/* --- ESTRUCTURA GLOBAL --- */
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.section-padding { padding: 5rem 5%; }
.text-center { text-align: center; }
.bg-light { background-color: var(--grey); } 
.bg-dark { background-color: #000; border-top: 1px solid #333; }
.gold-line { width: 60px; height: 3px; background: var(--gold); margin: 1.5rem auto; }

/* --- NAVEGACIÓN --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; background-color: var(--dark);
    box-shadow: 0 2px 10px rgba(255,255,255,0.05);
    position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid #333;
}
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; display: flex; align-items: center; gap: 12px; }
.logo img { height: 45px; width: auto; object-fit: contain; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { color: var(--text); font-size: 0.9rem; letter-spacing: 1px; }
.nav-links a:hover { color: var(--gold); }

/* --- BOTONES --- */
.btn-cita { 
    padding: 10px 24px; border: 2px solid var(--gold); color: var(--gold); 
    text-transform: uppercase; font-size: 0.95rem; font-weight: 700; 
    letter-spacing: 1px; border-radius: 3px; transition: all 0.3s ease;
}
.btn-cita:hover { 
    background: var(--gold); 
    color: var(--dark) !important; /* Blindaje SAKO para que se lea el texto al pasar el ratón */
    box-shadow: 0 0 12px rgba(209, 213, 219, 0.4); 
}

.btn-gold { 
    border: 2px solid var(--gold); color: var(--gold); padding: 15px 35px; 
    text-transform: uppercase; letter-spacing: 2px; font-weight: bold; 
    display: inline-block; transition: 0.3s; border-radius: 3px;
}
.btn-gold:hover { background-color: var(--gold); color: var(--dark); box-shadow: 0 0 15px rgba(209, 213, 219, 0.4); }

/* --- MENU MÓVIL --- */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 2px; background: var(--white); margin: 5px; transition: all 0.3s ease; }
.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); background: var(--gold); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); background: var(--gold); }

/* --- ADAPTACIÓN MÓVIL CORE --- */
@media (max-width: 768px) {
    .nav-links { position: absolute; right: 0; top: 70px; height: 90vh; background: var(--dark); flex-direction: column; width: 80%; transform: translateX(100%); transition: 0.5s ease; justify-content: center; border-top: 1px solid var(--gold); box-shadow: -5px 0 15px rgba(0,0,0,0.5); }
    .nav-active { transform: translateX(0%); }
    .burger { display: block; }
} /* <---- ¡AQUÍ ESTABA EL ERROR! Faltaba esta llave de cierre */

/* =============================================================
   FOOTER UNIVERSAL SAKO
   ============================================================= */
footer { background: #050505; color: #666; padding: 4rem 5% 1rem; border-top: 1px solid #222; }
.footer-content { display: flex; flex-wrap: wrap; gap: 3rem; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.contact-details { flex: 1; min-width: 280px; }
.map-box { flex: 1; min-width: 300px; height: 250px; border-radius: 8px; overflow: hidden; border: 1px solid #333; filter: grayscale(100%) invert(90%) contrast(120%); }
.copyright { text-align: center; margin: 0; color: #666; font-size: 0.9rem; }
.legal-links { margin-top: 1rem; font-size: 0.8rem; opacity: 0.6; display: flex; justify-content: center; gap: 1.5rem; }

/* =============================================================
   BANNER DE COOKIES UNIVERSAL SAKO
   ============================================================= */
#cookie-banner { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background: #0f0f0f; color: #e5e5e5; padding: 25px 20px; z-index: 999999; border-top: 1px solid #333; box-shadow: 0 -5px 25px rgba(0,0,0,0.8); }
.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; line-height: 1.5; text-align: left; }
.cookie-text a { color: #fff; 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 #e5e5e5; background: transparent; color: #ffffff; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; cursor: pointer; border-radius: 4px; transition: all 0.3s ease; text-align: center; }
.btn-cookie:hover { background: #ffffff; color: #000000; }

/* =========================================
   RIBBON / ETIQUETA DE NOVEDAD 
   ========================================= */

.product-card {
    position: relative;
    overflow: hidden; 
}

.ribbon-novedad {
    position: absolute;
    top: 18px;    
    left: -35px;  
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transform: rotate(-45deg);
    z-index: 10;
    pointer-events: none; 
    color: #ffffff;
    padding-top: 11px;    
    padding-bottom: 9px;  
    padding-left: 40px;   
    padding-right: 40px;  
    font-size: 0.65rem !important; 
    font-family: 'Lato', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block; 
    text-align: center;
    width: auto;
}