* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #572364;
    --secondary: #FFD700;
    --gold-light: #C49A3C;
    --dark: #1a1a1a;
    --light: #f8f8f8;
    --accent: #8B4789;
    --text: #333;
    --text-light: #666;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background: #fff;
    margin: 0;
    padding-top: 176px; /* Ajuste para header fijo */
}

/* Top Bar Gold */
.top-bar {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--secondary) 100%);
    color: var(--primary);
    padding: 10px 0;
    font-size: 12px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 6s infinite;
    will-change: transform;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.top-bar-item:hover {
    transform: translateY(-2px);
}

/* Header Principal */
header {
    background: var(--dark);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    will-change: transform;
}

header.scrolled {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* Header Superior - Logo, Búsqueda, Iconos */
.header-top {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 40px;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 40px;
    transition: all 0.3s ease;
}

header.scrolled .header-top {
    padding: 8px 40px;
}

/* Logo */
.logo-container {
    transition: all 0.4s ease;
}

header.scrolled .logo-container {
    transform: scale(0.85);
}

.logo {
    height: 70px;
    transition: all 0.3s ease;
}

header.scrolled .logo {
    height: 40px;
}

/* Buscador Premium */
.search-container {
    max-width: 700px;
    width: 100%;
    position: relative;
}

.search-box {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,215,0,0.2);
    border-radius: 50px;
    padding: 14px 25px;
    padding-right: 60px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

header.scrolled .search-box {
    padding: 10px 20px;
    padding-right: 55px;
    font-size: 13px;
}

.search-box:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255,215,0,0.1);
}

.search-box::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

header.scrolled .search-btn {
    width: 38px;
    height: 38px;
    font-size: 14px;
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(255,215,0,0.4);
}

/* Top Links e Iconos */
.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.top-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.top-link:hover {
    color: var(--secondary);
}

.top-link:hover::after {
    width: 100%;
}

.divider {
    color: rgba(255,255,255,0.3);
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,215,0,0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
}

header.scrolled .icon-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
}

.icon-btn:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255,215,0,0.3);
    border-color: var(--secondary);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--dark);
}

/* Mega Menu Container */
.mega-menu-container {
    background: linear-gradient(135deg, var(--primary) 0%, #461952 100%);
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
}

header.scrolled .mega-menu-container {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.mega-menu-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

.mega-menu {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    position: relative;
}

/* Mega Menu Items */
.mega-menu-item {
    position: relative;
    padding: 15px 0;
    cursor: pointer;
}

.mega-menu-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.mega-menu-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.mega-menu-item:hover .mega-menu-link {
    color: var(--secondary);
}

.mega-menu-item:hover .mega-menu-link::before {
    width: 80%;
}


/* Dropdown Mega Menu - Base */
.dropdown-mega {
    position: fixed !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-20px) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 998 !important;
    pointer-events: none !important;
    display: block !important;
}

/* Mostrar megamenú con CLICK usando .active */
.dropdown-mega.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Link activo cuando menú está abierto */
.mega-menu-link.active {
    color: var(--secondary) !important;
}

.mega-menu-link.active::before {
    width: 80% !important;
}

/* Animación del chevron */
.mega-menu-link i.fa-chevron-down {
    margin-left: 5px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.mega-menu-link.active i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Accesibilidad */
.dropdown-mega[aria-hidden="true"] {
    pointer-events: none !important;
}

.dropdown-mega[aria-hidden="false"] {
    pointer-events: auto !important;
}
/*
.mega-menu-item:hover .dropdown-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
*/

/* ============================================
   MEGAMENÚ CON CLICKS - REEMPLAZO CSS
   Reemplazar las líneas 371-400 en styles.css
   ============================================ */

/* Hover del link (mantener solo el efecto visual) */
.mega-menu-item:hover .mega-menu-link {
    color: var(--secondary);
}

.mega-menu-item:hover .mega-menu-link::before {
    width: 80%;
}

/* IMPORTANTE: Link activo cuando el menú está abierto */
.mega-menu-link.active {
    color: var(--secondary);
}

.mega-menu-link.active::before {
    width: 80%;
}

/* Animación del chevron */
.mega-menu-link i.fa-chevron-down {
    margin-left: 5px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.mega-menu-link.active i.fa-chevron-down {
    transform: rotate(180deg);
}



/* Accesibilidad */
.dropdown-mega[aria-hidden="true"] {
    pointer-events: none;
}

.dropdown-mega[aria-hidden="false"] {
    pointer-events: auto;
}

/* Loading state */
.mega-menu-content {
    min-height: 200px;
}

.mega-menu-content .loading-products {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
    font-size: 14px;
}

/* Mejorar links en categorías */
.category-list li a {
    transition: padding-left 0.2s ease;
}

.category-list li a:hover {
    padding-left: 5px;
}

/* Precio en overlay de imagen */
.mega-image-overlay .price {
    display: inline-block;
    background: var(--gold);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
}

/* Responsive Mobile */
@media (max-width: 992px) {
    .dropdown-mega {
        position: fixed;
        top: 150px; /* Debajo del header */
        left: 0;
        right: 0;
        height: calc(100vh - 150px);
        overflow-y: auto;
        transform: translateX(100%); /* Deslizar desde la derecha */
    }
    
    .dropdown-mega.active {
        transform: translateX(0);
    }
    
    .dropdown-content {
    grid-template-columns: 1fr !important;  /* 1 columna en mobile */
    padding: 20px;
    gap: 20px;
}
    
    .category-column {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .mega-image {
        display: none;
    }
}

/* Tablet */
@media (max-width: 1200px) and (min-width: 993px) {
    .dropdown-content {
        max-width: 1000px;
        margin: 0 auto;
    }
}


.dropdown-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 50px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 40px;
}

/* Columnas de Categorías */
.category-column h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-list a::before {
    content: '→';
    color: var(--secondary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.category-list a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Imagen del Mega Menu */
.mega-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(87,35,100,0.2);
}

.mega-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mega-menu-item:hover .mega-image img {
    transform: scale(1.05);
}

.mega-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(87,35,100,0.95), transparent);
    padding: 30px;
    color: white;
}

.mega-image-overlay h4 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.mega-image-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(87, 35, 100, 0.85) 0%, rgba(139, 71, 137, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    max-width: 900px;
    text-align: center;
    color: white;
    padding: 40px;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 2px;
}

.slide-content .highlight {
    color: var(--secondary);
    font-style: italic;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.95;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
    padding: 18px 50px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    background: var(--secondary);
    transform: scale(1.3);
}

/* Botón Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    font-size: 20px;
    box-shadow: 0 5px 20px rgba(255,215,0,0.4);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255,215,0,0.6);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,215,0,0.2);
    width: 45px;
    height: 45px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.mobile-menu-btn:hover {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

/* Categories Section */
.categories-section {
    padding: 120px 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f9f9f9 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 40px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-title .subtitle {
    font-size: 16px;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title .divider {
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin: 20px auto;
}

.categories-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(87, 35, 100, 0.95) 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

.category-card:hover::before {
    background: linear-gradient(180deg, transparent 0%, rgba(139, 71, 137, 0.98) 100%);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(87, 35, 100, 0.3);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: white;
}

.category-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.category-info p {
    font-size: 14px;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Featured Products */
.featured-section {
    padding: 120px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 40px;
}

.products-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Carrusel Container */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 80px;
    max-width: 1400px; 
    margin: 0 auto;     
}

.products-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    will-change: transform;
    padding: 20px 20px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    position: relative;
    flex: 0 0 300px;
    max-width: 320px;
    min-width: 280px;
}

/* Ajustes para pantallas extra anchas */
@media (min-width: 1920px) {
    .product-card {
        flex: 0 0 280px;
    }
}

@media (min-width: 1600px) and (max-width: 1919px) {
    .product-card {
        flex: 0 0 300px;
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .product-card {
        flex: 0 0 calc(20% - 24px);
        min-width: 260px;
    }
}

/* Flechas de Navegación */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 25px rgba(255,215,0,0.4);
}

.carousel-nav:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 10px 35px rgba(255,215,0,0.6);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav:disabled:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-50%) scale(1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(87, 35, 100, 0.15);
}

.product-image-container {
    position: relative;
    height: 350px;
    
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--primary);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 1px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
    transition: transform 0.5s ease;
    background-color: white;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(87, 35, 100, 0.95), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

.quick-add-btn {
    width: 100%;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.quick-add-btn:hover {
    background: white;
    color: var(--primary);
}

.product-info {
    padding: 25px;
}

.product-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.product-description {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-current {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.price-original {
    font-size: 18px;
    color: var(--text-light);
    text-decoration: line-through;
}

/* Offers Section */
.offers-section {
    padding: 120px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
}

.offers-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.offers-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.offers-section .section-title h2,
.offers-section .section-title .subtitle {
    color: white;
}

.offers-section .section-title .divider {
    background: var(--secondary);
}



.offers-grid {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en desktop */
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Pantallas medianas: 2x2 (evita 3+1) */
@media (max-width: 1400px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas */
        max-width: 900px;
        gap: 30px;
    }
}

/* Móviles: 1 columna */
@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr; /* 1 columna */
        gap: 20px;
        padding: 0 20px;
        max-width: 100%;
    }
}


.offer-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}

.offer-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0,0,0,0.3);
}

.offer-image {
    height: 300px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.offer-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.offer-card:hover .offer-image img {
    transform: scale(1.1) rotate(3deg);
}

.discount-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary);
    color: var(--primary);
    padding: 15px 20px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.offer-content {
    padding: 30px;
}

.offer-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.offer-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.offer-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.btn-secondary {
    background: var(--primary);
    color: white;
    padding: 14px 30px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn-secondary:hover {
    background: var(--accent);
    transform: translateX(5px);
}

/* Specialty Sections */
.specialty-section {
    padding: 120px 0;
}

.specialty-section:nth-child(even) {
    background: #fafafa;
}

.specialty-header {
    max-width: 1400px;
    margin: 0 auto 60px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.specialty-title h3 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.specialty-title p {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.view-all-btn {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--primary);
    color: white;
}

/* Newsletter */
.newsletter-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: white;
    text-align: center;
}

/* Brands Carousel Section */
.brands-carousel-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    overflow: hidden;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.brands-carousel-section::before,
.brands-carousel-section::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brands-carousel-section::before {
    left: 0;
    background: linear-gradient(to right, #fafafa, transparent);
}

.brands-carousel-section::after {
    right: 0;
    background: linear-gradient(to left, #fafafa, transparent);
}

.brands-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.brands-title h3 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.brands-title p {
    font-size: 14px;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.brands-carousel-track {
    display: flex;
    animation: scrollBrands 60s linear infinite;
    width: fit-content;
    min-width: 100%;
}

.brands-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    flex: 0 0 250px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 40px;
    filter: grayscale(100%) opacity(0.4);
    transition: all 0.4s ease;
}

.brand-item:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.brand-item img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.newsletter-content p {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    outline: none;
}

.newsletter-btn {
    background: var(--secondary);
    color: var(--primary);
    padding: 18px 40px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.newsletter-btn:hover {
    background: white;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 40px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--secondary);
    letter-spacing: 1px;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 18px;
}

.social-icon:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 30px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.cart-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 4px;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary);
}

.cart-item-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.cart-footer {
    padding: 30px;
    border-top: 2px solid #eee;
    background: #fafafa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.cart-total .total-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-total .total-amount {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.checkout-btn {
    width: 100%;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 18px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: var(--primary);
    color: white;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */

@media (max-width: 1200px) {
    .header-top {
        grid-template-columns: 160px 1fr auto;
        gap: 20px;
    }

    .top-links {
        display: none;
    }

    .mega-menu {
        gap: 10px;
    }

    .mega-menu-link {
        font-size: 11px;
        padding: 10px 12px;
    }
}

@media (max-width: 1024px) {
    .mega-menu-container {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropdown-content {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        flex: 0 0 calc(25% - 22.5px);
        min-width: 250px;
    }

    .carousel-wrapper {
        padding: 0 70px;
    }

    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .carousel-nav.prev {
        left: 15px;
    }

    .carousel-nav.next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 140px;
    }
    
    .header-top {
        grid-template-columns: 120px 1fr auto;
        padding: 15px 20px;
        gap: 15px;
    }

    .logo {
        height: 50px;
    }

    .header-icons {
        gap: 10px;
    }

    .icon-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .search-box {
        padding: 12px 20px;
        font-size: 13px;
    }

    .slide-content h1 {
        font-size: 36px;
    }

    .hero-slider {
        height: 60vh;
    }

    .categories-section,
    .featured-section,
    .specialty-section {
        padding: 60px 0;
    }

    .categories-section {
        padding: 60px 20px;
    }

    .section-title {
        padding: 0 20px;
    }

    .section-title h2 {
        font-size: 36px;
    }

    .specialty-header {
        padding: 0 20px;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-card {
        flex: 0 0 calc(50% - 15px);
        min-width: 220px;
    }

    .carousel-wrapper {
        padding: 0 60px;
    }

    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }

    .brand-item {
        flex: 0 0 200px;
        margin: 0 30px;
    }

    .brand-item img {
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 130px;
    }
    
    .product-card {
        flex: 0 0 calc(100% - 10px);
        min-width: 180px;
    }

    .carousel-wrapper {
        padding: 0 50px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-nav.prev {
        left: 5px;
    }

    .carousel-nav.next {
        right: 5px;
    }
}






/* ============================================
   CSS ADICIONAL PARA CONTENIDO DINÁMICO
   Agregar al FINAL de styles.css (después de línea 641)
   ============================================ */

/* Estilos para productos destacados en el megamenú */
.category-list li a strong {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
}

.category-list li a small {
    display: block;
    color: var(--text-light);
    font-size: 12px;
    font-weight: normal;
}

/* Mejorar el precio en overlay */
.mega-image-overlay .price {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 15px;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Ajustar altura de mega-image para que se vea completa */
.mega-image {
    min-height: 400px;
    max-height: 500px;
}

.mega-image img {
    height: 500px;
    object-fit: cover;
}

/* Loading state mejorado */
.mega-menu-content {
    min-height: 300px;
}

/* Asegurar que el contenido se vea bien */
.dropdown-content {
    background: white;
}

/* Hover en links de productos */
.category-list li a:hover strong {
    color: var(--secondary);
}

/* Responsive para el contenido dinámico */
@media (max-width: 1200px) {
    .dropdown-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .mega-image {
        grid-column: 1 / -1;
        max-height: 300px;
    }
    
    .mega-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .dropdown-content {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 25px;
    }
    
    .mega-image {
        display: none;
    }
    
    .category-column h3 {
        font-size: 18px;
    }
}






/* ============================================
   FIX DEFINITIVO - Grid del Megamenú
   Agregar al FINAL de styles.css
   ============================================ */

/* Forzar grid en dropdown-content */
.dropdown-mega .mega-menu-content .dropdown-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr 2fr !important;
    gap: 40px !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 50px 40px !important;
}

/* Asegurar que las columnas tengan el ancho correcto */
.dropdown-mega .category-column {
    min-width: 0 !important;
}

/* Asegurar que la imagen tenga el ancho correcto */
.dropdown-mega .mega-image {
    min-width: 0 !important;
    grid-column: auto !important;
}



/* Responsive */
@media (max-width: 1200px) {
    .dropdown-mega .mega-menu-content .dropdown-content {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .dropdown-mega .mega-image {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 768px) {
    .dropdown-mega .mega-menu-content .dropdown-content {
        grid-template-columns: 1fr !important;
    }
}






/* ============================================
   FIX DEFINITIVO - Eliminar flex-direction
   
   INSTRUCCIONES:
   1. En styles.css, BUSCA la línea 536-538:
   
   .dropdown-content {
       flex-direction: column;
       padding: 20px;
   }
   
   2. REEMPLÁZALA con esto:
   ============================================ */

@media (max-width: 992px) {
    /* ... otras reglas del media query ... */
    
    .dropdown-content {
        /* ❌ ELIMINAR: flex-direction: column; */
        /* ✅ MANTENER EL GRID pero adaptado */
        grid-template-columns: 1fr !important;
        padding: 20px;
        gap: 20px;
    }
    
    .category-column {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .mega-image {
        display: none;
    }
}

/* TAMBIÉN agregar esto AL FINAL de styles.css para forzar el grid */

/* Forzar grid en desktop (más de 992px) */
@media (min-width: 993px) {
    .dropdown-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr 2fr !important;
        gap: 40px !important;
    }
}

/* Asegurar que SIEMPRE sea grid, nunca flex */
.dropdown-mega .dropdown-content,
.dropdown-mega .mega-menu-content .dropdown-content {
    display: grid !important;
    /* NO flex, NO block, SIEMPRE grid */
}











/**
 * BEETOS - Header Móvil Moderno 2026
 * Agregar al FINAL de styles.css
 */

/* ============================================
   HEADER MÓVIL - RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    
    /* Top Bar - Ocultar en móvil */
    .top-bar {
        display: none;
    }
    
    /* Header Principal */
    #header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #1a1a1a;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    
    .header-top {
        padding: 12px 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    
    /* Logo Compacto */
    .logo-container {
        flex-shrink: 0;
    }
    
    .logo-container .logo {
        height: 35px;
        width: auto;
    }
    
    /* Ocultar buscador desktop */
    .search-container {
        display: none !important;
    }
    
    /* Header Actions - Solo iconos */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    
    /* Ocultar top-links en móvil */
    .top-links {
        display: none !important;
    }
    
    /* Iconos del Header */
    .header-icons {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .icon-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s;
        font-size: 16px;
        position: relative;
    }
    
    .icon-btn:active {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(0.95);
    }
    
    /* Botón de búsqueda móvil (visible) */
    #searchBtn {
        display: flex !important;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #d4af37;
        color: #1a1a1a;
    }
    
    /* Mega Menu - Ocultar en móvil */
    .mega-menu-container {
        display: none !important;
    }
    
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex !important;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: white;
        font-size: 20px;
    }
    
    /* Badge del carrito */
    .cart-count {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #e74c3c;
        color: white;
        font-size: 10px;
        font-weight: 700;
        min-width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
    }
}

/* ============================================
   BUSCADOR MÓVIL - OVERLAY
   ============================================ */

@media (max-width: 768px) {
    
    /* Overlay de búsqueda móvil */
    .search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.95);
        z-index: 9999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .search-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .search-overlay-content {
        padding: 20px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .search-overlay-header {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .search-overlay input {
        flex: 1;
        background: white;
        border: none;
        padding: 15px 20px;
        border-radius: 30px;
        font-size: 16px;
        color: #333;
    }
    
    .search-overlay input::placeholder {
        color: #999;
    }
    
    .search-overlay-close {
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        color: white;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    
    .search-suggestions {
        margin-top: 30px;
        color: white;
    }
    
    .search-suggestion-title {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #999;
        margin-bottom: 15px;
    }
    
    .search-suggestion-item {
        padding: 15px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        margin-bottom: 10px;
        color: white;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .search-suggestion-item:active {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* ============================================
   MENÚ LATERAL MÓVIL
   ============================================ */

@media (max-width: 768px) {
    
    /* Overlay del menú */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9998;
        display: none;
        opacity: 0;
        transition: opacity 0.3s;
    }
    
    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* Sidebar del menú */
    .mobile-menu-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background: #1a1a1a;
        z-index: 9999;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-menu-sidebar.active {
        left: 0;
    }
    
    .mobile-menu-header {
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .mobile-menu-logo {
        height: 30px;
    }
    
    .mobile-menu-close {
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
    
    .mobile-menu-items {
        padding: 20px 0;
    }
    
    .mobile-menu-item {
        padding: 15px 20px;
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        cursor: pointer;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .mobile-menu-item:active {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .mobile-menu-item i {
        color: #d4af37;
        font-size: 14px;
    }
}

/* ============================================
   AJUSTES ADICIONALES MÓVIL
   ============================================ */

@media (max-width: 768px) {
    
    /* Breadcrumb más compacto */
    .breadcrumb-container {
        padding: 10px 0;
    }
    
    .breadcrumb {
        font-size: 12px;
        padding: 0 15px;
    }
    
    /* Contenedor principal */
    .container {
        padding: 0 15px;
    }
    
    /* Carrito lateral - ancho completo en móvil pequeño */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-sidebar.active {
        right: 0;
    }
}





/* ============================================
   FIX: Eliminar espacio arriba del header
   ============================================ */

@media (max-width: 768px) {
    
    /* Resetear márgenes del body */
    body {
        margin: 0;
        padding: 0;
    }
    
    /* Asegurar que el header esté pegado arriba */
    #header {
        margin-top: 0 !important;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    /* Si hay algún elemento antes del header, ocultarlo */
    #header::before {
        display: none !important;
    }
    
    /* Contenedor principal sin margin-top */
    main,
    .main-content,
    .hero-section,
    .carousel-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}