/* Product Section Styles */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
    list-style: none;
    padding: 0;
}

.filter-buttons li a {
    display: inline-block;
    padding: 10px 16px;
    background-color: transparent !important;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    color: #000000;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s;
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-buttons li a:hover,
.filter-buttons li a.selected {
    background-color: transparent !important;
    color: #000 !important;
    border-bottom: 3px solid #cc9b4e;
}

.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    background-color: white;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(95, 4, 4, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.product-title {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.product-category {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
}

.btn-main.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    background-color: #5f0404;
    color: white;
    border: none;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-main.btn-sm:hover {
    background-color: #7a0505;
    transform: translateY(-2px);
}

#section-product {
    background-color: #f9f9f9;
    padding-bottom: 50px;
}

@media (max-width: 991px) {
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-buttons li {
        margin-bottom: 8px;
        width: 100%;
        text-align: center;
    }

    .filter-buttons li a {
        width: 80%;
    }
}
