﻿.home-room {
    position: relative;
    padding-bottom: 81px;
    padding-top: 44px;
    background: url(/Design/img/MoiTruongViet/b5.png) no-repeat;
    background-size: cover;
}

    .home-room .grid.wide {
        max-width: 1680px;
        position: relative;
        z-index: 2;
    }

    .home-room:before {
        content: "";
        position: absolute;
        background: url(/Design/img/MoiTruongViet/b4.png) no-repeat;
        background-size: 100% 100%;
        left: 0;
        top: -82px;
        width: 100%;
        height: 150px;
        pointer-events: none;
        z-index: 0;
    }

.home-room-container {
    position: relative;
    padding-top: 15px;
}

.home-room-decor {
    position: absolute;
    top: 0;
    left: 0;
}

.home-room-container .swiper-wrapper {
    margin-top: 29px;
}

.home-room-container .swiper-pagination {
    left: unset;
    text-align: center;
    bottom: 0;
}

    .home-room-container .swiper-pagination span {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 1px solid #d4d4d4;
        background-color: #fff;
        opacity: 1;
        transition: all linear .3s;
        margin: 0 3px !important;
    }

    .home-room-container .swiper-pagination .swiper-pagination-bullet-active {
        border-color: var(--default-color-2);
    }

.home-room .decor-1 {
    position: absolute;
    top: -136px;
    right: -83px;
    pointer-events: none;
}

.item-cate-project a {
    color: #1C1D28;
    font-family: 'Inter_24pt-Medium';
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transition: all .3s;
}

.item-cate-project:hover a {
    color: #fff;
}

.list-cate-project {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

.item-cate-project:hover {
    background: linear-gradient(90deg, #FFA418 -1.66%, #FBCD00 102.72%);
}

.item-cate-project.active {
    background: linear-gradient(90deg, #FFA418 -1.66%, #FBCD00 102.72%);
}

    .item-cate-project.active a {
        position: relative;
        display: inline-block;
        color: #fff;
    }

        .item-cate-project.active a:after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            right: 0;
            width: 100%;
            height: 1.5px;
            background: transparent;
            margin: auto;
        }

.item-cate-project {
    padding: 12px;
    background: #d5d5d5;
}

.homeRoomSwiper {
    margin: 0 auto;
    width: 890px;
    position: relative;
    margin-top: 41px;
}

    .homeRoomSwiper .btn {
        position: absolute;
        width: 100%;
        top: 48%;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: none;
    }

    .homeRoomSwiper .btn-item {
        width: 58px;
        height: 58px;
        pointer-events: all;
        cursor: pointer;
        border-radius: 58px;
        border: 1px solid #FFF;
        background: rgba(255, 255, 255, 0.80);
        backdrop-filter: blur(2px);
    }

        .homeRoomSwiper .btn-item:hover {
            backdrop-filter: blur(10px);
        }

    .homeRoomSwiper .btn-prev {
        transform: translateX(-15px);
    }

    .homeRoomSwiper .btn-next {
        transform: translateX(15px);
    }

    .homeRoomSwiper .swiper {
        overflow: unset;
    }

.home-room .decor-2 {
    position: absolute;
    top: -82px;
    left: 0;
    width: 100%;
}

.home-room .decor-3 {
    position: absolute;
    bottom: calc(100% - 51px);
    right: 62px;
}

.home-room .decor-4 {
    position: absolute;
    bottom: 0;
    left: 0;
}

.home-room .decor-5 {
    position: absolute;
    right: 0;
    bottom: 0;
}

.home-room .decor-6 {
    position: absolute;
    left: 0;
    bottom: calc(100% + -103px);
}
/*List Room*/
.p-room-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 30px;
    row-gap: 30px;
}

.swiper .p-room-item {
    overflow: hidden;
    display: flex;
    justify-content: center;
    transform: scale(.91);
    height: 485px;
    transition: all ease .3s;
    border-radius: 8px;
    box-shadow: 0px 4px 15px 0px rgba(0, 146, 71, 0.18);
}

.swiper .swiper-slide-active .p-room-item {
    transform: scale(.97);
    transition-delay: .5s;
}

.swiper .swiper-slide-active .p-room-price {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .8s;
}

.p-room-item {
    height: auto;
}

    .p-room-item .p-room-img {
        overflow: hidden;
        position: relative;
        height: 100%;
        display: block;
        border-radius: 8px;
        transition: all linear .3s;
        width: 100%;
    }

    .p-room-item:hover .p-room-img::after {
        top: 0;
        bottom: 0;
        opacity: 0;
        transition: all 600ms linear;
    }

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

.imgshownew {
    position: relative;
}

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

    .imgshownew:hover::before {
        top: 0;
        bottom: 0;
        opacity: 0;
        transition: all 600ms linear;
    }

.swiper .p-room-item .p-room-img {
    transform: translateY(0);
}

.swiper-slide-active .p-room-item .p-room-img::before {
    opacity: 0;
}

.swiper-slide-active .p-room-img .decor {
    opacity: 1;
}

.p-room-item .p-room-img::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    opacity: 1;
    transition: all linear .2s;
    border-radius: 10px;
    background: linear-gradient(0deg, rgba(21, 120, 88, 0.60) 0%, rgba(21, 120, 88, 0.60) 100%);
}

.p-room-item .p-room-img img {
    transition: all linear .2s;
    border-radius: 10px;
}

.p-room-item:hover .p-room-title {
    color: var(--default-color-2);
}

.p-room-item .p-room-title {
    transition: all linear .2s;
}

.p-room-btn {
    display: flex;
    align-items: center;
    background-color: var(--default-color-2);
    color: #fff;
    padding: 7px 21px;
    border-radius: 25px;
    font-size: 16px;
}

    .p-room-btn img {
        margin-right: 4px;
    }

.swiper .p-room-img .decor {
    opacity: 0;
}

.p-room-img .decor {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 1;
}

.p-room-item:hover .p-room-img img {
}

.swiper .p-room-content .left {
}

.p-room-content .btn-booking {
    display: flex;
    align-items: center;
    padding: 11px 33px 12px 29px;
    border-radius: 29px;
    background: linear-gradient(90deg, #FFA418 -1.66%, #FBCD00 102.72%);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

    .p-room-content .btn-booking:hover {
        background: linear-gradient(115deg, #81BB3F 8.51%, #238E44 91.49%);
    }

    .p-room-content .btn-booking span {
        display: block;
        height: fit-content;
        margin-left: 6px;
        color: #FFF;
        font-family: 'Inter_24pt-Medium';
        font-size: 17.274px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .p-room-content .btn-booking img {
    }

.p-room-content .left {
    display: flex;
    justify-content: space-between;
    flex: 1;
    padding-right: 18px;
}

.swiper .p-room-content .right {
    width: 100%;
    border-top: 1px solid rgb(96 115 146 / 20%);
}

.swiper .p-room-content {
    opacity: 0;
    visibility: hidden;
}

.swiper-slide-active .p-room-content {
    opacity: 1;
    transition-delay: .2s;
    transform: scale(1);
    visibility: visible;
}

.p-room-content {
    bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 26px;
    margin: auto;
    transform: scale(1.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 28px;
    padding-bottom: 20px;
    padding-top: 15px;
    border-radius: 0px 0px 6px 6px;
    background: linear-gradient(0deg, #FFF 5.35%, rgba(255, 255, 255, 0.80) 145.2%);
    backdrop-filter: blur(2.5px);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.p-room-title {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    margin-top: 5px;
    color: #238E44;
    font-family: 'Oswald-Medium';
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.svg-r-project {
    display: flex;
    align-items: center;
    margin-left: 6px;
}

.p-room-descript {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    font-size: 16px;
    color: #5F5F5F;
    line-height: 161%;
    margin-top: 14px;
}

.p-room-options {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

    .p-room-options .options-item {
        display: flex;
        position: relative;
        align-items: center;
        justify-content: center;
        margin: 0 10px;
    }

        .p-room-options .options-item::before {
            content: '/';
            position: absolute;
            font-size: 14px;
            color: #5F5F5F;
            right: -13px;
            /* color: var(--default-color-2); */
        }

        .p-room-options .options-item:first-child {
            margin-left: 0;
        }

        .p-room-options .options-item:last-child::before {
            display: none;
        }

        .p-room-options .options-item img {
            display: none;
        }

        .p-room-options .options-item span {
            color: #2A2D34;
            font-family: 'Inter_24pt-Regular';
            font-size: 16px;
            font-style: normal;
            font-weight: 400;
            margin-left: 4px;
            line-height: normal;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            display: -webkit-box;
        }

.p-room-price {
    color: var(--default-color-2);
    margin: 0;
    font-size: 18px;
    height: fit-content;
    line-height: 110%;
    margin-top: 1px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background-color: #fff;
    border-radius: 55px;
    padding: 8px 15px;
    opacity: 0;
    transform: translateY(15px);
    transition: 0.8s cubic-bezier(.3,2.5,.3,1);
}

    .p-room-price p {
        margin: 0;
        font-weight: 100;
        display: inline-block;
        font-family: 'avertaLight';
        font-size: 16px;
        line-height: 110%;
        padding-right: 5px;
        color: var(--default-color-1);
    }

    .p-room-price strong {
        font-weight: 100;
    }

@media(max-width:1023px) {
    .homeRoomSwiper {
        width: 100%;
        margin-top: 25px;
    }

    .item-cate-project a {
        font-size: 16px;
    }

    .item-cate-project {
        padding: 6px;
    }

    .list-cate-project {
        flex-flow: wrap;
    }

    .home-room .decor-1 {
        position: absolute;
        top: -133px;
        right: -61px;
        pointer-events: none;
        width: 56%;
    }

    .home-room:before {
        content: "";
        position: absolute;
        background: url(/Design/img/MoiTruongViet/b4.png) no-repeat;
        background-size: 100% 100%;
        left: 0;
        top: -23px;
        width: 100%;
        height: 53px;
        pointer-events: none;
        z-index: 0;
    }

    .home-room-container {
        padding-top: 30px;
    }

        .home-room-container .p-descript {
            padding-top: 14px;
            font-size: 14px;
        }

    .swiper .swiper-slide-active .p-room-item {
        transform: scale(1) !important;
    }
}

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

@media(max-width:739px) {
    .home-room-container {
        padding-top: 30px;
    }

    .home-room .decor-3 {
        display: none;
    }

    .p-room-item {
        height: auto !important;
    }

    .p-room-content {
        bottom: -99px;
    }

    .swiper .p-room-content {
        width: 100%;
        padding: 0;
        bottom: 0;
        padding: 14px 12px;
        flex-direction: column;
        align-items: unset;
    }

    .p-room-item .p-room-img {
        height: 380px;
        transform: translateY(0) !important;
    }

    .p-room-content .left {
        padding: 0;
        width: 100%;
        flex-direction: column;
        padding-bottom: 0;
        padding-right: 0;
    }

    .p-room-options .options-item span {
        font-size: 14px;
    }

    .svg-d-project {
        display: flex;
        align-items: center;
    }

        .svg-d-project svg {
            width: 14px;
            height: auto;
        }

    .p-room-options .options-item:nth-child(2) .svg-d-project svg {
        width: 22px;
    }

    .p-room-options .options-item:nth-child(3) .svg-d-project svg {
        width: 12px;
    }

    .my-room-content .options-item span {
        font-size: 14px;
        color: var(--default-color-2);
        border-radius: 55px;
        padding: 4px 2px;
    }

    .my-room-content .price {
        font-size: 14px;
    }

    .p-room-content .btn-booking {
        padding: 8px 20px;
        width: fit-content;
        margin-top: 15px;
    }

        .p-room-content .btn-booking img {
            display: none;
        }

        .p-room-content .btn-booking span {
            font-size: 14px;
        }

    .svg-r-project {
        margin-left: 4px;
    }

    .home-room-container .p-descript:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 58px;
        height: 3px;
        background: #238E44;
        margin: auto;
    }

    .p-room-price {
        font-size: 14px;
    }

    .p-room-options {
        flex-flow: wrap;
    }

    .p-room-item .p-room-title {
        font-size: 18px;
        margin-top: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

    .p-room-options .options-item {
        margin: 0;
        margin-right: 10px;
        margin-bottom: 3px;
    }

    .homeRoomSwiper .btn {
        display: none;
    }

    .p-room-options .options-item:nth-child(2) {
        margin-left: 10px;
    }

    .p-room-options .options-item:nth-child(4) {
        margin-left: 10px;
    }

    .home-room {
        padding-top: 15px;
        padding-bottom: 30px;
    }
}