@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');

/* ── Layout helpers ───────────────────────────────────── */
.bf-row  { float: left; width: 100%; }
.bf-col  { float: left; }
.bf-3    { width: 25%; }
.bf-4    { width: 33%; }
.bf-6    { width: 50%; }
.bf-8    { width: 67%; }
.bf-right { text-align: right; }
.float-right { float: right; }

.bookingBlock * {
    box-sizing: border-box;
    font-family: 'Marcellus', Georgia, serif;
}

.hiddendiv { display: none !important; }

/* ── WordPress datepicker table resets ───────────────── */
#adoraForm .datepicker table th { padding: inherit; }
#adoraForm .datepicker table    { margin-bottom: inherit; }

/* ── Base select ──────────────────────────────────────── */
#adoraForm select {
    min-width: auto;
    border: 0;
    font-family: 'Marcellus', Georgia, serif;
    font-weight: normal;
    font-size: 13px;
    color: #295758;
    background-color: #f5f0ee;
    padding-left: 10px;
}

/* ── Sticky animation ─────────────────────────────────── */
.sticky-booking {
    top: 0;
    width: 95%;
    margin-right: 30px;
    position: fixed;
    animation-name: scrolldown;
    animation-duration: 0.5s;
}

@keyframes scrolldown {
    from { top: -100px; }
    to   { top: 0; }
}

/* ── Named selects / inputs ───────────────────────────── */
#adoraForm .selectAdults,
#adoraForm .selectChildren,
#adoraForm #selectHotel,
#adoraForm #cuando,
#adoraForm #codeDiscount {
    text-overflow: ellipsis;
    width: 100%;
    height: 50px;
}

#adoraForm #datepicker input,
#adoraForm #divCode input,
#guestsLabel {
    margin: 0;
    border: 0;
    color: #295758;
    background-color: #f5f0ee;
    font-family: 'Marcellus', Georgia, serif;
    font-size: 13px;
    text-align: center;
    width: 100%;
}

.children-select.booking-element label { min-width: 117px; }

/* ── Booking block wrapper ────────────────────────────── */
.bookingBlock {
    z-index: 1000;
    -webkit-box-shadow: 0 4px 28px 0 rgba(41, 87, 88, 0.14);
    -moz-box-shadow:    0 4px 28px 0 rgba(41, 87, 88, 0.14);
    box-shadow:         0 4px 28px 0 rgba(41, 87, 88, 0.14);
}

/* ── Booking elements (flex columns) ─────────────────── */
#adoraForm .booking-element {
    display: flex;
    border-right: 1px solid #e0d8d5;
    padding: 10px 15px;
    vertical-align: top;
    width: 100%;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

#adoraForm .booking-element:hover {
    background-color: #faf6f4;
}

#adoraForm .booking-element .booking-element-innner {
    width: 100%;
    position: relative;
}

#adoraForm .booking-element:last-child {
    border-right: 0;
    padding: 0;
}

/* ── Labels ───────────────────────────────────────────── */
.booking-element label {
    display: block;
    font-family: 'Marcellus', Georgia, serif;
    font-size: 11px;
    color: #295758;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.booking-element label small {
    color: #CF7965;
    font-size: 80%;
    padding-left: .3em;
}

/* ── CTA / search button ──────────────────────────────── */
.booking-form-button {
    vertical-align: top;
    border: 0;
    width: 100%;
    height: 100% !important;
    background: #CF7965 !important;
    color: #fff;
    font-family: 'Marcellus', Georgia, serif;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.25s ease, letter-spacing 0.2s ease;
}

.booking-form-button:hover {
    background: #295758 !important;
    letter-spacing: 0.18em;
    cursor: pointer;
}

/* ── Board select ─────────────────────────────────────── */
.board-select.booking-element { border: 0 !important; }

/* ── Form wrapper ─────────────────────────────────────── */
.bookingBlock form#adoraForm {
    display: flex;
    height: 100%;
    background: #fff;
    margin-top: -50px;
    /* //sin borde superior border-top: 3px solid #CF7965;*/
}

/* ── Official / promo tag ─────────────────────────────── */

.oficial-tag {
    background: #CF7965;
    padding: 25px 50px;
    text-align: center;
    transition: background-color 0.25s ease;
}

.oficial-tag:hover {
    background: #b8614d;
}

.bookingBlock .oficial-tag strong {
    color: #fff;
    font-family: 'Marcellus', Georgia, serif;
    letter-spacing: 0.08em;
}

/* ── Top tabs ─────────────────────────────────────────── */
.section_top_booking_form {
    display: flex;
    position: absolute;
    top: -56px;
}

/* ── Mobile open button ───────────────────────────────── */
.button_mobile button {
    width: 100%;
    height: 100%;
    border: 0;
    color: #fff;
    font-family: 'Marcellus', Georgia, serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: #CF7965;
    border-top: 2px solid #295758;
    transition: background-color 0.25s ease;
}

.button_mobile button:hover { background-color: #295758; }

.button_mobile {
    display: none;
    width: 100%;
    position: fixed;
    bottom: 0;
}

/* ── Misc ─────────────────────────────────────────────── */
.wpb_revslider_element.wpb_content_element.slider_main { margin-bottom: 0; }

.close_booking,
.titlemoda_booking { display: none; }

.footer_text {
    line-height: 14px;
    font-size: 13px;
    color: #777;
    text-align: center;
    max-width: 1140px;
    margin: auto;
    font-family: 'Marcellus', Georgia, serif;
}

.top_menu_footer .widget_nav_menu { margin-bottom: 30px !important; }

#booking_holder { z-index: 100; }
#datepicker      { z-index: 100; }

/* ── Inner styled select ──────────────────────────────── */
.booking-element-innner select {
    background-color: #fff;
    border: 1px solid #e0d8d5;
    background-image: url(indice.png);
    background-position: right center;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 10px 22px 12px 16px;
    font-family: 'Marcellus', Georgia, serif;
    font-size: 12px;
    line-height: 14px;
    color: #295758;
    border-radius: 0;
    font-weight: normal;
    min-width: 240px;
    max-width: 100%;
    display: block;
    transition: border-color 0.2s ease;
}

.booking-element-innner select:focus,
.booking-element-innner select:hover {
    border-color: #CF7965;
    outline: none;
}

/* ── Guests panel ─────────────────────────────────────── */
#guests {
    position: relative;
    background-color: #f5f0ee;
    height: 50px;
    width: 100%;
    white-space: nowrap;
}

#cuando,
#guestsLabel {
    padding: 12px 26px 12px 12px;
    background-image: url(indice.png);
    background-position: right center;
    background-repeat: no-repeat;
    cursor: pointer;
    height: 100%;
    color: #295758;
    font-family: 'Marcellus', Georgia, serif;
}

#guestsInputs {
    position: absolute;
    background-color: #fff;
    border: 1px solid #e0d8d5;
    border-top: 2px solid #CF7965;
    min-width: 300px;
    top: 100%;
    left: 0;
    padding: 0 12px 12px;
    box-shadow: 0 8px 24px rgba(41, 87, 88, 0.10);
}

#divHabitaciones {
    border-bottom: 1px solid #e0d8d5;
    padding: 4px 0;
}

.roomSelectors:not(:last-child) {
    border-bottom: 1px solid #e0d8d5;
    padding-bottom: 10px;
}

#divGuests select { height: 20px !important; }

.roomLabel {
    text-align: center;
    color: #295758;
    font-family: 'Marcellus', Georgia, serif;
}

.ageInputs input {
    padding: 4px 0 4px 10px;
    max-width: 100%;
    font-weight: normal;
    color: #295758;
    background-color: #f5f0ee;
    font-family: 'Marcellus', Georgia, serif;
    font-size: 13px;
    border: 0;
}

/* ── Resident toggle ──────────────────────────────────── */
.divResident {
    background: #f5f0ee;
    height: 50px;
}

#adoraForm #codeDiscount { height: 25px; }

#spanResident {
    margin-left: 4px;
    color: #295758;
    font-family: 'Marcellus', Georgia, serif;
}

/* ── Accessibility: hidden checkbox ──────────────────── */
.noselect,
label.css-label {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input[type=checkbox].css-checkbox {
    position: absolute;
    z-index: -1000;
    left: -1000px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

input[type=checkbox].css-checkbox + label.css-label {
    padding-left: 20px;
    height: 15px;
    display: inline-block;
    line-height: 15px;
    background-repeat: no-repeat;
    background-position: 0 0;
    font-size: 12px;
    vertical-align: middle;
    cursor: pointer;
    color: #295758;
    font-family: 'Marcellus', Georgia, serif;
}

input[type=checkbox].css-checkbox:checked + label.css-label {
    background-position: 0 -15px;
}

label.css-label { background-image: url(csscheckbox.png); }