 @import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap');
.products{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}
.products .product{
    max-width: 300px;
    width: calc(20% - 8px);
    cursor: pointer;
    background-color: white;
    box-shadow: 0 0 3px #d7d7d7;
    position: relative;
    margin-bottom: 10px;
}

.products .product .content .submit_button {
    margin-bottom: 10px;
    height: 33px;
    overflow: hidden;
    padding: 0px !important;
    padding-top: 5px !important;
}

.products .product .content .submit_button > .cart_btn{
    margin-bottom: 14px;
    font-size: 13px;
    color: #ffffff;
}
 .products .product .content .submit_button:hover > .cart_btn{
    margin-top: -34px;   
  }
  .products .product .image{
    overflow: hidden;
    position: relative;
  }
  .products .product .image img{
    width: 100%;

  }
  .products .product .image .second{
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
    transition: 1.5s;
    transform: scale(1);
  }
  .products .product:hover .image .second{
    visibility: visible;
    opacity: 1;
    transform: scale(1.5);
  }
  .products .product .labels{
    position: absolute;
    top: 10px;
    left: 10px;
  }
  .products .product .labels > div{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    margin-bottom: 10px;
    line-height: 15px;
  }
  .products .product .content{
    text-align: center;
    margin-top: 10px;
  }
  .products .product .content .title{
    font-size: 15px;
    height: 40px;
    overflow: hidden;
    color: #000;
    line-height: 1.3;
    font-family: "Smooch Sans", sans-serif;
      font-weight: 600;
      font-style: bold;
  }
  .products .product .content del{
    color: rgb(175, 175, 175);
  }
  .products .product .content .price{
    margin-bottom: 10px;
  }

.product-box .product-item .product_content {
    padding: 5px 5px;
    background-color: #fff;
}
.product-box .product-item .product_content h4 {
    line-height: 20px;
    display: block;
    font-size: 17px;
    text-transform: capitalize;
    font-weight: 600;
    margin-bottom: 0;
    
}
.product-box .product-item .product_content h4 a{
    text-decoration: none;
    color: var(--black);
}
.product-box .product-item .product_content h4 a:hover {
    color: #fdb813;
}
.product-box .product-item .product_content .price_box {
    display: flex;
    padding-bottom: 15px;
}
.product-box .product-item .product_content .price_box span.current_price {
    color: #f30;
    font-weight: 600;
    font-size: 17px;
}
.product-box .product-item .product_content .price_box span.old_price {
    text-decoration: line-through;
    font-weight: 400;
    font-size: 14px;
    margin-left: 10px;
}
.product .image .product_btn_position{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
}
.product:hover .image .product_btn_position{
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
    bottom: 15%;
}
.product .image .product_btn_position .btn{
    width: 70%;
    margin: 0 auto;
    border: 1px solid #01014c;
    background: white;
    color: navy;
}

@media (min-width: 320px) and (max-width: 360px) {
    .products .product .content .submit_button {
        height: 26px;
    }
    .products .product .content .submit_button > .cart_btn{
        font-size: 9px;
    }
    img.w-100.main_image.main-xzoom{
        max-height: 350px;
    }
}
@media (min-width: 361px) and (max-width: 420px) {
    .products .product .content .submit_button {
        height: 28px;
    }
    .products .product .content .submit_button > .cart_btn{
        font-size: 11px;
    }
    img.w-100.main_image.main-xzoom{
        max-height: 370px;
    }
}

@media (min-width: 421px) and (max-width: 576px) {
    .products .product .content .submit_button {
        height: 30px;
    }
    .products .product .content .submit_button > .cart_btn{
        font-size: 12px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .products .product .content .submit_button {
        height: 28px;
    }
    .products .product .content .submit_button > .cart_btn{
        font-size: 11px;
    }
}

@media(max-width: 992px){
    .product .image .product_btn_position{
        visibility: visible;
        opacity: 1;
        transition: 0.5s;
        bottom: 5%;
        right: 5%;
        left: auto;
    }
}

