/* Product Section */
.product-section {
    padding: 70px 0;
    background: var(--surface);
}

.product-section .container {
    max-width: 1200px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--brand);
    margin-bottom: 8px;
}

.section-header p {
    color: var(--muted);
    font-size: 16px;
}

/* Product Grid */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: calc(25% - 30px);
    min-width: 260px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(40px);
    opacity: 0;
    transition: 0.6s ease;
}

.product-card.active {
    transform: translateY(0);
    opacity: 1;
}

.product-img {
    overflow: hidden;
}

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

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

/* Content */
.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-content h3 {
    font-size: 18px;
    color: #111;
    text-align: center;
}

.product-content p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    flex: 1;
}

/* Button */
.view-btn {
    align-self: center;
    /* centers button horizontally */
    margin-top: auto;
    /* pushes button to bottom */
    background: var(--brand);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

.view-btn:hover {
    background: var(--accent);
    color: #111;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .product-card {
        width: calc(50% - 30px);
    }
}

@media (max-width: 600px) {
    .product-card {
        width: 100%;
    }

    .section-header h2 {
        font-size: 24px;
    }
}