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

:root {
    --primary-color: #FFD700;
    --secondary-color: #000;
    --accent-color: #FF6B35;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

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

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

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

.header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== WHATSAPP SECTION ===== */
.whatsapp-section {
    background: var(--white);
    padding: 50px 0;
    border-bottom: 2px solid var(--primary-color);
}

.whatsapp-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.whatsapp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.whatsapp-card {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: var(--white);
    padding: 25px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    cursor: pointer;
    border: 2px solid transparent;
}

.whatsapp-card.general {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--accent-color) 0%, #FF5722 100%);
    padding: 35px;
    font-size: 1.1rem;
}

.whatsapp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.whatsapp-card .emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.whatsapp-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.whatsapp-card p {
    font-size: 0.9rem;
    opacity: 0.95;
}

/* ===== FILTER SECTION ===== */
.filter-section {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.filter-section h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--secondary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: var(--shadow);
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 50px 0;
    min-height: 500px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-image.no-image::after {
    content: '📦';
    font-size: 3rem;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.4;
    flex-grow: 1;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.product-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFC700 100%);
    color: var(--secondary-color);
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-size: 0.95rem;
}

.product-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    text-align: center;
}

.loading-spinner.active {
    display: block;
}

.spinner {
    border: 4px solid var(--light-bg);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 4px solid var(--primary-color);
}

.footer p {
    margin: 8px 0;
    font-size: 0.95rem;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .whatsapp-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 15px;
    }

    .whatsapp-card.general {
        grid-column: 1 / -1;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .category-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .product-image {
        height: 150px;
    }

    .product-title {
        font-size: 1rem;
    }

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

@media (max-width: 480px) {
    .header {
        padding: 25px 0;
    }

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

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

    .whatsapp-grid {
        grid-template-columns: 1fr;
    }

    .category-filter {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }
}
