/* =====================================================
   BELLEZA & ESTILO - CSS MEJORADO
   Versión Premium con diseño moderno
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Nunito:wght@300;400;500;600;700&display=swap');

/* =====================================================
   VARIABLES CSS - PALETA ROSA INTENSA
   ===================================================== */
:root {
    /* Colores principales - MÁS ROSADOS */
    --primary: #e8829a;
    --primary-dark: #d4567a;
    --primary-light: #fce4ec;
    --primary-rgb: 232, 130, 154;
    
    --secondary: #c2185b;
    --secondary-dark: #f06292;
    --secondary-light: #f48fb1;
    --secondary-rgb: 194, 24, 91;
    
    --accent: #fce4ec;
    --gold: #e91e8c;
    
    /* Colores neutros */
    --dark: #4a1942;
    --dark-rgb: 74, 25, 66;
    --gray-dark: #7b5e72;
    --gray: #a07890;
    --gray-light: #f0dce5;
    --gray-lighter: #fdf0f5;
    --light: #fff5f8;
    --white: #ffffff;
    
    /* Fondos */
    --bg-cream: #fff5f8;
    --bg-gradient: linear-gradient(135deg, #fff9fb 0%, #fce4ec 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);
    
    /* Breakpoints para responsive */
    --breakpoint-xs: 480px;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
    
    /* Container max-widths */
    --container-xs: 100%;
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-xxl: 1320px;
}

/* =====================================================
   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: 'Nunito', 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 - VERSIÓN GENERAL
   ===================================================== */
footer {
    background: linear-gradient(135deg, #3a0a2e 0%, #5c1a4a 40%, #8c1a5e 100%);
    color: white;
    padding: 5rem 2rem 2rem;
    margin-top: 0;
    flex-shrink: 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-content 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-content h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-content ul {
    list-style: none;
}

.footer-content ul li {
    margin-bottom: 0.8rem;
}

.footer-content ul li a {
    color: var(--accent);
    text-decoration: none;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-content ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-content 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: linear-gradient(135deg, #3a0a2e 0%, #5c1a4a 40%, #8c1a5e 100%);
    color: white;
    margin-top: 0;
    padding: 0;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* Decoración de fondo del footer */
.footer-compact::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(232, 130, 154, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.footer-compact::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(240, 98, 146, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Ola decorativa en la parte superior del footer */
.footer-wave {
    position: relative;
    margin-bottom: 0;
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: 100%;
}

.footer-compact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 0;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-logo img {
    max-height: 60px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-logo .logo-icon {
    width: 44px;
    height: 44px;
    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.2rem;
    box-shadow: 0 4px 15px rgba(232, 130, 154, 0.4);
}

.footer-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 260px;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.footer-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary-dark));
    border-radius: 3px;
    margin: 0.5rem 0;
}

/* Redes sociales - más bonitas */
.footer-social {
    display: flex;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.footer-social .social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(232, 130, 154, 0.4);
}

/* Footer Links */
.footer-links-col h4,
.footer-contact-col h4 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links-col h4::after,
.footer-contact-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

.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.65rem;
}

.footer-links-col a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-left: 0;
}

.footer-links-col a::before {
    content: '›';
    color: var(--primary);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.footer-links-col a:hover {
    color: white;
    padding-left: 0.8rem;
}

.footer-links-col a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact-col li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact-icon {
    width: 30px;
    height: 30px;
    background: rgba(232, 130, 154, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 0.8rem;
    margin-top: 0.1rem;
    border: 1px solid rgba(232, 130, 154, 0.2);
}

.footer-contact-col i {
    color: var(--primary);
    font-size: 0.85rem;
    width: 18px;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.3rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
    margin: 0;
    letter-spacing: 0.3px;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

/* Ola decorativa */
.footer-top-wave {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(232, 130, 154, 0.5);
    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(-4px);
    box-shadow: 0 8px 25px rgba(232, 130, 154, 0.6);
}

/* =====================================================
   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;
    }
    
    .footer-divider {
        margin: 0.5rem auto;
    }
    
    .footer-links-col h4::after,
    .footer-contact-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-tagline {
        margin: 0 auto;
        text-align: 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, #e8829a 0%, #d4567a 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(232, 130, 154, 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: #fce4ec;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #c2185b;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.header-premium .menu-toggle:hover {
    background: linear-gradient(135deg, #e8829a, #d4567a);
    color: white;
    transform: scale(1.05);
}

/* Footer wave top */
.footer-top-wave {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-bottom: -2px;
    background: var(--bg-gradient);
}

@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;
}

/* =====================================================
   PRODUCTO DETALLE - ESTILOS RESPONSIVOS
   ===================================================== */
.producto-detalle-section {
    padding: 4rem 0;
    background: var(--bg-gradient);
    min-height: 100vh;
}

.producto-detalle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.producto-galeria {
    position: sticky;
    top: 2rem;
}

.imagen-principal-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.imagen-principal {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
}

.imagen-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.imagen-principal:hover img {
    transform: scale(1.05);
}

.producto-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.imagenes-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.8rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.producto-info-detalle {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.producto-header {
    margin-bottom: 2rem;
}

.categoria-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.producto-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.producto-precio-container {
    margin-bottom: 2rem;
}

.producto-precio {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-right: 1rem;
}

#precio-bs-display {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.stock-status.disponible {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.stock-status.agotado {
    background: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.stock-status i {
    font-size: 1.2rem;
}

.variante-section {
    margin-bottom: 2rem;
}

.variante-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.talla-grid, .color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 0.8rem;
}

.talla-btn, .color-btn {
    padding: 0.8rem;
    border: 2px solid var(--gray-light);
    background: white;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.talla-btn:hover, .color-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

.talla-btn.selected, .color-btn.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.talla-btn.disabled, .color-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--gray-lighter);
    border-color: var(--gray);
}

.color-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--gray-light);
    display: inline-block;
}

.producto-descripcion-detalle {
    margin-bottom: 2rem;
}

.producto-descripcion-detalle h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.producto-descripcion-detalle p {
    color: var(--gray);
    line-height: 1.7;
}

.producto-especificaciones {
    margin-bottom: 2rem;
}

.producto-especificaciones h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.especificaciones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.espec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    background: var(--gray-lighter);
    border-radius: var(--radius);
}

.espec-item .label {
    font-weight: 600;
    color: var(--gray-dark);
}

.espec-item .value {
    color: var(--dark);
}

.producto-caracteristicas {
    margin-bottom: 2rem;
}

.caracteristica {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--gray);
}

.caracteristica i {
    color: var(--primary);
    width: 20px;
}

.producto-acciones {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cantidad-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.cantidad-btn {
    width: 40px;
    height: 40px;
    background: var(--gray-lighter);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cantidad-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

#cantidad {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    background: white;
}

.btn-comprar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    justify-content: center;
    min-height: 50px;
}

.btn-comprar:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 176, 0.4);
}

.btn-comprar:disabled {
    background: var(--gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-wishlist {
    width: 50px;
    height: 50px;
    background: var(--gray-lighter);
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--gray);
}

.btn-wishlist:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-wishlist.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

.producto-compartir {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.producto-compartir span {
    font-weight: 600;
    color: var(--gray-dark);
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.copy { background: var(--gray-dark); }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.productos-relacionados {
    margin-top: 4rem;
}

/* =====================================================
   MEJORAS RESPONSIVAS PARA MÓVILES
   ===================================================== */
@media (max-width: 768px) {
    .producto-detalle-section {
        padding: 2rem 0;
    }
    
    .producto-detalle-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .producto-galeria {
        position: static;
    }
    
    .imagen-principal {
        height: 350px;
    }
    
    .producto-info-detalle {
        padding: 1.5rem;
    }
    
    .producto-titulo {
        font-size: 2rem;
    }
    
    .producto-precio {
        font-size: 1.8rem;
    }
    
    .talla-grid, .color-grid {
        grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    }
    
    .talla-btn, .color-btn {
        min-height: 45px;
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .producto-acciones {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cantidad-selector {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .btn-comprar {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .especificaciones-grid {
        grid-template-columns: 1fr;
    }
    
    .productos-relacionados .productos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        margin: 0 auto;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .producto-detalle-section {
        padding: 1rem 0;
    }
    
    .imagen-principal {
        height: 280px;
        border-radius: var(--radius);
    }
    
    .producto-info-detalle {
        padding: 1rem;
        border-radius: var(--radius);
    }
    
    .producto-titulo {
        font-size: 1.5rem;
    }
    
    .producto-precio {
        font-size: 1.5rem;
    }
    
    .stock-status {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }
    
    .variante-label {
        font-size: 0.9rem;
    }
    
    .talla-grid, .color-grid {
        gap: 0.5rem;
    }
    
    .talla-btn, .color-btn {
        min-height: 40px;
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .producto-descripcion-detalle h3,
    .producto-especificaciones h3 {
        font-size: 1.1rem;
    }
    
    .caracteristica {
        font-size: 0.9rem;
    }
    
    .cantidad-btn {
        width: 35px;
        height: 35px;
    }
    
    #cantidad {
        width: 50px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .btn-comprar {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-height: 45px;
    }
    
    .btn-wishlist {
        width: 45px;
        height: 45px;
    }
    
    .producto-compartir {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .share-btn {
        width: 35px;
        height: 35px;
    }
    
    .share-btn i {
        font-size: 0.9rem;
    }
    
    .productos-relacionados {
        margin-top: 2rem;
    }
    
    .productos-relacionados .section-title {
        font-size: 1.5rem;
    }
}

/* =====================================================
   MEJORAS GENERALES PARA MÓVILES
   ===================================================== */
@media (max-width: 768px) {
    /* Header más compacto */
    .header-container {
        padding: 0.5rem 1rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-icons {
        gap: 0.8rem;
    }
    
    .icon-link {
        width: 38px;
        height: 38px;
    }
    
    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }
    
    /* Hero más pequeño */
    .hero-slider {
        min-height: 500px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 2vw, 1.1rem);
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Productos más touch-friendly */
    .product-card {
        border-radius: var(--radius);
    }
    
    .product-img {
        height: 220px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-info h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .product-price {
        font-size: 1.2rem;
    }
    
    .btn-add {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Footer más compacto */
    .footer-content {
        padding: 2rem 1rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-links-col h4,
    .footer-contact-col h4 {
        font-size: 1.1rem;
    }
    
    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-input {
        width: 100%;
    }
    
    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Header ultra compacto */
    .header-container {
        padding: 0.3rem 0.5rem;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .nav-icons {
        gap: 0.5rem;
    }
    
    .icon-link {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    /* Hero optimizado */
    .hero-slider {
        min-height: 400px;
    }
    
    .hero-content {
        padding: 0.5rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 250px;
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Productos optimizados */
    .product-img {
        height: 180px;
    }
    
    .product-info {
        padding: 0.8rem;
    }
    
    .product-categoria {
        font-size: 0.7rem;
    }
    
    .product-info h3 {
        font-size: 0.9rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
    
    .btn-add {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    /* Footer optimizado */
    .footer-content {
        padding: 1.5rem 0.5rem;
        gap: 1.5rem;
    }
    
    .footer-links-col h4,
    .footer-contact-col h4 {
        font-size: 1rem;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .footer-contact-item {
        font-size: 0.9rem;
    }
    
    /* Newsletter optimizado */
    .newsletter-title {
        font-size: 1.2rem;
    }
    
    .newsletter-subtitle {
        font-size: 0.9rem;
    }
    
    .newsletter-input {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .newsletter-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* =====================================================
   MEJORAS DE ACCESIBILIDAD Y USABILIDAD
   ===================================================== */
/* Focus visible para navegación por teclado */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.talla-btn:focus-visible,
.color-btn:focus-visible,
.share-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Mejor contraste para botones deshabilitados */
.btn-comprar:disabled {
    background: var(--gray);
    color: var(--gray-dark);
}

/* Animaciones reducidas para usuarios con preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Soporte para alto contraste */

/* =====================================================
   SISTEMA RESPONSIVE COMPLETO - NORMALITO PERO SUPER FUNCIONAL
   ===================================================== */

/* =====================================================
   RESPONSIVE BREAKPOINTS Y VARIABLES
   ===================================================== */

/* Variables de breakpoints ya definidas arriba */

/* =====================================================
   RESPONSIVE - TABLET (768px - 992px)
   ===================================================== */
@media (max-width: 992px) {
    /* Header */
    .header-container {
        padding: 1rem 1.5rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .main-nav {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    /* Hero */
    .hero-slider {
        min-height: 600px;
    }

    .hero-content {
        padding: 2rem 1.5rem;
        max-width: 700px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 5rem);
    }

    /* Grids */
    .categorias-grid,
    .productos-grid,
    .servicios-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .especialistas-grid-home {
        grid-template-columns: repeat(3, 1fr);
    }

    .ofertas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 3rem 1.5rem;
    }

    /* Newsletter */
    .newsletter {
        padding: 4rem 1.5rem;
    }

    .newsletter h2 {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }
}

/* =====================================================
   RESPONSIVE - MOBILE LARGE (576px - 768px)
   ===================================================== */
@media (max-width: 768px) {
    /* Header */
    .header-container {
        padding: 0.8rem 1rem;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .main-nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }

    .nav-icons {
        gap: 0.8rem;
    }

    .icon-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }

    /* Hero */
    .hero-slider {
        min-height: 550px;
    }

    .hero-content {
        padding: 1.5rem 1rem;
        text-align: center;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 4rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-dots {
        bottom: 70px;
    }

    /* Secciones */
    .section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
        text-align: center;
    }

    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .section-subtitle {
        font-size: 1rem;
        max-width: 500px;
    }

    /* Cards */
    .categoria-card,
    .product-card,
    .servicio-card {
        border-radius: var(--radius);
        box-shadow: 0 5px 15px rgba(92, 75, 81, 0.08);
    }

    .categoria-img,
    .product-img,
    .servicio-img {
        height: 180px;
    }

    .categoria-content,
    .product-info,
    .servicio-info {
        padding: 1.2rem;
    }

    .categoria-content h3,
    .product-info h3,
    .servicio-info h3 {
        font-size: 1.1rem;
    }

    /* Grids */
    .categorias-grid,
    .productos-grid,
    .servicios-grid,
    .especialistas-grid-home,
    .ofertas-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.2rem;
    }

    /* Banner ofertas */
    .banner-ofertas {
        padding: 4rem 1rem;
        text-align: center;
    }

    .banner-ofertas h2 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .banner-ofertas p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .btn-oferta {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }

    /* Newsletter */
    .newsletter {
        padding: 3rem 1rem;
    }

    .newsletter h2 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
    }

    .newsletter p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form input {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }

    .newsletter-form button {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 1rem;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-logo span {
        font-size: 1.2rem;
    }

    .footer-tagline {
        font-size: 0.85rem;
    }

    .footer-links-col h4,
    .footer-contact-col h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-links-col ul li a,
    .footer-contact-col li {
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .footer-bottom {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

/* =====================================================
   RESPONSIVE - MOBILE MEDIUM (480px - 576px)
   ===================================================== */
@media (max-width: 576px) {
    /* Header */
    .header-container {
        padding: 0.6rem 0.8rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .main-nav {
        gap: 0.8rem;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    .nav-icons {
        gap: 0.6rem;
    }

    .icon-link {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -3px;
        right: -3px;
    }

    /* Hero */
    .hero-slider {
        min-height: 450px;
    }

    .hero-content {
        padding: 1rem 0.8rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 3.5rem);
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 4vw, 1rem);
        margin-bottom: 1.2rem;
    }

    .hero-buttons {
        gap: 0.6rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        max-width: 250px;
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    .hero-dots {
        bottom: 60px;
        gap: 0.6rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* Secciones */
    .section {
        padding: 2.5rem 0.8rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-label {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 0.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Cards */
    .categoria-img,
    .product-img,
    .servicio-img {
        height: 160px;
    }

    .categoria-content,
    .product-info,
    .servicio-info {
        padding: 1rem;
    }

    .categoria-content h3,
    .product-info h3,
    .servicio-info h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .categoria-content p,
    .product-info p {
        font-size: 0.85rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .btn-add {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }

    /* Grids */
    .categorias-grid,
    .productos-grid,
    .servicios-grid,
    .especialistas-grid-home,
    .ofertas-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1rem;
    }

    /* Banner ofertas */
    .banner-ofertas {
        padding: 3rem 0.8rem;
    }

    .oferta-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .banner-ofertas h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 0.8rem;
    }

    .banner-ofertas p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .btn-oferta {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    /* Newsletter */
    .newsletter {
        padding: 2.5rem 0.8rem;
    }

    .newsletter h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 0.8rem;
    }

    .newsletter p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .newsletter-form input {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .newsletter-form button {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-content {
        padding: 2rem 0.8rem;
        gap: 1.5rem;
    }

    .footer-brand {
        gap: 0.8rem;
    }

    .footer-logo img {
        max-height: 50px;
    }

    .footer-logo span {
        font-size: 1.1rem;
    }

    .footer-tagline {
        font-size: 0.8rem;
    }

    .footer-links-col h4,
    .footer-contact-col h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-links-col ul li,
    .footer-contact-col li {
        margin-bottom: 0.6rem;
    }

    .footer-links-col ul li a,
    .footer-contact-col li {
        font-size: 0.85rem;
    }

    .social-links {
        gap: 0.8rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .footer-bottom {
        padding: 0.8rem;
        font-size: 0.8rem;
    }
}

/* =====================================================
   RESPONSIVE - MOBILE SMALL (320px - 480px)
   ===================================================== */
@media (max-width: 480px) {
    /* Header */
    .header-container {
        padding: 0.5rem 0.6rem;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .main-nav {
        gap: 0.6rem;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.25rem 0;
    }

    .nav-icons {
        gap: 0.5rem;
    }

    .icon-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .cart-count {
        width: 14px;
        height: 14px;
        font-size: 0.55rem;
        top: -2px;
        right: -2px;
    }

    /* Hero */
    .hero-slider {
        min-height: 400px;
    }

    .hero-content {
        padding: 0.8rem 0.6rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.8rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 9vw, 3rem);
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: clamp(0.8rem, 4.5vw, 0.95rem);
        margin-bottom: 1rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        max-width: 220px;
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }

    .hero-dots {
        bottom: 50px;
        gap: 0.5rem;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    /* Secciones */
    .section {
        padding: 2rem 0.6rem;
    }

    .section-header {
        margin-bottom: 1.2rem;
    }

    .section-label {
        font-size: 0.7rem;
        margin-bottom: 0.6rem;
    }

    .section-title {
        font-size: clamp(1.3rem, 7vw, 2rem);
        margin-bottom: 0.6rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    /* Cards */
    .categoria-img,
    .product-img,
    .servicio-img {
        height: 140px;
    }

    .categoria-content,
    .product-info,
    .servicio-info {
        padding: 0.8rem;
    }

    .categoria-content h3,
    .product-info h3,
    .servicio-info h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .categoria-content p,
    .product-info p {
        font-size: 0.8rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .btn-add {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Grids */
    .categorias-grid,
    .productos-grid,
    .servicios-grid,
    .especialistas-grid-home,
    .ofertas-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    /* Banner ofertas */
    .banner-ofertas {
        padding: 2.5rem 0.6rem;
    }

    .oferta-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }

    .banner-ofertas h2 {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
        margin-bottom: 0.6rem;
    }

    .banner-ofertas p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .btn-oferta {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }

    /* Newsletter */
    .newsletter {
        padding: 2rem 0.6rem;
    }

    .newsletter h2 {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
        margin-bottom: 0.6rem;
    }

    .newsletter p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .newsletter-form input {
        padding: 0.7rem 0.9rem;
        font-size: 0.8rem;
    }

    .newsletter-form button {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }

    /* Footer */
    .footer-content {
        padding: 1.5rem 0.6rem;
        gap: 1.2rem;
    }

    .footer-brand {
        gap: 0.6rem;
    }

    .footer-logo img {
        max-height: 45px;
    }

    .footer-logo span {
        font-size: 1rem;
    }

    .footer-tagline {
        font-size: 0.75rem;
    }

    .footer-links-col h4,
    .footer-contact-col h4 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .footer-links-col ul li,
    .footer-contact-col li {
        margin-bottom: 0.5rem;
    }

    .footer-links-col ul li a,
    .footer-contact-col li {
        font-size: 0.8rem;
    }

    .social-links {
        gap: 0.6rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding: 0.6rem;
        font-size: 0.75rem;
    }
}

/* =====================================================
   RESPONSIVE - MENÚ MÓVIL FUNCIONAL
   ===================================================== */
@media (max-width: 768px) {
    /* Menú móvil toggle */
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    /* Menú móvil */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

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

    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        border-bottom: 1px solid var(--primary-light);
        background: var(--primary-light);
    }

    .mobile-menu-close {
        width: 35px;
        height: 35px;
        background: var(--primary);
        border: none;
        border-radius: 50%;
        color: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }

    .mobile-menu-close:hover {
        background: var(--primary-dark);
        transform: rotate(90deg);
    }

    .mobile-nav {
        padding: 1rem 0;
    }

    .mobile-nav-item {
        border-bottom: 1px solid var(--gray-lighter);
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.5rem;
        color: var(--dark);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .mobile-nav-link:hover {
        background: var(--primary-light);
        color: var(--primary);
        padding-left: 2rem;
    }

    .mobile-nav-link i {
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .mobile-nav-item.has-submenu .mobile-nav-link:hover i {
        transform: rotate(180deg);
    }

    .mobile-submenu {
        display: none;
        background: var(--bg-cream);
        padding: 0.5rem 0;
    }

    .mobile-nav-item.open .mobile-submenu {
        display: block;
    }

    .mobile-submenu-link {
        display: block;
        padding: 0.8rem 2rem;
        color: var(--gray-dark);
        text-decoration: none;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }

    .mobile-submenu-link:hover {
        background: white;
        color: var(--primary);
        border-left-color: var(--primary);
        padding-left: 2.5rem;
    }

    /* Overlay */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Body scroll lock */
    body.menu-open {
        overflow: hidden;
    }
}

/* =====================================================
   RESPONSIVE - TOUCH FRIENDLY INTERACTIONS
   ===================================================== */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices */
    .btn-primary,
    .btn-secondary,
    .btn-add,
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-oferta,
    .social-link,
    .icon-link {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-link,
    .mobile-nav-link,
    .mobile-submenu-link {
        padding: 0.75rem 1rem;
        min-height: 44px;
    }

    .categoria-card,
    .product-card,
    .servicio-card {
        min-height: 200px;
    }

    .product-card:hover,
    .categoria-card:hover,
    .servicio-card:hover {
        transform: none;
    }

    /* Mejor espaciado para touch */
    .section {
        padding: 2rem 1rem;
    }

    .productos-grid,
    .categorias-grid,
    .servicios-grid {
        gap: 1rem;
    }

    .product-info,
    .categoria-content,
    .servicio-info {
        padding: 1rem;
    }
}

/* =====================================================
   RESPONSIVE - PRINT STYLES
   ===================================================== */
@media print {
    .header,
    .footer,
    .hero-slider,
    .banner-ofertas,
    .newsletter,
    .back-to-top {
        display: none !important;
    }

    .section {
        page-break-inside: avoid;
    }

    .product-card,
    .categoria-card,
    .servicio-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .product-price {
        color: black !important;
    }
}

/* =====================================================
   RESPONSIVE - LANDSCAPE MOBILE
   ===================================================== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-slider {
        min-height: 400px;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 5vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
    }

    .section {
        padding: 2rem 1rem;
    }

    .productos-grid,
    .categorias-grid,
    .servicios-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

/* =====================================================
   RESPONSIVE - HIGH DPI SCREENS
   ===================================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img,
    .categoria-img img,
    .product-img img,
    .servicio-img img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* =====================================================
   RESPONSIVE - REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    .animate-fadeInUp,
    .animate-fadeInDown,
    .animate-fadeIn,
    .animate-slideInLeft,
    .animate-slideInRight,
    .animate-scaleIn,
    .animate-float,
    .animate-pulse,
    .animate-bounce,
    .animate-glow {
        animation: none;
    }

    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-add:hover,
    .btn-hero-primary:hover,
    .btn-hero-secondary:hover,
    .btn-oferta:hover,
    .social-link:hover,
    .icon-link:hover,
    .product-card:hover,
    .categoria-card:hover,
    .servicio-card:hover {
        transform: none;
    }

    .hero-slider {
        transition: none;
    }

    .hero-slide {
        transition: none;
    }
}

/* =====================================================
   RESPONSIVE - DARK MODE SUPPORT
   ===================================================== */
@media (prefers-color-scheme: dark) {
    .product-card,
    .categoria-card,
    .servicio-card {
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .newsletter-form input {
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
}

/* =====================================================
   RESPONSIVE - ACCESSIBILITY IMPROVEMENTS
   ===================================================== */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-secondary,
    .btn-add,
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-oferta {
        border: 2px solid currentColor;
    }

    .product-card,
    .categoria-card,
    .servicio-card {
        border: 2px solid var(--gray-light);
    }
}

/* =====================================================
   RESPONSIVE - FOCUS VISIBLE ENHANCEMENTS
   ===================================================== */
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-add:focus-visible,
.btn-hero-primary:focus-visible,
.btn-hero-secondary:focus-visible,
.btn-oferta:focus-visible,
.nav-link:focus-visible,
.mobile-nav-link:focus-visible,
.mobile-submenu-link:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius);
}

/* =====================================================
   RESPONSIVE - UTILITY CLASSES
   ===================================================== */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }

    .mobile-full-width {
        width: 100% !important;
    }

    .mobile-center {
        text-align: center !important;
    }

    .mobile-stack {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .mobile-padding {
        padding: 1rem !important;
    }
}

@media (min-width: 769px) {
    .desktop-hidden {
        display: none !important;
    }
}

/* =====================================================
   FIN DEL SISTEMA RESPONSIVE
   ===================================================== */

/* =====================================================
   MEJORAS RESPONSIVE PARA PRODUCTOS Y CHECKOUT
   ===================================================== */

/* Productos - Mejoras adicionales */
@media (max-width: 768px) {
    .productos-page .section {
        padding: 2rem 1rem;
    }
    
    .productos-layout {
        gap: 1.5rem;
    }
    
    .productos-sidebar {
        order: 2; /* Sidebar después del grid en móviles */
    }
    
    .productos-grid-container {
        order: 1; /* Grid primero en móviles */
    }
    
    .productos-toolbar {
        margin-bottom: 1rem;
        padding: 1rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .productos-count {
        margin-bottom: 0.5rem;
    }
    
    .badge-count {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .bcv-indicator-small {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .productos-toolbar {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .productos-vista {
        gap: 0.3rem;
    }
    
    .vista-btn {
        width: 36px;
        height: 36px;
    }
    
    .vista-btn i {
        font-size: 0.9rem;
    }
}

/* Checkout - Mejoras adicionales */
@media (max-width: 768px) {
    .checkout-section {
        padding: 2rem 0;
    }
    
    .checkout-grid {
        gap: 1.5rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .checkout-formulario {
        order: 2; /* Formulario después del resumen en móviles */
    }
    
    .checkout-resumen {
        order: 1; /* Resumen primero en móviles */
    }
    
    .resumen-card {
        position: sticky;
        top: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-card {
        margin-bottom: 1rem;
    }
    
    .card-header {
        margin-bottom: 1.5rem;
    }
    
    .card-header i {
        font-size: 1.8rem;
    }
    
    .card-header h2 {
        font-size: 1.4rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 600;
        color: var(--secondary);
        margin-bottom: 0.5rem;
    }
    
    .form-group label i {
        color: var(--primary);
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.9rem 1rem;
        border: 2px solid var(--gray-lighter);
        border-radius: 12px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
        outline: none;
    }
    
    .opciones-pago {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .pago-option {
        border: 2px solid var(--gray-lighter);
        border-radius: 12px;
        padding: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        background: white;
    }
    
    .pago-option:hover {
        border-color: var(--primary);
        background: var(--primary-light);
    }
    
    .pago-option input[type="radio"] {
        display: none;
    }
    
    .pago-option input[type="radio"]:checked + .option-content {
        color: var(--primary);
        font-weight: 600;
    }
    
    .pago-option input[type="radio"]:checked ~ .option-content::before {
        content: '✓';
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--primary);
        font-weight: bold;
        font-size: 1.2rem;
    }
    
    .option-content {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        position: relative;
    }
    
    .option-icon {
        font-size: 1.5rem;
        width: 40px;
        text-align: center;
    }
    
    .option-text {
        font-size: 1rem;
        font-weight: 500;
    }
}

@media (max-width: 480px) {
    .checkout-section {
        padding: 1.5rem 0;
    }
    
    .checkout-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .form-card, .resumen-card {
        border-radius: 16px;
        padding: 1.2rem;
    }
    
    .card-header {
        margin-bottom: 1.2rem;
        gap: 0.6rem;
    }
    
    .card-header i {
        font-size: 1.5rem;
    }
    
    .card-header h2 {
        font-size: 1.2rem;
    }
    
    .form-group {
        margin-bottom: 1.3rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    .pago-option {
        padding: 0.8rem;
        border-radius: 10px;
    }
    
    .option-content {
        gap: 0.6rem;
    }
    
    .option-icon {
        font-size: 1.3rem;
        width: 35px;
    }
    
    .option-text {
        font-size: 0.95rem;
    }
    
    .resumen-header h3 {
        font-size: 1.1rem;
    }
    
    .resumen-lista {
        max-height: 180px;
    }
    
    .resumen-item {
        padding: 0.7rem 0;
        font-size: 0.9rem;
    }
    
    .resumen-total {
        padding: 0.8rem 0;
        font-size: 1.1rem;
    }
    
    .btn-finalizar {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
        border-radius: 25px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .product-card,
    .categoria-card,
    .filtro-link,
    .pago-option {
        min-height: 44px;
    }
    
    .btn-add,
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        min-width: 44px;
    }
    
    .form-group input,
    .form-group textarea {
        min-height: 44px;
    }
    
    .productos-grid {
        gap: 1rem;
    }
    
    .checkout-grid {
        gap: 1.5rem;
    }
}
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid var(--primary);
    }
    
    .stock-status {
        border: 2px solid currentColor;
    }
}

/* 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;
}