/* Featured Products Section */
.featured-products {
    padding: 40px 0;
    background-color: #ffffff;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #006633;
    position: relative;
    margin-bottom: 0;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #006633;
    margin-top: 8px;
}

.product-tabs {
    margin-top: 10px;
}

.product-tabs .nav-tabs {
    border-bottom: none;
    gap: 10px;
}

.product-tabs .nav-link {
    border: none;
    background-color: #f0f0f0;
    color: #333333;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-tabs .nav-link:hover,
.product-tabs .nav-link.active {
    background-color: #006633;
    color: white;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-badge.sale {
    background-color: #ffc107;
    color: white;
}

.product-badge.new {
    background-color: #28a745;
    color: white;
}

.product-thumb {
    position: relative;
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-thumb img {
    max-height: 160px;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 15px;
}

.product-category {
    font-size: 12px;
    color: #666666;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333333;
    transition: all 0.3s ease;
}

.product-title:hover {
    color: #006633;
}

.product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.old-price {
    font-size: 14px;
    color: #666666;
    text-decoration: line-through;
    margin-right: 10px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #006633;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.quantity-btn {
    width: 32px;
    height: 36px;
    background-color: #f0f0f0;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: #28a745;
    color: white;
}

.quantity-input {
    width: 40px;
    height: 36px;
    text-align: center;
    border: none;
    outline: none;
    font-size: 14px;
    background-color: white;
}

.cart-btn {
    background-color: #28a745;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cart-btn:hover {
    background-color: #218838;
    color: white;
}

/* View All Products Button */
.featured-products .btn-success {
    background-color: #006633;
    border-color: #006633;
    padding: 10px 25px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    color: #ffffff;
}

.featured-products .btn-success:hover {
    background-color: #004d26;
    border-color: #004d26;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-tabs {
        margin-top: 15px;
        width: 100%;
        overflow-x: auto;
    }

    .product-tabs .nav-tabs {
        flex-wrap: nowrap;
        white-space: nowrap;
        padding-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .product-thumb {
        height: 180px;
    }

    .product-thumb img {
        max-height: 140px;
    }
}

@media (max-width: 576px) {
    .product-actions {
        flex-direction: column;
    }

    .quantity-selector {
        width: 100%;
    }

    .cart-btn {
        width: 100%;
        margin-top: 10px;
    }
}
