.card-img-top {
    object-fit: cover; 
    width: 100%;
    height: 100% width;
    border-bottom: 0.2vh solid #333; 
    border-radius: 2vh;
}

.card{
    border-radius: 2vh;
    margin-top: 2vh;
    margin-bottom: -10px;
    border: 0.1vh solid #333;
}

.new-product-tag {
    font-size: 2.5vh;
    margin-left: 5vh;
    border-radius: 2vh 2vh 0 0;
    width: 25vh;
    text-align: center;
    display: inline-block;
    padding: 2vh;
    background-color: #d29c7e;
}
.bottom-right {
    position: absolute;
    bottom: 2vh;
    right: 2vh;
    background-color: #f8efda;
    color: black;
    font-size: 1.6vh;
    padding: 1vh 2vh;
    border: 1px solid #333;
    border-radius: 3vh;
}

.card{
    position: relative; 
}

.card::before {
    content: "NEW"; 
    position: absolute;
    top: 4vh;
    left: -3vh;
    background-color: #2a59a6;
    color: #edcb59; 
    font-weight: bold;
    padding: 1vh 2.8vh;
    font-size: 1.6vh;
    transform: rotate(-45deg); 
    transform-origin: 0 0;
    border-radius: 10px; 
    box-shadow: 0 0.8vh 1vh rgba(0, 0, 0, 0.2); 
    z-index: 10; 
}

@media (max-width: 768px) {
    .col-lg-3, .col-md-6 {
        flex: 0 0 50%; 
        max-width: 50%;
    }
    .bot{
        margin-top: -1.2vh;
    }
    .new-product-tag {
        font-size: 2vh; 
        margin-left: 4vh; 
        border-radius: 2vh 2vh 0 0; 
        width: 20vh; 
        text-align: center; 
        display: inline-block; 
        padding: 1.8vh; 
        background-color: #d29c7e;
    }
}
@media (min-width: 768px) {
    .col-lg-3 {
        max-width: 24%;
        margin-right: 1%; 
    }
}