/* header */
@media screen and (min-width: 1181px) {
    .hide-on-pc {
        display: none;
    }

    .container {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

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

    .mobile-show {
        display: none;
    }

    .font-14px {
        font-size: clamp(8px, 0.8vw, 14px);
    }

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

    .font-18px {
        font-size: clamp(13px, 0.8vw, 18px);
    }

    .font-20px {
        font-size: clamp(14px, 0.9vw, 20px);
    }

    .font-24px {
        font-size: clamp(18px, 1.2vw, 24px) !important;
    }

    .font-28px {
        font-size: clamp(19px, 1.35vw, 28px);
    }

    .font-32px {
        font-size: clamp(24px, 1.45vw, 32px);
    }

    .font-33px {
        font-size: clamp(26px, 1.5vw, 33px);
    }

    .font-36px {
        font-size: clamp(28px, 1.65vw, 36px);
    }

    .font-38px {
        font-size: clamp(30px, 1.75vw, 38px);
    }

    .font-44px {
        font-size: clamp(34px, 1.8vw, 44px);
    }
    .font-48px {
        font-size: clamp(36px, 1.85vw, 48px);
    }

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

    .font-72px {
        font-size: clamp(56px, 3.8vw, 72px);
    }

    .font-84px {
        font-size: clamp(65px, 4vw, 84px);
    }

    .font-114px {
        font-size: clamp(82px, 6.5vw, 114px);
    }

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

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

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

    }

    /* !top-menu---------------------------------------------------------------------------------- */

    .nav_pc{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 3rem 0;
    }
    .social_icon{
        display: flex;
        gap: 0.5rem;
    }
    
    div#nav-header-menu {
        box-shadow: 0px 4px 4px 0px #00000040;
        position: relative;
        z-index: 10;
        max-height: clamp(90px, 7.5vw, 120px);
    }

    #nav-header-menu .d-grid.align-content-center.align-center {
        --header-menu-grid-col: auto 1fr;
        --header-menu-padding: 0rem 0;
        --header-menu-gap: 1rem;
        grid-template-columns: var(--header-menu-grid-col);
        padding: var(--header-menu-padding);
        align-items: center;
        gap: var(--header-menu-gap);
        width: 80%;
        margin: auto;
        
    }

    .d-grid.align-content-center.align-center .logo a img {
        max-width: 128px;
    }

    ul#menu-main {
        padding-left: 0;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: space-around;
        margin: 0;
        height: 100%;
        gap: 3rem;

        li a{
            color: #2F2F2F;
            font-weight: 200;
            font-size: 1.2rem;
            position: relative;
        }
    }


    p.text-dark.font-w-200.d-flex {
        margin-bottom: 9px;
        justify-content: flex-end;
        padding-right: 20%;
    }


    .menu_side {
        display: grid;
        grid-template-columns: 90% 1fr;
        align-items: center;
        height: clamp(90px, 7.3vw, 100px);

        .menu-flex {
            height: 100%;
        }

        .menu-menu-main-container{
                height: 100%;
                width: 100%;
        }
    }


    .menu_main_position,
    .menu_main_position ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    /* ซ่อน sub-menu */
    .menu_main_position .sub-menu {
        display: none;
        position: absolute;
        top: 82%;
        left: 0;
        min-width: 250px;
        width: max-content;
        z-index: 1000;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 0rem;

        li {
            padding: 8px 1rem;
            background: #fff;
            display: flex;
            justify-content: center;
            transition: all 0.4s ease-in-out;

            a{
                color: var(--color-gr) !important;
                font-weight: 300 !important;
                transition: all 0.4s ease-in-out;
            }

            &:hover{
                background: #2F2F2F;
                transition: all 0.4s ease-in-out;

                a{
                    color: #fff !important
                }
            }
        }
        
    }

    /* โครงสร้างเมนูหลักต้องมี relative */
    .menu_main_position li {
        position: relative;
    }

    /* แสดง sub-menu เมื่อ hover */
    .menu_main_position li:hover > .sub-menu {
        display: block;
    }

    /* ลิงก์เมนู */
    .menu_main_position a {
        display: block;
        text-decoration: none;
        transition: all 0.5s ease-in-out;
    }

    .menu_main_position a:hover {
        transform: scale(1.1);
        transition: all 0.5s ease-in-out;
        color: #fff;
    }

    /* สำหรับ sub-menu ซ้อนหลายชั้น */
    /* .menu_main_position .sub-menu .sub-menu {
        left: 0%;
        top: 0;
    } */

    .menu_main_position .menu-item-has-children > a::after {
        content: url(./assets/icons/down.png);
        position: absolute;
        width: 9px;
        bottom: -4px;
        left: 100%;
        height: 100%;
    }
    

    ul#menu-menu-main li {
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
    }

    ul#menu-menu-main li.current-menu-item a {
        color: #ffffff ;
        font-weight: 400;
    }

    ul#menu-menu-main li a {
        color: #ffffff;
        font-size: clamp(18px, 1em, 24px);
        font-weight: 300;
        display: flex;
        flex-direction: row;
    }
    

    /* !top-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: 3rem;
    }

    .main_banner_text h1 {
        font-size: 98px;
        font-weight: 400;
        line-height: 80px;
    }

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

    .bt_link {
        padding: 0.5rem 0.8rem;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: clamp(16px, 1vw, 18px);
        font-weight: 300;
        transition: all 0.5s ease-in-out;
        flex-grow: 1;
        max-width: 220px;
        text-align: center;
        color: white;
        justify-content: center;
        height: 45px;
    }

    .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;

        .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: grid;
        grid-template-columns: 1fr 1fr 40% 1fr 1fr;
        padding: 1rem 0;
        position: relative;
        width: 100%;
        top: -6rem;

    }

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

        >div {
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
            width: 100%;
            border-right: 1px solid #2D2D2D;
            text-align: center;
            padding: 0 1rem;
            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: 100%;

        >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;

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


    /* *end fact*/

    /* *start unit_type*/

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

    .unit_type_grid {
        display: grid;
        grid-template-columns: repeat(4, 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;
    }


    /* *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: 780px;
        width: 100%;
    }

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

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

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

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

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

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

    .bd-w {
        >.icon_box_items {
            border: 1px solid white;
        }

        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;


        &.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: 2rem 3rem;
        display: flex;
        gap: 2rem;
        height: 220px;
        align-items: center;
    }

    .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: 4rem;
        display: flex;
        gap: 3rem;
    }

    .plan_text {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        width: 50%;
    }

    .plan_text_detail {

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

    .plan_slide {
        max-width: calc(736px - 10%);
        position: relative;
        display: flex;
        justify-content: center;
    }

    .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: 448px !important;
        width: 100%;
    }

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


    /* *end plan*/

    /* *start infomation*/

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

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

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

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

        a{
            text-align: right;
        }
    }


    /* *end infomation*/

    /* *start facility*/

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

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

        .location_icon_box {
            padding: 2rem 1rem;
        }

        .icon_box_items {
            padding: 1rem;

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


    /* *end facility*/

    /* *start gallery*/

    section.gallery {
        padding: 5.5rem 0 4rem;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

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

    .gallery_grid_area {
        --gallery-max-height: 440px;
        display: grid;
        gap: 10px;
        max-height: 440px;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, calc(var(--gallery-max-height)/2));
        grid-template-areas:
            "img1 img2 img3 img5 "
            "img1 img2 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*/

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

    /* !footer ----------------------------------------------------------------------------------*/
    section.footer_main {
        --logo-footer-width: 240px;
        --address-width: 300px;
        --grid-gap: 1rem;
        padding: 4rem 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: 210px !important;
        }
    }

    .footer_main_grid {
        display: grid;
        grid-template-columns: 19% 1fr 1fr 1fr 1fr;
        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;

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

        .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: 4rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--grid-gap);
        padding: 0.8rem 10%;
        background: var(--color-gl);

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

    .icon_float{
        position: fixed;
        bottom: 5vh;
        right: 1rem;
        z-index: 110;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        
        .icon a img{
            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: 6rem 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: 150px;
            }
        }
    }

    .f_type {
        padding: 4rem 0;


        .location_icon_box {
            margin-top: 2rem;

            .icon_box_items img{
                width: 80px;
            }
        }
    }


    /* *end room*/

    .room_page{
        top: 0 !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;
    }

    @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
    }
    .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: 4rem 0;
    }

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

        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: 480px !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: 4rem 0 4rem;
    }



    /* *end */

    /* *start banner_sp*/

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

        .banner_sp_box{
            width: 70%;
            text-align: center;
            margin: 0 auto;
            
            br{
                display: none;
            }
        }

        .mini_bt_flex{
            justify-content: center;
        }

        &.w_80{

            height: 266px;
            max-width: 80%;
            margin: 0 auto 4rem;
            padding: 2rem 2rem 5rem 3rem;
            flex-direction: row;
            

            .banner_sp_box{
                width: 90%;
                text-align: left;
            }

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

        
    }

    


    /* *end banner_sp*/

    


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

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

    /* *start gallery_sec*/

    section.gallery_sec{
        padding: 4rem 0;
    }

    /* *end gallery_sec*/

    /* *start gallery_sec_grid*/

    .gallery_sec_grid{
        display: grid;
        grid-template-columns: repeat(4,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: 4rem 0;
        background: url(./assets/banner/banner--main-location.png) no-repeat center / cover;
        height: 300px;
        display: flex;
        align-items: center;
    }

    /* *end location_page*/

    /* *start location_info*/

    section.location_information{
        padding: 4rem 0;

        .w-80-center{
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }
    }
    .icons_width{
        max-width: 60%;
        margin: 0 auto;
    }

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



    /* *end location_info*/

    /* *start location_banner_grid*/

    section.location_banner_grid{
        display: grid;
        grid-template-columns: repeat(2 ,1fr);
    }

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


    /* *end location_banner_grid*/

    /* *start location_information_gird_2*/

    .location_information_gird_2{
        display: grid;
        grid-template-columns: repeat(2,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(6,1fr);
        gap: 1.5rem;
        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: repeat(2, 1fr);
        margin: 2rem 0;
        box-shadow: 0px 0px 10px 0px #00000040;
    }

    .contact_left {
        padding: 3rem 4rem;
        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: 3rem 4rem;
        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;
    }

    .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 10%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4rem;

        h1{
            font-size: 200px;
        }

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


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



}

@media screen and (min-width:1400px) {}