﻿.home-product {
    background-image: url(../../../Design/img/NemTotGiaRe/b.jpg);
    background-size: 100% 100%;
}

    .home-product .grid.wide {
        max-width: 1266px;
    }

.home-product-container {
    padding: 60px 0;
    padding-top: 66px;
}

.home-product-top {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .home-product-top h3 {
        margin: 0;
        color: #fff;
        line-height: 121.1%;
        font-size: 35px;
        font-family: 'monSB';
        max-width: 440px;
        font-weight: 100;
    }

    .home-product-top .top-right {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: space-between;
        padding-left: 83px;
    }

    .home-product-top span {
        color: var(--default-color-1);
        line-height: 122%;
        font-size: 15px;
        max-width: 415px;
    }

    .home-product-top a {
        background-color: var(--default-color-2);
        border-radius: 55px;
        display: flex;
        align-items: center;
        padding: 0 39px;
        padding-top: 15px;
        padding-bottom: 16px;
        transition: all .3s;
    }

        .home-product-top a:hover {
            opacity: .7;
        }

        .home-product-top a p {
            margin: 0;
            color: #fff;
            font-family: 'insM';
            line-height: 121.1%;
            font-size: 20px;
            font-weight: 100;
        }

        .home-product-top a img {
            margin-left: 12px;
        }

.home-product-swiper {
    margin-top: 30px;
}

@media(max-width:1023px) {
    .home-product-top span {
        display: none;
    }

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

    .p-product-item {
        height: 120px;
        border-radius: 10px;
    }

    .home-product-swiper {
        margin-top: 23px;
    }

    .p-product-title {
        flex-direction: column;
        padding: 12px;
        padding-top: 15px;
        text-transform: capitalize;
    }

        .p-product-title .svg-decor-pro {
            display: none;
        }

    .home-product-container {
        padding-bottom: 30px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width: 739px) {
    .home-product-top {
        flex-direction: column;
    }

        .home-product-top .top-right {
            padding: 0;
        }

        .home-product-top h3 {
            margin: 0;
            text-align: center;
            font-size: 20px;
            font-weight: 100;
            max-width: 100%;
        }

        .home-product-top a {
            padding: 10px 20px;
            margin-top: 20px;
        }

            .home-product-top a p {
                font-size: 14px;
            }

    .home-product-container {
        padding: 25px 0;
    }
}