/* Products Section */
.products-section {
    padding: 80px 0;
    background: #f9fafb;
}

.section-header-products {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-products {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.section-description-products {
    font-size: 1.125rem;
    color: #6b7280;
}

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

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 165, 0, 0.2);
}

.product-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f3f4f6;
}

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

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 165, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-quick-view {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: white;
    color: #FFA500;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transform: scale(0.9);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.product-card:hover .product-quick-view {
    transform: scale(1);
}

.product-quick-view:hover {
    background: #1f2937;
    color: white;
}

.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #FFA500;
}

.product-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFA500;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.product-link:hover {
    gap: 0.75rem;
    color: #FF8C00;
}

.product-link svg {
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.product-link:hover svg {
    transform: translateX(3px);
}

/* No Products */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.no-products svg {
    stroke: #d1d5db;
    margin-bottom: 1.5rem;
}

.no-products h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.no-products p {
    color: #6b7280;
    font-size: 1.125rem;
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 60px 0;
    }

    .section-header-products {
        margin-bottom: 2.5rem;
    }

    .section-title-products {
        font-size: 2rem;
    }

    .section-description-products {
        font-size: 1rem;
    }

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

    .product-content {
        padding: 1.5rem;
    }

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

    .product-image {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .products-section {
        padding: 50px 0;
    }

    .section-header-products {
        margin-bottom: 2rem;
    }

    .section-title-products {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .section-description-products {
        font-size: 0.9375rem;
    }

    .products-grid {
        gap: 1.25rem;
    }

    .product-content {
        padding: 1.25rem;
    }

    .product-title {
        font-size: 1.125rem;
        height: auto;
    }

    .product-description {
        font-size: 0.875rem;
        height: auto;
    }

    .product-image {
        height: 200px;
    }

    .product-quick-view {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .no-products {
        padding: 3rem 1.5rem;
    }

    .no-products h3 {
        font-size: 1.5rem;
    }

    .no-products p {
        font-size: 1rem;
    }
}
