
.reservation-box {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    background: var(--hg-color-light);
    transition: .23s ease-in-out;
    z-index: 10;
}

.reservation-box.active {
    opacity: 1;
    pointer-events: auto;
}
.reservation {
    position: relative;
    width: 100%;
    height: 100vh;
    background: var(--hg-color-light);
}
.reservation > [class*=col-xs-] {
    position: relative;
    height: 100%;
}
.reservation > [class*=col-xs-]:nth-child(1) {
    z-index: 1;
}
.reservation > [class*=col-xs-]:nth-child(1):after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    background-image: url("../images/icon/wave-vertical.png");
    width: 54px;
    height: 100%;
}
.reservation figure {
    width: 100%;
    height: 100%;
}
.reservation > [class*=col-xs-] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.reservation > [class*=col-xs-]:nth-child(2) {
    text-align: center;
    padding: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.reservation > [class*=col-xs-]:nth-child(2) ul {
    padding: 0;
    margin: 0;
}
.reservation > [class*=col-xs-]:nth-child(2) ul li {
    list-style: none;
    display: inline-block;
    padding: 0 15px;
}
.reservation > [class*=col-xs-]:nth-child(2) ul li:before {
    content: "\e908";
    font-family: icomoon;
    font-size: 22px;
    vertical-align: sub;
    margin-right: 5px;
    color: var(--hg-color-secondary);
}

.box-reservation {
    position: relative;
    margin: 50px 0 0;

}
.box-reservation > div {
    display: inline-block;
    width: 100%;
    padding: 0 0 25px;
    margin: 0 0 25px;
    color: #200f07;
    text-align: left;
    border-bottom: 1px solid rgba(var(--hg-rgba-color-primary),0.15);
}
.input_in_out {
    position: relative;
}
.input_in_out > .check {
    display: none;
}
.input_in_out > div {
    display: inline-block;
}
.box_inout .icon-calendar {
    display: none;
}

.check {
    color: var(--hg-color-body);
    margin: 0;
    line-height: 1;
    font-size: 14px;
}

.day {
    font-size: 50px;
    font-family: var(--hg-font-title);
    line-height: 1;
    padding-right: 10px;
    margin: 0;
}

.style_calendar {
    font-size: 22px;
}

.reservation-check {
    position: relative;
    margin: 20px 0 0;
}
.choose_rooms {
    position: relative;
    z-index: 1;
}

.reservation-check .room-wrapper span {
    position: relative;
    font-size: 40px;
    font-family: var(--hg-font-title);
    text-transform: capitalize;
    line-height: 1;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    display: inline-block;
}

.reservation-check i {
    position: absolute;
    height: 30px;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    font-size: 20px;
    cursor: pointer;
}

.reservation-check .icon-minus {
    right: 25px;
}

.point .icon-minus {
    pointer-events: none;
    opacity: .4;
}
#promocode {
    position: relative;
    margin: 20px 0 0;
}

.promotion-code input {
    position: relative;
    width: 100%;
    font-size: 40px;
    color: #200f07;
    font-family: var(--hg-font-title);
    text-transform: capitalize;
    line-height: 1;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    display: inline-block;
}

.promocode input:focus::-webkit-input-placeholder {
    color: transparent;
    transition: all 0.3s;
}

.promocode input::placeholder {
    color: #200f07;
}
.box-reservation > div.box_book {
    text-align: center;
    padding: 0;
    margin: 0;
    border: none;
}

.btnbook_reser {
    position: relative;
    display: inline-block;
    padding: 12px 30px;
    background: var(--hg-color-secondary) !important;
    color: #fff;
    border: 0;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 30px;
    transform: scale(1);
    line-height: 1;
    overflow: hidden;
    will-change: transform;
}
.btnbook_reser .icon-magnifying-glass {
    display: none;
}
.btnbook_reser  .icon-gift {
    vertical-align: sub;
    font-size: 22px;
}
.btnbook_reser label {
    cursor: pointer;
}

.btnbook_reser:hover {
    transform: scale(1.05);
    background: var(--hg-color-primary) !important;

}

/*********************************/
/* CLOSE */
/*********************************/
.close_box {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 35px;
    height: 35px;
    display: inline-block;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: all .6s;
    z-index: 3;
}

.close_box:before, .close_box:after {
    content: "";
    width: 1px;
    height: 35px;
    position: absolute;
    background: var(--hg-color-primary);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: all .6s;
}

.close_box:before {
    transform: rotate(45deg);
}

.close_box:after {
    transform: rotate(-45deg);
}

.close_box:hover:before {
    transform: rotate(222deg);
}


/*********************************/
/* POPUP ROOM LIST */
/*********************************/

#popup_room_list.popup_content {
    position: absolute;
    background: #fff;
    width: 250px;
    margin: 10px 0 35px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s;
    z-index: 6;
    max-height: 280px;
    overflow: auto;

    /* สำคัญกับ Lenis */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    display: none; /* เริ่มต้นซ่อน */

}
.numberroom {
    height: auto !important;
}
.detail-room_list {
    position: relative;
    display: inline-block;
    width: 100%;
}
.detail-room_list  + .detail-room_list {
    display: block;
}
.title_numroom.numberOfRoom1 {
    padding: 0 0 10px;
}
.title_numroom {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    border-bottom: 0.5px solid var(--hg-color-light);
}

.input-group-addon p {
    color: var(--hg-color-body);
    text-transform: capitalize;
    margin: 0;
    line-height: 1;
}

.input-group-addon .icon-add-user,
.input-group .icon-baby {
    font-size: 24px;
    color: var(--hg-color-secondary);
    vertical-align: text-top;
}

.input-group-addon .icon-caret-down {
    position: absolute;
    right: 0;
    bottom: 7px;
    font-size: 14px;
}

#popup_room_list.popup_content label {
    color: var(--hg-color-body) !important;
    float: left;
    font-size: 14px;
    margin-bottom: 0;
    font-weight: lighter;
    font-family: var(--hg-font-body);
    text-transform: uppercase;
}

.padding_apply {
    padding: 0 25px 25px;
}

#total_adult_child {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 25px 25px 0;
}

#popup_room_list #numberOfRoom1, #popup_room_list #numberOfRoom2, #popup_room_list #numberOfRoom3, #popup_room_list #numberOfRoom4, #popup_room_list #numberOfRoom5 {
    position: relative;
    float: right;
}

#popup_room_list .popup_content .form_group_half {
    float: left;
    position: relative;
    width: 100%;
}

#popup_room_list .form-group {
    display: inline-block;
    padding: 10px 0 !important;
    margin: 0;
    width: 100%;
}
#popup_room_list .form-group + .form-group {
    padding: 0 0 10px !important;
}

.input-group {
    width: 100%;
    margin-bottom: 0;
}
.age {
    position: relative;
    width: 100%;
}


.age i {
    position: absolute;
    right: 0;
    font-size: 10px;
    top: 8px;
    color: #000;
}

.row_age {
    margin-left: -15px;
    margin-right: -15px;
}
.row_age [class*=col-xs-]{
    padding: 5px 15px 0;
    display: flex;
}
#popup_room_list .input-group-addon:first-child {
    border-right: none;
    width: 100%;
    color: #333;
    text-transform: capitalize;
    font-weight: lighter;
}
#popup_room_list .input-group-addon .col-xs-10 {
    padding-left: 5px;
}


#popup_room_list .arrow {
    position: absolute;
    bottom: 15px;
    right: 10px;
    color: #888;
}

#popup_room_list select {
    width: 100%;
    border-radius: 0;
    background: none;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    border: none;
    font-size: 20px;
    text-transform: capitalize;
    font-family: var(--hg-font-title);
    color: #000;
}

#popup_room_list select:active {
    font-size: 14px;
}

#popup_room_list input {
    width: 100%;
    font-size: 16px;
    padding: 10px 7px;
    color: white;
    outline: none;
    border: none;
    background: var(--hg-color-primary);
    border-radius: 50px;
    margin: 0;
    font-weight: lighter;
    transition: all .5s;
}

#popup_room_list input:hover {
    background: var(--hg-color-secondary);

}

.popupTop {
    bottom: 50px;
    top: inherit;
}

.popupTop #numberrroomRow:before {
    top: inherit;
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    bottom: -15px;
}

.popupTop #ui-datepicker-div:before {

}

.popupTop {
    bottom: 20px;
    top: inherit;
}

.popupTop #numberrroomRow:before {
    top: inherit;
    transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    bottom: -15px;
}

/*********************************/
/* BOOK MOBILE */
/*********************************/
.main-slider .book-mobile {
    display: none;
}
.book-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: var(--hg-font-title);
    text-transform: uppercase;
    color: #fff;
    padding: 15px;
    display: none;
    z-index: 8;
    margin: auto;
}

.link-book {
    position: relative;
    width: 55%;
    margin: auto;
    background: var(--hg-color-secondary);
    padding: 15px 10px 15px 50px;
    text-align: center;
    color: #fff;
    border-radius: 50px;
    font-style: italic;
    font-size: 14px;
    transition: ease-in-out .6s;
    box-shadow: 2px 5px 17px -2px rgba(0, 0, 0, 0.42);
    transition-delay: .6s;
    transform: translateY(0px);
}
.link-book.concealed {
    transform: translateY(100px);
}
.link-book span,
.link-book-icon {
    position: absolute;
    vertical-align: middle;
    padding: 13px;
    background: #a1470a;
    border-radius: 50%;
    left: 0;
    top: 0;
    width: 51px;
    height: 51px;
    display: inline-block;
    font-size: 25px;
}
.link-book-icon {
    left: auto;
    right: 25px;
    box-shadow: 2px 5px 17px -2px rgba(0, 0, 0, 0.42);
    transform: translateX(100px);
    transition: ease-in-out .6s;
}
.link-book-icon.show {
    transition-delay: 1s;
    transform: translateX(0px);
}

.book-mobile  i {
    animation-name: swing;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    display: inline-block;
}
.reservation-mobile {
    position: fixed;
    vertical-align: middle;
    padding: 11px;
    background: #a1470a;
    border-radius: 50%;
    bottom: 25px;
    right: 25px;
    width: 51px;
    height: 51px;
    display: none;
    font-size: 25px;
    box-shadow: 2px 5px 17px -2px rgba(0, 0, 0, 0.42);
    transition: ease-in-out .6s;
    color: #fff;
    z-index: 99999;
    text-align: center;
}
.reservation-mobile  i {
    animation-name: swing;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    display: inline-block;
}



