/* Home search mockup: intentionally scoped to the home search shell. */
.bvt-home-shell {
  --bvt-search-teal: #007f83;
  --bvt-search-teal-dark: #00676c;
  --bvt-search-coral: #ff654d;
  --bvt-search-coral-dark: #f34f3b;
  --bvt-search-ink: #102f42;
  --bvt-search-line: #cfe1e2;
  --bvt-search-field-height: 56px;
  --bvt-search-field-radius: 14px;
}

/* One presentation surface contains the tabs and whichever form is active. */
.bvt-home-shell .bvt-home-search-dock {
  position: relative;
  z-index: 4;
  margin-top: -38px;
  border: 1px solid var(--bvt-search-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 55, 60, .10);
  overflow: visible;
  box-sizing: border-box;
  width: 100%;
}

.bvt-home-shell .bvTabs-wrapper {
  position: relative;
  z-index: 2;
  margin: 0 !important;
  padding-inline: 0 !important;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
}

/* Join the active panel to the tab bar; the legacy skin adds a 16px top gap. */
.bvt-home-shell .bv-form.active {
  position: relative;
  z-index: 2;
  margin: 0 !important;
}

.bvt-home-shell #bvTabs {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  position: relative !important;
  box-sizing: border-box;
  border: 0 !important;
  border-bottom: 1px solid var(--bvt-search-line) !important;
  border-radius: 22px 22px 0 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  padding-bottom: 0 !important;
}

.bvt-home-shell #bvTabs .bv-tab,
.bvt-home-shell #bvTabs .bv-tab.active {
  min-height: 78px;
  border: 0 !important;
  border-radius: 14px 14px 0 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--bvt-search-ink) !important;
}

.bvt-home-shell #bvTabs .bv-tab .bv-ico,
.bvt-home-shell #bvTabs .bv-tab .bv-icon-line,
.bvt-home-shell #bvTabs .bv-tab .bv-icon-detail {
  color: var(--bvt-search-teal) !important;
  stroke: var(--bvt-search-teal) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bvt-home-shell #bvTabs .bv-tab .bv-lbl,
.bvt-home-shell #bvTabs .bv-tab.active .bv-lbl {
  color: var(--bvt-search-ink) !important;
  font-weight: 700 !important;
}

.bvt-home-shell #bvTabs .bv-tab.active .bv-ico,
.bvt-home-shell #bvTabs .bv-tab.active .bv-icon-line,
.bvt-home-shell #bvTabs .bv-tab.active .bv-icon-detail,
.bvt-home-shell #bvTabs .bv-tab.active .bv-lbl {
  color: var(--bvt-search-teal-dark) !important;
  stroke: var(--bvt-search-teal-dark) !important;
}

.bvt-home-shell #bvTabs .bv-tab.active::after {
  inset: auto 18% 1px !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: var(--bvt-search-teal) !important;
  box-shadow: none !important;
}

.bvt-home-shell .bv-form.active > .search-panel,
.bvt-home-shell .bv-form.active > .bv-packbar,
.bvt-home-shell .bv-form.active > #flightSearchPanel,
.bvt-home-shell .bv-form.active > #cruiseSearchPanel,
.bvt-home-shell .bv-form.active > .bvt-activities-form {
  position: relative;
  z-index: 3;
  margin-top: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  border-radius: 0 0 22px 22px !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 768px) {
  /* Keep the tabs and active form on the same presentation surface. */
  .bvt-home-shell #bvTabs {
    min-height: 72px !important;
    height: 72px !important;
    padding: 4px 14px 0 !important;
    box-sizing: border-box;
  }

  /* Neutralize the legacy Swiper sizing so each tab is one compact group. */
  .bvt-home-shell #bvTabsSwiper {
    width: 100% !important;
    height: 64px !important;
    padding: 0 8px !important;
    box-sizing: border-box;
  }

  .bvt-home-shell #bvTabsSwiper .swiper-wrapper {
    height: 64px !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .bvt-home-shell #bvTabsSwiper .swiper-slide {
    width: 20% !important;
    min-width: 0 !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .bvt-home-shell .bvt-home-search-dock .bv-form.active {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 0 !important;
  }

  .bvt-home-shell #bvTabs .bv-tab {
    height: 64px !important;
    min-height: 64px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 9px 16px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box;
  }

  /* The clickable tab stays full-width; only this inner group is content-sized. */
  .bvt-home-shell #bvTabs .bv-tab__group {
    display: inline-flex !important;
    width: max-content !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    white-space: nowrap !important;
  }

  .bvt-home-shell #bvTabs .bv-tab .bv-ico {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    flex: 0 0 32px !important;
    display: grid !important;
    place-items: center !important;
  }

  .bvt-home-shell #bvTabs .bv-tab .bv-tab-icon {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
  }

  .bvt-home-shell #bvTabs .bv-tab .bv-lbl {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important;
  }

  .bvt-home-shell #bvTabs .bv-tab .bv-icon-line,
  .bvt-home-shell #bvTabs .bv-tab .bv-icon-detail {
    stroke-width: 1.8 !important;
  }

  .bvt-home-shell #bvTabs .bv-tab.active::after {
    inset: auto 24px 0 !important;
    height: 3px !important;
  }

  /* Keep every desktop submit action aligned with the field box. */
  .bvt-home-shell .bv-form.active .search-btn,
  .bvt-home-shell .bv-form.active .bv-packbtn,
  .bvt-home-shell .bv-form.active #flightSearchPanel button[type="submit"],
  .bvt-home-shell .bv-form.active #cruiseSearchPanel .cruise-search-btn,
  .bvt-home-shell .bv-form.active .bvt-activities-form__submit {
    align-self: center;
    height: 56px !important;
    min-height: 56px !important;
    border-radius: 14px !important;
  }
}

/* Shared fields: visible before JavaScript and stable after Select2/Choices. */
.bvt-home-shell #form-hotels .input-icon,
.bvt-home-shell #form-hotels .input-icon-wrap,
.bvt-home-shell #form-packages .bv-chip,
.bvt-home-shell #flightSearchPanel .bv-field,
.bvt-home-shell #flightSearchPanel .trav-picker,
.bvt-home-shell #cruiseSearchPanel .cruise-field,
.bvt-home-shell .bvt-activity-field {
  min-height: var(--bvt-search-field-height);
}

.bvt-home-shell #form-hotels .input-icon > input,
.bvt-home-shell #form-hotels .input-icon > select,
.bvt-home-shell #form-hotels .input-icon-wrap input,
.bvt-home-shell #form-hotels .input-icon .select2-selection--single,
.bvt-home-shell #form-hotels #guestsInput.form-control,
.bvt-home-shell #form-packages .bv-chip,
.bvt-home-shell #flightSearchPanel .bv-input,
.bvt-home-shell #flightSearchPanel .bv-btn,
.bvt-home-shell #flightSearchPanel .trav-picker > button,
.bvt-home-shell #cruiseSearchPanel .cruise-field .form-control,
.bvt-home-shell #cruiseSearchPanel .cruise-field .form-select,
.bvt-home-shell #cruiseSearchPanel .choices__inner,
.bvt-home-shell .bvt-activity-field input {
  min-height: var(--bvt-search-field-height) !important;
  height: var(--bvt-search-field-height) !important;
  border: 1px solid var(--bvt-search-teal) !important;
  border-radius: var(--bvt-search-field-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* Select2 keeps its own interaction surface, but not a second border. */
.bvt-home-shell #form-packages .bv-chip .select2-selection--single,
.bvt-home-shell #form-packages .bv-chip .select2-selection--multiple {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bvt-home-shell #form-hotels .input-icon:focus-within,
.bvt-home-shell #form-hotels .input-icon-wrap:focus-within,
.bvt-home-shell #form-packages .bv-chip:focus-within,
.bvt-home-shell #flightSearchPanel .bv-field:focus-within,
.bvt-home-shell #flightSearchPanel .trav-picker:focus-within,
.bvt-home-shell #cruiseSearchPanel .cruise-field:focus-within,
.bvt-home-shell .bvt-activity-field:focus-within {
  border-radius: var(--bvt-search-field-radius);
  box-shadow: 0 0 0 3px rgba(0, 127, 131, .14) !important;
}

/* Compact labels above stronger values. Existing markup supplies the labels. */
.bvt-home-shell #form-hotels .bvt-home-field__hint,
.bvt-home-shell #form-packages .bv-chip__label,
.bvt-home-shell #flightSearchPanel .bv-field label,
.bvt-home-shell #cruiseSearchPanel .cruise-field label,
.bvt-home-shell .bvt-activity-field label {
  font-size: .70rem !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
}

.bvt-home-shell #form-hotels .select2-selection__rendered,
.bvt-home-shell #form-hotels #daterange,
.bvt-home-shell #form-hotels #guestsInput,
.bvt-home-shell #form-packages .bv-chip__value,
.bvt-home-shell #flightSearchPanel .bv-input,
.bvt-home-shell #flightSearchPanel .bv-btn,
.bvt-home-shell #cruiseSearchPanel .cruise-field .form-control,
.bvt-home-shell #cruiseSearchPanel .cruise-field .form-select,
.bvt-home-shell .bvt-activity-field input {
  color: var(--bvt-search-ink) !important;
  font-family: var(--bvt-font-ui, "Centra No2", sans-serif) !important;
  font-weight: 750 !important;
}

/* Dates and guests share the same value baseline as Destination. */
.bvt-home-shell #form-hotels .bvt-home-field--dates > #daterange,
.bvt-home-shell #form-hotels .bvt-home-field--guests #guestsInput {
  box-sizing: border-box !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 24px !important;
  text-align: left !important;
}

/* Use the same UI typeface for the date control and Destination. */
.bvt-home-shell #form-hotels .bvt-home-field--dates > #daterange,
.bvt-home-shell #form-hotels .bvt-home-field--dates > input.fp-glass,
.bvt-home-shell #form-hotels .bvt-home-field--dates > input.flatpickr-input {
  font-family: var(--bvt-font-ui, "Centra No2", sans-serif) !important;
  font-weight: 600 !important;
}

/* Match the Destination two-line rhythm without relying on the native input
   baseline or the guest control's internal line-height. */
.bvt-home-shell #form-hotels .bvt-home-field--dates,
.bvt-home-shell #form-hotels .bvt-home-field--guests {
  display: grid !important;
  grid-template-rows: 12px 24px !important;
  align-content: center !important;
  row-gap: 3px !important;
  padding-left: 54px !important;
  box-sizing: border-box !important;
  border: 1px solid var(--bvt-search-teal) !important;
  border-radius: var(--bvt-search-field-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* Cold render: the wrapper owns the field border before Select2/Flatpickr
   replace their native controls. */
.bvt-home-shell #form-hotels .bvt-home-field--destination {
  display: grid !important;
  grid-template-rows: 12px 24px !important;
  align-content: center !important;
  row-gap: 3px !important;
  /* Keep the label/value together, with a deliberate gap after the icon. */
  padding-left: 62px !important;
  box-sizing: border-box !important;
  border: 1px solid var(--bvt-search-teal) !important;
  border-radius: var(--bvt-search-field-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--destination > select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--destination > .bvt-home-field__hint {
  position: static !important;
  grid-row: 2 !important;
  grid-column: 1 !important;
  display: block !important;
  margin: 0 !important;
  color: var(--bvt-search-ink) !important;
  font-size: 1rem !important;
  font-weight: 750 !important;
  line-height: 24px !important;
  height: 24px !important;
  display: block !important;
  white-space: nowrap;
  pointer-events: none;
}

/* Keep the cold-render placeholder visually identical to Select2's final
   value while the control is still being initialized. */
html body .bvt-home-shell #form-hotels .bvt-home-field--destination > .bvt-home-field__hint {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-family: var(--bvt-font-ui, "Centra No2", sans-serif) !important;
  font-weight: 600 !important;
}

/* Destination's Select2 surface now spans the complete field; keep its
   visible label on the same text start as the selected/placeholder value. */
.bvt-home-shell #form-hotels .bvt-home-field--destination > .bvt-home-field__label {
  left: 62px !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--destination:has(.select2-container) > .bvt-home-field__hint {
  display: none !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--destination > .select2-container {
  grid-row: 2 !important;
  grid-column: 1 !important;
  width: calc(100% + 62px) !important;
  margin-left: -62px !important;
  height: 24px !important;
  min-height: 24px !important;
  align-self: stretch !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--destination .select2-container--default .select2-selection--single {
  grid-row: 2 !important;
  grid-column: 1 !important;
  height: 24px !important;
  min-height: 24px !important;
  padding-left: 62px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--destination .select2-selection__rendered {
  display: block !important;
  box-sizing: border-box !important;
  width: calc(100% - 32px) !important;
  flex: none !important;
  min-width: 0 !important;
  max-width: calc(100% - 32px) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  height: 24px !important;
  padding: 4px 32px 0 0 !important;
  line-height: 20px !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--destination .select2-selection--single {
  min-width: 0 !important;
  overflow: hidden !important;
}

/* Select2 wraps the empty value in this child span. Reset its inherited
   placeholder padding so it shares the same baseline as the selected value. */
.bvt-home-shell #form-hotels .bvt-home-field--destination .select2-selection__rendered > .select2-selection__placeholder {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 4px 0 0 !important;
  line-height: 20px !important;
}

/* Match the selected destination to the other hotel-field values. The
   legacy Select2 skin otherwise forces this text to pure black and a heavier
   weight than the date and guests values. */
.bvt-home-shell #form-hotels .bvt-home-field--destination .select2-selection__rendered {
  color: var(--bvt-search-ink) !important;
  font-weight: 600 !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--destination .select2-selection__rendered > .select2-selection__placeholder {
  color: rgba(16, 47, 66, .72) !important;
  font-weight: 600 !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--destination .select2-selection__arrow {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
}

/* Keep the desktop suggestions visually separated from the field while
   preserving the Select2-calculated horizontal alignment. */
@media (min-width: 768px) {
  .s2-glass-dd.bvt-hotel-destination-dropdown.select2-dropdown--below {
    margin-top: 12px !important;
  }
}

@media (max-width: 767.98px) {
  /* Safari iPhone can temporarily paint content-visibility:auto cards as a
     blank area when they cross the viewport while scrolling. Keep the mobile
     result cards in the normal paint flow; desktop keeps the optimization. */
  #resultsGrid .hotel-card {
    content-visibility: visible !important;
    contain: none !important;
  }

  /* The mobile picker is fixed/full-screen; keep its original Select2 geometry. */
  .bvt-home-shell #form-hotels .bvt-home-field--destination {
    padding-left: 54px !important;
  }

  .bvt-home-shell #form-hotels .bvt-home-field--destination > .bvt-home-field__label {
    left: 54px !important;
  }

  .bvt-home-shell #form-hotels .bvt-home-field--destination > .select2-container {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .bvt-home-shell #form-hotels .bvt-home-field--destination .select2-container--default .select2-selection--single {
    padding-left: 0 !important;
  }
}

@media (min-width: 768px) {
  /* The taller desktop hero can move the first result cards below the
     initial viewport. Keep them in the paint flow so the grid cannot appear
     blank after a search. */
  #resultsGrid .hotel-card {
    content-visibility: visible !important;
    contain: none !important;
  }
}

.bvt-home-shell #form-hotels .bvt-home-field--dates > #daterange {
  border: 0 !important;
  background: transparent !important;
}

/* First paint approximation; the existing JS immediately replaces these
   values with the measured active group without changing the layout. */
.bvt-home-shell #bvTabsUnderline {
  left: 10%;
  width: clamp(72px, 7vw, 104px);
  transform: translateX(-50%);
}

@media (max-width: 767.98px) {
  .bvt-home-shell #bvTabsUnderline {
    width: clamp(58px, 16vw, 90px);
  }
}

.bvt-home-shell #form-hotels .bvt-home-field--dates > .bvt-home-field__label,
.bvt-home-shell #form-hotels .bvt-home-field--guests > .bvt-home-field__label {
  position: static !important;
  grid-row: 1 !important;
  grid-column: 1 !important;
  align-self: stretch !important;
  margin: 0 !important;
  line-height: 12px !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--dates > #daterange {
  grid-row: 2 !important;
  grid-column: 1 !important;
  width: 100% !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  align-self: stretch !important;
}

/* Flatpickr creates this visible alternate input after initialization. */
.bvt-home-shell #form-hotels .bvt-home-field--dates > input.form-control.fp-glass {
  grid-row: 2 !important;
  grid-column: 1 !important;
  width: 100% !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 24px !important;
  align-self: stretch !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--guests > .dropdown {
  grid-row: 2 !important;
  grid-column: 1 !important;
  width: 100% !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  align-self: stretch !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--guests #guestsInput {
  width: 100% !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding-left: 0 !important;
  line-height: 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Shared coral submit action. */
.bvt-home-shell .search-btn,
.bvt-home-shell .bv-packbtn,
.bvt-home-shell #flightSearchPanel button[type="submit"],
.bvt-home-shell #cruiseSearchPanel .cruise-search-btn,
.bvt-home-shell .bvt-activities-form__submit {
  min-height: var(--bvt-search-field-height) !important;
  height: var(--bvt-search-field-height) !important;
  min-width: 150px;
  border: 1px solid var(--bvt-search-coral-dark) !important;
  border-radius: var(--bvt-search-field-radius) !important;
  background: var(--bvt-search-coral) !important;
  color: #fff !important;
  font-weight: 550 !important;
  box-shadow: none !important;
}

/* Keep the Search label crisp and consistent across every home-search tab. */
.bvt-home-shell .search-btn,
.bvt-home-shell .bv-packbtn,
.bvt-home-shell #flightSearchPanel button[type="submit"],
.bvt-home-shell #cruiseSearchPanel .cruise-search-btn,
.bvt-home-shell .bvt-activities-form__submit {
  font-family: var(--bvt-font-ui, "Centra No2", sans-serif) !important;
  font-size: 1.1rem !important;
  font-weight: 550 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.bvt-home-shell .search-btn > span,
.bvt-home-shell .bv-packbtn > span,
.bvt-home-shell #flightSearchPanel button[type="submit"] > span,
.bvt-home-shell #cruiseSearchPanel .cruise-search-btn > span,
.bvt-home-shell .bvt-activities-form__submit > span {
  font: inherit !important;
}

.bvt-home-shell .search-btn:hover,
.bvt-home-shell .bv-packbtn:hover,
.bvt-home-shell #flightSearchPanel button[type="submit"]:hover,
.bvt-home-shell #cruiseSearchPanel .cruise-search-btn:hover,
.bvt-home-shell .bvt-activities-form__submit:hover {
  border-color: var(--bvt-search-coral-dark) !important;
  background: var(--bvt-search-coral-dark) !important;
}

@media (min-width: 768px) {
  .bvt-home-shell .bv-form.active > .search-panel,
  .bvt-home-shell .bv-form.active > .bv-packbar,
  .bvt-home-shell .bv-form.active > #flightSearchPanel,
  .bvt-home-shell .bv-form.active > #cruiseSearchPanel,
  .bvt-home-shell .bv-form.active > .bvt-activities-form {
    padding: 16px !important;
  }
}

@media (max-width: 767.98px) {
  /* Do not fade the last product tab; all five tabs must remain readable. */
  html body.bvt-home-page .bvt-home-shell #bvTabs::after,
  html body.bvt-home-page .bvt-home-shell #bvTabs .bv-tabs-mobile-fade {
    display: none !important;
  }

  /* Slightly tighter mobile tab dock without changing the icon/text scale. */
  html body .bvt-home-shell #bvTabs {
    min-height: 108px !important;
    padding-top: 6px !important;
    padding-bottom: 4px !important;
  }

  html body .bvt-home-shell #bvTabsSwiper,
  html body .bvt-home-shell #bvTabsSwiper .swiper-wrapper {
    height: 88px !important;
  }

  html body .bvt-home-shell #bvTabs .bv-tab {
    min-height: 88px !important;
    padding-top: 5px !important;
    padding-bottom: 4px !important;
  }

  /* Lift the mobile dock icons slightly toward its upper edge while keeping
     the labels and active underline in their current positions. */
  html body .bvt-home-shell #bvTabs .bv-tab .bv-ico {
    transform: translateY(-5px) !important;
  }

  /* Cruise's Bootstrap modal lives inside the dock's stacking context. Keep
     that context above Bootstrap's body-level backdrop only while open. */
  html body.cruise-mobile-picker-open .bvt-home-shell .bvt-home-search-dock {
    z-index: 1060 !important;
  }

  html body.cruise-mobile-picker-open .bvt-home-shell .cruise-mobile-picker {
    z-index: 1065 !important;
  }

  html body.flight-airport-modal-open .bvt-home-shell .bvt-home-search-dock {
    z-index: 1060 !important;
  }

  html body.flight-airport-modal-open .bvt-home-shell #flightAirportModal {
    z-index: 1065 !important;
  }

  /* The mobile Select2 dimmer must never intercept taps intended for the panel. */
  html body.select2-mobile-open::before {
    display: none !important;
    pointer-events: none !important;
  }

  html body.select2-mobile-open .select2-container--open {
    z-index: 3001 !important;
  }

  html body.select2-mobile-open .select2-container--open .s2-glass-dd.select2-dropdown {
    z-index: 3002 !important;
    pointer-events: auto !important;
  }

  .bvt-home-shell .bvt-home-search-dock {
    margin: -58px 8px 0;
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    border-radius: 20px;
  }

  /* Match the mobile hero's full content width. */
  .bvt-home-shell .bvt-home-search-dock {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .bvt-home-shell #bvTabs .bv-tab {
    min-height: 64px;
  }

  .bvt-home-shell .bv-form.active > .search-panel,
  .bvt-home-shell .bv-form.active > .bv-packbar,
  .bvt-home-shell .bv-form.active > #flightSearchPanel,
  .bvt-home-shell .bv-form.active > #cruiseSearchPanel,
  .bvt-home-shell .bv-form.active > .bvt-activities-form {
    padding: 12px !important;
    border-radius: 0 0 18px 18px !important;
  }

  .bvt-home-shell .search-btn,
  .bvt-home-shell .bv-packbtn,
  .bvt-home-shell #flightSearchPanel button[type="submit"],
  .bvt-home-shell #cruiseSearchPanel .cruise-search-btn,
  .bvt-home-shell .bvt-activities-form__submit {
    width: 100% !important;
    min-width: 0;
  }

  .bvt-home-shell .bvt-activities-form__fields {
    grid-template-columns: 1fr !important;
  }
}

/* Final field hierarchy: fixed label, then the existing dynamic value. */
.bvt-home-shell .bvt-home-field,
.bvt-home-shell #flightSearchPanel .bv-field,
.bvt-home-shell #flightSearchPanel .trav-picker,
.bvt-home-shell #cruiseSearchPanel .cruise-field,
.bvt-home-shell .bvt-activity-field {
  position: relative;
}

.bvt-home-shell .bvt-home-field__label,
.bvt-home-shell .bvt-search-field__label,
.bvt-home-shell .bvt-activity-field > span,
.bvt-home-shell #form-packages .bv-chip__label {
  position: absolute;
  top: 8px;
  left: 54px;
  z-index: 4;
  display: block;
  margin: 0 !important;
  color: #52647d !important;
  font-size: .70rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: .01em;
  text-transform: none !important;
  pointer-events: none;
}

.bvt-home-shell #form-hotels .bvt-home-field__hint {
  display: none !important;
}

.bvt-home-shell #form-hotels .select2-selection__rendered,
.bvt-home-shell #form-hotels #daterange,
.bvt-home-shell #form-hotels #guestsInput,
.bvt-home-shell #form-packages .bv-chip__value,
.bvt-home-shell #form-packages .bv-chip__value input,
.bvt-home-shell #flightSearchPanel .bv-input,
.bvt-home-shell #flightSearchPanel .bv-btn,
.bvt-home-shell #cruiseSearchPanel .form-control,
.bvt-home-shell #cruiseSearchPanel .form-select,
.bvt-home-shell .bvt-activity-field input {
  padding-top: 16px !important;
  padding-bottom: 0 !important;
  font-size: 1rem !important;
  font-weight: 750 !important;
}

.bvt-home-shell #form-packages .bv-chip__label {
  position: static;
}

.bvt-home-shell #form-packages .bv-chip__body {
  position: relative;
  min-width: 0;
}

.bvt-home-shell #flightSearchPanel .bvt-search-field__label,
.bvt-home-shell #cruiseSearchPanel .bvt-search-field__label,
.bvt-home-shell .bvt-activity-field > span {
  left: 54px;
}

.bvt-home-shell #flightSearchPanel .trav-picker .bvt-search-field__label {
  left: 44px;
}

/* Keep the traveler value on the same two-line rhythm as the other flight
   fields instead of inheriting the older centered button treatment. */
.bvt-home-shell #flightSearchPanel .trav-picker .trav-label {
  display: block !important;
  margin-top: 0 !important;
  transform: translateY(5px);
  color: #52647d !important;
  font-family: var(--bv-field-font) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 20px !important;
}

.bvt-home-shell .bvt-activity-field > span {
  position: absolute;
  top: 8px;
  display: block;
}

.bvt-home-shell .bvt-activities-form .bvt-activity-field__icon {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  color: var(--bvt-search-teal) !important;
  font-size: 1.05rem;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.bvt-home-shell .bvt-activities-form .bvt-activity-field > input {
  padding-left: 54px !important;
}

/* Final color override for all hotel input values. */
html body .bvt-home-shell #form-hotels .bvt-home-field--destination .select2-selection__rendered,
html body .bvt-home-shell #form-hotels .bvt-home-field--destination .select2-selection__placeholder,
html body .bvt-home-shell #form-hotels .bvt-home-field--dates > input,
html body .bvt-home-shell #form-hotels .bvt-home-field--dates .flatpickr-input,
html body .bvt-home-shell #form-hotels .bvt-home-field--guests #guestsInput.form-control {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 500 !important;
}

html body .bvt-home-shell #form-hotels .bvt-home-field--dates > input::placeholder,
html body .bvt-home-shell #form-hotels .bvt-home-field--dates .flatpickr-input::placeholder,
html body .bvt-home-shell #form-hotels .bvt-home-field--dates > input.fp-glass::placeholder,
html body .bvt-home-shell #form-hotels .bvt-home-field--dates > input.bvt-date-placeholder::placeholder {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

/* Final hotel-form text treatment: keep every visible input value consistent
   across Select2, Flatpickr and the native guests control. */
html body .bvt-home-shell #form-hotels .bvt-home-field--destination .select2-selection__rendered,
html body .bvt-home-shell #form-hotels .bvt-home-field--destination .select2-selection__placeholder,
html body .bvt-home-shell #form-hotels .bvt-home-field--dates > input,
html body .bvt-home-shell #form-hotels .bvt-home-field--dates .flatpickr-input,
html body .bvt-home-shell #form-hotels .bvt-home-field--guests #guestsInput {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 500 !important;
}

html body .bvt-home-shell #form-hotels .bvt-home-field--dates > input::placeholder,
html body .bvt-home-shell #form-hotels .bvt-home-field--dates .flatpickr-input::placeholder {
  color: #000 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

/* One typography contract for the visible hotel input values. Select2,
   Flatpickr and the guests control otherwise inherit different legacy rules. */
.bvt-home-shell #form-hotels .bvt-home-field--destination .select2-selection__rendered,
.bvt-home-shell #form-hotels .bvt-home-field--destination .select2-selection__placeholder,
.bvt-home-shell #form-hotels .bvt-home-field--dates > #daterange,
.bvt-home-shell #form-hotels .bvt-home-field--dates > input,
.bvt-home-shell #form-hotels .bvt-home-field--dates .flatpickr-input,
.bvt-home-shell #form-hotels .bvt-home-field--guests #guestsInput {
  color: rgba(16, 47, 66, .72) !important;
  -webkit-text-fill-color: rgba(16, 47, 66, .72) !important;
  font-family: var(--bvt-font-ui, "Centra No2", sans-serif) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 24px !important;
}

.bvt-home-shell #form-hotels .bvt-home-field--dates > input::placeholder,
.bvt-home-shell #form-hotels .bvt-home-field--dates .flatpickr-input::placeholder {
  color: rgba(16, 47, 66, .72) !important;
  font-family: var(--bvt-font-ui, "Centra No2", sans-serif) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 24px !important;
}

/* Keep native input text rendering identical to the Select2 placeholder. */
html body .bvt-home-shell #form-hotels #daterange,
html body .bvt-home-shell #form-hotels .bvt-home-field--dates > input,
html body .bvt-home-shell #form-hotels #guestsInput.form-control {
  color: rgba(16, 47, 66, .72) !important;
  -webkit-text-fill-color: rgba(16, 47, 66, .72) !important;
}

.bvt-home-shell .bvt-activities-form__submit,
.bvt-home-shell .search-btn,
.bvt-home-shell .bv-packbtn,
.bvt-home-shell #flightSearchPanel button[type="submit"],
.bvt-home-shell #cruiseSearchPanel .cruise-search-btn {
  border: 0 !important;
  box-shadow: 0 8px 18px rgba(255, 101, 77, .18) !important;
}

.bvt-home-shell .bvt-activities-form__submit:focus-visible,
.bvt-home-shell .search-btn:focus-visible,
.bvt-home-shell .bv-packbtn:focus-visible,
.bvt-home-shell #flightSearchPanel button[type="submit"]:focus-visible,
.bvt-home-shell #cruiseSearchPanel .cruise-search-btn:focus-visible {
  outline: 3px solid rgba(0, 127, 131, .28) !important;
  outline-offset: 2px;
}

.bvt-home-shell #tab-packages .bv-tab-icon,
.bvt-home-shell #tab-activities .bv-tab-icon {
  width: 26px !important;
  height: 26px !important;
}

/* Keep every product icon in the same visual box and give the row a slightly
   stronger icon presence without changing the clickable tab layout. */
.bvt-home-shell #bvTabs .bv-tab .bv-tab-icon {
  width: 27px !important;
  height: 27px !important;
}

/* Active-tab marker: the existing JS-driven underline is the only indicator. */
html body .bvt-home-shell #bvTabsUnderline {
  display: block !important;
  bottom: 0 !important;
  height: 4px !important;
  border: 0 !important;
  border-radius: 20px 20px 0 0 !important;
  background: var(--bvt-search-teal) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  z-index: 6 !important;
}

html body .bvt-home-shell #bvTabs .bv-tab.active::after { display: none !important; }

@media (max-width: 767.98px) {
  html body .bvt-home-shell #bvTabsUnderline {
    height: 3px !important;
  }

  /* Keep the empty hotel date value as muted as Destination's placeholder.
     Flatpickr may expose either the original input or its alternate input. */
  html body .bvt-home-shell #form-hotels #daterange::placeholder,
  html body .bvt-home-shell #form-hotels .flatpickr-input::placeholder,
  html body .bvt-home-shell #form-hotels .fp-glass::placeholder {
    color: rgba(16, 47, 66, .72) !important;
    opacity: 1 !important;
    font-family: var(--bvt-font-ui, "Centra No2", sans-serif) !important;
    font-weight: 600 !important;
  }

  /* The alternate Flatpickr input can receive the empty copy as its own
     visible text, so styling only ::placeholder is not sufficient. */
  html body .bvt-home-shell #form-hotels .bvt-home-field--dates > input.fp-glass {
    color: rgba(16, 47, 66, .72) !important;
    font-weight: 600 !important;
  }

  /* Use Flatpickr's explicit state so the empty copy cannot inherit the
     legacy black .fp-glass rule. */
  html body .bvt-home-shell #form-hotels .bvt-home-field--dates > input.fp-glass.bvt-date-placeholder {
    color: rgba(16, 47, 66, .72) !important;
    font-weight: 600 !important;
  }

  html body .bvt-home-shell #form-hotels .bvt-home-field--dates > input.fp-glass:not(.bvt-date-placeholder) {
    color: var(--bvt-search-ink) !important;
    font-weight: 750 !important;
  }
}

/* Package chips already provide a two-row label/value grid. Keep the
   home-shell hierarchy from adding vertical padding that clips the value. */
.bvt-home-shell #form-packages .bv-chip {
  box-sizing: border-box !important;
  align-items: center !important;
  overflow: visible !important;
}

.bvt-home-shell #form-packages .bv-chip__body {
  display: grid !important;
  grid-template-rows: 12px 24px !important;
  align-content: center !important;
  row-gap: 3px !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.bvt-home-shell #form-packages .bv-chip__label {
  position: static !important;
  height: 12px !important;
  line-height: 12px !important;
  overflow: visible !important;
}

.bvt-home-shell #form-packages .bv-chip__value {
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 24px !important;
  overflow: visible !important;
}

.bvt-home-shell #form-packages .bv-chip__value input,
.bvt-home-shell #form-packages .bv-chip--guests .guestsInput-nb,
.bvt-home-shell #form-packages .bv-chip .select2-selection--single,
.bvt-home-shell #form-packages .bv-chip .select2-selection__rendered {
  box-sizing: border-box !important;
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 24px !important;
  overflow: visible !important;
}

.bvt-home-shell #form-packages .bv-chip--guests .guestsInput-nb {
  color: #52647d !important;
  font-family: var(--bv-field-font) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}

/* Keep the four visible flight controls inside the panel. The route remains
   one logical field; at intermediate widths it gets its own row. */
@media (min-width: 1200px) {
  .bvt-home-shell #flightSearchPanel .tab-pane.active > form {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(138px, .62fr) !important;
    gap: 12px !important;
    align-items: center !important;
    margin: 0 !important;
  }

  .bvt-home-shell #flightSearchPanel .tab-pane.active > form > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .bvt-home-shell #flightSearchPanel .tab-pane.active > form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    margin: 0 !important;
  }

  .bvt-home-shell #flightSearchPanel .tab-pane.active > form > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .bvt-home-shell #flightSearchPanel .tab-pane.active > form > .col-md-5,
  .bvt-home-shell #flightSearchPanel .tab-pane.active > form > .col-md-1 {
    grid-column: 1 / -1 !important;
  }
}

/* Tours keeps its existing suggestion/dropdown markup, but both text rows
   start from the same inset as the other home-search fields. */
.bvt-home-shell .bvt-activity-field {
  min-height: var(--bvt-search-field-height) !important;
  padding: 0 !important;
}

.bvt-home-shell .bvt-activity-field > span {
  left: 54px !important;
}

.bvt-home-shell .bvt-activity-field input {
  box-sizing: border-box !important;
  height: var(--bvt-search-field-height) !important;
  min-height: var(--bvt-search-field-height) !important;
  padding: 20px 16px 0 54px !important;
  border-radius: var(--bvt-search-field-radius) !important;
}

/* Tours icons are inline SVGs so the form does not depend on an icon-font
   stylesheet being available during the first render. */
.bvt-home-shell .bvt-activities-form .bvt-activity-field > .bvt-activity-field__icon {
  position: absolute !important;
  top: 50% !important;
  left: 16px !important;
  z-index: 2 !important;
  display: inline-flex !important;
  width: 22px !important;
  height: 22px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--bvt-search-teal) !important;
  line-height: 1 !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}

.bvt-home-shell .bvt-activities-form .bvt-activity-field__icon svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.bvt-home-shell .bvt-activities-form .bvt-activity-field > input {
  padding-left: 54px !important;
}

/* Final selected-date state: Flatpickr must keep the same black text as the
   other hotel input values after a range is chosen. */
html body .bvt-home-shell #form-hotels .bvt-home-field--dates > input,
html body .bvt-home-shell #form-hotels .bvt-home-field--dates > input.fp-glass:not(.bvt-date-placeholder),
html body .bvt-home-shell #form-hotels .bvt-home-field--dates .flatpickr-input:not(.bvt-date-placeholder) {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
}

@media (max-width: 767.98px) {
  /* Mobile focus matches the normal selected hotel-input border. */
  html body .bvt-home-shell #form-hotels .bvt-home-field:focus-within,
  html body .bvt-home-shell #form-hotels .bvt-home-field--guests:focus-within {
    border-color: var(--bvt-search-teal) !important;
    box-shadow: none !important;
  }

  html body .bvt-home-shell #form-hotels .bvt-home-field > input:focus,
  html body .bvt-home-shell #form-hotels #guestsInput.form-control:focus,
  html body .bvt-home-shell #form-hotels .select2-selection--single:focus,
  html body .bvt-home-shell #form-hotels .select2-container--open .select2-selection--single {
    border-color: var(--bvt-search-teal) !important;
    box-shadow: none !important;
    outline: none !important;
  }
}
