/* Product Card Styles */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
}

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

.card-img-container {
    height: 200px;
    overflow: hidden;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-status {
    top: 10px;
    right: 10px;
    z-index: 2;
}

.product-status span {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.in-stock {
    background-color: rgba(25, 135, 84, 0.8); /* Success color with opacity */
    color: white;
}

.out-of-stock {
    background-color: rgba(220, 53, 69, 0.8); /* Danger color with opacity */
    color: white;
}

.product-category {
    margin-top: -5px;
}

.product-card .card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-card .card-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-card .price {
    font-size: 1.1rem;
}

/* Filter Styles */
.filter-section {
    margin-bottom: 1.5rem;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
}

.filter-options {
    max-height: 200px;
    overflow-y: auto;
}

/* Responsive Styles */
@media (max-width: 767.98px) {
    .card-img-container {
        height: 180px;
    }
}
