/* ============================================================================
   MEJORAS DEL HEADER - Top Bar, WhatsApp Flotante y Header Actions
   ============================================================================ */

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #0a0a14 0%, #1a0a2e 100%);
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top-bar-left,
.top-bar-center,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.top-bar-item:hover {
    color: #00d9ff;
    background: rgba(0, 217, 255, 0.1);
}

.top-bar-item i {
    font-size: 1rem;
    color: #00d9ff;
}

.top-bar-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(0, 217, 255, 0.05) 100%);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 217, 255, 0.3);
}

.top-badge i {
    color: #00d9ff;
    font-size: 0.875rem;
}

/* Header Actions Container */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Botón WhatsApp en Header */
.whatsapp-header-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-header-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-header-btn i {
    font-size: 1.25rem;
}

/* Responsive Top Bar */
@media (max-width: 991px) {
    .top-bar {
        font-size: 0.8rem;
    }
    
    .top-bar-content {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .top-bar-badges {
        gap: 0.5rem;
    }
    
    .top-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    /* WhatsApp button responsive */
    .whatsapp-header-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .whatsapp-header-btn i {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .header-actions {
        gap: 0.5rem;
    }
    
    .whatsapp-header-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .top-bar {
        padding: 0.4rem 0;
    }
    
    .top-bar-item span {
        font-size: 0.75rem;
    }
    
    /* WhatsApp button más compacto en móviles pequeños */
    .whatsapp-header-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        gap: 0.3rem;
    }
    
    .whatsapp-header-btn i {
        font-size: 1rem;
    }
}

/* --- PAGINACIÓN TIENDA --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0 1.5rem 0;
    flex-wrap: wrap;
}
.pagination-btn {
    background: var(--primary-cyan, #00d4ff);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.4em 1.1em;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    outline: none;
}
.pagination-btn:not(:disabled):hover {
    background: var(--primary-dark, #00b8d4);
    color: #fff;
}
.pagination-btn:disabled {
    background: #b0b0b0;
    color: #eee;
    cursor: not-allowed;
}
.pagination-btn.active {
    background: var(--accent, #00d4ff);
    color: #fff;
    box-shadow: 0 0 0 2px var(--primary-cyan, #00d4ff);
}

/* --- ANIMACIONES PARA BÚSQUEDA --- */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Estilos para términos resaltados */
mark {
    background: #ffc107;
    color: #000;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

/* Mejoras responsivas para mensajes de búsqueda */
@media (max-width: 768px) {
    .search-stats {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .search-stats button {
        width: 100%;
    }
    
    .no-results-message {
        padding: 40px 15px !important;
    }
}

/* Offcanvas Filtros - Estilo Moderno */
.offcanvas.offcanvas-end#offcanvasFilters {
    background: var(--card-bg, #181c23);
    color: var(--text-color, #e8eef3);
    border-left: 2px solid var(--primary-cyan, #00d4ff);
    box-shadow: -8px 0 40px 0 rgba(0,212,255,0.10), -2px 0 16px 0 rgba(0,0,0,0.25);
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    padding-top: 1.5rem;
}
.offcanvas.offcanvas-end#offcanvasFilters .offcanvas-header {
    border-bottom: 1px solid rgba(0,212,255,0.10);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.offcanvas.offcanvas-end#offcanvasFilters .offcanvas-title {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary-cyan, #00d4ff);
    letter-spacing: 0.5px;
}
.offcanvas.offcanvas-end#offcanvasFilters .btn-close {
    filter: invert(1) brightness(1.5);
    opacity: 0.7;
    transition: opacity 0.2s;
}
.offcanvas.offcanvas-end#offcanvasFilters .btn-close:hover {
    opacity: 1;
}
.offcanvas.offcanvas-end#offcanvasFilters .offcanvas-body {
    padding-bottom: 2rem;
}
.offcanvas.offcanvas-end#offcanvasFilters .filter-card {
    background: rgba(0,212,255,0.04);
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(0,212,255,0.04);
    border: 1px solid rgba(0,212,255,0.10);
    margin-bottom: 1.2rem;
    padding: 1.1rem 1rem 0.7rem 1rem;
    transition: box-shadow 0.2s;
}
.offcanvas.offcanvas-end#offcanvasFilters .filter-card:focus-within,
.offcanvas.offcanvas-end#offcanvasFilters .filter-card:hover {
    box-shadow: 0 4px 24px 0 rgba(0,212,255,0.13);
    border-color: var(--primary-cyan, #00d4ff);
}
.offcanvas.offcanvas-end#offcanvasFilters .filter-label {
    font-weight: 600;
    color: var(--primary-cyan, #00d4ff);
    margin-bottom: 0.3rem;
    display: block;
}
.offcanvas.offcanvas-end#offcanvasFilters .filter-select-modern {
    background: var(--bg-dark-secondary, #1a1d23);
    color: var(--text-color, #e8eef3);
    border: 1.5px solid var(--primary-cyan, #00d4ff);
    border-radius: 10px;
    padding: 0.5em 1em;
    font-size: 1em;
    margin-top: 0.2em;
    outline: none;
    transition: border-color 0.2s;
}
.offcanvas.offcanvas-end#offcanvasFilters .filter-select-modern:focus {
    border-color: var(--accent, #00d4ff);
    box-shadow: 0 0 0 2px rgba(0,212,255,0.10);
}
.offcanvas.offcanvas-end#offcanvasFilters .filter-icon {
    font-size: 1.5em;
    margin-bottom: 0.3em;
    color: var(--primary-cyan, #00d4ff);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.offcanvas.offcanvas-end#offcanvasFilters .mb-4 h6 {
    color: var(--primary-cyan, #00d4ff);
    font-weight: 700;
    margin-bottom: 0.2em;
}
.offcanvas.offcanvas-end#offcanvasFilters .mb-3.text-secondary {
    color: var(--secondary-color, #6c757d) !important;
}

/* Variables CSS Globales y Estilos Base */
:root {
    --primary-cyan: #00d4ff;
    --primary-teal: #17a2b8;
    --primary: #00d4ff;
    --primary-dark: #00b8d4;
    --secondary: #8b8b8b;
    --secondary-color: #6c757d;
    --accent: #00d4ff;
    --accent-color: #495057;
    --text-color: #e8eef3;
    --success: #48ca47;
    --success-color: #48ca47;
    --danger: #ff0055;
    --warning: #ffc107;
    --warning-color: #ffc107;
    --info: #00d4ff;
    --white: #ffffff;
    --bg-dark: #0a0e12;
    --bg-dark-secondary: #1a1d23;
    --background-dark: #0a0e12;
    --background-darker: #0a0e12;
    --card-bg: rgba(26, 29, 35, 0.9);
    --gradient-primary: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 50%, rgba(0, 212, 255, 0.1) 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-teal) 100%);
    --gradient-dark: linear-gradient(135deg, rgba(26, 29, 35, 0.95) 0%, rgba(10, 14, 18, 0.9) 100%);
    --shadow-sm: 0 15px 50px rgba(0, 212, 255, 0.15);
    --shadow-md: 0 25px 70px rgba(0, 212, 255, 0.3);
    --shadow-lg: 0 25px 60px rgba(0, 212, 255, 0.15);
    --shadow-neon: 0 0 60px rgba(0, 212, 255, 0.15);
    --border-radius: 20px;
    --border-radius-lg: 20px;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Segoe UI', 'Arial', sans-serif;
}

body {
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(23, 162, 184, 0.03) 0%, transparent 50%),
        linear-gradient(to bottom, var(--bg-dark), var(--bg-dark-secondary));
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    padding-top: 130px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Loading Screen - NUEVO */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.loading-text {
    margin-top: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Header Profesional - Estilo RSE */
header,
.modern-header {
    background: rgba(26, 29, 35, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    box-shadow: 0 5px 30px rgba(0, 212, 255, 0.2), 0 0 30px rgba(0, 212, 255, 0.05);
    padding: 1.5rem 0;
    position: fixed;
    top: 42px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-accent) 1;
    transition: all 0.3s ease;
}

header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.header-content,
.header-content-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo,
.brand-modern {
    color: white;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
}

.brand-modern:hover {
    transform: scale(1.05);
    color: var(--info);
}

/* Logo mejorado con efectos profesionales */
.logo-modern {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.3), 0 0 40px rgba(23, 162, 184, 0.15);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite, pulse-neon 2s ease-in-out infinite;
    padding: 8px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.logo-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0.1;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.logo-modern:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(0, 212, 255, 0.5), 0 0 60px rgba(23, 162, 184, 0.3);
    border-color: var(--primary-cyan);
}

.logo-modern:hover::before {
    opacity: 0.2;
}

@keyframes pulse-neon {
    0%, 100% { 
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.3), 0 0 40px rgba(23, 162, 184, 0.15);
    }
    50% { 
        box-shadow: 0 0 35px rgba(0, 212, 255, 0.4), 0 0 50px rgba(23, 162, 184, 0.2);
    }
}

.logo-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: var(--transition);
}

.logo-modern:hover .logo-image {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--primary-cyan);
    animation: pulse 2s infinite;
    position: relative;
    z-index: 2;
}

.brand-text {
    color: white;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: none;
}

.brand-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
    display: block;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--primary-cyan);
    text-shadow: none;
}

/* Search Container Profesional */
.search-container-modern {
    flex: 1;
    max-width: 500px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(26, 29, 35, 0.7);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1), inset 0 0 20px rgba(0, 212, 255, 0.03);
    transition: var(--transition);
}

.search-wrapper:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.25), 0 0 40px rgba(23, 162, 184, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    color: rgba(255,255,255,0.9);
    z-index: 2;
    font-size: 1.1rem;
}

.search-input-modern {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1rem 0.8rem 3rem;
    color: white;
    outline: none;
    font-size: 1rem;
    font-weight: 500;
}

.search-input-modern::placeholder {
    color: rgba(255,255,255,0.7);
    font-weight: 400;
}

.search-btn-modern {
    background: var(--gradient-accent);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.search-btn-modern:hover {
    background: linear-gradient(45deg, var(--primary-teal), var(--primary-cyan));
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Botón de limpiar búsqueda */
.search-clear-btn {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(108, 117, 125, 0.1);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #acceed;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    opacity: 0.7;
}

.search-clear-btn:hover {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    opacity: 1;
    transform: translateY(-50%) rotate(90deg) scale(1.1);
}

.search-clear-btn:active {
    transform: translateY(-50%) rotate(90deg) scale(0.95);
}

.search-clear-btn i {
    pointer-events: none;
    transition: inherit;
}

/* ============================================================================
   BUSCADOR MÓVIL EXPANDIBLE
   ============================================================================ */

.mobile-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-search-toggle {
    background: rgba(0, 212, 255, 0.15);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d9ff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.mobile-search-toggle:hover,
.mobile-search-toggle:active {
    background: rgba(0, 212, 255, 0.25);
    border-color: #00d9ff;
    transform: scale(1.05);
}

.mobile-search-expanded {
    position: fixed;
    top: 42px;
    left: 0;
    right: 0;
    background: rgba(26, 29, 35, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mobile-search-expanded.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 50px;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-search-wrapper:focus-within {
    border-color: #00d9ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.25);
    background: rgba(0, 212, 255, 0.12);
}

.mobile-search-wrapper i.bi-search {
    color: #00d9ff;
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.mobile-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    padding: 0.25rem 0;
}

.mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.mobile-search-close {
    background: rgba(220, 53, 69, 0.15);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.mobile-search-close:hover,
.mobile-search-close:active {
    background: rgba(220, 53, 69, 0.25);
    transform: rotate(90deg) scale(1.1);
}

/* Cart Icon Profesional */
.cart-icon,
.cart-btn-modern {
    position: relative;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 3px solid rgba(0, 212, 255, 0.3);
    color: var(--primary-cyan);
    font-size: 1.6rem;
    transition: var(--transition);
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.25), 0 0 40px rgba(23, 162, 184, 0.1);
    animation: pulse-cart 3s infinite;
    text-decoration: none;
}

.cart-icon:hover,
.cart-btn-modern:hover {
    background: rgba(0, 212, 255, 0.08);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4), 0 0 60px rgba(23, 162, 184, 0.2);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

@keyframes pulse-cart {
    0%, 100% { 
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.25), 0 0 40px rgba(23, 162, 184, 0.1);
    }
    50% { 
        box-shadow: 0 0 35px rgba(0, 212, 255, 0.35), 0 0 50px rgba(23, 162, 184, 0.15);
    }
}

.cart-count,
.cart-badge-modern {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(45deg, var(--danger), #e74c3c);
    color: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
    animation: bounce 2s infinite;
}

/* Animaciones */
@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(23, 162, 184, 0.7);
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(23, 162, 184, 0);
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: scale(1);
    }
    40%, 43% {
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-8px); 
    }
}

/* Hero Section Profesional - Estilo RSE */
.hero,
.hero-section-modern {
    background-image: 
        linear-gradient(135deg, rgba(10, 10, 20, 0.85) 0%, rgba(26, 10, 46, 0.80) 50%, rgba(10, 10, 20, 0.85) 100%),
        url('../img/fachada.RSE.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 50px;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 50px rgba(0, 212, 255, 0.15);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 212, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(23, 162, 184, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: float 20s ease-in-out infinite;
    z-index: 1;
    opacity: 0.6;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(23, 162, 184, 0.1) 50%, transparent 70%);
    animation: slide 15s linear infinite;
    z-index: 1;
}

.hero-content-modern {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(26, 29, 35, 0.6);
    border: 2px solid rgba(0, 212, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
    animation: slideInDown 1s ease;
    text-shadow: none;
}

.hero-badge i {
    margin-right: 0.5rem;
    color: var(--primary-cyan);
    filter: none;
}

.hero h1,
.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInUp 1s ease 0.3s both;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: none;
}

.hero p,
.hero-description {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 400;
    animation: fadeIn 1s ease 0.6s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.9s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.08);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}

.feature-item i {
    font-size: 1.3rem;
    color: var(--primary-cyan);
}

.cta-btn-modern {
    background: var(--gradient-accent);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideInUp 1s ease 1.2s both;
}

.cta-btn-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
    background: linear-gradient(45deg, var(--primary-teal), var(--primary-cyan));
}

/* Animaciones adicionales */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.95;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Container Modernizado - NUEVO */
.container-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Filter Section Profesional - Diseño Elegante Oscuro */
.filter-section,
.filter-section-modern {
    background: rgba(26, 29, 35, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 0.9rem 0.9rem;
    margin: 0.9rem auto 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.12), 
                0 0 40px rgba(0, 212, 255, 0.06),
                inset 0 0 30px rgba(0, 212, 255, 0.02);
    border: 2px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
    max-width: 95%;
}

.filter-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.filter-section-modern::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

.filter-title,
.filter-title-modern {
    color: var(--primary-cyan);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    width: 100%;
    animation: slideInDown 0.6s ease;
    text-shadow: 0 2px 10px rgba(0, 212, 255, 0.3);
}

.filter-title-modern::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(23, 162, 184, 0.4);
}

.filter-subtitle {
    color: var(--secondary-color);
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 0.7rem;
    margin-top: 0.3rem;
    font-weight: 400;
    line-height: 1.4;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeIn 1s ease;
}

.filter-options,
.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.filter-group,
.filter-card {
    background: linear-gradient(145deg, rgba(26, 29, 35, 0.9) 0%, rgba(10, 14, 18, 0.85) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.7rem 0.6rem;
    border: 2px solid rgba(0, 212, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.08), inset 0 0 20px rgba(0, 212, 255, 0.02);
}

.filter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 15px rgba(0, 212, 255, 0.4);
}

.filter-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    transition: transform 0.6s ease;
    border-radius: 50%;
    pointer-events: none;
}

.filter-card:hover::before {
    transform: scaleX(1);
}

.filter-card:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.filter-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.25),
                0 0 60px rgba(23, 162, 184, 0.1),
                0 0 0 1px rgba(0, 212, 255, 0.2) inset;
    background: linear-gradient(145deg, rgba(26, 29, 35, 1) 0%, rgba(10, 14, 18, 0.95) 100%);
}

.filter-icon {
    margin-bottom: 0.7rem;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.filter-icon i {
    font-size: 1.1rem;
    padding: 0.6rem;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.25),
                0 0 0 6px rgba(0, 212, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.filter-icon i::before {
    z-index: 1;
}

.filter-icon i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-accent);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.filter-card:hover .filter-icon i {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.35),
                0 0 0 12px rgba(0, 212, 255, 0.08);
}

.filter-card:hover .filter-icon i::after {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.3);
}

.filter-group label,
.filter-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.75rem;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.95;
    transition: all 0.3s ease;
    text-shadow: none;
}

.filter-card:hover .filter-label {
    color: var(--primary-cyan);
    opacity: 1;
    transform: translateY(-2px);
    text-shadow: none;
}

.filter-group select,
.filter-group input,
.filter-select-modern {
    width: 100%;
    padding: 0.5rem 0.7rem;
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(26, 29, 35, 0.8) 0%, rgba(10, 14, 18, 0.7) 100%);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-align: center;
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1), inset 0 0 20px rgba(0, 212, 255, 0.03);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.filter-group select:focus,
.filter-group input:focus,
.filter-select-modern:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 5px rgba(0, 212, 255, 0.1),
                0 8px 25px rgba(0, 212, 255, 0.2),
                0 0 30px rgba(23, 162, 184, 0.1);
    background: rgba(26, 29, 35, 1);
    transform: translateY(-2px);
}

.filter-select-modern:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.15), 0 0 25px rgba(23, 162, 184, 0.08);
    transform: translateY(-2px);
}

/* Products Section */
.products-section-modern {
    margin: 3rem 0;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.products-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.view-options {
    display: flex;
    gap: 0.5rem;
    background: var(--card-bg);
    padding: 0.25rem;
    border-radius: 12px;
}

.view-btn {
    background: transparent;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.view-btn.active,
.view-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-cyan);
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.2);
}

/* Products Grid Profesional */
.products-grid,
.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
    margin: 50px 0;
    transition: var(--transition);
}

.products-grid-modern.list-view {
    grid-template-columns: 1fr;
}

.product-card {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15), 
                0 0 0 1px rgba(0, 212, 255, 0.1) inset,
                0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, rgba(22, 22, 42, 0.95) 0%, rgba(15, 15, 30, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    position: relative;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Badge de condición del producto (nuevo/usado) */
.condition-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.condition-badge.nuevo {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.condition-badge.usado {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.condition-badge i {
    font-size: 0.85rem;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 0 40px rgba(23, 162, 184, 0.4);
    z-index: 10;
}

.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 212, 255, 0.3), 
                0 0 80px rgba(23, 162, 184, 0.2),
                0 0 0 1px rgba(0, 212, 255, 0.4) inset;
    border-color: var(--primary-cyan);
    background: linear-gradient(145deg, rgba(22, 22, 42, 1) 0%, rgba(15, 15, 30, 0.95) 100%);
}

.product-image {
    height: 200px;
    width: 100%;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    padding: 1.2rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.15);
    cursor: pointer;
}

.product-card:hover .product-image {
    transform: scale(1.08);
    filter: brightness(1.15) drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.product-info {
    padding: 1rem;
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-info::before {
    display: none;
}

.product-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #f0f0f0;
    margin-top: 0;
    line-height: 1.2;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    min-height: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card:hover .product-title {
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.product-description {
    display: none;
}

.product-compatible {
    font-size: 0.7rem;
    color: var(--primary-cyan);
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(0, 212, 255, 0.05) 100%);
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-cyan);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15), inset 0 0 10px rgba(0, 212, 255, 0.05);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.product-card:hover .product-compatible {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.18) 0%, rgba(0, 212, 255, 0.08) 100%);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.25), inset 0 0 15px rgba(0, 212, 255, 0.08);
}

.product-compatible strong {
    color: var(--primary-teal);
    text-shadow: none;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-cyan);
    margin-bottom: 0.6rem;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-shadow: 0 0 25px rgba(0, 212, 255, 0.4), 0 0 50px rgba(0, 212, 255, 0.2);
    padding: 0.4rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    transition: all 0.3s ease;
}

.product-price::before {
    content: '$';
    font-size: 0.95rem;
    color: var(--primary-cyan);
    filter: none;
    font-weight: 700;
}

.product-card:hover .product-price {
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.3);
    transform: scale(1.05);
}

.product-card .product-price {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stock indicator */
.stock-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--success-color) 0%, rgba(72, 202, 71, 0.8) 100%);
    box-shadow: 0 5px 20px rgba(72, 202, 71, 0.4), 0 0 30px rgba(72, 202, 71, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-indicator.low {
    background: linear-gradient(135deg, var(--warning-color) 0%, rgba(255, 193, 7, 0.8) 100%);
    color: var(--bg-dark);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4), 0 0 30px rgba(255, 193, 7, 0.2);
}

.stock-indicator.out {
    background: linear-gradient(135deg, var(--danger) 0%, rgba(255, 0, 85, 0.8) 100%);
    box-shadow: 0 5px 20px rgba(255, 0, 85, 0.4), 0 0 30px rgba(255, 0, 85, 0.2);
}

/* Botones Profesionales - Estilo RSE */
.btn, 
.btn-add-cart, 
.checkout-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.btn::before,
.btn-add-cart::before,
.checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before,
.btn-add-cart:hover::before,
.checkout-btn:hover::before {
    left: 100%;
}

.btn-add-cart {
    background: var(--gradient-accent);
    color: white;
    width: 100%;
    text-align: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2), 0 0 20px rgba(23, 162, 184, 0.1);
    border-radius: 8px;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.35), 0 0 40px rgba(23, 162, 184, 0.2);
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-teal));
}

.btn-add-cart:disabled,
.btn-add-cart[disabled] {
    background: rgba(139, 139, 139, 0.3) !important;
    color: rgba(224, 224, 224, 0.4) !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.6;
    border: 2px solid rgba(139, 139, 139, 0.2);
}

.btn-add-cart:disabled::before,
.btn-add-cart[disabled]::before {
    display: none;
}

.btn-add-cart i {
    font-size: 0.9rem;
}

/* Botón Ver Detalles */
.btn-details {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(23, 162, 184, 0.05) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    color: var(--primary-cyan);
    width: 100%;
    text-align: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    padding: 0.65rem 1rem;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.btn-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-details:hover::before {
    left: 100%;
}

.btn-details:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(23, 162, 184, 0.1) 100%);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.3), 0 0 50px rgba(23, 162, 184, 0.15);
    transform: translateY(-2px);
    color: #fff;
}

.btn-details i {
    font-size: 0.85rem;
}

/* Efectos adicionales para botones */
.btn-pulse {
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(23, 162, 184, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(23, 162, 184, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(23, 162, 184, 0);
    }
}

/* Cart Modal Profesional - Estilo RSE Oscuro */
.cart-modal,
.cart-modal-modern {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    max-width: 95vw;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.98) 0%, rgba(16, 16, 26, 0.98) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 
        -20px 0 60px rgba(0, 217, 255, 0.25),
        -10px 0 100px rgba(255, 0, 255, 0.15),
        inset 2px 0 30px rgba(0, 217, 255, 0.08);
    z-index: 2000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-left: 3px solid rgba(0, 217, 255, 0.4);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-modal.show,
.cart-modal-modern.show,
.cart-modal[style*="block"] {
    display: block !important;
    transform: translateX(0) !important;
    animation: slideInRight 0.4s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cart-header,
.cart-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 2rem 2rem 1.8rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(255, 0, 255, 0.1));
    border-bottom: 2px solid rgba(0, 217, 255, 0.3);
    color: white;
    position: relative;
    box-shadow: 
        0 8px 30px rgba(0, 217, 255, 0.2),
        inset 0 -1px 20px rgba(0, 217, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cart-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
}

.cart-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-title-section i {
    font-size: 1.8rem;
    color: var(--primary-cyan);
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.4));
}

.cart-title-section h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d9ff, #00a8cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 2px 10px rgba(0, 217, 255, 0.5));
}

.close-cart,
.cart-close-btn {
    background: rgba(255, 0, 100, 0.2);
    border: 2px solid rgba(255, 0, 255, 0.3);
    font-size: 1.4rem;
    color: #ff00ff;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.close-cart:hover,
.cart-close-btn:hover {
    background: rgba(255, 0, 100, 0.4);
    border-color: #ff00ff;
    color: #ffffff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
}

.cart-items,
.cart-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(10, 10, 15, 0.3);
    position: relative;
    min-height: 0;
    max-height: calc(100vh - 280px);
}

/* Scrollbar personalizado */
.cart-items::-webkit-scrollbar {
    width: 8px;
}

.cart-items::-webkit-scrollbar-track {
    background: rgba(26, 29, 35, 0.5);
    border-radius: 10px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

/* Items del carrito mejorados */
.cart-item {
    display: flex;
    margin-bottom: 1.2rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(22, 22, 42, 0.8), rgba(26, 26, 50, 0.8));
    border-radius: 12px;
    border: 2px solid rgba(0, 217, 255, 0.2);
    box-shadow: 
        0 4px 20px rgba(0, 217, 255, 0.15),
        inset 0 0 30px rgba(0, 217, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.cart-item:hover {
    transform: translateX(-5px);
    box-shadow: 
        0 8px 35px rgba(0, 217, 255, 0.3),
        0 0 40px rgba(255, 0, 255, 0.1),
        inset 0 0 40px rgba(0, 217, 255, 0.05);
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(22, 22, 42, 0.95), rgba(26, 26, 50, 0.95));
}

.cart-item:hover::before {
    opacity: 1;
}

.cart-item-image {
    width: 85px;
    height: 85px;
    object-fit: contain;
    margin-right: 1rem;
    border-radius: 10px;
    background: rgba(10, 10, 20, 0.5);
    padding: 0.5rem;
    border: 1px solid rgba(0, 217, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
}

.cart-item:hover .cart-item-image {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.3);
    border-color: var(--primary);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.4;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.cart-item-price {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #00d9ff, #00ffc8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(0, 217, 255, 0.3));
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.quantity-btn {
    background: rgba(26, 29, 35, 0.8);
    border: 2px solid var(--primary-cyan);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.quantity-btn:hover {
    background: var(--gradient-accent);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.4), 0 0 35px rgba(23, 162, 184, 0.2);
    border-color: var(--primary-teal);
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
    background: var(--card-bg);
    transition: var(--transition);
}

.quantity-input:focus {
    outline: none;
    border-color: var(--primary-cyan);
    background: var(--bg-dark-secondary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.remove-item {
    color: var(--danger);
    background: rgba(220, 53, 69, 0.1);
    border: none;
    cursor: pointer;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.remove-item:hover {
    background: var(--danger);
    color: white;
    transform: scale(1.05);
}

.empty-cart {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
}

.empty-cart::before {
    content: '🛒';
    display: block;
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Resumen del carrito profesional */
.cart-total,
.cart-summary {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 1.5rem 1rem;
    text-align: left;
    background: rgba(26, 29, 35, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 217, 255, 0.15);
    position: relative;
    overflow: hidden;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
    flex-shrink: 0;
}

.cart-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.summary-line:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-line .label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-line .value {
    font-weight: 700;
    color: var(--text-color);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-color);
    padding-top: 1.5rem;
    border-top: 3px solid rgba(0, 212, 255, 0.3);
    margin-top: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.checkout-btn {
    background: var(--gradient-accent) !important;
    color: white !important;
    width: calc(100% - 3rem);
    padding: 1.2rem 2rem;
    text-align: center;
    border: none !important;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.25);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin: 0 1.5rem 1.5rem;
    flex-shrink: 0;
}

.checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.7s;
}

.checkout-btn:hover::before {
    left: 100%;
}

.checkout-btn i {
    margin-left: 0.8rem;
    font-size: 1.1rem;
}

.checkout-btn:disabled,
.checkout-btn[disabled] {
    background: var(--secondary-color) !important;
    color: rgba(232, 238, 243, 0.5) !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
    opacity: 0.6;
}

.checkout-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-cyan) 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.35);
}

/* Efectos de pulsación para checkout */
.checkout-btn.processing {
    animation: processing 1s infinite;
}

@keyframes processing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.98);
    }
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1999;
}

.overlay[style*="block"] {
    display: block !important;
}

/* Empty State - NUEVO */
.empty-state-modern {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: none;
}

.empty-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.empty-state-modern h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.empty-state-modern p {
    color: #666;
    margin-bottom: 2rem;
}

.btn-reset-filters {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset-filters:hover {
    background: #004494;
    transform: translateY(-2px);
}

/* Toast - NUEVO */
.toast-modern {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: none;
    overflow: hidden;
    min-width: 350px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast-modern.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.toast-icon {
    background: linear-gradient(45deg, var(--success), #20c997);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.toast-message strong {
    display: block;
    color: #333;
    margin-bottom: 0.25rem;
}

.toast-message small {
    color: #666;
}

.toast-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toast-close:hover {
    background: rgba(0,0,0,0.1);
    color: #666;
}

/* Footer Mejorado */
footer,
.footer-modern {
    background: linear-gradient(135deg, rgba(26, 29, 35, 0.95) 0%, rgba(10, 14, 18, 0.9) 100%);
    color: var(--text-color);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-top: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 -15px 50px rgba(0, 212, 255, 0.15);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-cyan);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-size: 18px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.footer-description {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.contact-item i {
    color: var(--primary-cyan);
    width: 16px;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-cyan);
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.whatsapp {
    background: #25d366;
}

.social-link.email {
    background: #ea4335;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary-color);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

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

.footer-links a:hover {
    color: var(--primary-cyan);
}

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

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

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

.footer-section a:hover {
    color: var(--primary-cyan);
}

/* Enlaces legales del footer con estilo elegante */
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-legal-links {
        justify-content: flex-end;
    }
}

.footer-legal-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(255, 0, 255, 0.05));
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-legal-link i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.footer-legal-link:hover {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(255, 0, 255, 0.1));
    border-color: rgba(0, 217, 255, 0.5);
    color: #00d9ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
}

.footer-legal-link:hover i {
    transform: scale(1.1);
}

.footer-legal-link.admin-link {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(138, 43, 226, 0.05));
    border-color: rgba(255, 0, 255, 0.2);
}

.footer-legal-link.admin-link:hover {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(138, 43, 226, 0.1));
    border-color: rgba(255, 0, 255, 0.5);
    color: #ff00ff;
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

/* Animaciones */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 1;
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.8;
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .products-grid,
    .products-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cart-modal,
    .cart-modal-modern {
        width: 100%;
        max-width: 100vw;
        border-radius: 0;
    }
    
    body {
        padding-top: 100px;
    }
    
    /* Fix para iOS Safari - background-attachment fixed no funciona correctamente */
    .hero,
    .hero-section-modern {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        min-height: 50vh;
    }
    
    .hero h1,
    .hero-title {
        font-size: 2rem;
    }
    
    .hero p,
    .hero-description {
        font-size: 1rem;
    }
    
    .search-container-modern {
        display: none !important;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-grid,
    .filter-options {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-content,
    .header-content-modern {
        gap: 0.5rem;
    }
    
    .brand-text {
        display: none;
    }
    
    .container-modern {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 80px;
    }
    
    .search-wrapper,
    .search-container-modern {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    /* Optimización adicional para dispositivos móviles pequeños */
    .hero,
    .hero-section-modern {
        background-attachment: scroll;
        min-height: 45vh;
        padding: 60px 0;
    }
    
    .filter-section,
    .filter-section-modern {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .cart-modal,
    .cart-modal-modern {
        width: 100vw;
        max-width: 100vw;
    }
}

/* Fix específico para dispositivos iOS/Safari */
@supports (-webkit-touch-callout: none) {
    .hero,
    .hero-section-modern {
        background-attachment: scroll !important;
    }
}

@media (max-width: 375px) {
    .products-grid,
    .products-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.8rem;
    }
    
    .filter-options,
    .filter-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== MODAL DE DETALLES DEL PRODUCTO ===== */
.product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}

.product-detail-modal.show {
    opacity: 1;
    visibility: visible;
}

.product-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.product-detail-content {
    position: relative;
    max-width: 1000px;
    width: 90%;
    max-height: 85vh;
    background: linear-gradient(135deg, rgba(22, 22, 42, 0.95), rgba(26, 26, 50, 0.95));
    border-radius: 20px;
    border: 2px solid rgba(0, 217, 255, 0.3);
    box-shadow: 
        0 0 60px rgba(0, 217, 255, 0.3),
        0 0 100px rgba(255, 0, 255, 0.2),
        inset 0 0 40px rgba(0, 217, 255, 0.05);
    overflow: hidden;
    z-index: 10001;
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.product-detail-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 100, 0.2);
    border: 2px solid rgba(255, 0, 255, 0.5);
    border-radius: 50%;
    color: var(--accent);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10002;
}

.product-detail-close:hover {
    background: rgba(255, 0, 100, 0.4);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    overflow-y: auto;
    max-height: 85vh;
}

.product-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 20, 0.5);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.product-detail-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 217, 255, 0.3));
}

/* Estilos para el carrusel en el modal de detalles */
.product-detail-image .carousel {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.product-detail-image .carousel-inner {
    border-radius: 12px;
}

.product-detail-image .carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 10px 30px rgba(0, 217, 255, 0.3));
}

.product-detail-image .carousel-control-prev,
.product-detail-image .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 217, 255, 0.2);
    border: 2px solid rgba(0, 217, 255, 0.4);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.product-detail-image .carousel-control-prev {
    left: 10px;
}

.product-detail-image .carousel-control-next {
    right: 10px;
}

.product-detail-image .carousel-control-prev:hover,
.product-detail-image .carousel-control-next:hover {
    background: rgba(0, 217, 255, 0.4);
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
}

.product-detail-image .carousel-control-prev-icon,
.product-detail-image .carousel-control-next-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 5px rgba(0, 217, 255, 0.8));
}

.product-detail-image .carousel-indicators {
    margin-bottom: -2rem;
    z-index: 2;
}

.product-detail-image .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(0, 217, 255, 0.6);
    background-color: rgba(0, 217, 255, 0.3);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.product-detail-image .carousel-indicators button.active {
    background-color: rgba(0, 217, 255, 1);
    border-color: rgba(0, 217, 255, 1);
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
    transform: scale(1.2);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-detail-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.product-detail-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
}

.product-detail-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.product-detail-compatible,
.product-detail-stock {
    padding: 1rem 1.2rem;
    background: rgba(0, 217, 255, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.1);
}

.product-detail-compatible strong,
.product-detail-stock strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

.product-detail-info .btn-add-cart {
    margin-top: 1rem;
    padding: 1.2rem 2rem;
    font-size: 1rem;
    width: 100%;
}

/* Responsive para modal */
@media (max-width: 768px) {
    .product-detail-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .product-detail-info h2 {
        font-size: 1.5rem;
    }
    
    .product-detail-price {
        font-size: 2rem;
    }
    
    .product-detail-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .product-detail-content {
        width: 100%;
        max-width: 100vw;
        border-radius: 0;
    }
    
    .product-detail-grid {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .product-detail-info h2 {
        font-size: 1.3rem;
    }
    
    .product-detail-price {
        font-size: 1.8rem;
    }
}

/* ===== ESTILOS PARA RESULTADOS DE BÚSQUEDA Y FILTROS ===== */
.search-stats,
.search-stats.alert,
.search-stats.alert-info {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(0, 150, 200, 0.08)) !important;
    border: 2px solid rgba(0, 217, 255, 0.4) !important;
    border-radius: 12px !important;
    padding: 1.5rem 2rem !important;
    margin-bottom: 2rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 1rem !important;
    box-shadow: 
        0 4px 15px rgba(0, 217, 255, 0.25),
        0 0 30px rgba(0, 217, 255, 0.15),
        inset 0 0 20px rgba(0, 217, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    color: #ffffff !important;
    font-size: 1.05rem !important;
    animation: slideDown 0.3s ease-out !important;
    width: 100% !important;
    box-sizing: border-box !important;
    grid-column: 1 / -1 !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-stats i {
    font-size: 1.5rem !important;
    color: var(--primary) !important;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.search-stats strong {
    color: var(--primary) !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    white-space: nowrap !important;
}

.search-stats .btn,
.search-stats button {
    margin-left: auto !important;
    padding: 0.6rem 1.2rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(0, 217, 255, 0.4) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.search-stats .btn:hover,
.search-stats button:hover {
    background: rgba(0, 217, 255, 0.25) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

.no-results-message {
    text-align: center !important;
    padding: 4rem 2rem !important;
    background: rgba(22, 22, 42, 0.6) !important;
    border-radius: 16px !important;
    border: 2px dashed rgba(0, 217, 255, 0.3) !important;
    margin: 2rem 0 !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.no-results-message i {
    font-size: 4rem !important;
    color: rgba(0, 217, 255, 0.4) !important;
    margin-bottom: 1.5rem !important;
    display: block !important;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.3));
}

.no-results-message h4 {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
}

.no-results-message p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
}

.no-results-message strong {
    color: var(--primary) !important;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.no-results-message .btn,
.no-results-message button {
    padding: 1rem 2rem !important;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(0, 150, 200, 0.2)) !important;
    border: 2px solid var(--primary) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.no-results-message .btn:hover,
.no-results-message button:hover {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.35), rgba(0, 150, 200, 0.35)) !important;
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.6) !important;
    transform: translateY(-3px) !important;
}

.no-results-message .btn i,
.no-results-message button i {
    font-size: 1rem !important;
    margin-right: 0.5rem !important;
}

/* Resaltado de términos de búsqueda */
mark {
    background: linear-gradient(135deg, var(--primary), rgba(0, 217, 255, 0.7));
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 217, 255, 0.3);
}

/* ============================================================================
   MÉTODOS DE PAGO - ESTILOS
   ============================================================================ */

/* Contenedor de métodos de pago */
#payment-methods {
    animation: fadeInUp 0.3s ease-out;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

#payment-methods h4 {
    color: #ffffff;
    font-weight: 700;
}

/* Opciones de pago */
.payment-option {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.payment-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.payment-option:hover::before {
    left: 100%;
}

.payment-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.3);
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
    cursor: pointer;
}

.payment-option label {
    user-select: none;
}

.payment-option label strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

/* Información de transferencia */
#transfer-info {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

/* Botón de confirmar pago */
#confirmPaymentBtn {
    transition: all 0.3s ease;
}

#confirmPaymentBtn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 217, 255, 0.4);
}

#confirmPaymentBtn:disabled {
    filter: grayscale(50%);
}

/* Formulario de datos del cliente */
#customer-details-form {
    animation: fadeInUp 0.3s ease-out;
}

#customer-details-form h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 700;
}

#customer-details-form .form-group {
    margin-bottom: 15px;
}

#customer-details-form label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

#customer-details-form input,
#customer-details-form textarea,
.cart-items input[type="text"],
.cart-items input[type="email"],
.cart-items textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(0, 217, 255, 0.4);
    border-radius: 8px;
    background: rgba(20, 20, 35, 0.9);
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

#customer-details-form input:focus,
#customer-details-form textarea:focus,
.cart-items input[type="text"]:focus,
.cart-items input[type="email"]:focus,
.cart-items textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.6);
    background: rgba(25, 25, 40, 0.95);
}

#customer-details-form input::placeholder,
#customer-details-form textarea::placeholder,
.cart-items input::placeholder,
.cart-items textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   MENÚ HAMBURGUESA Y NAVEGACIÓN MÓVIL
   ============================================================================ */

/* Botón Hamburguesa */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.hamburger-btn:hover span {
    background: linear-gradient(135deg, #ff006e 0%, #00d4ff 100%);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.8);
}

/* Animación del botón hamburguesa cuando está activo */
.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Menú Lateral */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, rgba(26, 29, 35, 0.98) 0%, rgba(10, 14, 18, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1002;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    border-right: 2px solid rgba(0, 212, 255, 0.2);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

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

/* Header del menú */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.15);
    background: rgba(0, 212, 255, 0.05);
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.mobile-menu-logo h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-cyan);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-menu-logo p {
    margin: 0;
    font-size: 0.7rem;
    color: var(--secondary-color);
}

.close-menu-btn {
    background: transparent;
    border: none;
    color: var(--primary-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.close-menu-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: rotate(90deg);
}

/* Búsqueda en el menú */
.mobile-menu-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.mobile-menu-search .search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(26, 29, 35, 0.8);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 25px;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
}

.mobile-menu-search .search-wrapper:focus-within {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.mobile-menu-search i {
    color: var(--primary-cyan);
    margin-right: 0.5rem;
    font-size: 1rem;
}

.mobile-menu-search input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    font-size: 0.9rem;
    outline: none;
}

.mobile-menu-search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Lista del menú */
.mobile-menu-list {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    flex: 1;
}

.mobile-menu-list li {
    margin: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.menu-item i {
    font-size: 1.3rem;
    color: var(--primary-cyan);
    transition: all 0.3s ease;
}

.menu-item span:first-of-type {
    flex: 1;
}

.menu-item:hover {
    background: rgba(0, 212, 255, 0.1);
    padding-left: 2rem;
}

.menu-item:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.8));
}

.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient-accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.menu-item:hover::before {
    transform: scaleY(1);
}

.menu-badge {
    background: var(--gradient-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    min-width: 25px;
    text-align: center;
}

.menu-divider {
    height: 1px;
    background: rgba(0, 212, 255, 0.1);
    margin: 0.5rem 1.5rem;
}

/* Footer del menú */
.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 2px solid rgba(0, 212, 255, 0.15);
    background: rgba(0, 212, 255, 0.03);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.copyright {
    text-align: center;
    color: var(--secondary-color);
    font-size: 0.8rem;
    margin: 0;
}

/* Overlay del menú */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Responsive - Mostrar hamburguesa en móvil y tablet */
@media (max-width: 1024px) {
    .hamburger-btn {
        display: flex;
    }
    
    /* Ajustar espaciado del header cuando aparece el botón */
    .header-content {
        gap: 1rem;
    }
    
    .brand-modern .brand-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        width: 280px;
        left: -280px;
    }
    
    .brand-modern .logo-modern img {
        width: 40px !important;
        height: 40px !important;
    }
}