.products, .product-parent {
    display: flex;
    flex-direction: row;
}

.product, .product-data {
    display: flex;
    flex-direction: column;
}

.products {
    align-items: center;
    margin-bottom: 50px;
}

.product {
    width: 25%;
    padding: 30px 15px 30px 15px;
    position: relative;
}

.product-data-category{
    color: #a0a2ab;
    font-family: "Montserrat", Sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;
}

.product-parent{
    align-items: center;
}

.product-data-title{
    font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: 0px;
    text-align: center;
    margin: 10px 0px 0px 0px;
}

.product-data-price {
    text-align: center;
    font-family: "Montserrat", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
}

.product-data {
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
}

.product-data .add-to-cart{
    display: flex;
    margin: auto;
    text-decoration: none;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    color: #42474c;
    border-color: #182044;
    font-family: "Montserrat", Sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 9px;
    width: max-content;
    border-radius: 5px 5px 5px 5px;
    padding: 12px 15px 12px 15px;
    position: absolute;
    bottom: -50%;
    left: 0;
    right: 0;
    height: 35px;
}

.product:hover .add-to-cart {
    bottom: 0;
    transition: all 0.4s ease-in-out;
}

.product:hover .product-display-on-hover{
    opacity: 1;
    transition: all 0.4s ease-in-out;
    transform: scale(0.9);
}

.product:not(:hover) .add-to-cart {
    bottom: -50%;
    transition: all 0.4s ease-in-out;
}

.product:hover .buttons-hover {
    opacity: 1;
    transition: all 0.4s ease-in-out;
}

.product:hover{

}

.product-display{
    display: block;
}

.product-display-on-hover{ 
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    transform: scale(0.5);
    background-color: #fff;
}

.buttons-hover {
    opacity: 0;
    display: flex;
    flex-direction: column;
    font-size: 24px;
    color:#a0a2ab;
    position: absolute;
    right: 5%;
    top: 20px;
    justify-content: space-between;
    height: 30%;
}

.buttons-hover i {
    height: 24px;
    width: 24px;
    border-radius:50%;
    margin-bottom: 20px;
    padding: 5px;
    border: 1px solid #d8d8d8;
}

.product-parent i {
    font-size: 25px;
    font-weight: bold;
    cursor: pointer;
}

.product{
    min-width: 25%;
    transition: all 0.4s ease-in-out;
}

.products{
    overflow: hidden;
}

@media only screen and (min-width: 768px) and (max-width: 1024px),
    screen and (min-device-width: 768px) and (max-device-width: 1024px){

        .product {
            min-width: 33%;
        }

        .products{
            width: 100%;
        }

}

@media only screen 
    and (max-device-width: 768px), 
    only screen and (max-device-width: 768px), 
    only screen and (max-width: 768px){
    
        .product{
            min-width: 100%;
        }
    
        .products{
            width: 100%;
        }

        .product .add-to-cart {
            bottom: 0 !important;
            transition: all 0.4s ease-in-out;
        }

        .buttons-hover{
            opacity: 1;
        }
        
    }