﻿.product {
    background-color: #fff;
    padding: 20px 0;
}

    .product .container {
        padding: 20px 0;
    }

    .product .item-product-home {
        margin-bottom: 15px;
    }

h3.title-service-home a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

h5.title-product-home {
    margin: 0;
    padding: 10px;
    background: #00b8ff;
    font-size: 14.95px;
    color: #ffffff;
    font-family: 'SFPROR';
    font-weight: 500;
    line-height: 1.5;
}

    h5.title-product-home a {
        overflow: hidden;
        /* height: 52px; */
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

h3.title-service-home a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

span.price-product-home {
    display: block;
    font-family: 'SFPROR';
    font-size: 16px;
    color: #ed1c24;
    padding: 10px;
    background: #fff;
    border-radius: 0 0 8px 8px;
}

.item-product-home {
    border-radius: 8px;
    border: 1px solid #cecece;
}

.decor-product-right-home {
    position: absolute;
    right: 14px;
    top: 27px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33px;
    height: 33px;
    background: #00b8ff;
    border-radius: 50px;
    border: 2px solid #fff;
}

.bottom-product-home {
    position: relative;
}

.decor-product-right-home a i {
    color: #fff;
}

.top-img-product-home a {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

    .top-img-product-home a img {
        height: 265px;
        width: 100%;
        object-fit: cover;
        overflow: hidden;
        border-radius: 8px 8px 0 0;
        transition: all .3s;
    }

.item-product-home:hover .top-img-product-home a img {
    transform: scale(1.1);
}

/*Product*/
.wp-home-pro-hot {
    background: url(/Design/img/HoangPhongBT/Product/decorBack.png) no-repeat;
    background-size: cover;
    padding-top: 71px;
    padding-bottom: 75px;
}

.top-home-pro-hot h2 {
    margin: 0;
    font-size: 38px;
    color: #efc248;
    font-family: 'OSWALDB';
    font-weight: 500;
    text-transform: uppercase;
}

.top-home-pro-hot {
    text-align: center;
}

span.slogan-home-pro-hot {
    font-family: OpenSanR;
    color: #ffffff;
    font-size: 18px;
    display: block;
    margin-top: 17px;
    padding-bottom: 38px;
    line-height: 1.5;
    padding-left: 130px;
    padding-right: 130px;
}

li.itemProHotHome {
    list-style: none;
    border-radius: 5px;
    border: 1px solid #b1b4b6;
    -webkit-box-shadow: -2px -2px 12px 1px rgb(0 0 0 / 18%);
    box-shadow: -2px -2px 12px 1px rgb(0 0 0 / 18%);
    margin-bottom: 12px;
}

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

h3.titleProHotHome {
    text-align: center;
    font-size: 16px;
    color: #15242f;
    font-family: 'KANITR';
    line-height: 1.4;
    margin: 0;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

li.itemProHotHome:hover h3.titleProHotHome {
    color: #0167e8;
}

.star-view-pro-hot-home .star {
    color: #0358df;
    font-size: 13px;
    position: relative;
}

.star-view-pro-hot-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
    padding: 0 26px;
}

span.viewProHotHome {
    font-size: 14px;
    color: #848996;
    font-family: NotoSanR;
}

span.contactProHotHome a {
    font-size: 14px;
    color: #ffffff;
    font-family: 'KanitBI';
    width: 138px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    border: 1px solid #fff;
    border-radius: 50px;
    background: #2a303c;
}

.bottomContentProHotHome {
    padding: 18px 18px 23px 18px;
    background: #fff;
    border-radius: 0 0 5px 5px;
}

.imgTopProHotHome img {
    display: block;
    width: 100%;
    height: 223px;
    object-fit: contain;
    overflow: hidden;
    transition: all .3s;
    border-radius: 5px 5px 0 0;
}

li.itemProHotHome:hover .imgTopProHotHome img {
    transform: scale(1.1);
}

.star-view-pro-hot-home .star:after {
    content: "";
    position: absolute;
    background: #929498;
    width: 2px;
    height: 15px;
    right: -13px;
    top: 0px;
}

span.contactProHotHome a:hover {
    background: #0167e8;
    border: 1px solid #0167e8;
    color: #ffff;
}

.imgTopProHotHome {
    overflow: hidden;
    border-radius: 5px 5px 0 0;
}

.wp-mini-banner img {
    display: block;
    width: 100%;
    height: 100%;
}
