/* =====================================================
   BELLEZA & ESTILO - CSS MEJORADO
   Versión Premium con diseño moderno
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* =====================================================
   VARIABLES CSS
   ===================================================== */
:root {
    /* Colores principales */
    --primary: #d4a5b0;
    --primary-dark: #c17a9b;
    --primary-light: #f3d9e1;
    --primary-rgb: 212, 165, 176;
    
    --secondary: #8b5a7c;
    --secondary-dark: #6b4e5e;
    --secondary-light: #b58b97;
    --secondary-rgb: 139, 90, 124;
    
    --accent: #e8c1c7;
    --gold: #c9a961;
    
    /* Colores neutros */
    --dark: #5c4b51;
    --dark-rgb: 92, 75, 81;
    --gray-dark: #6c757d;
    --gray: #999;
    --gray-light: #e0e0e0;
    --gray-lighter: #f0f0f0;
    --light: #f8f9fa;
    --white: #ffffff;
    
    /* Fondos */
    --bg-cream: #faf7f5;
    --bg-gradient: linear-gradient(135deg, #fdf8fa 0%, #faf0f3 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(92, 75, 81, 0.08);
    --shadow: 0 10px 30px rgba(92, 75, 81, 0.12);
    --shadow-md: 0 15px 35px rgba(92, 75, 81, 0.15);
    --shadow-lg: 0 20px 50px rgba(139, 90, 124, 0.2);
    --shadow-hover: 0 25px 60px rgba(212, 165, 176, 0.3);
    
    /* Bordes */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* =====================================================
   RESET Y BASE
   ===================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%; /* AÑADIDO */
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-gradient);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex; /* AÑADIDO */
    flex-direction: column; /* AÑADIDO */
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* =====================================================
   MAIN CONTENT - CORREGIDO (VERSIÓN FLEXBOX)
   ===================================================== */
.main-content {
    flex: 1 0 auto; /* AÑADIDO - Esto hace que el contenido ocupe el espacio disponible */
    width: 100%;
}

/* =====================================================
   ANIMACIONES
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(var(--primary-rgb), 0.5); }
    50% { box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.8), 0 0 40px rgba(var(--primary-rgb), 0.4); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Clases de animación */
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeInDown { animation: fadeInDown 0.6s ease forwards; }
.animate-fadeIn { animation: fadeIn 0.5s ease forwards; }
.animate-slideInLeft { animation: slideInLeft 0.6s ease forwards; }
.animate-slideInRight { animation: slideInRight 0.6s ease forwards; }
.animate-scaleIn { animation: scaleIn 0.5s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-bounce { animation: bounce 2s ease-in-out infinite; }
.animate-glow { animation: glow 2s ease-in-out infinite; }

/* Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* =====================================================
   HEADER MEJORADO
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.15);
    transition: all var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
    transition: all var(--transition);
}

.logo:hover .logo-img {
    box-shadow: var(--shadow-glow);
    transform: rotate(5deg);
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary);
    letter-spacing: 1px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navegación */
.main-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: all var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::before {
    width: 100%;
}

/* Dropdowns */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    margin-top: 0.8rem;
    z-index: 100;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--dark);
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-size: 0.9rem;
}

.dropdown-link:hover {
    background: var(--primary-light);
    color: var(--secondary);
    transform: translateX(5px);
}

/* Iconos del header */
.nav-icons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.icon-link {
    color: var(--dark);
    font-size: 1.3rem;
    transition: all var(--transition);
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
}

.icon-link:hover {
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* Menú móvil */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    background: none;
    border: none;
}

.menu-toggle:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(92, 75, 81, 0.7) 0%, rgba(139, 90, 124, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: white;
    color: #5c4b51;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    background: #d4a5b0;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 176, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
}

/* Indicadores de slide */
.hero-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #d4a5b0;
    width: 35px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Flecha scroll */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    z-index: 3;
    animation: bounce 2s infinite;
    opacity: 0.7;
    transition: opacity 0.3s;
    text-decoration: none;
}

.hero-scroll:hover {
    opacity: 1;
}

/* =====================================================
   BOTONES
   ===================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 165, 176, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 176, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-add {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(var(--primary-rgb), 0.3) 100%);
    color: var(--secondary);
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 0 0 var(--radius) var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-add:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* =====================================================
   SECCIONES
   ===================================================== */
.section {
    padding: 5rem 2rem;
}

.section-light {
    background: var(--bg-cream);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   CATEGORÍAS CON IMÁGENES REALES
   ===================================================== */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.categoria-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(92, 75, 81, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.categoria-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 165, 176, 0.3);
}

.categoria-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.categoria-card:hover::before {
    transform: scaleX(1);
}

.categoria-img {
    height: 200px;
    overflow: hidden;
}

.categoria-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.categoria-card:hover .categoria-img img {
    transform: scale(1.1);
}

.categoria-content {
    padding: 1.5rem;
    text-align: center;
}

.categoria-content h3 {
    color: var(--dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.categoria-content p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* =====================================================
   PRODUCTOS CON IMÁGENES REALES
   ===================================================== */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(92, 75, 81, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(212, 165, 176, 0.25);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-img {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.product-tag.destacado {
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: white;
}

.product-tag.nuevo {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.product-tag.oferta {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-categoria {
    color: var(--primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-info h3 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    color: var(--secondary);
    font-size: 1.4rem;
    font-weight: 700;
}

/* =====================================================
   BANNER OFERTAS
   ===================================================== */
.banner-ofertas {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--secondary-light) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-ofertas::before,
.banner-ofertas::after {
    content: '✨';
    position: absolute;
    font-size: 150px;
    opacity: 0.08;
}

.banner-ofertas::before {
    top: -30px;
    right: 5%;
}

.banner-ofertas::after {
    bottom: -40px;
    left: 5%;
}

.oferta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.banner-ofertas h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.banner-ofertas p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.btn-oferta {
    background: white;
    color: var(--secondary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-oferta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: var(--primary-light);
}

/* =====================================================
   SERVICIOS CON IMÁGENES REALES
   ===================================================== */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.servicio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(92, 75, 81, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(212, 165, 176, 0.25);
}

.servicio-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.servicio-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.servicio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.servicio-card:hover .servicio-img img {
    transform: scale(1.1);
}

.servicio-duracion {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.servicio-info {
    padding: 1.5rem;
}

.servicio-info h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.servicio-info p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.servicio-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--primary-light);
}

.servicio-precio {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.servicio-cat {
    font-size: 0.85rem;
    color: var(--gray);
}

.btn-service {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.9rem;
    border-radius: 0 0 20px 20px;
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-service:hover {
    background: var(--primary);
    color: white;
}

/* =====================================================
   NEWSLETTER
   ===================================================== */
.newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.newsletter h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-form button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* =====================================================
   FOOTER - CORREGIDO DEFINITIVAMENTE
   ===================================================== */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, #3d3236 100%);
    color: white;
    padding: 5rem 2rem 2rem;
    margin-top: 0; /* AÑADIDO - Eliminar cualquier margen superior */
    flex-shrink: 0; /* AÑADIDO - Para el sistema flexbox */
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--primary-light);
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--accent);
    text-decoration: none;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-section p {
    color: var(--accent);
    line-height: 1.8;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all var(--transition);
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px) rotate(5deg);
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--accent);
}

.footer-bottom a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* =====================================================
   PÁGINA DE PRODUCTOS
   ===================================================== */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 8rem 2rem 4rem;
    text-align: center;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 1;
}

/* =====================================================
   FOOTER COMPACTO - CORREGIDO DEFINITIVAMENTE
   ===================================================== */

.footer-compact {
    background: var(--secondary-dark);
    color: white;
    margin-top: 0; /* AÑADIDO - Cero margen superior */
    padding: 2.5rem 0 0;
    flex-shrink: 0; /* AÑADIDO - Para el sistema flexbox */
}

.footer-compact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 2rem;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.footer-social .social-link {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Footer Links */
.footer-links-col h4,
.footer-contact-col h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-col ul,
.footer-contact-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col li,
.footer-contact-col li {
    margin-bottom: 0.5rem;
}

.footer-links-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links-col a:hover {
    color: var(--primary);
    padding-left: 0.3rem;
}

.footer-contact-col li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact-col i {
    color: var(--primary);
    font-size: 0.85rem;
    width: 18px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(212, 165, 176, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 165, 176, 0.5);
}

/* =====================================================
   RESPONSIVE HEADER & FOOTER
   ===================================================== */

@media (max-width: 1200px) {
    .mega-menu {
        min-width: 600px;
    }
    
    .search-form input {
        width: 150px;
    }
}

@media (max-width: 1024px) {
    .top-bar {
        display: none;
    }
    
    .menu-toggle-elegant {
        display: flex;
    }
    
    .main-nav-elegant {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 6rem 2rem 2rem;
        transition: right 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-nav-elegant.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--primary-light);
    }
    
    .nav-link {
        padding: 1rem 0;
        width: 100%;
        justify-content: space-between;
    }
    
    .mega-menu,
    .dropdown-menu.elegant {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        min-width: auto;
        padding: 0;
        display: none;
    }
    
    .nav-item.open .mega-menu,
    .nav-item.open .dropdown-menu.elegant {
        display: block;
    }
    
    .mega-menu-container {
        grid-template-columns: 1fr;
    }
    
    .mega-menu-featured {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.8rem 1rem;
    }
    
    .logo-main {
        font-size: 1.1rem;
    }
    
    .logo-sub {
        display: none;
    }
    
    .cart-icon-large {
        width: 45px;
        height: 45px;
    }
    
    .cart-icon-large i {
        font-size: 1.2rem;
    }
    
    .cart-badge-large {
        min-width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact-col li {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .main-nav-elegant {
        width: 100%;
        max-width: none;
    }
    
    .mega-menu-categories {
        grid-template-columns: 1fr;
    }
    
    .cart-icon-large {
        width: 42px;
        height: 42px;
    }
}

/* =====================================================
   ESPECIALISTAS HOME
   ===================================================== */
.especialistas-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.especialista-card-home {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.especialista-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212,165,176,0.15);
}

.especialista-img {
    height: 250px;
    overflow: hidden;
}

.especialista-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.especialista-card-home:hover .especialista-img img {
    transform: scale(1.1);
}

.especialista-info {
    padding: 1.5rem;
    text-align: center;
}

.especialista-info h3 {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.especialista-especialidad {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.especialista-descripcion {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-agendar {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-agendar:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* =====================================================
   OFERTAS HOME
   ===================================================== */
.ofertas-section {
    padding: 4rem 2rem;
    background: var(--light);
}

.ofertas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.oferta-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-light);
}

.oferta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212,165,176,0.2);
}

.oferta-img {
    height: 180px;
    overflow: hidden;
}

.oferta-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oferta-content {
    padding: 1.5rem;
}

.oferta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.oferta-header h3 {
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 600;
}

.oferta-dia {
    background: var(--primary-light);
    color: var(--secondary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.oferta-descripcion {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.oferta-precios {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.precio-original {
    color: var(--gray);
    font-size: 1rem;
    text-decoration: line-through;
}

.precio-oferta {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.descuento-badge {
    background: #f44336;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-oferta {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-oferta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* =====================================================
   RESPONSIVE ADICIONAL
   ===================================================== */
@media (max-width: 1024px) {
    .especialistas-grid-home,
    .ofertas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 600px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-dots {
        bottom: 80px;
    }
    
    .section {
        padding: 3rem 1.5rem;
    }
    
    .categorias-grid,
    .productos-grid,
    .servicios-grid,
    .especialistas-grid-home,
    .ofertas-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .page-header {
        padding: 6rem 1.5rem 3rem;
    }
}

/* =====================================================
   UTILIDADES
   ===================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none !important; }

/* =====================================================
   HEADER ELEGANTE
   ===================================================== */

/* Header Principal */
.header-elegant {
    background: white;
    box-shadow: 0 2px 20px rgba(92, 75, 81, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-elegant.scrolled {
    box-shadow: 0 4px 30px rgba(92, 75, 81, 0.15);
}

.header-elegant.scrolled .header-container {
    padding: 0.8rem 2rem;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: all 0.3s ease;
}

/* Logo Section */
.logo-section {
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(212, 165, 176, 0.4);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navegación Principal */
.main-nav-elegant {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.2rem;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary);
    background: var(--primary-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

.nav-badge {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    border-radius: 20px;
    margin-left: 0.3rem;
    font-weight: 700;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(92, 75, 81, 0.2);
    padding: 2rem;
    min-width: 700px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-item.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.mega-menu-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.mega-category {
    padding: 1rem;
    background: var(--bg-cream);
    border-radius: 12px;
}

.mega-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--primary-light);
}

.mega-title i {
    color: var(--primary);
}

.mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-links li {
    margin-bottom: 0.4rem;
}

.mega-links a {
    display: block;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.3rem 0;
    transition: all 0.2s ease;
}

.mega-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.mega-links .view-all a {
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.5rem;
}

.mega-links .view-all a i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.mega-links .view-all a:hover i {
    transform: translateX(3px);
}

.mega-menu-featured .featured-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.mega-menu-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(92, 75, 81, 0.9) 0%, transparent 100%);
    color: white;
}

.featured-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.featured-content h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.featured-btn:hover {
    background: var(--primary);
    color: white;
}

/* Dropdown Menu */
.dropdown-menu.elegant {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(92, 75, 81, 0.2);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    background: var(--bg-cream);
    padding: 0.8rem 1.2rem;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--primary-light);
}

.dropdown-list {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.dropdown-list li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1.2rem;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-list li a:hover {
    background: var(--primary-light);
    color: var(--secondary);
}

.dropdown-list li a i {
    color: var(--primary);
    font-size: 0.8rem;
}

.dropdown-footer {
    padding: 0.8rem 1.2rem;
    border-top: 1px solid var(--primary-light);
}

.dropdown-footer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.dropdown-footer a i {
    transition: transform 0.2s ease;
}

.dropdown-footer a:hover i {
    transform: translateX(3px);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Carrito Grande */
.cart-icon-large {
    position: relative;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 176, 0.4);
}

.cart-icon-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 165, 176, 0.5);
}

.cart-icon-large i {
    font-size: 1.4rem;
}

.cart-badge-large {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
}

/* Menu Toggle (Mobile) */
.menu-toggle-elegant {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 0;
}

.menu-toggle-elegant span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle-elegant.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle-elegant.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle-elegant.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

/* =====================================================
   HEADER PREMIUM RESPONSIVE
   ===================================================== */

.header-premium {
    background: white;
    box-shadow: 0 2px 20px rgba(92, 75, 81, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-premium.scrolled {
    box-shadow: 0 4px 30px rgba(92, 75, 81, 0.15);
}

.header-premium .header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

/* Logo */
.header-premium .logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.header-premium .logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #d4a5b0 0%, #c17a9b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(212, 165, 176, 0.4);
}

.header-premium .logo-text {
    display: flex;
    flex-direction: column;
}

.header-premium .logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #8b5a7c;
    line-height: 1.2;
}

.header-premium .logo-sub {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navegación Desktop */
.desktop-nav {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: block;
    }
}

.desktop-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-item {
    position: relative;
}

.desktop-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.2rem;
    color: #5c4b51;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.desktop-nav .nav-link:hover {
    color: #8b5a7c;
    background: #f3d9e1;
}

.desktop-nav .nav-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.desktop-nav .nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdowns */
.desktop-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(92, 75, 81, 0.2);
    padding: 2rem;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.desktop-nav .dropdown-menu-small {
    min-width: 250px;
    padding: 1rem 0;
}

.desktop-nav .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-nav .dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.desktop-nav .dropdown-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8b5a7c;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3d9e1;
}

.desktop-nav .dropdown-title i {
    color: #d4a5b0;
}

.desktop-nav .dropdown-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.desktop-nav .dropdown-links li {
    margin-bottom: 0.4rem;
}

.desktop-nav .dropdown-links a {
    display: block;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.3rem 0;
    transition: all 0.2s ease;
}

.desktop-nav .dropdown-links a:hover {
    color: #d4a5b0;
    padding-left: 0.5rem;
}

.desktop-nav .dropdown-links .view-all a {
    color: #d4a5b0;
    font-weight: 600;
    margin-top: 0.5rem;
}

.desktop-nav .dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.desktop-nav .dropdown-list li a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: #5c4b51;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.desktop-nav .dropdown-list li a:hover {
    background: #f3d9e1;
    color: #8b5a7c;
}

.desktop-nav .dropdown-list .view-all a {
    color: #d4a5b0;
    font-weight: 600;
    border-top: 1px solid #f3d9e1;
    margin-top: 0.5rem;
}

/* Acciones del Header */
.header-premium .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-premium .cart-icon {
    position: relative;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #d4a5b0 0%, #c17a9b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 176, 0.4);
}

.header-premium .cart-icon:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(212, 165, 176, 0.5);
}

.header-premium .cart-icon i {
    font-size: 1.2rem;
}

.header-premium .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.header-premium .menu-toggle {
    width: 45px;
    height: 45px;
    background: #f3d9e1;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #8b5a7c;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.header-premium .menu-toggle:hover {
    background: #d4a5b0;
    color: white;
    transform: scale(1.05);
}

@media (min-width: 1024px) {
    .header-premium .menu-toggle {
        display: none;
    }
}

/* =====================================================
   NUEVO MENÚ MÓVIL (SIMPLE Y FUNCIONAL)
   ===================================================== */

.mobile-menu-new {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    z-index: 1000000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-new.active {
    right: 0;
}

.mobile-menu-new-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #f3d9e1;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-new-close {
    width: 40px;
    height: 40px;
    background: #f3d9e1;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #8b5a7c;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.mobile-menu-new-close:hover {
    background: #d4a5b0;
    color: white;
}

.mobile-nav-list-new {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item-new {
    border-bottom: 1px solid #f3d9e1;
}

.mobile-nav-link-new {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    color: #5c4b51;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-link-new:hover {
    background: #f3d9e1;
}

.mobile-nav-link-new i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-nav-item-new.open .mobile-nav-link-new i {
    transform: rotate(180deg);
}

.mobile-submenu-new {
    display: none;
    background: #faf7f5;
    padding: 1rem 1.5rem;
}

.mobile-nav-item-new.open .mobile-submenu-new {
    display: block;
}

.mobile-category-new {
    margin-bottom: 1.5rem;
}

.mobile-category-title-new {
    color: #8b5a7c;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #d4a5b0;
}

.mobile-category-links-new {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-category-links-new li {
    margin-bottom: 0.5rem;
}

.mobile-category-links-new a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
}

.mobile-category-links-new a:hover {
    color: #d4a5b0;
    padding-left: 0.5rem;
}

.mobile-category-links-new .view-all a {
    color: #d4a5b0;
    font-weight: 600;
}

.mobile-simple-list-new {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-simple-list-new li {
    margin-bottom: 0.8rem;
}

.mobile-simple-list-new a {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
}

.mobile-simple-list-new a:hover {
    color: #d4a5b0;
    padding-left: 0.5rem;
}

.mobile-simple-list-new .view-all a {
    color: #d4a5b0;
    font-weight: 600;
}

/* Nuevo overlay */
.mobile-overlay-new {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.mobile-overlay-new.active {
    opacity: 1;
    visibility: visible;
}

/* Toast notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    animation: slideInRight 0.3s ease;
    border-left: 4px solid #d4a5b0;
    min-width: 300px;
}

.toast.success {
    border-left-color: #4caf50;
}