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

.detail-product-slug .container {
    display: flex;
    align-items: center;
    padding: 10px 0;
    flex-wrap: wrap;
    line-height: 144%;
}

    .detail-product-slug .container > div {
        display: flex;
    }

    .detail-product-slug .container strong {
        font-size: 14px;
        font-family: 'K2D-MEDIUM';
        color: #333333bd;
        font-weight: normal;
    }

    .detail-product-slug .container a {
        display: block;
        font-size: 13px;
        color: var(--default-color-2);
        transition: all .3s;
        color: hsla(0, 0%, 40%, .7);
        font-weight: 400;
    }

        .detail-product-slug .container a:hover {
            color: var(--default-color-1);
        }

    .detail-product-slug .container span {
        display: block;
        margin: 0 6px;
        color: #333;
        font-size: 13px;
    }

    .detail-product-slug .container p {
        margin: 0;
        color: #333;
        font-size: 14px;
    }

.WProItemSeller {
    padding: 15px 12px;
    position: relative;
    transition: transform 0.3s;
    border-radius: 5px;
    border: 1.05px solid #D6D6D6;
    background: #FFF;
    box-shadow: 0 4.198px 4.198px 0 rgba(176, 176, 176, 0.25);
}

.title-category.cate-title-childdd h1 {
    margin: 0;
    color: #711A28;
    font-family: 'K2D-BOLD';
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
}

.WContentProChild {
    padding: 45px 0;
    background: #FFFBE8;
    position: relative;
}

.imgproduct {
    overflow: hidden;
    height: 285px;
    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: #051550;
        font-family: 'K2D-MEDIUM';
        font-size: 19px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-transform: uppercase;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

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

.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: 3px 0 0 0;
    }

        .cost-product.w-content-price-seller span {
            display: block;
            margin: 0;
            margin-right: 8px;
            color: #711A28;
            font-family: 'Inter_24pt-Medium';
            font-size: 18px;
            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;
    display: none;
}

.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;
    }

.bottom-side-swiper .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: 20px;
    row-gap: 20px;
}

@media(min-width:740px) and (max-width:1023px) {
    .product-list-seller.list-best-seller {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 18px;
    }

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

    .imgproduct {
        height: 215px;
    }
}

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

    .imgproduct {
        height: 150px;
    }

    .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;
    }

    .bottom-side-swiper .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;
    }
}