/* Booking bar: Rooms & Guests field (draft D) and field icons. Loaded wherever the booking bar is. */
.online-reservation__field--guests {
  position: relative;
}

.online-reservation__guests {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--online-reservation-line, rgba(26, 35, 61, 0.14));
  border-radius: 0;
  background: var(--online-reservation-field, #f4f0ea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231A233D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--online-reservation-text, #1a233d);
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.online-reservation__guests:hover,
.online-reservation__guests:focus {
  border-color: #1a233d;
  background-color: var(--online-reservation-field, #f4f0ea);
  color: #1a233d;
}

.online-reservation__guests-summary {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.online-reservation__icon {
  flex: none;
  color: rgba(26, 35, 61, 0.62);
}

.online-reservation__select-wrap--icon {
  position: relative;
}

.online-reservation__select-wrap--icon > .online-reservation__icon {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 2;
  transform: translateY(-50%);
  pointer-events: none;
}

.online-reservation__select-wrap--icon .online-reservation__select,
.online-reservation__select-wrap--icon .rsv-select__trigger,
.online-reservation__select-wrap--icon button {
  padding-left: 40px !important;
}

.online-reservation__guests-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1000;
  width: min(380px, 92vw);
  max-height: 70vh;
  overflow-y: auto;
  border: 1px solid rgba(26, 35, 61, 0.14);
  background: #f4f0ea;
  box-shadow: 0 18px 40px rgba(16, 20, 31, 0.18);
  color: #1a233d;
  text-align: left;
}

.online-reservation__guests-panel[hidden] {
  display: none;
}

.rsv-guests__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(26, 35, 61, 0.14);
  background: #f4f0ea;
  font-size: 14px;
}

.rsv-guests__x {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: #1a233d;
  font-size: 24px;
  line-height: 1;
}

.rsv-guests__x:hover,
.rsv-guests__x:focus {
  background: none;
  color: #1a233d;
}

.rsv-guests__rooms {
  padding: 0 16px;
}

.rsv-guests__room {
  padding: 10px 0 12px;
  border-bottom: 1px solid rgba(26, 35, 61, 0.14);
}

.rsv-guests__room-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
}

.rsv-guests__remove,
.rsv-guests__add {
  padding: 0;
  border: 0;
  background: none;
  color: #1a233d;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.rsv-guests__remove:hover,
.rsv-guests__remove:focus,
.rsv-guests__add:hover,
.rsv-guests__add:focus {
  background: none;
  color: #1a233d;
}

.rsv-guests__step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
}

.rsv-guests__step b {
  display: block;
  font-weight: 500;
}

.rsv-guests__step small {
  display: block;
  font-size: 11.5px;
  color: rgba(26, 35, 61, 0.62);
}

.rsv-guests__ctl {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rsv-guests__ctl span {
  min-width: 16px;
  text-align: center;
  font-weight: 600;
}

.rsv-guests__ctl button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(26, 35, 61, 0.14);
  border-radius: 0;
  background: #fff;
  color: #1a233d;
  font-size: 18px;
}

.rsv-guests__ctl button:hover,
.rsv-guests__ctl button:focus {
  border-color: #1a233d;
  background: #fff;
  color: #1a233d;
}

.rsv-guests__ctl button[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.rsv-guests__note {
  margin: 10px 16px 0;
  font-size: 12px;
  color: rgba(26, 35, 61, 0.62);
}

.rsv-guests__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.rsv-guests__foot .rsv-guests__note {
  margin: 0;
}

.rsv-guests__done {
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid #1a233d;
  border-radius: 0;
  background: #1a233d;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rsv-guests__done:hover,
.rsv-guests__done:focus {
  background: #2a3555;
  color: #fff;
}

/* Phones: the panel becomes a bottom sheet. */
@media (max-width: 640px) {
  .online-reservation__guests-panel {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100001;
    width: 100%;
    max-height: 85vh;
    padding-bottom: env(safe-area-inset-bottom);
    /* The dimmed page is the panel's own shadow: a separate overlay would sit above the bar's stacking context. */
    box-shadow: 0 0 0 100vmax rgba(16, 20, 31, 0.45);
  }
}

/* Phones: one search line that opens the bar as a full-screen "Edit your stay" sheet (reservation-guests.js). */
.online-reservation__pill,
.online-reservation__mhead {
  display: none;
}

@media (max-width: 640px) {
  .online-reservation.rsv-pill-mode {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .rsv-pill-mode .online-reservation__pill {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 60px;
    padding: 10px 16px;
    border: 1px solid rgba(26, 35, 61, 0.14);
    border-radius: 0;
    background: #f4f0ea;
    color: #1a233d;
    text-align: left;
    box-shadow: 0 8px 24px rgba(16, 20, 31, 0.12);
    cursor: pointer;
  }

  .rsv-pill-mode .online-reservation__pill:hover,
  .rsv-pill-mode .online-reservation__pill:focus {
    background: #f4f0ea;
    color: #1a233d;
    border-color: #1a233d;
  }

  .rsv-pill-mode .online-reservation__pill svg {
    flex: none;
  }

  .online-reservation__pill-text {
    min-width: 0;
  }

  .online-reservation__pill-text b {
    display: block;
    font: 600 15px/1.3 "Montserrat", sans-serif;
  }

  .online-reservation__pill-text span {
    display: block;
    overflow: hidden;
    font-size: 12.5px;
    color: rgba(26, 35, 61, 0.62);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__form {
    display: none !important;
  }

  .rsv-pill-mode.is-mobile-open .online-reservation__form {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0 16px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: #f4f0ea;
  }

  .rsv-pill-mode.is-mobile-open .online-reservation__mhead {
    position: sticky;
    top: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin: 0 -16px 4px;
    border-bottom: 1px solid rgba(26, 35, 61, 0.14);
    background: #f4f0ea;
    color: #1a233d;
    font-size: 15px;
  }

  .online-reservation__mclose {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: none;
    color: #1a233d;
  }

  .online-reservation__mclose:hover,
  .online-reservation__mclose:focus {
    background: none;
    color: #1a233d;
  }

  .rsv-pill-mode.is-mobile-open .online-reservation__form > * {
    width: 100%;
    max-width: none;
  }

  .rsv-pill-mode.is-mobile-open .online-reservation__field .online-reservation__select-wrap,
  .rsv-pill-mode.is-mobile-open .online-reservation__field .online-reservation__date-wrap,
  .rsv-pill-mode.is-mobile-open .online-reservation__guests {
    width: 100%;
  }

  .rsv-pill-mode.is-mobile-open .online-reservation__cta {
    margin-top: auto;
    padding-top: 12px;
  }

  .rsv-pill-mode.is-mobile-open .online-reservation__cta .online-reservation__button {
    width: 100%;
    min-height: 52px;
  }

  /* While open the bar is not a box on the page any more; keep the host free of the bar's own frame. */
  .online-reservation.rsv-pill-portal {
    position: static;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  html.rsv-pill-open {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .rsv-pill-mode.is-mobile-open .online-reservation__form > .online-reservation__mhead {
    width: auto;
  }

  /* Homepage hero: its Elementor min-height made room for the tall stacked bar; the one-line search needs none. */
  .aila-hero:has(.online-reservation.rsv-pill-mode) {
    --min-height: 0px;
    min-height: 0 !important;
  }
}

/* ------------------------------------------------------------------------------------------------
 * Phones, option A (2026-11-26, drafts/mobile-bar-options.html): a white search card that opens a
 * full-screen "Plan your stay" sheet. Close on the left, the fields as one grouped card (resort, the
 * two dates side by side, rooms and guests), and a sticky footer with the stay summary next to the button.
 * ------------------------------------------------------------------------------------------------ */
.online-reservation__pill-go,
.online-reservation__msum {
  display: none;
}

@media (max-width: 640px) {
  /* Collapsed card */
  .rsv-pill-mode .online-reservation__pill {
    gap: 12px;
    min-height: 68px;
    padding: 12px 12px 12px 16px;
    border: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 20, 31, 0.18);
  }
  .rsv-pill-mode .online-reservation__pill:hover,
  .rsv-pill-mode .online-reservation__pill:focus {
    background: #fff;
    border-color: transparent;
  }
  .online-reservation__pill-text {
    flex: 1;
  }
  .online-reservation__pill-text b {
    overflow: hidden;
    font: 500 18px/1.25 "EB Garamond", Georgia, serif;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .online-reservation__pill-text span {
    margin-top: 2px;
    font: 400 12px/1.4 "Montserrat", sans-serif;
  }
  .rsv-pill-mode .online-reservation__pill-go {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    background: #1a233d;
    color: #fff;
  }

  /* Sheet: header, grouped card, footer */
  .rsv-pill-mode.is-mobile-open .online-reservation__form {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: max-content;
    align-content: start;
    gap: 0;
    padding: 0 16px;
  }
  .rsv-pill-mode.is-mobile-open .online-reservation__form > * {
    grid-column: 1 / -1;
  }
  .rsv-pill-mode.is-mobile-open .online-reservation__mhead {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    align-items: center;
    justify-content: stretch;
    min-height: 60px;
    margin: 0 -16px 20px;
    padding: 0 4px;
    font: 500 22px/1.2 "EB Garamond", Georgia, serif;
    text-align: center;
  }
  .rsv-pill-mode.is-mobile-open .online-reservation__mhead b {
    font: inherit;
  }
  .rsv-pill-mode.is-mobile-open .online-reservation__mclose {
    position: static;
  }

  /* Each field is a row of one white card */
  .rsv-pill-mode.is-mobile-open .online-reservation__field {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(26, 35, 61, 0.14);
    border-top-width: 0;
    background: #fff;
  }
  .rsv-pill-mode.is-mobile-open .online-reservation__mhead + .online-reservation__field,
  .rsv-pill-mode.is-mobile-open .online-reservation__mhead + input + .online-reservation__field {
    border-top-width: 1px;
  }
  /* The two dates share one row */
  .rsv-pill-mode.is-mobile-open .online-reservation__field:not(.online-reservation__field--resort):not(.online-reservation__field--guests) {
    grid-column: auto;
  }
  .rsv-pill-mode.is-mobile-open .online-reservation__field:not(.online-reservation__field--resort):not(.online-reservation__field--guests) + .online-reservation__field:not(.online-reservation__field--guests) {
    border-left-width: 0;
  }
  .rsv-pill-mode.is-mobile-open .online-reservation__label {
    display: block;
    margin: 0 0 4px;
    font: 600 10px/1.3 "Montserrat", sans-serif;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(26, 35, 61, 0.68);
  }
  /* Inputs inside the card lose their own boxes; the row is the box */
  .rsv-pill-mode.is-mobile-open .online-reservation__field .rsv-custom-select__trigger,
  .rsv-pill-mode.is-mobile-open .online-reservation__field .online-reservation__date,
  .rsv-pill-mode.is-mobile-open .online-reservation__field .online-reservation__guests {
    min-height: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 15px;
  }

  /* Dates read as plain text in the card: no inner indent, no calendar glyph over long dates */
  .rsv-pill-mode.is-mobile-open .online-reservation__field .online-reservation__date {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }
  .rsv-pill-mode.is-mobile-open .online-reservation__date-wrap::after {
    display: none;
  }

  /* Sticky footer: summary on the left, button on the right */
  .rsv-pill-mode.is-mobile-open .online-reservation__cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(26, 35, 61, 0.14);
    background: #f4f0ea;
  }
  .rsv-pill-mode.is-mobile-open .online-reservation__msum {
    display: block;
    flex: 1;
    min-width: 0;
    margin: 0;
    font: 400 12px/1.4 "Montserrat", sans-serif;
    color: rgba(26, 35, 61, 0.68);
  }
  .rsv-pill-mode.is-mobile-open .online-reservation__msum b {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1a233d;
  }
  .rsv-pill-mode.is-mobile-open .online-reservation__cta .online-reservation__button {
    width: auto;
    flex: none;
    padding-right: 22px;
    padding-left: 22px;
  }
  /* Room for the fixed footer below the last row */
  .rsv-pill-mode.is-mobile-open .online-reservation__form {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

/* ------------------------------------------------------------------------------------------------
 * Phones, option C look with option A behaviour (team trial, 2026-11-27): instead of the one-line card the
 * bar shows its fields as a segmented card (resort, the two dates side by side, rooms and guests, button).
 * Tapping a row opens the "Plan your stay" sheet with that field active (reservation-guests.js).
 * ------------------------------------------------------------------------------------------------ */
@media (max-width: 640px) {
  .rsv-pill-mode .online-reservation__pill {
    display: none !important;
  }

  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__form {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 0;
    padding: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 20, 31, 0.18);
  }

  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__form > * {
    grid-column: 1 / -1;
    width: 100%;
  }

  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__mhead,
  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__msum {
    display: none !important;
  }

  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__field {
    margin: 0;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(26, 35, 61, 0.14);
    background: #fff;
    cursor: pointer;
  }

  /* The two dates share one row */
  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__field:not(.online-reservation__field--resort):not(.online-reservation__field--guests) {
    grid-column: auto;
  }

  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__field:not(.online-reservation__field--resort):not(.online-reservation__field--guests) + .online-reservation__field:not(.online-reservation__field--guests) {
    border-left: 1px solid rgba(26, 35, 61, 0.14);
  }

  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__label {
    display: block;
    margin: 0 0 3px;
    font: 600 9.5px/1.3 "Montserrat", sans-serif;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(26, 35, 61, 0.68);
  }

  /* Values read as text in the rows; the row is the box */
  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__field .rsv-custom-select__trigger,
  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__field .online-reservation__date,
  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__field .online-reservation__guests {
    width: 100%;
    min-height: 0;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-right: 0;
    border: 0;
    background-color: transparent;
    box-shadow: none;
    font-size: 15px;
    font-weight: 500;
    color: #1a233d;
    pointer-events: none;
  }

  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__field .online-reservation__date {
    padding-left: 0;
    /* Half-width rows: "November 30, 2026" must fit next to its pair */
    font-size: 13.5px;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
  }

  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__date-wrap::after,
  .rsv-pill-mode:not(.is-mobile-open) .rsv-custom-select__trigger::after {
    display: none;
  }

  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__guests {
    background-image: none;
  }

  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__cta {
    margin: 0;
    padding: 0;
  }

  .rsv-pill-mode:not(.is-mobile-open) .online-reservation__cta .online-reservation__button {
    width: 100%;
    min-height: 52px;
  }

  /* After the last step the button is the next thing to press */
  .online-reservation__button.is-next {
    box-shadow: 0 0 0 3px rgba(26, 35, 61, 0.22);
  }
}

/* ---------- Desktop booking bar (draft D look) ----------
   One white strip split by hairlines: small grey label, serif value, no field
   icons, navy button with an arrow. The whole field is the click
   target (label sits on top of the control). Prefixed with body so the
   Elementor widget's own style controls do not undo it. Day Pass keeps its form. */
.online-reservation__button-icon {
  display: none;
}

@media (min-width: 981px) {
  body .online-reservation:not(.day-pass-search) {
    --bar-line: #ded6ca;
    --bar-muted: #7a7f8c;
    --bar-navy: #1a233d;
    width: min(1340px, calc(100% - 64px));
    padding: 0;
    border: 1px solid var(--bar-line);
    background: #fbf9f5;
    box-shadow: 0 20px 40px -24px rgba(26, 35, 61, 0.45);
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__form {
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 88px;
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__field {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    gap: 0;
    border-right: 1px solid var(--bar-line);
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__field--resort { flex-grow: 1.4; }
  body .online-reservation:not(.day-pass-search) .online-reservation__field--guests { flex-grow: 1.2; }

  body .online-reservation:not(.day-pass-search) .online-reservation__field:hover,
  body .online-reservation:not(.day-pass-search) .online-reservation__field:focus-within {
    background: #fff;
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__field:focus-within {
    box-shadow: inset 0 -2px 0 var(--bar-navy);
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__field.is-invalid {
    box-shadow: inset 0 -2px 0 #c0392b;
  }

  /* Label over the control so the whole field opens it */
  body .online-reservation:not(.day-pass-search) .online-reservation__label {
    position: absolute;
    top: 22px;
    left: 22px;
    right: 16px;
    z-index: 3;
    overflow: hidden;
    color: var(--bar-muted);
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__select-wrap,
  body .online-reservation:not(.day-pass-search) .online-reservation__date-wrap,
  body .online-reservation:not(.day-pass-search) .rsv-custom-select {
    height: 100%;
  }

  /* Controls: no box, serif value */
  body .online-reservation:not(.day-pass-search) .rsv-custom-select__trigger,
  body .online-reservation:not(.day-pass-search) .online-reservation__date-wrap .rsv-flatpickr-alt,
  body .online-reservation:not(.day-pass-search) .online-reservation__date-wrap .online-reservation__date:not(.rsv-flatpickr-native),
  body .online-reservation:not(.day-pass-search) .online-reservation__guests {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 88px;
    padding: 26px 16px 0 22px !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--bar-navy);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body .online-reservation:not(.day-pass-search) .rsv-custom-select__trigger::after {
    display: none;
  }

  /* The trigger holds bare text, which a flex box will not ellipsis */
  body .online-reservation:not(.day-pass-search) .rsv-custom-select__trigger {
    display: block;
    padding-top: 32px !important;
    line-height: 22px;
    text-align: left;
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__date-wrap .rsv-flatpickr-alt::placeholder,
  body .online-reservation:not(.day-pass-search) .online-reservation__date-wrap .online-reservation__date::placeholder {
    color: var(--bar-muted);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    opacity: 1;
  }

  /* No field icons on desktop (draft D): text only */
  body .online-reservation:not(.day-pass-search) .online-reservation__icon,
  body .online-reservation:not(.day-pass-search) .online-reservation__date-wrap::after {
    display: none;
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__error {
    position: absolute;
    left: 22px;
    right: 8px;
    bottom: 7px;
    margin: 0;
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Navy button with arrow */
  body .online-reservation:not(.day-pass-search) .online-reservation__cta {
    display: flex;
    flex: none;
    padding: 12px;
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 210px;
    min-height: 0;
    height: 100%;
    padding: 0 28px;
    border: 1px solid var(--bar-navy);
    background: var(--bar-navy);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: none;
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__button:hover,
  body .online-reservation:not(.day-pass-search) .online-reservation__button:focus-visible {
    background: #0b2153;
    border-color: #0b2153;
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__button-icon {
    display: block;
    flex: none;
    transition: transform 0.2s ease;
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__button:hover .online-reservation__button-icon {
    transform: translateX(3px);
  }
}

/* Results page: the bar sits inside the bordered search card under the steps, so it fills
   the card and drops its own frame. */
@media (min-width: 981px) {
  body .page-reservation-hero__search .online-reservation:not(.day-pass-search) {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--bar-line);
    box-shadow: none;
  }
}

/* Narrow desktops: give the fields the room */
@media (min-width: 981px) and (max-width: 1199px) {
  body .online-reservation:not(.day-pass-search) {
    width: calc(100% - 32px);
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__button {
    min-width: 0;
    padding: 0 20px;
  }

  body .online-reservation:not(.day-pass-search) .online-reservation__label,
  body .online-reservation:not(.day-pass-search) .online-reservation__error {
    left: 18px;
  }

  body .online-reservation:not(.day-pass-search) .rsv-custom-select__trigger,
  body .online-reservation:not(.day-pass-search) .online-reservation__date-wrap .rsv-flatpickr-alt,
  body .online-reservation:not(.day-pass-search) .online-reservation__date-wrap .online-reservation__date:not(.rsv-flatpickr-native),
  body .online-reservation:not(.day-pass-search) .online-reservation__guests {
    padding-left: 18px !important;
    padding-right: 12px !important;
    font-size: 17px;
  }

}

/* ---------- Group booking request dialog ----------
   Opened from the guests panel when the guest needs more rooms than the cart allows.
   The form is the Fluent Forms "Group Booking Request" form, styled to the booking pages. */
.rsv-group[hidden] {
  display: none !important;
}

.rsv-group {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.rsv-group__scrim {
  position: absolute;
  inset: 0;
  background: rgba(16, 20, 31, 0.55);
}

.rsv-group__box {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 40px 40px 32px;
  border: 1px solid #ded6ca;
  background: #f4f0ea;
  box-shadow: 0 30px 60px -30px rgba(16, 20, 31, 0.6);
  color: #1a233d;
  font-family: "Montserrat", sans-serif;
  text-align: left;
}

html.rsv-group-open,
html.rsv-group-open body {
  overflow: hidden;
}

.rsv-group__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1a233d;
  cursor: pointer;
}

.rsv-group__close:hover,
.rsv-group__close:focus {
  background: rgba(26, 35, 61, 0.06);
  color: #1a233d;
}

.rsv-group__eyebrow {
  margin: 0 0 8px;
  color: #1a233d;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rsv-group__title {
  margin: 0 0 10px;
  color: #1a233d;
  font: 600 30px/1.15 "EB Garamond", Georgia, serif;
}

.rsv-group__intro {
  margin: 0 0 24px;
  color: #4a5063;
  font-size: 14px;
  line-height: 1.6;
}

/* Fluent Forms inside the dialog: email/phone and dates side by side, the three counts on one row */
.rsv-group__form fieldset {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.rsv-group__form fieldset > * {
  grid-column: 1 / -1;
}

.rsv-group__form fieldset > .ff-el-group:has([name="email"]),
.rsv-group__form fieldset > .ff-el-group:has([name="phone"]),
.rsv-group__form fieldset > .ff-el-group:has([name="group_check_in"]),
.rsv-group__form fieldset > .ff-el-group:has([name="group_check_out"]) {
  grid-column: span 3;
}

.rsv-group__form fieldset > .ff-el-group:has([name="group_rooms"]),
.rsv-group__form fieldset > .ff-el-group:has([name="group_adults"]),
.rsv-group__form fieldset > .ff-el-group:has([name="group_children"]) {
  grid-column: span 2;
}

.rsv-group__form .ff-el-group {
  margin-bottom: 16px;
}

.rsv-group__form .ff-el-input--label label {
  color: #1a233d;
  font-size: 12px;
  font-weight: 500;
}

.rsv-group__form .ff-el-form-control {
  min-height: 48px;
  border: 1px solid rgba(26, 35, 61, 0.18);
  border-radius: 0;
  background: #fbf9f5;
  color: #1a233d;
  font-family: inherit;
  font-size: 15px;
  box-shadow: none;
}

.rsv-group__form textarea.ff-el-form-control {
  min-height: 96px;
}

.rsv-group__form .ff-el-form-control:focus {
  border-color: #1a233d;
  outline: none;
  box-shadow: none;
}

.rsv-group__form .ff-btn-submit {
  min-height: 52px;
  padding: 0 32px;
  border: 1px solid #1a233d !important;
  border-radius: 0 !important;
  background: #1a233d !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.rsv-group__form .ff-btn-submit:hover,
.rsv-group__form .ff-btn-submit:focus {
  background: #0b2153 !important;
  border-color: #0b2153 !important;
}

.rsv-group__form .ff-message-success {
  padding: 20px;
  border: 1px solid #ded6ca;
  background: #fbf9f5;
  box-shadow: none;
  color: #1a233d;
  font-size: 15px;
}

@media (max-width: 640px) {
  .rsv-group {
    align-items: flex-end;
    padding: 0;
  }

  .rsv-group__box {
    width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    padding: 32px 20px calc(24px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
  }

  .rsv-group__title {
    font-size: 26px;
  }
}

/* Phones: the resort list opens from the bottom like the rooms & guests panel (team request 2026-11-27).
   The header is added by reservation-guests.js; tapping the dimmed page closes it like any outside tap. */
.rsv-resort-sheet__head {
  display: none;
}

@media (max-width: 640px) {
  .online-reservation .online-reservation__field--resort .rsv-custom-select__panel {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100001;
    width: 100%;
    max-height: 85vh;
    max-height: 85dvh;
    padding-bottom: env(safe-area-inset-bottom);
    border: 0;
    border-top: 1px solid rgba(26, 35, 61, 0.14);
    background: #f4f0ea;
    box-shadow: 0 0 0 100vmax rgba(16, 20, 31, 0.45);
  }

  .online-reservation .online-reservation__field--resort .rsv-resort-sheet__head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(26, 35, 61, 0.14);
    background: #f4f0ea;
    color: #1a233d;
    font: 600 14px/1.3 "Montserrat", sans-serif;
  }

  .online-reservation .online-reservation__field--resort .rsv-resort-sheet__x {
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border: 0;
    background: none;
    color: #1a233d;
    font-size: 24px;
    line-height: 1;
  }

  .online-reservation .online-reservation__field--resort .rsv-resort-sheet__x:hover,
  .online-reservation .online-reservation__field--resort .rsv-resort-sheet__x:focus {
    background: none;
    color: #1a233d;
  }

  .online-reservation .online-reservation__field--resort .rsv-custom-select__option {
    position: relative;
    /* !important: the resort icon rule pads every button in this field by 40px */
    padding: 18px 48px 18px 16px !important;
    border-bottom: 1px solid rgba(26, 35, 61, 0.1);
    background: transparent;
    color: #1a233d;
    font-size: 15px;
  }

  .online-reservation .online-reservation__field--resort .rsv-custom-select__option.is-selected,
  .online-reservation .online-reservation__field--resort .rsv-custom-select__option.is-selected:hover,
  .online-reservation .online-reservation__field--resort .rsv-custom-select__option.is-selected:focus {
    background: #fff;
    color: #1a233d;
    font-weight: 600;
  }

  .online-reservation .online-reservation__field--resort .rsv-custom-select__option.is-selected::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 6px;
    height: 12px;
    border: solid #1a233d;
    border-width: 0 2px 2px 0;
    transform: translateY(-60%) rotate(45deg);
  }
}

/* Rooms & guests panel: each child's age at check-in (team request 2026-11-27). */
.rsv-guests__ages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 4px 0 6px;
}

.rsv-guests__age span {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: rgba(26, 35, 61, 0.68);
}

.rsv-guests__age select {
  width: 100%;
  height: 44px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(26, 35, 61, 0.35);
  border-radius: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231A233D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #1a233d;
  font: 500 14px "Montserrat", sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.rsv-guests__age select:focus {
  border-color: #1a233d;
  outline: none;
  box-shadow: none;
}

/* Custom select triggers are buttons: the Hello reset turns button text white on hover/focus ([type=button]:hover),
   which hid the chosen country on the light checkout field (team report 2026-11-27). Keep the field's own colour. */
button.rsv-custom-select__trigger:hover,
button.rsv-custom-select__trigger:focus,
button.rsv-custom-select__trigger:active {
  color: var(--online-reservation-text, var(--rsv-control-ink, #1a233d));
}

button.rsv-custom-select__trigger.is-placeholder:hover,
button.rsv-custom-select__trigger.is-placeholder:focus,
button.rsv-custom-select__trigger.is-placeholder:active {
  color: rgba(26, 35, 61, 0.4);
}

/* Booking bar drop-downs flipped above the field when there is more room there (reservation-guests.js). */
@media (min-width: 641px) {
  .online-reservation .rsv-custom-select.rsv-open-up > .rsv-custom-select__panel {
    top: auto;
    bottom: calc(100% + 4px);
    box-shadow: 0 -10px 28px rgba(26, 35, 61, 0.12);
  }

  .online-reservation .online-reservation__field--guests.rsv-open-up .online-reservation__guests-panel {
    top: auto;
    bottom: calc(100% + 8px);
    box-shadow: 0 -18px 40px rgba(16, 20, 31, 0.18);
  }
}
