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

/* CSS Variables */
:root {
    /* Colors */
    --primary-500: #0052FF;
    --primary-700: #003ECC;
    --primary-100: #EBF2FF;
    --neutral-900: #000000;
    --neutral-800: #1F2937;
    --neutral-500: #6B7280;
    --neutral-100: #F3F4F6;
    --neutral-0: #FFFFFF;
    --success-500: #10B981;
    --warning-500: #F59E0B;
    --error-500: #EF4444;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    line-height: 1.5;
    color: var(--neutral-800);
    background-color: var(--neutral-0);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header */
.header {
    background-color: var(--neutral-0);
    border-bottom: 1px solid var(--neutral-100);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-500);
    letter-spacing: -0.025em;
}

.search-bar {
    position: relative;
    flex: 1;
    max-width: 400px;
    margin: 0 var(--space-xl);
}

.search-icon {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--neutral-500);
}

.search-bar input {
    width: 100%;
    height: 48px;
    padding: 0 var(--space-md) 0 48px;
    background-color: var(--neutral-100);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: var(--neutral-800);
    outline: none;
    transition: all 0.2s ease;
}

.search-bar input:focus {
    background-color: var(--neutral-0);
    border: 2px solid var(--primary-500);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cart-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    position: relative;
    transition: color 0.2s ease;
}

.cart-btn:hover {
    color: var(--primary-500);
}

.cart-btn svg {
    width: 24px;
    height: 24px;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--error-500);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Navigation */
.nav {
    border-top: 1px solid var(--neutral-100);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    padding: var(--space-md) 0;
    overflow-x: auto;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--neutral-800);
    font-weight: 500;
    font-size: 14px;
    padding: var(--space-sm) var(--space-md);
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-menu li a:hover {
    background-color: var(--primary-100);
    color: var(--primary-500);
}

/* Black Friday Banner */
.black-friday-banner {
    background: linear-gradient(135deg, var(--neutral-900) 0%, #1a1a1a 100%);
    color: var(--neutral-0);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.black-friday-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M20 20c0 11.046-8.954 20-20 20s-20-8.954-20-20 8.954-20 20-20 20 8.954 20 20zm-1-1c0-10.493-8.507-19-19-19s-19 8.507-19 19 8.507 19 19 19 19-8.507 19-19z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s ease-in-out infinite;
}

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

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--primary-500);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.mayorista-info {
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.mayorista-info h2 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 700;
    color: var(--primary-500);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mayorista-info p {
    font-size: 16px;
    margin-bottom: 0;
    color: var(--neutral-0);
    opacity: 1;
}

.cta-button {
    background-color: var(--primary-500);
    color: var(--neutral-0);
    border: none;
    padding: var(--space-md) var(--space-xl);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background-color: var(--primary-700);
    transform: translateY(-2px);
}

/* === BANNER SERVICIO AL CLIENTE === */
.customer-service-banner {
    background: linear-gradient(135deg, #065f46, #047857, #059669);
    color: white;
    padding: 20px 0;
    border-top: 3px solid #10b981;
    border-bottom: 3px solid #10b981;
    position: relative;
    overflow: hidden;
}

.customer-service-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 150%; }
}

.service-banner-content {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.service-icon {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-icon i {
    font-size: 24px;
    color: #6ee7b7;
}

.service-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #d1fae5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-text p {
    font-size: 14px;
    color: #a7f3d0;
    margin: 0;
}

.phone-info, .hours-info {
    text-align: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.phone-info:hover, .hours-info:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.phone-info strong, .hours-info strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.phone-info span, .hours-info span {
    font-size: 12px;
    color: #d1fae5;
    font-weight: 500;
}

/* Responsive para banner servicio al cliente */
@media (max-width: 768px) {
    .service-banner-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }
    
    .service-contact {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .phone-info, .hours-info {
        padding: 10px 12px;
    }
    
    .phone-info strong, .hours-info strong {
        font-size: 14px;
    }
    
    .service-text h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .service-contact {
        grid-template-columns: 1fr;
    }
    
    .customer-service-banner {
        padding: 16px 0;
    }
}

/* === FIN BANNER SERVICIO AL CLIENTE === */

/* Main Content */
.main {
    padding: var(--space-3xl) 0;
}

/* Filter Section */
.filter-section {
    margin-bottom: var(--space-2xl);
}

.filter-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    text-align: center;
}

/* Premium Products Title Special Styling */
.filter-content h2:has-text("🏆 Productos Premium Exclusivos") {
    background: linear-gradient(135deg, #FFD700, #FF8C00, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 36px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: title-shine 3s infinite;
}

@keyframes title-shine {
    0%, 100% { 
        filter: brightness(1);
    }
    50% { 
        filter: brightness(1.2);
    }
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

.filter-btn {
    background-color: var(--neutral-100);
    color: var(--neutral-800);
    border: none;
    padding: var(--space-md) var(--space-lg);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-500);
    color: var(--neutral-0);
}

/* Premium Button Special Styling */
.filter-btn[onclick="filterProducts('premium')"] {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: 2px solid #FFD700;
    animation: premium-glow 2s infinite;
}

.filter-btn[onclick="filterProducts('premium')"]:hover,
.filter-btn[onclick="filterProducts('premium')"].active {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

@keyframes premium-glow {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    }
    50% { 
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.7);
    }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Product Card */
.product-card {
    background-color: var(--neutral-0);
    border-radius: 6px;
    padding: var(--space-sm);
    border: 1px solid var(--neutral-100);
    transition: all 0.25s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: var(--space-xs);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.product-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
    height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-prices {
    margin-bottom: var(--space-xs);
}

.price-original {
    font-size: 10px;
    color: var(--error-500);
    text-decoration: line-through;
    margin-bottom: 2px;
    display: block;
}

.price-discount {
    font-size: 14px;
    font-weight: 700;
    color: var(--neutral-800);
}

.product-saving {
    font-size: 10px;
    color: var(--success-500);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.add-to-cart-btn {
    width: 100%;
    background-color: var(--neutral-900);
    color: var(--neutral-0);
    border: none;
    padding: var(--space-xs) var(--space-sm);
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart-btn:hover {
    background-color: var(--neutral-800);
}

/* Categories Section */
.categories-section {
    margin-bottom: var(--space-3xl);
}

.categories-section h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.category-card {
    background-color: var(--neutral-0);
    border-radius: 8px;
    padding: var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--neutral-100);
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.category-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: var(--space-sm);
}

.category-card p {
    font-size: 14px;
    color: var(--neutral-500);
    margin: 0;
    line-height: 1.4;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background-color: var(--neutral-0);
    border-left: 1px solid var(--neutral-100);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--neutral-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--neutral-500);
}

.cart-content {
    flex: 1;
    padding: var(--space-lg);
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    color: var(--neutral-500);
    margin-top: var(--space-2xl);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--neutral-100);
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

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

.cart-item-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 14px;
    color: var(--primary-500);
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.quantity-btn {
    background-color: var(--neutral-100);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item {
    background: none;
    border: none;
    color: var(--error-500);
    cursor: pointer;
    font-size: 18px;
    margin-left: var(--space-sm);
}

.cart-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--neutral-100);
}

.cart-total {
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: 18px;
}

.checkout-btn {
    width: 100%;
    background-color: var(--primary-500);
    color: var(--neutral-0);
    border: none;
    padding: var(--space-md);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkout-btn:hover:not(:disabled) {
    background-color: var(--primary-700);
}

.checkout-btn:disabled {
    background-color: var(--neutral-500);
    cursor: not-allowed;
}

/* === ESTILOS ROBUSTOS PARA CARRITO MEJORADO === */

/* Header del carrito mejorado */
.cart-header h3 i {
    color: var(--primary-500);
    margin-right: 8px;
}

/* Botón cerrar carrito mejorado */
.close-btn-cart {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.close-btn-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
}

/* Carrito vacío */
.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--neutral-500);
}

.cart-empty i {
    font-size: 48px;
    color: var(--neutral-300);
    margin-bottom: 16px;
}

.cart-empty p:first-of-type {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-empty p:last-of-type {
    font-size: 14px;
    color: var(--neutral-400);
}

/* Contenedor de imagen del item */
.cart-item-image-container {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border: 2px solid var(--neutral-100);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--neutral-50);
}

.cart-item-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

/* Detalles del item mejorados */
.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
    color: var(--neutral-800);
    word-wrap: break-word;
}

.cart-item-price {
    font-size: 15px;
    color: var(--primary-600);
    font-weight: 700;
    margin-bottom: 8px;
}

.cart-item-subtotal {
    font-size: 12px;
    color: var(--neutral-600);
    font-weight: 500;
    margin-top: 4px;
}

/* Controles de cantidad mejorados */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.quantity-btn {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    transform: scale(1.05);
}

.qty-minus:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.quantity-display {
    background-color: var(--neutral-100);
    border: 1px solid var(--neutral-200);
    border-radius: 4px;
    padding: 4px 8px;
    min-width: 35px;
    text-align: center;
    font-weight: 600;
    color: var(--neutral-800);
}

/* Botón eliminar mejorado */
.remove-btn-cart {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.remove-btn-cart:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
}

/* Resumen del carrito */
.cart-summary {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.cart-total-items {
    font-size: 14px;
    color: var(--neutral-600);
    margin-bottom: 8px;
}

.cart-total-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--neutral-800);
}

/* Acciones del carrito */
.cart-actions {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.btn-clear-cart {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-clear-cart:hover {
    background: linear-gradient(135deg, #4b5563, #374151);
    transform: translateY(-1px);
}

/* Botón finalizar compra robusto */
.btn-checkout-robust {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
    border: none;
    border-radius: 8px;
    padding: 16px 20px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.btn-checkout-robust:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

/* Efecto de resaltado para productos nuevos */
.cart-sidebar.highlight-new {
    animation: highlightCart 1s ease-out;
}

@keyframes highlightCart {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Responsive para carrito */
@media (max-width: 768px) {
    .cart-actions {
        flex-direction: column;
    }
    
    .cart-item {
        padding: 12px 0;
    }
    
    .cart-item-image-container {
        width: 60px;
        height: 60px;
    }
    
    .cart-item-name {
        font-size: 13px;
    }
    
    .cart-item-price {
        font-size: 14px;
    }
}

/* === FIN ESTILOS ROBUSTOS CARRITO === */

/* Footer */
.footer {
    background-color: var(--neutral-800);
    color: var(--neutral-0);
    padding: var(--space-3xl) 0 var(--space-lg);
}

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--primary-500);
}

.footer-section p {
    margin-bottom: var(--space-md);
    color: #D1D5DB;
}

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

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section ul li a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-500);
}

.contact-info p {
    margin-bottom: var(--space-sm);
}

.payment-methods img {
    height: 40px;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: var(--space-lg);
    text-align: center;
    color: #9CA3AF;
}

/* === ESTILOS SERVICIO AL CLIENTE === */

/* Información destacada de servicio al cliente */
.customer-service-highlight {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    border: 2px solid var(--primary-400);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.customer-service-highlight p:first-child {
    color: #fbbf24;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-phone {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 8px 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-hours {
    color: #e5e7eb !important;
    font-size: 14px !important;
    margin: 6px 0 !important;
    font-weight: 500;
}

.service-description {
    color: #d1fae5 !important;
    font-size: 13px !important;
    font-style: italic;
    margin: 8px 0 0 0 !important;
}

/* Sección de servicio al cliente en footer */
.customer-service-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-highlight {
    background: linear-gradient(135deg, #065f46, #047857);
    border-radius: 8px;
    padding: 14px;
    border-left: 4px solid #10b981;
}

.service-highlight p:first-child {
    color: #6ee7b7;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
}

.service-highlight p:last-child {
    color: #d1fae5;
    font-size: 13px;
    margin-bottom: 0;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.phone-service, .schedule-info {
    background-color: rgba(55, 65, 81, 0.5);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #4b5563;
}

.phone-number {
    color: #60a5fa !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 6px 0 !important;
}

.phone-note {
    color: #a3a3a3 !important;
    font-size: 12px !important;
    font-style: italic;
    margin: 4px 0 0 0 !important;
}

.schedule {
    color: #fbbf24 !important;
    font-weight: 600 !important;
    margin: 6px 0 4px 0 !important;
}

.schedule-hours {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 4px 0 0 0 !important;
}

.service-links {
    margin-top: 16px;
}

.service-links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.service-links ul li a {
    background-color: rgba(75, 85, 99, 0.3);
    padding: 8px 12px;
    border-radius: 6px;
    display: block;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 13px;
}

.service-links ul li a:hover {
    background-color: var(--primary-600);
    border-color: var(--primary-400);
    transform: translateY(-2px);
}

.other-contacts {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #4b5563;
}

.other-contacts p {
    font-size: 14px;
    margin-bottom: 8px;
}

/* Responsive para servicio al cliente */
@media (max-width: 768px) {
    .contact-details {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-links ul {
        grid-template-columns: 1fr;
    }
    
    .customer-service-highlight {
        padding: 12px;
        margin: 12px 0;
    }
    
    .service-phone {
        font-size: 18px !important;
    }
}

/* === FIN ESTILOS SERVICIO AL CLIENTE === */

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        max-width: none;
        margin: 0;
    }
    
    .nav-menu {
        gap: var(--space-md);
    }
    
    .black-friday-banner {
        padding: var(--space-2xl) 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--space-md);
    }
    
    .product-image {
        height: 150px;
        max-width: 250px;
    }
    
    .filter-buttons {
        gap: var(--space-sm);
    }
    
    .filter-btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 12px;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .product-image {
        height: 120px;
        max-width: 200px;
    }
    
    .product-card {
        padding: var(--space-sm);
    }
    
    .product-name {
        font-size: 14px;
    }
    
    .price-discount {
        font-size: 18px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-card {
        padding: var(--space-md);
    }
    
    .category-card img {
        width: 50px;
        height: 50px;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 60px;
        width: 60px;
    }
    
    .category-card img {
        width: 40px;
        height: 40px;
    }
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-2xl) 0;
    flex-wrap: wrap;
}

.pagination-btn {
    background-color: var(--neutral-100);
    color: var(--neutral-800);
    border: none;
    padding: var(--space-xs) var(--space-sm);
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 32px;
    text-align: center;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--primary-100);
    color: var(--primary-500);
}

.pagination-btn.active {
    background-color: var(--primary-500);
    color: var(--neutral-0);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 12px;
    color: var(--neutral-500);
    margin: 0 var(--space-sm);
}

/* Utility Classes */
.hidden {
    display: none;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

.shipping-modal {
    max-width: 600px;
}

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

.modal-header {
    padding: 24px 24px 0;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 24px;
    position: relative;
}

.modal-header h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.cart-summary-header {
    margin-top: 16px;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-100), #f0f9ff);
    border-radius: 8px;
    border: 1px solid var(--primary-500);
}

.cart-summary-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.items-count {
    color: var(--neutral-700);
}

.total-amount {
    color: var(--primary-700);
    font-size: 16px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6B7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-modal:hover {
    background: #F3F4F6;
    color: #374151;
}

.modal-body {
    padding: 0 24px 24px;
}

.modal-footer {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid #E5E7EB;
    margin-top: 24px;
    padding-top: 24px;
}

/* Cart Options Modal */
.cart-options-modal .modal-body {
    text-align: center;
}

.cart-options-modal .modal-body p {
    font-size: 16px;
    color: #6B7280;
    margin-bottom: 24px;
}

/* Button Styles */
.btn-primary {
    background: var(--primary-500);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
}

.btn-primary:hover {
    background: var(--primary-600);
}

.checkout-btn-large {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 82, 255, 0.3);
    min-width: 200px;
}

.checkout-btn-large:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 255, 0.4);
}

.summary-line.total-final {
    background: linear-gradient(135deg, var(--primary-100), #f0f9ff);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--primary-500);
    font-size: 16px;
    margin-top: 8px;
}

.delivery-info {
    margin-top: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--success-500);
}

.delivery-time {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: var(--neutral-700);
    font-weight: 500;
}

.payment-note {
    margin: 0;
    font-size: 13px;
    color: var(--neutral-600);
    font-style: italic;
}

.btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #D1D5DB;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.btn-secondary:hover {
    background: #F9FAFB;
    border-color: #9CA3AF;
}

/* Shipping Form Styles */
.shipping-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select {
    background: white;
    cursor: pointer;
}

/* Shipping Summary */
.shipping-info {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 16px;
    margin-top: 24px;
}

.shipping-info h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1E293B;
}

.shipping-summary {
    margin-bottom: 16px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-line.total {
    font-weight: 600;
    color: #1E293B;
    padding-top: 8px;
    border-top: 1px solid #E2E8F0;
    margin-top: 12px;
}

.delivery-time {
    margin: 0;
    font-size: 13px;
    color: #64748B;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    .shipping-modal {
        margin: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
    }
}

/* Toast Styles */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 4000;
    min-width: 300px;
    animation: slideInRight 0.3s ease-out;
}

.toast.info {
    border-left: 4px solid #3B82F6;
}

.toast.success {
    border-left: 4px solid #10B981;
}

.toast.error {
    border-left: 4px solid #EF4444;
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 3000;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-button:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    color: white;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    }
}

/* Responsivo para móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* Banner Servicio al Cliente Footer */
.customer-service-banner-footer {
    background: #000000;
    color: #ffffff;
    padding: 40px 0;
    margin-top: 40px;
}

.customer-service-banner-footer .service-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.customer-service-banner-footer .service-icon {
    font-size: 3rem;
    color: #ffffff;
}

.customer-service-banner-footer .service-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.customer-service-banner-footer .service-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin: 0;
}

.customer-service-banner-footer .service-contact {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.customer-service-banner-footer .phone-info,
.customer-service-banner-footer .email-info,
.customer-service-banner-footer .hours-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.customer-service-banner-footer .phone-info strong,
.customer-service-banner-footer .email-info strong,
.customer-service-banner-footer .hours-info strong {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.customer-service-banner-footer .phone-info span,
.customer-service-banner-footer .email-info span,
.customer-service-banner-footer .hours-info span {
    font-size: 0.9rem;
    color: #cccccc;
}

/* Footer Links */
.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

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

/* Responsivo para el banner footer */
@media (max-width: 768px) {
    .customer-service-banner-footer .service-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .customer-service-banner-footer .service-contact {
        gap: 20px;
        justify-content: center;
    }
    
    .customer-service-banner-footer .service-text h3 {
        font-size: 1.5rem;
    }
    
    .footer-links {
        font-size: 0.9rem;
        text-align: center;
    }
}