/* Inline homepage reservation bar — styled to match the Vogue site's own tone (cream bg, serif/brand tones, thin borders) */
.hero_booking_wrap {
  background-color: #fdf9f4;
  border-top: 1px solid rgba(88, 72, 65, 0.12);
  border-bottom: 1px solid rgba(88, 72, 65, 0.12);
}

.hero_booking_contain {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.75rem 3rem;
  flex-wrap: wrap;
  padding: 2.25rem 2rem;
  max-width: 90rem;
  margin-inline: auto;
}

.hero_booking_info_field {
  min-width: 12.5rem;
}

.hero_booking_info_box,
.hero_booking_info_box:hover,
.hero_booking_info_box:visited {
  color: #1a1a1a !important;
  text-decoration: none !important;
  justify-content: space-between;
}

.hero_booking_info_phone {
  font-weight: 600;
}

.hero_booking_fields {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  flex-wrap: wrap;
  flex: 0 1 auto;
}

.hero_booking_field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 9.5rem;
  position: relative;
}

.hero_booking_label {
  font-family: "Jost", "Inter Variable", Arial, sans-serif;
  font-size: 0.85rem;
  color: #584841;
  font-weight: 500;
}

.hero_booking_box {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #d8d0c8;
  border-radius: 4px;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
  height: 3.1rem;
}

.hero_booking_box:hover,
.hero_booking_box.is-selected,
.is-selected > .hero_booking_box {
  border-color: #584841;
}

.hero_booking_box_value {
  font-family: "Jost", "Inter Variable", Arial, sans-serif;
  font-size: 0.95rem;
  color: #1a1a1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero_booking_box_value.is-placeholder {
  color: #9a9088;
}

.hero_booking_box svg {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  color: #584841;
}

.hero_booking_submit {
  flex: 0 0 auto;
  background-color: #fff;
  color: #1a1a1a;
  border: 1px solid #d8d0c8;
  border-radius: 4px;
  padding: 0 2rem;
  height: 3.1rem;
  font-family: "Jost", "Inter Variable", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.hero_booking_submit:hover {
  background-color: #584841;
  color: #fff;
  border-color: #584841;
}

/* Reuse the same guest popover markup/behaviour as the fixed bar, restyled */
.hero_booking_field .booking__popup {
  top: calc(100% + 0.5rem);
  bottom: auto;
  left: 0;
  width: 18rem;
  background: #fff;
  border: 1px solid #d8d0c8;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(26, 20, 16, 0.12);
  padding: 1.1rem;
  z-index: 20;
}

.hero_booking_field .booking-room.d-none {
  display: none;
}

.hero_booking_field .booking-room {
  color: #1a1a1a;
  margin-bottom: 0.9rem;
}

.hero_booking_field .booking-room:last-child {
  margin-bottom: 0;
}

.hero_booking_field .booking-room__select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d8d0c8;
  padding: 0.6rem 0.85rem;
  border-radius: 4px;
}

.hero_booking_field .selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero_booking_field .selector__button {
  display: flex;
  cursor: pointer;
}

.hero_booking_field .selector__button.is-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.hero_booking_field .selector__button svg {
  width: 1.1rem;
  height: 1.1rem;
  color: #1a1a1a;
}

.hero_booking_field .selector__number {
  min-width: 1.4rem;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .hero_booking_contain {
    justify-content: center;
  }
  .hero_booking_fields {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero_booking_wrap {
    display: none;
  }
}

/* The hotel-datepicker widget ships with absolute offsets tuned for a different
   page layout (bottom:90%; left:30.5%) and gets appended into .hero_booking_fields
   (the parent of #accommodationDates). Anchor + reposition it here instead so it
   drops down below the date inputs like the guest popover does. */
.hero_booking_fields {
  position: relative;
}

.hero_booking_fields > .datepicker {
  position: absolute !important;
  top: calc(100% + 0.5rem) !important;
  bottom: auto !important;
  left: 0 !important;
  right: auto !important;
  z-index: 20;
}
