/* === Latest Products Section === */
.products.section {
    background: #f9fff9;
    padding: 60px 0;
}

.products .section-title {
    text-align: center;
    font-size: 2rem;
    color: #2e7d32;
    margin-bottom: 40px;
    position: relative;
    font-weight: 700;
}

.products .section-title::after {
    content: "";
    width: 80px;
    height: 3px;
    background: #2e7d32;
    display: block;
    margin: 10px auto 0;
    border-radius: 3px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    padding: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    min-height: 45px;
}

.product-card .price {
    display: inline-block;
    background: #2e7d32;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .products .section-title {
        font-size: 1.7rem;
    }
    .product-card img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    .product-card {
        padding: 15px;
    }
    .product-card img {
    transition: transform 0.3s ease;

}

}
.product-card:hover img {
    transform: scale(1.05);
}