﻿
@media (min-width: 1024px) and (max-width: 1239px) {
    ul.listProHotHome {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(5,minmax(0,1fr));
        column-gap: 10px;
        row-gap: 15px;
    }

    .star-view-pro-hot-home .star {
        color: #0049b4;
        font-size: 12px;
    }

    .leftContentBird h3 {
        font-size: 30px;
    }

    h3.titleProHotHome {
        font-size: 18px;
    }

    ul.listProNestHome {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(3,minmax(0,1fr));
        column-gap: 17px;
        row-gap: 17px;
    }
}

@media(max-width:1023px) {
    ul.listProHotHome {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(3,minmax(0,1fr));
        column-gap: 12px;
        row-gap: 30px;
        padding: 0;
    }

    .wp-home-pro-hot .imgTopProHotHome {
        height: 250px;
    }

    .star-view-pro-hot-home .star {
        font-size: 11px;
    }

    .top-home-pro-hot {
        text-align: center;
        margin-bottom: 20px;
    }

    .imgTopProHotHome > img {
        display: block;
        width: 100%;
        height: 250px;
    }

    .star-view-pro-hot-home {
        display: flex;
        align-items: center;
        margin: 8px 0;
    }

    li.itemProHotHome:last-child {
        display: block;
    }

    .wp-home-pro-hot {
        background: #f9f9f9;
        background-size: cover;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

@media(max-width: 739px) {
    .top-home-pro-hot h2 {
        font-size: 28px;
    }

    .wp-home-pro-hot {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    span.slogan-home-pro-hot {
        padding: 0;
        margin-bottom: 10px;
    }

    ul.listProHotHome {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 12px;
        row-gap: 20px;
    }

    .imgTopProHotHome > a > img {
        height: 100%;
    }

    .imgTopProHotHome > a {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .star-view-pro-hot-home {
        padding: 0;
    }

    .wp-home-pro-hot .imgTopProHotHome {
        height: 150px;
    }

    .star-view-pro-hot-home .star {
        color: #efc248;
        font-size: 8px;
    }

    span.viewProHotHome {
        font-size: 11px;
    }

    .star-view-pro-hot-home .star:after {
        height: 8px;
        top: 1px;
        content: unset;
    }

    span.contactProHotHome a {
        font-size: 11px;
    }

    .bottomContentProHotHome {
        padding: 10px;
    }

    .price-product-nest-home span {
        font-size: 12.86px;
    }

    h3.titleProHotHome {
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        font-size: 15px;
    }

    .widget-top-des-product-nest > img {
        width: 100%;
    }

    .imgTopProHotHome {
        overflow: hidden;
        height: 150px;
    }

    .decorDesBottomProductNest:before {
        content: "";
        position: absolute;
        width: 201px;
        height: 256px;
        background: url(/Design/img/YenSaoNhomKinh2023/Product/decorChimCay.png) no-repeat;
        top: -405px;
        right: 0;
        display: none;
    }

    .widget-top-des-product-nest span {
        margin-bottom: 20px;
    }

    span.contactProHotHome a i {
        padding-left: 5px;
    }
}
