/* Guest picker: replaces the bare number box in the search bars. */
.banner-form__control.csq-guests {
  position: relative;
}

/* The old +/- buttons and number box stay in the page (the theme reads the
   input) but are not shown. */
.banner-form__control.csq-guests .banner-form__qty-minus,
.banner-form__control.csq-guests .banner-form__qty-plus,
.banner-form__control.csq-guests .guest-input {
  display: none !important;
}

.csq-guests__toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #16324f;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.csq-guests__toggle.is-empty {
  color: #7c8b99;
  font-weight: 500;
}

.csq-guests__panel {
  position: absolute;
  z-index: 10000;
  box-sizing: border-box;
  padding: 6px 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(22, 50, 79, 0.22);
  color: #16324f;
  text-align: left;
  font-family: inherit;
}

.csq-guests__panel[hidden] {
  display: none;
}

.csq-guests__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #ececec;
}

.csq-guests__row:last-child {
  border-bottom: 0;
}

.csq-guests__label strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.csq-guests__label span {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  color: #6b7480;
}

.csq-guests__stepper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.csq-guests__count {
  min-width: 18px;
  text-align: center;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.csq-guests__btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f0f1f3;
  color: #16324f;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.csq-guests__btn:hover:not(:disabled) {
  background: #e2e5e9;
}

.csq-guests__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.csq-guests__btn:focus-visible,
.csq-guests__toggle:focus-visible {
  outline: 2px solid #16324f;
  outline-offset: 2px;
}

/* ---- Location dropdown in the search bars: same card look as the guest and
   date popovers, clear of the bar, with roomy rows and a check on the choice. */
.bootstrap-select.location-input > .dropdown-menu {
  min-width: 340px;
  margin-top: 40px !important;
  padding: 10px !important;
  background: #fff;
  border: 0 !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 40px rgba(22, 50, 79, 0.22) !important;
  overflow: hidden;
  z-index: 10000;
}

.bootstrap-select.location-input .dropdown-menu .inner {
  max-height: 320px !important;
}

.bootstrap-select.location-input .dropdown-menu ul {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.bootstrap-select.location-input .dropdown-menu li a,
.bootstrap-select.location-input .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 !important;
  padding: 14px 16px !important;
  border-radius: 16px !important;
  background: transparent !important;
  color: #16324f !important;
  font-size: 16px;
  font-weight: 500;
}

.bootstrap-select.location-input .dropdown-menu li a:hover,
.bootstrap-select.location-input .dropdown-menu .dropdown-item:hover {
  background: #f0f1f3 !important;
}

.bootstrap-select.location-input .dropdown-menu li.selected a,
.bootstrap-select.location-input .dropdown-menu .dropdown-item.active,
.bootstrap-select.location-input .dropdown-menu .dropdown-item.selected {
  background: #eef1f4 !important;
  font-weight: 700;
}

.bootstrap-select.location-input .dropdown-menu .dropdown-item.active::after,
.bootstrap-select.location-input .dropdown-menu li.selected a::after {
  content: "\2713";
  margin-left: 12px;
  font-weight: 700;
}
