/* Product Filter Styles */

.product-filter-container {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin: 20px 0;
    border-top: 3px solid #c00d24;
}

.filter-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.filter-header h2 {
    color: #c00d24;
    font-weight: 700;
    margin-bottom: 10px;
}

.filter-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.close-filter {
    position: absolute;
    top: 0;
    right: 0;
    background: #c00d24;
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.close-filter:hover {
    background: #a00a1f;
    color: white;
}

.product-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.product-card .card-img-top {
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.product-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.product-card .price {
    color: #c00d24;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.product-card .btn-primary {
    background-color: #c00d24;
    border-color: #c00d24;
    font-weight: 600;
}

.product-card .btn-primary:hover {
    background-color: #a00a1f;
    border-color: #a00a1f;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-filter-container {
        padding: 20px 0;
    }
    
    .filter-header {
        margin-bottom: 20px;
    }
    
    .close-filter {
        position: static;
        margin-top: 10px;
        width: 100%;
    }
    
    .product-card .card-img-top {
        height: 150px;
    }
    
    .product-card .card-body {
        padding: 15px;
    }
}
