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

    body {
        font-family: 'Georgia', 'Times New Roman', serif;
        line-height: 1.6;
        color: #333;
        background: linear-gradient(135deg, #f8f9fa, #fff);
    }

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

    /* Header */
    .header {
        background: linear-gradient(135deg, #3F5183, #4d5ea5);
        padding: 2rem 0;
        text-align: center;
    }

    .logo img {
        height: 60px;
        width: auto;
        margin-bottom: 1rem;
    }

    .header h1 {
        color: #EABE81;
        font-size: clamp(2.5rem, 5vw, 4rem);
        font-weight: bold;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        margin-bottom: 0.5rem;
    }

    .header p {
        color: white;
        font-size: clamp(1rem, 2.5vw, 1.3rem);
        opacity: 0.9;
        font-style: italic;
    }

    /* Filter Section */
    .filter-section {
        padding: 2rem 0;
        background: rgba(63, 81, 131, 0.02);
    }

    .filter-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .filter-btn {
        background: white;
        color: #3F5183;
        border: 2px solid #3F5183;
        padding: 10px 20px;
        border-radius: 25px;
        cursor: pointer;
        font-weight: 500;
        transition: all 0.3s ease;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .filter-btn:hover,
    .filter-btn.active {
        background: #3F5183;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(63, 81, 131, 0.3);
    }

    /* Catalog Section */
    .catalog {
        padding: 60px 0 80px 0;
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 3rem;
        margin-top: 2rem;
    }

    .product-card {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 15px 40px rgba(63, 81, 131, 0.1);
        transition: all 0.3s ease;
        position: relative;
    }

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(63, 81, 131, 0.15);
    }

    .product-card.hidden {
        display: none;
    }

    .product-image {
        width: 100%;
        height: 350px;
        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.05);
    }

    .product-content {
        padding: 2rem;
    }

    .product-title {
        font-size: 1.8rem;
        font-weight: bold;
        color: #3F5183;
        margin-bottom: 1rem;
        text-align: center;
    }

    .product-description {
        font-size: 1.1rem;
        color: #666;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 1.5rem;
        min-height: 60px;
    }

    .product-price {
        font-size: 2.2rem;
        font-weight: bold;
        color: #EABE81;
        text-align: center;
        margin-bottom: 1.5rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    }

    .product-button {
        width: 100%;
        background: linear-gradient(135deg, #3F5183, #4d5ea5);
        color: white;
        border: none;
        padding: 15px 0;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .product-button:hover {
        background: linear-gradient(135deg, #4d5ea5, #3F5183);
        transform: scale(1.02);
        box-shadow: 0 5px 15px rgba(63, 81, 131, 0.3);
    }

    /* Category Badge */
    .category-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(63, 81, 131, 0.9);
        color: white;
        padding: 5px 12px;
        border-radius: 15px;
        font-size: 0.8rem;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

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

    .whatsapp-float a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background: #25d366;
        color: white;
        border-radius: 50%;
        text-decoration: none;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
        transition: all 0.3s ease;
    }

    .whatsapp-float a:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    }

    /* Decorative Elements */
    .decorative-line {
        width: 100px;
        height: 3px;
        background: linear-gradient(90deg, #3F5183, #EABE81);
        margin: 2rem auto;
        border-radius: 2px;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .filter-buttons {
            gap: 0.5rem;
        }

        .filter-btn {
            padding: 8px 16px;
            font-size: 0.8rem;
        }

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

        .product-card {
            margin: 0 10px;
        }

        .product-image {
            height: 350px;
        }

        .product-content {
            padding: 1.5rem;
        }

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

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

        .whatsapp-float {
            bottom: 15px;
            right: 15px;
        }

        .whatsapp-float a {
            width: 50px;
            height: 50px;
        }
    }

    @media (max-width: 480px) {
        .catalog {
            padding: 40px 0 60px 0;
        }

        .container {
            padding: 0 15px;
        }
    }

    /* Loading animation */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .product-card {
        animation: fadeInUp 0.6s ease-out;
    }

    .product-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .product-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .product-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .product-card:nth-child(4) {
        animation-delay: 0.4s;
    }


    /* Modal de Vista Previa de Imagen */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: zoom 0.3s ease-out;
    cursor: default;
}

@keyframes zoom {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.close:hover,
.close:focus {
    color: #EABE81;
}

/* Cursor pointer en imágenes de productos */
.product-image {
    cursor: pointer;
    position: relative;
}

.product-image::after {
    content: '🔍';
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(63, 81, 131, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .close {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
}