/* tablet horizontal */

@media screen and (min-width: 581px) and (max-width: 960px) {

    .memu-bar-header,
    .hide-on-mobile,
    .hide-on-tablet {
        display: none;
    }

    .show-on-tablet {
        display: block !important;
    }

    .container {
        max-width: 100% !important;
    }

    .menu-item-759 {
        display: none !important;
    }

    .w-80-center {
        width: 90%;
        margin: 0 auto;
    }

    .w-70-center {
        width: 80%;
        margin: 0 auto;
    }

    article.hide-on-pc {
        background-color: #ffffff;
    }

    .font-14px {
        font-size: clamp(14px);
    }

    .font-16px {
        font-size: 14px;
    }

    .font-18px {
        font-size: 8px;
    }

    .font-20px {
        font-size: 8px;
    }

    .font-24px {
        font-size: clamp(24px) !important;
    }

    .font-28px {
        font-size: 11px;
    }

    .font-32px {
        font-size: clamp(32px);
    }

    .font-33px {
        font-size: clamp(33px);
    }

    .font-36px {
        font-size: clamp(36px);
    }

    .font-38px {
        font-size: clamp(38px);
    }

    .font-44px {
        font-size: clamp(44px);
    }
    .font-48px {
        font-size: 22px;
    }

    .font-64px {
        font-size: 64px;
        line-height: 1;
    }

    .font-72px {
        font-size: clamp(72px);
    }

    .font-84px {
        font-size: clamp(84px);
    }

    .font-114px {
        font-size: clamp(114px);
    }

    .font-200px {
        font-size: 200px;
        line-height: 1;
    }

    .font-5m {
        font-size: 5px;
    }

    .font-8m {
        font-size: 8px;
    }

    .font-12m {
        font-size: 12px;
    }

    .font-14m {
        font-size: 10px;
    }

    .font-16m {
        font-size: 16px;
    }

    .font-18m {
        font-size: 18px;
    }

    .font-20m {
        font-size: clamp(17px, 5vw, 20px);
    }

    .font-22m {
        font-size: clamp(18px, 5.0vw, 22px);
    }

    .font-24m {
        font-size: 24px;
    }

    .font-28m {
        font-size: 28px;
    }

    .font-30m {
        font-size: 30px;
    }

    .font-48m {
        font-size: 48px;
    }

    .font-68m {
        font-size: clamp(54px, 15.8vw, 68px);
    }

    .font-78m {
        font-size: 78px;
    }

    .elementor-widget-container {
        background: #fff;
    }

    .spacer {
        width: 100%;
        margin: 0 auto;
        height: 3px;
        border-top: 1px solid var(--color-gw);
        padding: 1.5rem 0;

        &.w-40 {
            width: 90%;
        }

    }

    /* !menu!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */

    .mobile_logo {
        /* height: 28px; */
    }

    .button-hamburger,
    .button-hamburger:hover {
        background: none;
        border: none;
        padding: 0;
    }

    .sidebar-page {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: translateX(-100%);
        transition: all 0.7s;
        max-width: 100%;
        width: 100%;
        z-index: 100;
        min-height: 100%;
        display: flex;
        background: #fff;
        flex-direction: column;
        padding: 2em 0 0 0;
        /* padding-top: 5em; */
        justify-content: space-evenly;
    }

    .show-sidebar {
        transform: translateX(0);
        transition: transform 1s;
    }


    .nav.d-grid {
        grid-template-columns: 50% 1fr;
        justify-content: space-between;
        justify-items: self-start;
        max-width: 100% !important;
        align-items: center;
        width: 100%;
        padding: 18px 20px 14px 20px;
        box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
        z-index: 100;
    }

    .site-content {
        padding: 0 !important;
    }

    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .entry-content:not(:first-child),
    .entry-summary:not(:first-child),
    .page-content:not(:first-child) {
        margin-top: 1em;
    }

    .mobile-icons.d-flex {
        gap: 1em;
        align-items: center;
        justify-content: end;
        width: 100%;
    }

    .close-bt button img {
        width: 80%;
    }

    .close-bt {
        position: absolute;
        top: 3rem;
        right: 0;

        button {
            background: transparent;
        }
    }

    .main-menu.menu_main_position {
        padding: 0 1rem 0 10%;

        ul#menu-main-1 {
            margin: 0;
            padding-left: 0;
            list-style: none;

            &>li {
                padding: 0.25rem 0;
                position: relative;

                a {
                    color: var(--color-gr);
                    font-weight: 200;
                    font-size: 24px;
                    transition: all 0.5s ease-in-out;
                }
            }

            &>li.current-menu-item {

                &>a {
                    color: var(--color-org);
                    transition: all 0.5s ease-in-out;
                }
            }
        }
    }

    .sub-menu {
        position: static;
        /* ✅ ยกเลิก absolute */
        padding-left: 20px;
        list-style: none;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;

        li {
            padding: 8px 0;

            a {
                color: var(--color-gr);
                font-weight: 200;
                font-size: 16px !important;
                display: inline;
            }
        }
    }

    .main-menu .submenu-open>.sub-menu {
        max-height: 1000px;
    }

    .main-menu .menu-item-has-children::after {
        content: url(./assets/icons/next.svg);
        width: 20px;
        position: absolute;
        top: 14px;
        right: 5rem;
        bottom: 0;
        height: 20px;
        transform: rotate(-90deg);
        padding-right: 10px;
        transition: all ease-in-out 0.5s;
    }

    .menu-item-has-children.submenu-open::after {
        transform: rotate(0deg);
        transition: all ease-in-out 0.5s;
    }

    .nav_items {
        margin: 2rem 0;
        padding: 0 1rem 0 10%;

        .nav_grid {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 10px;

            img {
                filter: brightness(0.5);
            }
        }
    }

    .nav_footer {
        margin: 0 10%;
        border-top: 1px solid #fff;
        padding: 1rem 0 3rem;
    }

    .address {
        padding: 0 10% 0 10%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .address_social {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 1rem;
        border-top: 1px solid var(--color-gr);
    }



    /* !menu!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */


    /* !home ----------------------------------------------------------------------------------*/

    /* *start main_banner*/
    .main_banner {
        position: relative;
    }

    .main_banner_text {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        padding: 0 10%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0rem;
    }

    .main_banner_text h1 {
        font-size: 35px;
        font-weight: 400;
        line-height: 37px;
    }

    .banner_content_bt {
        display: flex;
        align-items: center;
        gap: 1rem;
        justify-content: center;
        margin-top: 1rem;
    }

    .bt_link {
        padding: 0.5rem 0.6rem;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 11px;
        font-weight: 300;
        transition: all 0.5s ease-in-out;
        flex-grow: 1;
        max-width: 150px;
        text-align: center;
        color: white;
        justify-content: center;
        height: 30px;
    }

    .dark-bt {
        color: #fff;
        background: var(--color-gr);
        transition: all 0.5s ease-in-out;

        &:hover {
            transform: scale(1.05);
            color: #fff !important;
            transition: all 0.5s ease-in-out;
        }
    }

    .white-bt {
        color: var(--color-gr);
        background: #ffffff;
        transition: all 0.5s ease-in-out;

        &:hover {
            transform: scale(1.05);
            color: var(--color-gr) !important;
            transition: all 0.5s ease-in-out;
        }

        svg path {
            fill: var(--color-gr) !important;
        }
    }

    .lightgray-bt {
        color: var(--color-gr);
        background: var(--color-gl);
        transition: all 0.5s ease-in-out;

        &:hover {
            transform: scale(1.05);
            color: var(--color-gr) !important;
            transition: all 0.5s ease-in-out;
        }
    }


    /* *end main_banner*/


    /* *start fact*/

    .fact {
        position: relative;
        padding: 4rem 0 2rem;

        .show-on-tablet{
            width: 100%;
        }

        .w-80-center {
            display: flex;
            flex-direction: column;
            gap: 0rem;
            align-items: center;
            justify-content: center;

            >center {
                display: flex;
                flex-direction: column;
                justify-content: center;
                gap: 1rem;
            }
        }
    }

    .face_box {
        border-width: 0 0 3px 0;
        border-style: solid;
        border-color: #2D2D2D;
        box-shadow: 0px 0px 4px 0px #00000040;
        background: #fff;
        display: flex;
        grid-template-columns: 1fr 1fr 1fr;
        padding: 1rem 5px;
        position: relative;
        width: 100%;
        top: -5rem;
        flex-wrap: nowrap;

        svg{
            max-width: 35px;
        }
    }

    .center_items {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
        flex: 1 1 100px;


        >div {
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
            width: 100%;
            border-right: 1px solid #2D2D2D;
            text-align: center;
            padding: 0 0.7rem;
            height: 100%;
        }

        &.center_items:nth-last-child(1)>div {
            border-right: none;
        }
    }

    .left_items {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        width: 40%;

        >p {
            padding: 0 1rem;
        }

        >div {
            display: flex;
            gap: 10px;
            align-items: center;
            width: 100%;
            border-right: 1px solid #2D2D2D;
            text-align: center;
            padding: 0 1rem;
            justify-content: space-around;




            .left_items_box {
                display: flex;
                flex-direction: column;
                gap: 10px;
                align-items: center;
                /* width: 73%; */
                text-align: center;
            }
        }
    }


    /* *end fact*/

    /* *start unit_type*/

    .unit_type {
        padding: 2rem 0;
        background: var(--color-gl);
    }

    .unit_type_grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }

    .unit_type_items {
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        > div > img{
            aspect-ratio: 3 / 2;
            width: 100%;
            object-fit: cover;
        }
    }

    .unit_type_title {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 1rem 0rem 0;
        background: #fff;
    }

    .unit_type_box {
        padding: 0 0.5rem 1rem;
        background: #fff;
    }

    .unit_navi{
        position: relative;
        height: 50px;
        margin-top: 1rem;
    }

    .unit-button-next{
        right: 10% !important;
        z-index: 100 !important;
    }

    .unit-button-next::after{
        content: '';
        background: url('./assets/icons/next_slide.svg');
        width: 22px;
        height: 22px;
    }

    .unit-button-prev{
        left: 10% !important;
        z-index: 100 !important;
    }

    .unit-button-prev::after{
        content: '';
        background: url('./assets/icons/prev_slide.svg');
        width: 22px;
        height: 22px;
    }

    .unit-pagination{
        bottom: 20px;
        top: auto;
    }


    /* *end unit_type*/

    /* *start location*/
    section.location {
        position: relative;
    }

    .swiper-container {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
        position: relative;

    }

    .swiper-slide {
        background-size: cover;
        background-position: center;
    }

    .gallery-top {
        height: 500px;
        width: 100%;
    }

    .location_info {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        justify-content: center;
        padding: 0 5%;
        z-index: 9;
        width: 50%;
        max-width: 100%;
    }

    .icon_box_items {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0.5rem;
        text-align: center;

        svg,
        img {
            width: 45px;
            aspect-ratio: 1;
        }
    }

    .g-4 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .g-6 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .g-7 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .bd-w {
        >.icon_box_items {
            border: 1px solid white;
            background: var(--color-gr);
        }

        svg path {
            fill: #fff;
        }

        img {
            filter: brightness(100);
        }

        p {
            color: #fff;
        }
    }

    .bd-b {
        >.icon_box_items {
            border: 1px solid #000;
            background: #fff;
        }

        svg path {
            fill: #000;
        }

        img {
            filter: brightness(0);
        }

        p {
            color: var(--color-gr);
        }
    }

    .bdb-w {
        text-decoration: underline !important;
        color: #fff;
    }

    .bdb-b {
        text-decoration: underline !important;
        color: var(--color-gr);
    }


    /* *end location*/

    /* *start plan*/

    section.plan {
        padding: 4rem 0 0;


        &.apartment_page {
            padding: 0rem 0 4rem !important;

            .face_box {
                box-shadow: none !important;
                border-width: 0 !important;
                border-style: none !important;
                top: 0rem !important;
                margin-top: 6rem;
            }
        }


    }

    .mini_banner {
        background: url(./assets/banner/banner--mini-banner.png) no-repeat center right / cover;
        padding: 1rem 1rem;
        display: flex;
        gap: 1rem;
        height: 120px;
        align-items: center;

        img {
            width: 37px;
        }
    }

    .mini_banner_flex {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
        justify-content: space-between;
        align-items: flex-start;
    }

    .mini_bt_flex {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
    }

    .plan_grid {
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .plan_text {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .plan_text_detail {

        ul {
            padding-left: 0;
            margin-bottom: 0;
        }
    }

    .plan_slide {
        max-width: calc(580px - 10%);
        position: relative;
        display: flex;
        justify-content: center;
        margin: 0 auto;

        .swiper-slide {
            padding-bottom: 2rem;
        }
    }

    .plan_img {
        display: grid;
        gap: 10px;
        grid-template-columns: 40% 1fr;
        grid-template-rows: repeat(2, 1fr);
        grid-template-areas:
            "img1 img3 "
            "img2 img3 "
        ;


        img {
            height: 100%;
            object-fit: cover;
        }

        img:nth-child(1) {
            grid-area: img1;
            position: relative;
        }

        img:nth-child(2) {
            grid-area: img2;
            position: relative;
        }

        img:nth-child(3) {
            grid-area: img3;
            position: relative;
        }
    }



    .plan-top {
        max-height: 348px !important;
        width: 100%;
    }

    .plan-button-next,
    .plan-button-prev {
        top: 39% !important;
    }


    /* *end plan*/

    /* *start infomation*/

    section.infomation {
        display: grid;
        grid-template-columns: 1fr 1fr;


        >img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }

    .infomation_info {
        padding: 1rem 5%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        background: url(./assets/banner/bg--mini-banner.png) no-repeat center / cover;
    }

    .info_box {
        padding: 0 0.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;

        ul {
            margin: 0 0 1rem;
        }

        >div a {
            text-align: left;
        }
    }


    /* *end infomation*/

    /* *start facility*/

    section.facility {
        padding: 3rem 0;
        background: var(--color-gl);

        center {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .location_icon_box {
            padding: 2rem 0rem;
        }

        .icon_box_items {
            padding: 0.5rem;

            svg,
            img {
                width: 40px;
            }
        }
    }

    .facility_m.w-70-center {
        width: 100% !important;
    }


    /* *end facility*/

    /* *start gallery*/

    section.gallery {
        padding: 2rem 0 0rem;
        margin-bottom: 0 !important;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .gallery_swiper_containner {
        position: relative;
        max-height: 440px;
    }

    .gallery_grid_area {
        --gallery-max-height: 340px;
        display: grid;
        gap: 10px;
        max-height: 340px;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, calc(var(--gallery-max-height)/2));
        grid-template-areas:
            "img1 img1 img2 img2 "
            "img3 img3 img4 img5 "
        ;
    }

    .grid-item {
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .grid-item:nth-child(1) {
        grid-area: img1;
        position: relative;

        &::after {
            content: '';
            width: calc(var(--gallery-max-height)/2);
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
            z-index: 1;
        }
    }

    .grid-item:nth-child(2) {
        grid-area: img2;
    }

    .grid-item:nth-child(3) {
        grid-area: img3;
    }

    .grid-item:nth-child(4) {
        grid-area: img4;
    }

    .grid-item:nth-child(5) {
        grid-area: img5;
        position: relative;

        &::after {
            content: '';
            width: calc(var(--gallery-max-height)/2);
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(270deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
            z-index: 1;
        }
    }


    /* *end gallery*/

    /* !home ----------------------------------------------------------------------------------*/

    /* !footer ----------------------------------------------------------------------------------*/
    section.footer_main {
        --logo-footer-width: 227px;
        --address-width: 300px;
        --grid-gap: 1rem;
        padding: 2rem 0 0;
        background: #FFFFFF;
        margin-top: -10px;
        position: relative;
        z-index: 10;

        .logo_footer {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .logo_footer img:nth-child(1) {
            width: 210px;
        }

        .logo_footer img:nth-child(2) {
            width: 120px;
        }
    }

    .footer_main_grid {
        display: grid;
        grid-template-columns: 150px 1fr 83px;
        gap: var(--grid-gap);


        div.contact_form_grid {
            display: grid;
            grid-template-columns: 1fr;
        }

        .social_icon {
            margin-top: 1rem;
            gap: 1rem;
        }


        ul {
            margin: 0;
            padding-left: 0;
            list-style: none;
            display: flex;
            flex-direction: column;
            

            li a {
                color: var(--color-gr);
                font-weight: 200;
                font-size: 8px;
            }
        }

        .footer_main_items {
            display: flex;
            justify-content: center;
        }

        .footer_flex_ul {
            display: flex;
            gap: var(--grid-gap);
        }

        .footer_main_items>div>p {
            padding-bottom: 1rem;
        }
        .footer_room a{
            transition: all 0.5s ease-in-out;

            &:hover{
                color: #000 !important;
                font-weight: 400;
                transition: all 0.5s ease-in-out;
            }
        }

        .footerset {

            &.menu_main_position{
                justify-content: space-between;
            }
            
            .translate_tab{
                bottom: -12px;
            }
            .trp-shortcode-switcher{
                padding: 0 !important;
            }
        }
    }

    .copy_right {
        margin-top: 1rem;
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--grid-gap);
        padding: 0.8rem 10%;
        background: var(--color-gl);


        a:nth-child(1){
            text-align: center;
        }
    }

    .icon_float{
        position: fixed;
        bottom: 5vh;
        right: 2%;
        z-index: 110;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        
        .icon a img{
            width: 60px;
            aspect-ratio: 1;
            transform: translateX(0px);
            transition: all 0.5s ease-in-out ;
        }

        .icon a:hover img{
            transform: translateX(-20px);
            transition: all 0.5s ease-in-out ;
        }
    }

    /* !END-footer ----------------------------------------------------------------------------------*/


    /* !apartment ----------------------------------------------------------------------------------*/

    /* *start room*/

    section.room {
        padding: 4rem 0;

        h2 {
            margin-bottom: 2.5rem;
        }

        .g2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;

            .unit_type_items {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                gap: 2rem;
            }

            .unit_type_items_bt {
                background: var(--color-gr);
                padding: 0.5rem 1.5rem;
                display: flex;
                justify-content: center;
                width: 100%;
            }
        }
    }

    .f_type {
        padding: 4rem 0;


        .location_icon_box {
            margin-top: 2rem;
        }
    }


    /* *end room*/

    .room_page {
        position: relative;
        top: 5rem !important;
    }

    /* *start */


    /* *end */

    /* *start */


    /* *end */

    /* *start */


    /* *end */

    /* *start */


    /* *end */

    /* *start */


    /* *end */

    /* !apartment----------------------------------------------------------------------------------*/

    /* !rooms ----------------------------------------------------------------------------------*/

    /* *start */

    .room-section {
        margin: 0 auto;
        padding: 4rem 0 0 0;
    }

    .room-tab-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: space-between;
        margin-bottom: 28px;
        border-bottom: 1px solid var(--color-gr);
        max-width: 80%;
        margin: 0 auto;
    }

    .room-tab-btn {
        border: 1px solid var(--border);
        background: #fff;
        color: var(--ink);
        padding: 0 18px;
        letter-spacing: .02em;
        font-weight: 400;
        cursor: pointer;
        transition: all .2s ease;
        position: relative;
        border: 1px solid var(--color-gr);
        border-bottom: none;
        display: inline-flex;
        align-items: center;
    }

    .room-tab-btn:hover {
        background: var(--color-gl);
        color: var(--color-gr);
    }

    .room-tab-btn.active {
        background: var(--color-gr);
        color: #fff;

        img {
            filter: brightness(100);
        }
    }

    .room-tab-content {
        width: 100%
    }

    .room-tab-panel {
        display: none;
        animation: fade .25s ease
    }

    .room-tab-panel.active {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 1rem 0;
        margin-top: 3rem;
    }

    @keyframes fade {
        from {
            opacity: 0;
            transform: translateY(4px)
        }

        to {
            opacity: 1;
            transform: none
        }
    }

    .room-title {
        text-align: center;

    }

    .room-meta {
        text-align: center;
        margin: 0 0 18px
    }

    .room-desc {
        max-width: 900px;
        margin: 0 auto;
        text-align: center;
        line-height: 1.6;
        padding: 0 5%;
    }

    .room-swiper {
        position: relative;
    }

    .shadow-l {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 120px;
        z-index: 9;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    }

    .shadow-r {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 120px;
        z-index: 9;
        background: linear-gradient(270deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    }

    .room_info {
        padding: 2rem 0 4rem;
    }

    .room_grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
        margin: 2rem 0;
    }

    .room_grid_text {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-bottom: 2rem;

        ul {
            margin: 0;
            padding-left: 0;
            font-size: clamp(14px, 0.9vw, 20px);
            font-weight: 300;
            color: var(--color-gr);
            display: flex;
            flex-wrap: wrap;
            list-style: none;

            li {
                font-size: clamp(14px, 0.9vw, 20px);
                font-weight: 300;
                color: var(--color-gr);
                flex-grow: 1;
                min-width: 50%;
            }
        }
    }

    .icon_up {
        width: 100%;
        border-bottom: 2px solid #D9D9D9;
        position: relative;
        margin-top: 1rem;
    }

    .exten_detail_s .icon_up {
        img {
            transform: rotate(180deg);
            transition: all 0.5s ease-in-out;
        }
    }

    .img_up {
        display: flex;
        justify-content: center;
        position: relative;
        width: 100%;
        height: 100%;
    }

    .img_up img {
        position: absolute;
        bottom: -30px;
    }

    .close_detail {
        height: 0 !important;
        opacity: 0;
        transition: all 0.5s ease-in-out;
    }

    .close_detail.exten_detail {
        height: 580px !important;
        opacity: 1;
        transition: all 0.5s ease-in-out;
    }

    .icon_up img {
        transform: rotate(0deg);
        transition: all 0.5s ease-in-out;
    }

    .exten_detail_s {
        .icon_up {
            margin-top: 1rem;
            transition: all 0.5s ease-in-out;
        }
    }

    .room_banner {
        padding: 2rem 0 2rem;
    }



    /* *end */

    /* *start banner_sp*/

    .banner_sp {
        background: url(./assets/banner/bg--mini-banner-sp.png) no-repeat -400px center/ cover;
        padding: 0rem 5%;
        height: 206px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 2rem;

        .banner_sp_box {

            text-align: center;
            margin: 0 auto;

            br {
                display: none;
            }
        }

        .mini_bt_flex {
            justify-content: left;
        }

        &.w_80 {
            max-width: 90%;
            margin: 0 auto 4rem;
            padding: 1rem 5%;


            .banner_sp_box {
                text-align: left;
            }

            .mini_bt_flex {
                justify-content: flex-end;
            }
        }


    }

    .dropdown {
        width: 320px;
        position: relative;
        margin: 0 auto;
    }

    .dropdown-btn {
        width: 100%;
        padding: 14px 16px;
        background: #fff;
        border: 1px solid #ddd;
        font-size: 14px;
        letter-spacing: 0.5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;

    }

    .arrow {
        color: #000;
        transition: transform 0.25s ease;
    }

    .dropdown.open .arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        border: 1px solid #ddd;
        border-top: none;
        background: #fff;
        width: 100%;
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li {
        padding: 14px 16px;
        font-size: 14px;
        cursor: pointer;
        border-top: 1px solid #eee;

        button {
            padding: 0;
            background: none;
            color: var(--color-gd);
            font-weight: 200 !important;
        }
    }

    .dropdown-menu li:hover {
        background: #f3f3f3;
    }

    .dropdown-menu li.active {
        background: #cfcfcf;
    }



    /* *end banner_sp*/




    /* !END-rooms ----------------------------------------------------------------------------------*/


    /* !gallery ----------------------------------------------------------------------------------*/

    /* *start gallery_sec*/

    section.gallery_sec {
        padding: 3rem 0;
    }

    /* *end gallery_sec*/

    /* *start gallery_sec_grid*/

    .gallery_sec_grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 2rem 0;
    }

    .gallery_event_items {
        display: block;

        .gallery_event_thumb {
            position: relative;

            .icons_float_top {
                position: absolute;
                top: 0.5rem;
                left: 0.5rem;
            }
        }

        img {
            aspect-ratio: 3 / 2;
            object-fit: cover;
            min-width: 300px;
            width: 100%;
        }

        .gallery_event_detail {
            padding: 1rem 0.8rem;
            border-width: 0px 1px 1px 1px;
            border-style: solid;
            border-color: #E7E7E7;
        }
    }

    .gallery_event_text>div {
        text-align: left;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* number of lines to show */
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .overlay {
        position: fixed;
        inset: 0;
        /* top:0, right:0, bottom:0, left:0 */
        background: rgba(0, 0, 0, 0.904);
        display: none;
        /* ซ่อนก่อน */
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }

    .popup {
        padding: 30px 120px;
        border-radius: 20px;
        min-width: 300px;
        max-width: 780px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        position: relative;
    }

    .overlay.active {
        display: flex;
    }

    .review_hightlight-gallery {
        margin-bottom: 1rem;
    }

    .swiper-slide.swiper-slide--one.product_img img {
        width: 100%;
    }

    .gallery_event_swiper {
        overflow: hidden;
    }

    button.closePopup {
        position: absolute;
        right: 0;
        top: 0;
        background: transparent;
    }



    /* *end gallery_sec_grid*/

    /* *start */


    /* *end */

    /* !END-gallery ----------------------------------------------------------------------------------*/

    /* !location ----------------------------------------------------------------------------------*/

    /* *start location_page*/

    section.location_page {
        padding: 2rem 0;
        background: url(./assets/banner/banner--main-location.png) no-repeat center / cover;
        height: 130px;
        display: flex;
        align-items: center;
    }

    /* *end location_page*/

    /* *start location_info*/

    section.location_information {
        padding: 3rem 0;

        .w-80-center {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
    }

    .icons_width {
        margin: 0 auto;
    }

    .location_information_gird {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }

    .location_g {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }



    /* *end location_info*/

    /* *start location_banner_grid*/

    section.location_banner_grid {
        display: flex;
        flex-direction: column-reverse;
    }

    .location_banner_grid_info {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        justify-content: center;
        background: var(--color-gr);
        padding: 2rem 5%;
    }


    /* *end location_banner_grid*/

    /* *start location_information_gird_2*/

    .location_information_gird_2 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }

    .location_information_text {
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .banner_content_bt {
            justify-content: flex-start;
        }
    }

    .text_flex {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }


    /* *end location_information_gird_2*/

    /* *start facility*/

    section.facility_location {
        margin-top: 3rem;
    }

    .facility_grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem 1rem;
        margin: 2rem 0;
        text-align: center;
    }


    /* *end facility*/

    /* !END-location ----------------------------------------------------------------------------------*/



    /* !contact ----------------------------------------------------------------------------------*/

    section.contact {
        padding: 4rem 0;
        background: linear-gradient(180deg, rgba(223, 223, 223, 0) 0%, #DFDFDF 100%);

    }

    .contact_grid {
        display: grid;
        grid-template-columns: 43% 1fr;
        margin: 2rem 0;
        box-shadow: 0px 0px 10px 0px #00000040;
    }

    .contact_left {
        padding: 3rem 5%;
        background: url(./assets/banner/banner--contact-home.png) no-repeat center bottom / cover;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;

        >div {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: flex-start;
            gap: 1rem;
        }
    }

    .contact_right {
        padding: 2.5rem 1.5rem;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        gap: 1rem;
    }


    /* ?form */

    div.wpforms-container-full {
        width: 100% !important;
        margin: 0 !important;
    }

    div.wpforms-container-full .wpforms-form textarea.wpforms-field-large {
        height: 100px !important;
        width: 100% !important;
    }

    label.wpforms-field-label {
        font-size: 20px !important;
        font-weight: 200 !important;
        color: #393939 !important;
        display: flex !important;
        gap: 1rem;
    }

    input#wpforms-44-field_0,
    input#wpforms-44-field_3,
    input#wpforms-44-field_1,
    textarea#wpforms-44-field_2 {
        background-color: var(--color-gl) !important;
    }

    button.wpforms-submit {
        background: var(--color-gr) !important;
        padding: 0 4rem !important;
        color: #fff !important;
        font-weight: 200 !important;
        font-size: 18px !important;
        width: 100% !important;
    }

    .wpforms-submit-container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    /* ?form */

    /* !END-contact ----------------------------------------------------------------------------------*/


    /* !404 ----------------------------------------------------------------------------------------- */

    section.e404 {
        background: url('./assets/banner/404.png') no-repeat right center / 25%;
        padding: 20vh 5%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4rem;

        h1 {
            font-size: 100px;
        }

        a {
            display: block;
            width: 300px;
        }
    }


    /* !404 ----------------------------------------------------------------------------------------- */
}