.product-page-cover-pic{
    width: 100%;
    height: 350px;
    position: relative;
}
.product-page-cover-pic::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.7;
}
.product-page-cover-pic img{
    height: 100%;
    width: 100%;
}
.foreground{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.product-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}
.product-container>.card{
    width: 16rem;
    border-radius: 0;
    margin: auto;
}
.card-img-container{
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-img-overflow{
    height: fit-content;
    max-height: 250px;
    width: fit-content;
    overflow: hidden;
}
.card-img-top{
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.card-body{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f7f7;
    color: #ff0435;
}
.card-body h6{
    text-align: center;
}
.card:hover .card-img-top{
    transform: scale(1.1);
}
.card:hover .card-body{
    background-color: #ff0435;
    color: #fff;
}

@media screen and (max-width: 480px) {
    
    .product-container{
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .product-container>.card{
        width: 9rem;
    }
    .card-img-container{
        height: 200px;
        
    }
    .card-img-overflow{
        height: fit-content;
        max-height: 200px;
        width: fit-content;
        overflow: hidden;
    }
    .card-body {
        padding: 0.5rem 0.5rem;
        height: 75px;
    }
    .card-body h6{
        font-size: 0.9rem;
    }
}