/* =========================================
   1. VARIABLES Y RESETEO BÁSICO
   ========================================= */
:root {
    --font-primary: 'Marcellus', serif;       
    --font-display: 'Cinzel', serif;          
    --font-price: 'Cormorant Garamond', serif; 
    --color-text: #333333;
    --color-accent: #000000;
    --bg-light: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--bg-light);
    overflow-x: hidden; 
    padding-top: 130px; /* Espacio para el header fijo */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilidad Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. HEADER Y NAVEGACIÓN (ESTRUCTURA)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
    height: 90px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-icons {
    display: flex;
    gap: 20px;
    font-size: 1.1rem;
    cursor: pointer;
}

.cart-icon {
    position: relative;
}

.cart-icon small {
    position: absolute;
    top: -8px;
    right: -10px;
    background: black;
    color: white;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 50%;
}

/* =========================================
   3. MENÚ DE NAVEGACIÓN
   ========================================= */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    padding: 0 5px;
    cursor: pointer;
}

.nav-link:hover {
    color: #666;
    text-decoration: underline;
}

/* --- Dropdown (Desplegable) --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    border-top: 2px solid #000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    border-bottom: 1px solid #f5f5f5;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f9f9f9;
    color: #000;
}

/* =========================================
   4. MENÚ LATERAL MÓVIL
   ========================================= */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 2000;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.sidebar-header button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-links a {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   5. BREADCRUMBS (Migas de Pan)
   ========================================= */
.breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    font-family: var(--font-primary);
    padding-left: 15px;
    position: relative;
    z-index: 1;
}

.breadcrumbs a {
    text-decoration: none;
    color: #888;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #000;
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumbs .current {
    color: #000;
    font-weight: 600;
}

/* =========================================
   6. RESPONSIVE HEADER Y GLOBAL
   ========================================= */
@media (max-width: 768px) {
    body {
        padding-top: 100px; 
    }

    .nav-links.desktop-only {
        display: none !important;
    }

    .mobile-toggle {
        display: block;
        padding: 5px;
    }

    .navbar { height: 70px; }
    
    .nav-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        padding: 0 15px;
    }

    .nav-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .nav-logo img {
        height: 35px;
    }

    .nav-icons {
        gap: 15px;
    }
}

/* Animación global */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   7. FOOTER (Pie de página)
   ========================================= */
.site-footer {
    background-color: #f9f9f9;
    padding: 60px 0 20px 0;
    /* margin-top: 80px;  <-- REMOVIDO: El margen ahora lo da la barra social */
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #333;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    font-family: var(--font-primary, 'Marcellus', serif);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #000;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: #666;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #000;
    text-decoration: underline;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 2rem;
    color: #444;
    flex-wrap: wrap;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #555;
}

.contact-list i {
    font-size: 1.1rem;
    color: #000;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 35px;
    height: 35px;
    background-color: #000;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s;
}

.social-btn:hover {
    transform: translateY(-3px);
    background-color: #444;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        gap: 30px;
    }
    .footer-col { text-align: center; }
    .payment-icons, .social-icons, .contact-list li { justify-content: center; }
}
/* =========================================
   8. BARRA REDES SOCIALES (ESTILO KENDRA PRO)
   ========================================= */
.social-banner-full {
    display: flex;                /* Flexbox para centrar perfecto */
    justify-content: center;      /* Centrado horizontal */
    align-items: center;          /* Centrado vertical */
    width: 100vw;                 /* Ancho total de la ventana */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;           /* Truco para que ocupe todo el ancho aunque esté en container */
    margin-right: -50vw;
    background-color: #f4f4f4;    /* Gris elegante */
    padding: 35px 0;              /* Altura generosa */
    margin-top: 80px;             /* Separación de los productos */
    border-top: 1px solid #e0e0e0;
}

.social-banner-content {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;          /* Espaciado elegante entre letras */
    font-size: 0.85rem;
    color: #000;
    display: flex;
    align-items: center;
    gap: 20px;                    /* Espacio entre el texto y el link */
}

/* El texto "SEGUINOS..." */
.social-text {
    font-weight: 500;
    color: #333;
}

/* El enlace de Instagram */
.insta-link-bar {
    text-decoration: none;
    color: #000;
    font-weight: 700;             /* Negrita para destacar */
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    padding: 8px 15px;
    border: 1px solid #000;       /* Borde fino negro */
    transition: all 0.3s ease;
}

.insta-link-bar i {
    font-size: 1.2rem;
}

/* Efecto Hover (al pasar el mouse) */
.insta-link-bar:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* RESPONSIVE: En celular se pone uno arriba del otro */
@media (max-width: 600px) {
    .social-banner-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-banner-full {
        padding: 40px 20px;
    }
}