
.featured-products {
    padding: 80px 0;
    background-color: #f9f7f2;
    position: relative;
    overflow: hidden;
}

.featured-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e7e34' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    color: #1e7e34;
    font-weight: 700;
    margin-bottom: 15px;
}

.featured-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 10px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(30,126,52,0.15);
}

.product-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e74c3c;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-description {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #1e7e34;
}

.btn-view-detail {
    display: inline-block;
    background-color: #1e7e34;
    color: #fff;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 5px 15px rgba(30,126,52,0.3);
}

.btn-view-detail i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-view-detail:hover {
    background-color: #166129;
    box-shadow: 0 8px 20px rgba(30,126,52,0.4);
}

.btn-view-detail:hover i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .featured-slider {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .product-image {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .featured-slider {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .featured-products {
        padding: 60px 0;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .price {
        font-size: 20px;
    }
}