.rooms-section {
    padding: 0;
}
.rooms-section .inner-section {
    background-color: #FBF8EE;
    padding-top: 80px;
}
.rooms-section .description {
    max-width: 850px;
    margin: 0 auto;
    letter-spacing: 0;
}
.rooms-list {
    position: relative;
}
.rooms-galleries .gallery-item {
    padding: 0 0 46.115%;
    margin: 0;
}
.rooms-galleries .gallery-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
}
.rooms-galleries .gallery-slider {
    display: none;
}
.rooms-galleries .gallery-slider.active {
    display: block;
}
.rooms-galleries .virtual-tour {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 2;
    transform: translateY(-50%);
}
.rooms-galleries .virtual-tour-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 20px;
    color: var(--color-text);
    width: 80px;
    transition: 0.5s ease;
    background-color: var(--color-white);
}
.rooms-galleries .virtual-tour-link:hover {
    width: 100%;
}
.rooms-galleries .virtual-tour-link:hover .icon {
    margin-left: 20px;
}
.rooms-galleries .virtual-tour-link .icon {
    min-width: 40px;
    transition: 0.5s ease;
}
.rooms-galleries .virtual-tour-link .text {
    overflow: hidden;
    text-wrap: nowrap;
}
.rooms-tab-name {
    display: flex;
    align-items: flex-end;
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 2;
}
.rooms-tab-name .room-title {
    flex: 1;
    margin-bottom: 0;
    letter-spacing: 0.03em;
}
.rooms-categories-nav {
    background-color: var(--color-white);
    padding: 20px 0;
}
.rooms-tab-name .rooms-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    font-family: var(--font-family-base);
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--color-text);
    background-color: var(--color-white);
    transition: 0.5s ease;
    text-align: center;
}
.rooms-tab-name .rooms-link:hover {
    background-color: rgba(247, 247, 247, 0.9);
}
.rooms-post-type {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 40px;
}
.rooms-tab-name .rooms-link .icon {
    transition: 0.5s ease;
    height: 0;
    overflow: hidden;
}
.rooms-tab-name .rooms-link:hover .icon,
.rooms-tab-name .rooms-link.active .icon {
    height: 28px;
}
.rooms-galleries .swiper-action {
    position: absolute;
    top: 44px;
    right: -10px;
    z-index: 1;
    width: 100%;
}
.rooms-galleries .swiper-action .inner-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    max-width: 130px;
    gap: 6px;
}
.swiper-action .swiper-gallery-next {
    width: 28px;
    height: 15px;
    background-image: url("../../../assets/images/icon-next.svg");
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.5s ease;
    cursor: pointer;
}
.swiper-action .swiper-gallery-next:hover {
    transform: translateX(5px);
}
.swiper-action .swiper-gallery-prev {
    width: 28px;
    height: 15px;
    background-image: url("../../../assets/images/icon-prev.svg");
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.5s ease;
    cursor: pointer;
}
.swiper-action .swiper-gallery-prev:hover {
    transform: translateX(-5px);
}
.swiper-action .swiper-pagination {
    position: static;
    font-size: var(--font-size-h5);
    max-width: 52px;
    margin-top: 0;
}
.rooms-categories-nav .rooms-category-list {
    display: flex;
    justify-content: center;
}
.rooms-categories-nav .rooms-category-link {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--color-text);
    position: relative;
    margin: 0 24px;
    letter-spacing: 0.03em;
    /* text-transform: uppercase; */
    font-size: var(--font-size-h5);
}
.rooms-categories-nav .rooms-category-link:last-child::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -24px;
    transform: translateY(-50%);
    width: 1px;
    height: 100%;
    background-color: var(--color-primary);
}
.rooms-categories-nav .rooms-category-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: 0.5s ease;
}
.rooms-categories-nav .rooms-category-link:hover::after,
.rooms-categories-nav .rooms-category-link.active::after {
    width: 100%;
}
.room-detail-popup {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    min-width: 251px;
    transition: 0.5s ease;
    width: 251px;
    height: 100%;
}
.room-detail-popup .popup-header {
    background-color: var(--color-white);
    overflow: hidden;
}
.room-detail-popup .btn-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    text-wrap: nowrap;
    padding: 32px 40px;
    letter-spacing: 0;
}
.room-detail-popup .btn-toggle .icon {
    position: relative;
}
.room-detail-popup .btn-toggle .icon .hover {
    display: none;
}
.room-detail-popup .btn-toggle:hover .icon .hover {
    display: block;
}
.room-detail-popup .btn-toggle:hover .icon .normal {
    display: none;
}
.room-detail-popup .btn-toggle .icon img {
    width: 28px;
    padding: 7px;
}
.room-detail-popup .close-detail.btn-toggle .icon img {
    padding: 5px;   
}
.room-detail-popup .close-detail.btn-toggle {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
}
.room-detail-popup .popup-body {
    background-color: var(--color-white);
    border-top: 1px solid #D9D9D9;
    overflow: hidden;
    max-height: 76.6%;
    scrollbar-width: thin;
    scrollbar-color: rgba(191, 82, 42, 1) rgba(217, 217, 217, 0.1);
    height: 0;
}
.room-detail-popup.active .popup-body {
    overflow-y: auto;
    overflow-x: hidden;
}
.room-detail-popup .popup-body .inner-body {
    padding: 26px 55px 50px;
    width: 100%;
    position: relative;
}
.room-detail-popup.active {
    width: 50%;
    z-index: 5;
}
.tf-desc li img {
    vertical-align: middle;
    margin: 0 15px 5px 0;
}
/* Chrome, Edge, Safari */
.popup-body::-webkit-scrollbar {
    width: 6px;
    /* scrollbar width */
}
.popup-body::-webkit-scrollbar-track {
    background: rgba(217, 217, 217, 0.1);
    /* track background */
}
.popup-body::-webkit-scrollbar-thumb {
    background-color: rgba(191, 82, 42, 1);
    /* burnt orange */
    border-radius: 10px;
    /* rounded edges */
    border: 2px solid transparent;
    background-clip: content-box;
}
.popup-body::-moz-scrollbar {
    width: 6px;
    /* scrollbar width */
}
.room-detail-popup.active .close-detail.btn-toggle {
    display: flex;
    justify-content: space-between;
    opacity: 1;
    visibility: visible;
    padding-top: 40px;
    color: inherit;
}
.room-detail-popup.active .view-detail.btn-toggle {
    opacity: 0;
    visibility: hidden;
}
.tab-content .tf-desc h3 {
    font-size: 20px;
}
@keyframes fadeInDelayed {
    0% {
        opacity: 0;
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
.room-detail-popup.active .close-detail.btn-toggle .icon {
    /* opacity: 1;
    visibility: visible; */
    animation: fadeInDelayed 0.4s linear forwards;
}
.room-detail-popup .close-detail.btn-toggle .icon {
    opacity: 0;
    /* visibility: hidden; */
}
.tf-row .tf-title {
    margin-bottom: 25px;
    letter-spacing: 0;
}
.tf-row:not(:last-child) {
    border-bottom: 1px solid #D6D2C6;
    padding-bottom: 27px;
    margin-bottom: 26px;
}
.tf-table {
    display: flex;
    font-size: 16px;
    font-weight: 300;
    justify-content: space-between;
    letter-spacing: 0;
}
.tf-desc {
    letter-spacing: 0;
}
.tf-desc ul {
    margin: 0 0 5px 4px;
}
.tf-row p {
    margin-bottom: 9px;
    line-height: 1.4;
}
.tf-row .col-right {
    text-align: right;
    max-width: 70%;
}
.tf-table:not(:last-child) {
    margin-bottom: 25px;
}
.tf-row .item-title {
    font-size: var(--font-size-h3-small);
    color: var(--color-primary);
    margin-bottom: 25px;
}
.floor-plan .col-right {
    max-width: 173px;
}
.floor-plan .tf-table:not(:last-child) {
    margin-bottom: 40px;
}
.rooms-categories-nav.single-category {
    display: none;
}
.floor-plan.tf-row .tf-title {
    margin-bottom: 28px;
}
.floor-plan.tf-row p {
    margin-bottom: 5px;
}
.room-detail-popup .tab-nav .tab-label {
    display: inline-block;
    padding: 10px;
    text-decoration: none;
    position: relative;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 0;
}
.room-detail-popup .tab-label:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: 0.5s ease;
}
.room-detail-popup .tab-label:hover::before,
.room-detail-popup .tab-label.active::before {
    width: 100%;
}
.room-detail-popup .tab-nav-item {
    text-align: center;
    min-width: 128px;
    width: auto;
}
.room-detail-popup .tab-nav-item:not(:first-child):before {
    content: '';
    position: absolute;
    top: 50%;
    left: -24px;
    transform: translateY(-50%);
    width: 1px;
    height: 100%;
    background-color: var(--color-primary);
}
.room-detail-popup .tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    position: sticky;
    top: 0;
    background-color: var(--color-white);
    z-index: 1;
}
.room-detail-popup .tab-header .swiper-tab-prev {
    width: 28px;
    height: 15px;
    background-image: url("../../../assets/images/icon-prev.svg");
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.5s ease;
    cursor: pointer;
}
.room-detail-popup .tab-header .swiper-tab-next {
    width: 28px;
    height: 15px;
    background-image: url("../../../assets/images/icon-next.svg");
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.5s ease;
    cursor: pointer;
}
.room-detail-popup .tab-header .swiper-tab-next:hover {
    transform: translateX(5px);
}
.room-detail-popup .tab-header .swiper-tab-prev {
    width: 28px;
    height: 15px;
    background-image: url("../../../assets/images/icon-prev.svg");
    background-repeat: no-repeat;
    background-size: contain;
    transition: 0.5s ease;
    cursor: pointer;
}
.room-detail-popup .tab-header .swiper-tab-prev:hover {
    transform: translateX(-5px);
}
.room-detail-popup .popup-body .inner-body.tab-layout {
    padding: 0 40px 50px;
}
.room-detail-popup .tab-nav {
    width: 90%;
    max-width: 536px;
    margin: 0;
}
.room-detail-popup .tab-box {
    padding: 0 15px;
    margin-top: 20px;
}
.room-detail-popup .tab-content {
    display: none;
}
.room-detail-popup .tab-content.active {
    display: block;
}
.overflow-hidden {
    overflow: hidden;
}
@media (max-width:1366px) {
    .room-detail-popup .popup-body .inner-body {
        width: auto;
    }
    .rooms-tab-name .rooms-link {
        padding: 20px 5px;
    }
}
@media (max-width:1024px) {
    .rooms-categories-nav .container {
        display: block;
    }
    .rooms-categories-nav {
        background-color: transparent;
        padding: 0;
        position: relative;
        z-index: 2;
        margin-bottom: 40px;
    }
    .rooms-categories-nav .select2-container--default .select2-selection--single {
        background-color: transparent;
    }
    .rooms-items .gallery-item {
        padding: 0 0 45%;
        margin: 0;
        position: relative;
    }
    .rooms-items .gallery-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        object-fit: cover;
    }
    .rooms-items .room-name {
        text-transform: uppercase;
        margin-bottom: 20px;
        letter-spacing: 0.03em;
    }
    .rooms-items .room-item {
        margin-bottom: 60px;
    }
    .rooms-items .swiper-action {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .rooms-items .swiper-pagination {
        margin: 0;
    }
    .room-gallery .swiper-wrapper {
        margin-bottom: 13px;
    }
    .room-gallery {
        padding-bottom: 20px;
    }
    .rooms-items .virtual-tour {
        margin-top: 10px;
    }
    .rooms-items .virtual-tour-link {
        display: flex;
        border: 1px solid #C4A48F;
        padding: 8px 15px;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        gap: 10px;
    }
    .rooms-items .virtual-tour-link .icon {
        max-width: 32px;
    }
    .rooms-items .view-detail {
        margin-top: 10px;
    }
    .rooms-items .view-detail-link {
        display: flex;
        border: 1px solid #C4A48F;
        padding: 10px 15px;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        gap: 10px;
    }
    .rooms-section .inner-section {
        padding-bottom: 10px;
    }
    .mobile-detail-popup .room-detail-popup {
        position: fixed;
        width: 100%;
        height: 100%;
        min-width: auto;
        z-index: 99999;
        opacity: 0;
        visibility: hidden;
        transition: 0.5s ease;
    }
    .mobile-detail-popup .room-detail-popup.active {
        opacity: 1;
        visibility: visible;
    }
    .room-detail-popup .popup-body {
        max-height: none;
        height: calc(100% - 78px) !important;
        width: 100% !important;
    }
    .room-detail-popup .popup-header {
        width: 100% !important;
    }
    .room-detail-popup.active .view-detail.btn-toggle {
        display: none;
    }
    .room-detail-popup.active .close-detail.btn-toggle {
        padding: 25px 20px;
        position: static;
    }
    .room-detail-popup .popup-body .inner-body,
    .room-detail-popup .popup-body .inner-body.tab-layout {
        padding: 24px 20px 50px;
    }
    .rooms-items .room-item:not(.show) {
        display: none;
    }
    .room-detail-popup .tab-content {
        display: block;
    }
    .room-detail-popup .tab-content:not(:last-child) {
        border-bottom: 1px solid #D6D2C6;
        padding-bottom: 24px;
        margin-bottom: 24px;
    }
    .room-detail-popup .tab-header {
        display: none;
    }
    .room-detail-popup .tab-box {
        padding: 0;
        margin: 0;
    }
    .tf-row .item-title {
        margin-bottom: 20px;
    }
    .tf-table {
        gap: 20px;
    }
    .rooms-categories-nav .select-wrapper {
        text-transform: uppercase;
    }
    .rooms-categories-nav .select2-results__option {
        padding: 17px 20px;
    }
    .tf-row .tf-title {
        font-size: var(--font-size-h3-big);
        line-height: 1.2;
    }
}
@media (max-width:767px) {
    .rooms-items .gallery-item {
        padding: 0 0 287px;
    }
    .rooms-section .inner-section {
        padding-top: 50px;
    }
    .rooms-post-type {
        padding-top: 20px;
    }
    .rooms-items .view-detail-link,
    .rooms-items .virtual-tour-link {
        font-size: 15px;
    }
    .tf-row .col-right {
        max-width: 64%;
    }
}