
.card {
    height: 398px; 
    display: flex;
    flex-direction: column; 
}

.image-container {
    width: 100%;
    height: 250px; 
    overflow: hidden;
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: fill; 
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.card-body {
    flex: 1; 
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    padding: 10px; 
}

.card-title2 {
    font-size: 14px; 
    
}

.card-price {
    font-size: 16px; 
}

.badge {
    font-size: 10px; 
    margin-bottom: 5px;
    
}
@media (max-width: 992px) {
    .image-container {
        width: 100%;
        height: 200px; 
        overflow: hidden;
        position: relative;
    }
}

@media (max-width: 462px) {
    .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .card {
        height: 370px; 
    }

    .image-container {
        height: 180px; 
    }

    
    .card-body {
        font-size: 12px; 
    }
}
