/*
Theme Name: Neo Media
Theme URI: https://neomedia.io.vn/
Description: Neo Media Theme
Author: Neo Media
Template: bricks
Version: 1.0.1
Text Domain: neomedia
*/

.pricing-table-title {
    width: 100%;
}

.brx-popup-content {border-radius: 20px;}

.brxe-post-content ul li {
    margin-bottom: 10px;
}

.brxe-post-sharing {
    gap: 10px;
}

.wp-block-accordion-heading {
    font-size: 18px;
    background: #949366;
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all linear .3s;
}
.wp-block-accordion-panel {
    background: #efefef78;
    padding: 20px;
    border-radius: 12px;
}
.is-open .wp-block-accordion-heading {
    background: #DCE25A;
    color: #333
}
.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {text-decoration: none !important;}

.bricks-mobile-menu-wrapper {padding-top: 20px;}

.single-content h2, .single-content h3, .single-content h4 {padding-top: 10px;}

blockquote {
    font-family: 'Work Sans';
    font-weight: 700;
    line-height: 1.4;
    position: relative;
    margin: 32px 0;
    padding: 28px 32px 28px 72px;
    border-left: 5px solid #6bbf59;
    background: linear-gradient(135deg, #f4fbf2 0%, #ffffff 100%);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(31, 74, 45, 0.1);
    color: #243829;
    font-size: 20px;
    line-height: 1.7;
    font-weight: 500;
}

blockquote::before {
    content: "â€œ";
    position: absolute;
    top: 12px;
    left: 24px;
    font-size: 76px;
    line-height: 1;
    color: #6bbf59;
    font-family: Georgia, serif;
    opacity: 0.35;
}

blockquote p {
    margin: 0;
}

blockquote cite {
    display: block;
    margin-top: 16px;
    color: #5f7f68;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
}
.sub-menu {padding-top: 15px;padding-bottom: 15px;}

/* Room booking form */
.room-booking-form {
    width: 100%;
    background: #fff;
    color: #1c1c1c;
}

.room-booking-form,
.room-booking-form * {
    box-sizing: border-box;
}

.room-booking-form__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.room-booking-form__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 500;
    color: #1c1c1c;
}

.room-booking-form__rate {
    padding-top: 4px;
    font-size: 15px;
    line-height: 1.35;
    text-align: right;
    white-space: nowrap;
    color: var(--color-secondary);
}

.room-booking-form__rate strong {
    margin-left: 4px;
    font-size: 18px;
    font-weight: 700;
}

.room-booking-form__fields {
    display: grid;
    gap: 14px;
}

.room-booking-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.room-booking-form__field {
    position: relative;
    display: block;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid #cfc5ae;
    background: #fff;
    color: #1c1c1c;
}

.room-booking-form__field.is-open {
    z-index: 5;
}

.room-booking-form__field > span {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    max-width: calc(100% - 82px);
    overflow: hidden;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1c1c1c;
    pointer-events: none;
    transform: translateY(-50%);
}

.room-booking-form__input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 38px 0 116px;
    border: 0;
    outline: 0;
    background-color: transparent;
    color: #1c1c1c;
    font-size: 15px;
    line-height: 1;
    text-align: right;
    box-shadow: none;
}

.room-booking-form__row .room-booking-form__input {
    padding-left: 94px;
}

.room-booking-form__field > .brxe-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    z-index: 1;
    color: #777;
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}

.room-booking-form__input:focus {
    outline: 0;
    box-shadow: none;
}

.room-booking-form__input[type="text"] {
    cursor: pointer;
}

.room-booking-form select.room-booking-form__input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.room-booking-form select.room-booking-form__input::-ms-expand {
    display: none;
}

.room-booking-form__quantity-toggle {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 38px 0 116px;
    border: 0;
    background: transparent;
    color: #1c1c1c;
    font: inherit;
    font-size: 15px;
    line-height: 1;
    text-align: right;
    cursor: pointer;
}

.room-booking-form__row .room-booking-form__quantity-toggle {
    padding-left: 94px;
}

.room-booking-form__quantity-toggle [data-quantity-value] {
    position: static;
    display: block;
    max-width: none;
    overflow: visible;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    text-overflow: clip;
    white-space: nowrap;
    pointer-events: auto;
    transform: none;
}

.room-booking-form__quantity-toggle:focus {
    outline: 0;
}

.room-booking-form__quantity-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: -1px;
    z-index: 10;
    display: none;
    grid-template-columns: 34px 42px 34px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% + 2px);
    min-height: 72px;
    padding: 18px;
    border: 1px solid #cfc5ae;
    background: #f8f5ef;
    color: #1c1c1c;
    box-shadow: 0 14px 30px rgba(24, 24, 24, 0.08);
}

.room-booking-form__quantity-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 32px;
    width: 14px;
    height: 14px;
    border-top: 1px solid #cfc5ae;
    border-left: 1px solid #cfc5ae;
    background: #f8f5ef;
    transform: rotate(45deg);
}

.room-booking-form__field.is-open .room-booking-form__quantity-dropdown {
    display: grid;
}

.room-booking-form__quantity-dropdown--wide {
    grid-template-columns: 1fr 34px 42px 34px;
    justify-content: stretch;
    min-height: 50px;
    padding: 15px 25px;
}

.room-booking-form__quantity-label {
    font-size: 16px;
    line-height: 1.2;
    color: #1c1c1c;
}

.room-booking-form__quantity-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9f9a8f;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.room-booking-form__quantity-button:hover,
.room-booking-form__quantity-button:focus {
    color: #1c1c1c;
    outline: 0;
}

.room-booking-form__quantity-button:disabled {
    color: #d2ccc1;
    cursor: not-allowed;
}

.room-booking-form__quantity-number {
    min-width: 42px;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    color: #1c1c1c;
}

.room-booking-form__error {
    display: none;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #d98b8b;
    background: #fff5f5;
    color: #9f2525;
    font-size: 14px;
    line-height: 1.45;
}

.room-booking-form__error.is-active {
    display: block;
}

.room-booking-form__summary {
    margin: 28px -28px 0;
    padding: 26px 28px 0;
    border-top: 1px solid #e5e0d4;
}

.room-booking-form__summary-head,
.room-booking-form__summary-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.room-booking-form__summary-head {
    margin-bottom: 22px;
    font-size: 24px;
    line-height: 1.2;
    color: #1c1c1c;
}

.room-booking-form__summary-head strong {
    font-size: 28px;
    line-height: 1;
    font-weight: 500;
}

.room-booking-form__summary-line {
    padding: 13px 0;
    border-top: 1px dashed #ddd5c5;
    font-size: 15px;
    color: #333;
}

.room-booking-form__summary-line small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #777;
}

.room-booking-form__summary-line strong {
    font-size: 16px;
    font-weight: 600;
    color: #1c1c1c;
    white-space: nowrap;
}

.room-booking-form__summary-line--total {
    font-weight: 700;
}

.room-booking-form__summary-line--total strong {
    font-size: 20px;
    font-weight: 700;
}

.room-booking-form__submit {
    width: 100%;
    min-height: 54px;
    margin-top: 30px;
    border: 0;
    background: var(--color-secondary);
    color: #fff;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
    text-align: center;
    border-radius: 7px;
}

.room-booking-form__submit:hover,
.room-booking-form__submit:focus {
    background: #252525;
}

.room-booking-form__submit:active {
    transform: translateY(1px);
}

.room-booking-form--checkout[data-can-submit="0"] .room-booking-form__submit,
.room-booking-form__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.room-booking-form--checkout {
    max-width: none;
}

.room-booking-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: 32px;
    align-items: start;
}

.room-booking-checkout__main {
    min-width: 0;
}

.room-booking-checkout__section + .room-booking-checkout__section {
    margin-top: 28px;
}

.room-booking-checkout__card {
    padding: 24px;
    border: 1px solid #e0d9c9;
    background: #faf8f3;
}

.room-booking-checkout__heading {
    margin: 0 0 16px;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
    color: #1c1c1c;
}

.room-booking-checkout__guest-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.room-booking-checkout__text-field {
    display: grid;
    gap: 8px;
    margin: 0;
}

.room-booking-checkout__text-field--full {
    grid-column: 1 / -1;
}

.room-booking-checkout__text-field span {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;
    color: #2d2d2d;
}

.room-booking-checkout__text-field input,
.room-booking-checkout__text-field select,
.room-booking-checkout__text-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #cfc5ae;
    background: #fff;
    color: #1c1c1c;
    font: inherit;
    font-size: 15px;
    box-shadow: none;
}

.room-booking-checkout__text-field textarea {
    min-height: 132px;
    resize: vertical;
}

.room-booking-checkout__text-field input:focus,
.room-booking-checkout__text-field select:focus,
.room-booking-checkout__text-field textarea:focus {
    outline: 0;
    border-color: #9a8f72;
    box-shadow: none;
}

.room-booking-checkout__summary {
    position: sticky;
    top: 120px;
}

.room-booking-checkout__summary-card {
    padding: 24px;
    border: 1px solid #e0d9c9;
    background: #faf8f3;
}

.room-booking-form--checkout .room-booking-form__row .room-booking-form__input {
    padding-left: 92px;
}

.room-booking-checkout__room-picker {
    position: relative;
    margin-bottom: 18px;
}

.room-booking-checkout__room-toggle {
    position: relative;
    width: 100%;
    padding: 0 34px 0 0;
    border: 0;
    background: transparent;
    color: #1c1c1c;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.room-booking-checkout__room-toggle span {
    display: block;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
}

.room-booking-checkout__room-toggle.is-placeholder span {
    color: #8b8271;
    font-weight: 500;
}

.room-booking-checkout__room-toggle .brxe-icon {
    position: absolute;
    top: 6px;
    right: 0;
    color: #777;
    font-size: 16px;
    line-height: 1;
}

.room-booking-checkout__room-toggle:focus {
    outline: 0;
}

.room-booking-checkout__link {
    display: inline-block;
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6b5f45;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.room-booking-checkout__link:hover,
.room-booking-checkout__link:focus {
    text-decoration: underline;
    outline: 0;
}

.room-booking-checkout__room-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 20;
    display: none;
    width: 100%;
    max-height: 320px;
    overflow: auto;
    border: 1px solid #cfc5ae;
    background: #fff;
    box-shadow: 0 18px 40px rgba(24, 24, 24, 0.12);
}

.room-booking-checkout__room-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 28px;
    width: 14px;
    height: 14px;
    border-top: 1px solid #cfc5ae;
    border-left: 1px solid #cfc5ae;
    background: #fff;
    transform: rotate(45deg);
}

.room-booking-checkout__room-picker.is-open .room-booking-checkout__room-dropdown {
    display: block;
}

.room-booking-checkout__room-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #eee7da;
    background: #fff;
    color: #1c1c1c;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.room-booking-checkout__room-option:last-child {
    border-bottom: 0;
}

.room-booking-checkout__room-option:hover,
.room-booking-checkout__room-option:focus,
.room-booking-checkout__room-option.is-active {
    background: #faf8f3;
    outline: 0;
}

.room-booking-checkout__room-option span {
    min-width: 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
}

.room-booking-checkout__room-option strong {
    color: #1c1c1c;
    font-size: 14px;
    white-space: nowrap;
}

.room-booking-checkout__list {
    margin: 0;
    display: grid;
    gap: 12px;
}

.room-booking-checkout__list > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px dashed #ddd5c5;
}

.room-booking-checkout__list dt {
    color: #666;
}

.room-booking-checkout__list dd {
    margin: 0;
    font-weight: 600;
    color: #1c1c1c;
    text-align: right;
}

.room-booking-checkout__price-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #d8cfbf;
    font-size: 18px;
    font-weight: 700;
}

.room-booking-checkout__price-row strong {
    white-space: nowrap;
}

#booking-popup .brx-popup-content {
    max-width: 460px;
    width: calc(100vw - 24px);
    border-radius: 8px;
}

.neo-tour-booking-form,
.neo-tour-booking-form * {
    box-sizing: border-box;
}

.neo-tour-booking-form {
    width: 100%;
    color: #0EA5A8;
    font-size: 15px;
    line-height: 1.4;
}

.neo-tour-booking-form h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}

.neo-booking-order {
    margin-bottom: 20px;
}

.neo-booking-rule {
    width: 100%;
    height: 1px;
    margin: 8px 0 12px;
    background: rgba(132, 83, 126, 0.5);
}

.neo-booking-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 10px;
    color: #333;
}

.neo-booking-row span,
.neo-booking-row strong {
    font-weight: 600;
    font-size: 16px;
}

.neo-booking-row strong {
    min-width: 0;
}

.neo-booking-divider {
    height: 1px;
    margin: 0 0 22px;
    background: rgba(132, 83, 126, 0.5);
}

.neo-booking-grid {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 16px;
}

.neo-tour-booking-form input,
.neo-tour-booking-form select,
.neo-tour-booking-form textarea {
    width: 100%;
    min-height: 40px;
    margin: 0 0 16px;
    padding: 10px 12px;
    color: #6d6d6d;
    font: inherit;
    background: #fff;
    border: 1px solid #e8e3e7;
    border-radius: 0;
    box-shadow: none;
    outline: none;
}

.neo-tour-booking-form select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 38px;
    background-color: transparent;
    background-image: linear-gradient(45deg, transparent 50%, gray 0), linear-gradient(135deg, gray 50%, transparent 0);
    background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 16px) calc(50% + 2px);
    background-repeat: no-repeat;
    background-size: 4px 4px, 4px 4px;
    border-radius: 0;
}

.neo-tour-booking-form textarea {
    min-height: 122px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #0EA5A8;
}

.neo-tour-booking-form input::placeholder,
.neo-tour-booking-form textarea::placeholder {
    color: #8c8c8c;
    opacity: 1;
}

.neo-booking-quantity-label select {
    min-height: 40px;
    margin: 0;
    padding: 8px 38px 8px 12px;
    color: black;
    font-weight: 800;
    background-color: #fff;
    border: 1px solid #e8e3e7;
}

.neo-booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
    justify-content: center;
}

.neo-booking-button {
    min-height: 44px;
    padding: 10px 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    background: var(--color-secondary);
    border: 0;
    border-radius: 4px;
    cursor: pointer;
}

.neo-booking-button-secondary {}

.neo-booking-button:hover,
.neo-booking-button:focus {
    background: #ad68a5;
}

.neo-booking-button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.neo-booking-message {
    min-height: 20px;
    margin: 12px 0 0;
    color: #6d6d6d;
    font-size: 14px;
    text-align: center;
}

.neo-booking-message[data-type="success"] {
    color: #178a4d;
}

.neo-booking-message[data-type="error"] {
    color: #c0392b;
}

.neo-booking-message[data-type="info"] {
    color: #8a6284;
}

.neo-tour-booking-form .iti {
    display: block;
    width: 100%;
    margin-bottom: 16px;
}

.neo-tour-booking-form .iti input {
    margin-bottom: 0;
}

.neo-tour-booking-form .iti__country-list {
    z-index: 100020;
    width: min(420px, calc(100vw - 40px));
    max-height: 220px;
    color: #5f5f5f;
    border-color: #d8d0d6;
    border-radius: 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.neo-tour-booking-form .iti__country {
    font-size: 15px;
}

.neo-tour-booking-form.is-loading [data-neo-tour-name],
.neo-tour-booking-form.is-loading [data-neo-total-price] {
    opacity: 0.6;
}

input[type="date"],
input.flatpickr,
input[name="check-in"],
input[name="check-out"],
input[name="departure_date"] {
    padding-right: 42px;
    background-image: url('assets/images/icon-calendar.png');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px 20px;
}

#neo-booking-search-form input {
    background-image: url('assets/images/icon-calendar.png'), url('assets/images/icon-date-down.png');
    background-repeat: no-repeat;
    background-position: left 0 center, right 0 center;
    background-size: 20px 20px, 16px auto;
    padding: 0 40px;
    border: none;
    border-bottom: 1px solid #ebebeb;
}

.neo-booking-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 16px;
    align-items: end;
    width: 100%;
}

.neo-booking-search-form input,
.neo-booking-search-form select {
    margin-bottom: 0;
}

#neo-booking-search-form input:focus,
#neo-booking-search-form input:focus-visible {
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 2px solid #0ea5a8;
    box-shadow: unset !important;
}

.neo-booking-search-submit {
    min-height: 42px;
    padding: 0 28px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    background: #0ea5a8;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font-family: "Barlow Condensed";
}

.neo-booking-search-submit:hover,
.neo-booking-search-submit:focus {
    background: #0ea5a8;
}

@media (max-width: 920px) {
    .room-booking-checkout {
        grid-template-columns: 1fr;
    }

    .room-booking-checkout__summary {
        position: static;
    }
}

@media (max-width: 480px) {
    .room-booking-form {
        max-width: none;
        padding: 22px;
    }

    .room-booking-form__header {
        gap: 12px;
    }

    .room-booking-form__title {
        font-size: 25px;
    }

    .room-booking-form__rate {
        font-size: 13px;
    }

    .room-booking-form__rate strong {
        font-size: 16px;
    }

    .room-booking-form__row {
        grid-template-columns: 1fr;
    }

    .room-booking-form__summary {
        margin-right: -22px;
        margin-left: -22px;
        padding-right: 22px;
        padding-left: 22px;
    }

    .room-booking-checkout {
        grid-template-columns: 1fr;
    }

    .room-booking-checkout__guest-fields {
        grid-template-columns: 1fr;
    }

    .room-booking-checkout__summary {
        position: static;
    }
}
