* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --accent: #f59e0b;
    --light: #f8fafc;
    --dark: #1e293b;
    --success: #10b981;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--primary);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: center;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    object-fit: contain;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    border: 3px solid var(--primary);
    background: white;
    padding: 8px;
}

.header-text {
    text-align: center;
}

.header-text h1 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    font-weight: 800;
}

.header-text p {
    color: var(--secondary);
    font-size: 1.2rem;
    font-weight: 500;
}

/* Benefits Section */
.benefits {
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 280px);
    gap: 20px;
    justify-content: center;
}

.benefit-item {
    text-align: center;
    padding: 20px 15px;
    min-height: 140px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.benefit-item i {
    font-size: 1.8rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefit-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark);
    font-weight: 600;
}

.benefit-item p {
    font-size: 0.8rem;
    line-height: 1.2;
    color: var(--secondary);
}

/* Para tablets */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 280px);
    }
}

/* Para móviles */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 280px;
    }
}

/* Products Section */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 500;
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.tab-button.active {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

.tab-button:hover:not(.active) {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.tab-button i {
    font-size: 1.3rem;
}

/* Products Grid - MÁS COMPACTO */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 15px;
}

/* PRODUCT CARD - SUPER COMPACTO */
.product-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* IMAGEN MUCHO MÁS PEQUEÑA */
.product-image {
    width: 100%;
    height: 120px; /* REDUCIDO A 120px */
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 6px;
    background: #f8fafc;
    padding: 5px;
}

/* TEXTO MUCHO MÁS COMPACTO */
.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
    line-height: 1.2;
    min-height: auto;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-description {
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: 500;
}

.product-code {
    color: var(--secondary);
    font-size: 0.8rem;
    margin-bottom: 15px;
    padding: 6px 12px;
    background: var(--light);
    border-radius: 15px;
    
    font-weight: 600;
    border: 1px solid #e2e8f0;
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.whatsapp-button {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    width: 100%;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(16, 185, 129, 0.3);
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.5);
}
/* Encabezado de categorías en fila */
.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

/* Botones agrupados */
.categories-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Títulos de categoría */
.category-title {
    text-align: center;
    flex: 1;
}

.category-title h3 {
    font-size: 1.3rem;
    color: white;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

/* Footer */
.main-footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
    border-top: 5px solid var(--primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section i {
    color: var(--success);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 25px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .header-text h1 {
        font-size: 2.2rem;
    }
    
    .header-text p {
        font-size: 1.1rem;
    }
    
    .tabs {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .section-title p {
        font-size: 1.1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .benefit-item {
        padding: 20px 15px;
    }
    
    .product-card {
        padding: 25px;
    }
    
    .product-name {
        font-size: 1.3rem;
    }
    
    .product-price {
        font-size: 1.8rem;
    }
}











