﻿.product-list-seller.list-best-seller {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 12px;
}

.WProItemSeller {
    padding: 20px 16px;
    position: relative;
    transition: all .3s;
    border-radius: 16.488px;
    background: rgb(255 255 255 / 60%);
}

.title-category.cate-title-childdd h1 {
    margin: 0;
    color: #1B0D00;
    font-family: InterSB;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 126.188%;
    text-transform: uppercase;
}

.WContentProChild {
    padding: 45px 0;
    background: url(/Design/img/ttQueenSpa/g.png) no-repeat;
    background-size: cover;
    position: relative;
}

    .WContentProChild:after {
        content: "";
        position: absolute;
        background: url(/Design/img/ttQueenSpa/h1.png) no-repeat;
        background-size: cover;
        right: 0;
        top: -253px;
        width: 831px;
        height: 868px;
        pointer-events: none;
        z-index: 0;
    }

.imgproduct {
    overflow: hidden;
    height: auto;
    width: 100%;
    margin-top: 0;
    background: #fff;
    position: relative;
    border-radius: 5px;
}

    .imgproduct:before {
        content: "";
        position: absolute;
        background: rgba(var(--villoz-white-rgb, 255, 255, 255), 0.4);
        bottom: 0;
        left: 50%;
        right: 50%;
        top: 0;
        opacity: 1;
        z-index: 3;
        pointer-events: none;
        transition: all 600ms linear;
    }

    .imgproduct a.imgpa {
        width: 100%;
        height: 100%;
        display: flex;
        border-radius: 5px;
    }

    .imgproduct img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: 0.5s;
    }

.info-product {
    padding-left: 8px;
}

.title-product {
    margin: 0;
    text-align: left;
    padding: 12px 0px 0;
}

    .title-product a {
        margin: 0;
        color: #1B0D00;
        font-family: InterSB;
        font-size: 17px;
        font-style: normal;
        font-weight: 600;
        line-height: 150%; /* 25.5px */
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

.WProItemSeller:hover .title-product a {
    color: #B7893C;
}

.bottom-pro {
    width: 100%;
    padding-top: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.cost-product {
    overflow: hidden;
    display: block;
    width: 100%;
    margin: auto;
}

    .cost-product.w-content-price-seller {
        padding: 6px 0 0 0;
    }

        .cost-product.w-content-price-seller span {
            display: block;
            margin: 0;
            margin-right: 8px;
            color: #ed1d25;
            font-family: 'InterSB';
            font-size: 20px;
            font-style: normal;
            font-weight: normal;
            line-height: 117.84%;
        }

.boxes.books-boxes.product-Promo.product-full.product-child {
    position: relative;
    z-index: 1;
}

.total-comment-num-seller {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.WSaleLinkNumOut {
    position: relative;
}

.WProItemSeller:hover .imgproduct:before {
    left: 0;
    right: 0;
    opacity: 0;
    transition: all 600ms linear;
}

.link-product-bests-eller a {
    color: #FFF;
    font-family: InterEB;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
    padding: 11px 11px 8px 15px;
    cursor: pointer;
    transition: all .3s;
    border-radius: 27.479px 2.748px 2.748px 2.748px;
    background: linear-gradient(270deg, #D28C2A 0%, #F3E181 43.36%, #5F3328 100%);
}

    .link-product-bests-eller a:hover {
        background: #D28C2A;
    }

@media(max-width:1023px) {
    .title-category.cate-title-childdd h1 {
        font-size: 23px;
    }

    .WContentProChild:after {
        content: "";
        position: absolute;
        background: url(/Design/img/ttQueenSpa/h1.png) no-repeat;
        background-size: cover;
        right: 0;
        top: -154px;
        width: 100%;
        height: 360px;
        pointer-events: none;
        z-index: 0;
    }

    .title-product a {
        font-size: 15px;
    }

    .WProItemSeller {
        padding: 10px 10px;
    }

    .cost-product.w-content-price-seller span {
        font-size: 15px;
    }

    .link-product-bests-eller a {
        padding: 7px 7px 5px 11px;
    }

    .product-list-seller.list-best-seller {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }
}