/* Products Grid */
.products-section {
    padding: 100px 0 0 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Product Card */
.product-card {
    background: white;
    border: 1px solid var(--primary-dark-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    animation: fadeInUp 0.6s ease-out backwards;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.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;
}

.product-card:nth-child(5) {
    animation-delay: 0.5s;
}

.product-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-dark-color);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-content {
    padding: 35px 30px;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.product-title a:hover {
    color: var(--primary-dark-color);
}

.product-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.product-tag {
    border: 1px solid var(--color-white);
    border-radius: 50px;
    padding: 0.3rem 0.5rem;
    margin-right: 0.2rem;
    margin-bottom: 0.2rem;
    display: inline-block;
    font-size: 0.7rem;
    color: var(--complement-color);
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid var(--primary-color);
}

.view-details {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.view-details:hover {
    gap: 12px;
    color: var(--primary-dark-color);
}

.catalogue-link {
    color: #999;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.catalogue-link:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .category-header h1 {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    /* reduce tag size and space */
    .product-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
}