 @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 .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;
    left: 0;
    right: 0;
    visibility: visible;
    opacity: 1;
    transition: 0.5s;
    bottom: 15%;
}
.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;
    background: #00276c;
    color: #fff;
}

.desktopHide{
    display: none;
}

@media(max-width: 992px){
    .product .image .product_btn_position{
        visibility: visible;
        opacity: 1;
        transition: 0.5s;
        bottom: 5%;
        right: 5%;
        left: auto;
    }
    .products .product .content .submit_button{
        height: 40px !important;
        display: grid;
        place-content: center;
        margin: 0 auto;
        font-size: 14px;
        padding: 0;
        background: #00276c;
        color: #fff;
    }
    .products .product .content .submit_button > .cart_btn i{
        font-size: 18px !important;
        color: #fff;
    }
     .mobileHide{
        display: none;
    }
    .desktopHide{
        display: block;
    }
    .products .product .content {
        text-align: center;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

