 /* temu products new css */

.products {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.products .product {
    max-width: 350px;
    width: calc(20% - 10px);
    cursor: pointer;
    background-color: white;
    box-shadow: 0 0 15px #a39e9e;
    position: relative;
    margin-bottom: 10px;
    margin: 5px;
    border-radius: 5px;
}

.products .product .image {
    overflow: hidden;
    position: relative;
}

.products .product .image img {
    /*width: 100%;*/
}



.product:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.product:hover img {
    opacity: 1;
    /*transform: scale(1.09);*/
}

.product-info {
    padding: 3px;
}

.product-badge {
    display: flex;
    gap: 5px;
    font-size: 12px;
    margin-bottom: 5px;
}

.badge-local {
    background: #e6f4ea;
    border: 1px solid #4CAF50;
    color: #4CAF50;
    padding: 2px 6px;
    border-radius: 3px;
}

.badge-arrival {
    background: #f4e6c9;
    border: 1px solid #ff9800;
    color: #ff9800;
    padding: 2px 6px;
    border-radius: 3px;
}

.price-section {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    margin-left: 5px;
}

.star-rating i {
    color: #FFD700;
    font-size: 14px;
}

.brand {
    font-size: 13px;
    color: #555;
}

.cart-icon {
    font-size: 25px;
    color: #000;
}
.cart-icon:hover {
    font-size: 25px;
    color: #0a8800;
}

.icon-shop {
    color: #000;
    float: right;
    width: 48px;
    height: 43px;
    border: 1px solid gray;
    border-radius: 40px;
    display: flex; /* ভেতরের content center করার জন্য */
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease; /* smooth animation */
}

.icon-shop:hover {
    transform: scale(1.2); /* hover করলে ২০% বড় হবে */
    border-color: #000;    /* চাইলে hover এ border color change */
}


/*.icon-shop {*/
/*    color: #000;*/
/*     float: right;*/
/*    width: 48px;*/
/*    height: 43px;*/
/*    border: 1px solid gray;*/
/*    border-radius: 40px;*/
/*}*/
.card-body{
    padding:0;
}

@media (min-width: 1200px) {
  .card-body {
    /*margin: 0 71px;*/
  }
}
@media (min-width: 1750px) {
    .card-body {
        /*margin: 0px 87px;*/
    }
}


@media (min-width: 992px) and (max-width: 1199.99px) {
    .products .product {
        width: calc(25% - 10px);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .products .product {
        width: calc(33% - 8px) !important;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .products .product {
        width: calc(33% - 9px) !important;
    }
}

@media (max-width: 575.98px) {
    .products .product {
        width: calc(49% - 9px) !important;
    }
    .price-section {
    font-size: 11px!important;
    font-weight: bold;
    margin: 5px 0;
    }
}



/*end temu products new css */


  .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, #product .carousel-inner .labels{
    position: absolute;
    top: 10px;
    left: 0px;
    z-index: 9;
  }
  .labels > .label{
    /*height: 50px;*/
    /*width: 50px;*/
    border-radius: 0 15px 15px 0;
    display: grid;
    place-content: center;
    text-align: center;
    margin-bottom: 10px;
    /*line-height: 15px;*/
    padding: 5px 10px;
    font-size: 14px;
  }
  .products .product .content{
    text-align: center;
    margin-top: 10px;
  }
  .products .product .content .title{
    font-size: 14px;
    height: 22px;
    overflow: hidden;
    color: #484848;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    white-space: nowrap;
    padding: 5px;
  }
  .products .product .content .stars{
      font-size: 13px;
      text-align: center;
  }
  .products .product .content del{
    color: rgb(175, 175, 175);
  }
  .products .product .content .price{
    margin-bottom: 10px;
  }
  .products .product .content .submit_button{
    margin-bottom: 0px;
    height: 38px;
    overflow: hidden;
    width: 100% !important;
    padding: 0px !important;
    padding-top: 5px !important;
  }
  .products .product .content .submit_button > .cart_btn{
    margin-bottom: 10px;
    font-size: 16px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
  }
  .products .product .content .submit_button:hover > .cart_btn{
    margin-top: -34px;   
  }


.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;
}

