.product-wrap{
    flex-wrap: wrap;
}
.product-wrap__item{
    flex-basis: 20%;
    /* padding: 3px; */
    overflow: hidden;
}
.product-wrap__item .rating{
    width: 1rem;
}

.product-wrap__item.product-wrap__item__2{
    flex-basis: 50%;
    overflow: hidden;
}
.product-wrap__item.product-wrap__item__3{
    flex-basis: 25%;
    overflow: hidden;
}
.product-wrap .lazyload-wrapper{
    flex-basis: 20%;
    overflow: hidden;
}
.product-style1{
    overflow: hidden;
    transition: .2s;
}

.product-style1:hover{
    box-shadow: 0px 2px 5px 1px #c3c3c3;
}

.product-style1__thumbnail, .product-style2__thumbnail{
    overflow: hidden;
    min-height: 195px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-style2__thumbnail{
    align-items: start;
    justify-content: start;
}
.product-style1__thumbnail img, .product-style2__thumbnail img{
    object-fit: cover;
    transition: 2s;
    cursor: pointer;
    max-height: 195px;
}
.product-style2__thumbnail img{
    height: auto;
    max-height: none;
}

.product-style1:hover .product-style1__thumbnail img, 
.product-style2:hover .product-style2__thumbnail img{
    transform: scale(1.2);
}

.product-style1__text, .product-style2__text{
    font-size: 0.9rem;
}
.product-style1__text p, .product-style2__text p{
    padding: 0;
    margin: 0;
}
.product-style1__text__heading{
    font-size: 1em;
    font-weight: 400;
}
.product-style1__text__title, .product-style2__text__title{
    line-height: 1.4em;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.8em;
    max-height: 2.8em;
    color: #343a40!important;
}
.product-style1__text__rating span,#tab-product-detail span.star,.product-style2__text__rating span{
    color: #C7C7C7;
    margin: 0;
    margin-right: 1px;
    padding: 0;
    font-size: 0.9rem;
}

#tab-product-detail span.star{
    font-size: inherit;
}
.product-style1__text__rating span.act, #tab-product-detail span.star.act,
.product-style2__text__rating span.act{
    color: #FFCA00;
}
.link-title{
    color: #343a40;
    text-decoration: none;
    transition: 0.2s;
}
.link-title:hover, .link-title:active{
    color: #ef8400;
    text-decoration: none;
}
.product-style1__text__price, .product-style2__text__price{
    color: #fba31a;
    font-size: 1.2rem;
}
.product-style1__text__price-origin, .product-style2__text__price-origin{
    font-size: 0.8rem;
    text-decoration: line-through;
}
.product-style1__text__price-origin.text-empty, .product-style2__text__price-origin.text-empty{
    text-decoration: none;
}
.product-style1__discount, .product-style2__discount{
    top:0; right:0;
    display:block;
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background: #fba31a;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    line-height: 3rem;
}
.product-style2__discount{
    left: 0;
}

.product-style1__out-of-stock, .product-style2__out-of-stock
{
    width: 90%;
    font-size: 1rem;
    padding: 0.6rem 0;
    background: #ff0000;
    color: #fff;
    position: absolute;
    transform: rotate(-20deg);
    text-align: center;
}


/* product detail */
.slide-wrap{
    overflow: hidden;
}
.slide-wrap__thumb__item{
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    display: inline-block;
}
.slide-wrap__thumb__item img{
    opacity: .6;
}
.slide-wrap__thumb__item img.active, .slide-wrap__thumb__item img:hover{
    opacity: 1;
}
.slide-wrap__button button{
    border-radius: 20px;
    border: 2px solid;
    background: #fff;
}
.slide-wrap__button button.btn-add-to-cart{
    border-color: #ef8400;
    color: #ef8400;
}

.slide-wrap__button button.btn-order{
    background-color: #ef8400;
    color:#fff;
    border-color: #ef8400;
}

.product-price{
    font-weight: 500;
    font-size: 2.5rem;
    color: #ff7600;
}
.product-price-origin {
    font-size: 1rem;
    text-decoration: line-through;
    font-weight: normal;
    color: #a7a7a7;
}
.product-discount{
    font-weight: bold;
    background: #fba31a;
    color: #fff;
    border-radius: 50%;
    padding: 0.9rem 0.3rem;
    margin-left: 2rem;
}
.product-wishlist-add{
    color: #fba31a;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #f7f7f7;
    box-shadow: 1px 4px 5px -2px #bdbdbd;
    transition: 0.2s;
}
.product-wishlist-items{
    font-size: 2rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    background: #fff;
    color: #fba31a;
    border-radius: 50%;
    border: 1px solid #fff;
    box-shadow: 1px 4px 5px -2px #bdbdbd;
    transition: 0.2s;
}
.product-wishlist-items:hover{
    color: #ff7600;
}
.product-wishlist-add:hover, .product-wishlist-add:active{
    background: #fba31a;
    color: #fff;
}
.product-detail-wrap__main__info {
    font-size: 0.9em;
}
.product-detail-wrap__main__info label{
    padding-right: 1rem;
}
.product-detail-wrap__main__info label~a{
    color: #ef8400;
}

.product-view-quantity-box label {
    font-size: 0.9em;
    font-weight: bold;
    padding-right: 8px;
    margin-bottom: 0;
    line-height: 42px;
}
.product-view-quantity-box-block {
    display: flex;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-items: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    border: 1px solid #c1c1c1;
}
.product-view-quantity-box-block a {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    padding: 15px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
}
.product-quantity-box-sm a{
    padding: 10px;
}
.product-view-quantity-box-block #qty, .product-view-quantity-box-block .qty {
    border: none !important;
    width: 3em !important;
    font-weight: 650;
    font-size: 1.2em;
    text-align: center;
}
.product-quantity-box-sm .qty {
    width: 2em !important;
    font-size: 1em;
}
.product-view-quantity-box-block #qty:focus,.product-view-quantity-box-block .qty:focus{
    border: none;
    outline: none;
}

.w-48{
    width: 48% !important;
}
.flex-item-2{
    flex:50%;
}

.rating-span{
    color: #F39801 !important;
    font-size: 0.8em;
    font-weight: 500;
    padding-left: 0.5rem;
}

.promotion-wrap h4,.promotion-wrap h5{
    background: #dcfff1;
    font-size: 1rem;
    color: #4a4a4a;
}
.review-rating-box{
    flex-wrap: wrap;
    align-items: center;
}
.review-rating{
    margin: 0 10px;
    width: calc(100% - 115px);
    height: 5px;
    background-color: #e6e6e6;
}
.review-rating > div {
    background: #ef8400;
    height: 100%;
}

.btn_show_review_review {
    justify-content: center;
 /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffb76b+0,ffa73d+50,ff7c00+51,ff7f04+100;Orange+Gloss */
background: #ffb76b; /* Old browsers */
background: -moz-linear-gradient(top,  #ffb76b 0%, #ffa73d 50%, #ff7c00 51%, #ff7f04 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #ffb76b 0%,#ffa73d 50%,#ff7c00 51%,#ff7f04 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #ffb76b 0%,#ffa73d 50%,#ff7c00 51%,#ff7f04 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb76b', endColorstr='#ff7f04',GradientType=0 ); /* IE6-9 */

    border: none;
    color: white;
    width: 225px;
    font-size: 1.1em;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0px 4px 6px hsl(0, 0%, 90%);
    -moz-box-shadow: 0px 4px 6px hsl(0, 0%, 90%);
    -webkit-box-shadow: 0px 4px 6px hsl(0, 0%, 90%);
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
}

.cart-content__item {
    border-bottom: 1px solid #eaeaea;
}
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    .product-wrap__item.product-wrap__item__2
    {
        flex-basis: 100%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .product-style1__text{
        font-size: 0.7rem;
    }
    .product-style2__text{
        font-size: 0.85rem;
    }
    .product-style1__text__price{
        font-size: 1rem;
    }
    .product-style1__text__price-origin{
        font-size: 0.7rem;
    }
    .product-style1__thumbnail, .product-style2__thumbnail{
        min-height: 8em;
    }
    .product-style1__thumbnail img{
        max-height: 8em;
    }

    .product-style2__thumbnail img{
        max-height: 6em;
    }

    .product-style1__discount, .product-style2__discount{
        width: 2rem;
        height: 2rem;
        border-radius: 2rem;
        background: #fba31a;
        color: #fff;
        font-size: 0.6rem;
        text-align: center;
        line-height: 2rem;
    }
    .product-style1__out-of-stock{
        padding: 0.4rem 0;
        font-size: 0.8rem;
    }
    .cart-view{
        font-size: 0.8em;
    }
    .product-quantity-box-sm a{
        padding: 8px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) { 
    @media  (min-width:769px){
        .product-style1__thumbnail{
            min-height: 9em;
        }
        .product-style1__thumbnail img{
            max-height: 9em;
        }    
    }
    .product-wrap__item,.product-wrap__item.product-wrap__item.product-wrap__item__3, .product-wrap .lazyload-wrapper{
        flex-basis: 33%;
    }  
}

/* Extra large devices (large desktops, 1200px and up) */
/* @media (max-width: 1200px) {} */

.book-product__content {
    margin-left: 0;
}

.flashsale__card__item  .product-style2__text__rating {
    margin-bottom: 5px;
}