.crwm-booking-form__intro {
  color: var(--crwm-text-dim, #b7bec7);
  margin: 0 0 1.25rem;
}

.crwm-field-group {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.crwm-field-group .crwm-autocomplete {
  flex: 1 1 220px;
  min-width: 0;
}

.crwm-field-group .form-item {
  margin: 0;
}

/* Positions the suggestion list under its input without affecting layout
   flow, and keeps it clipped to the input's own width on mobile. */
.crwm-autocomplete {
  position: relative;
  min-width: 0;
}

.crwm-autocomplete__list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  max-height: 240px;
  overflow-y: auto;
  background: var(--crwm-bg-raised);
  border: 1px solid var(--crwm-border);
  border-radius: var(--crwm-radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.crwm-autocomplete__list[hidden] {
  display: none;
}

.crwm-autocomplete__item {
  padding: 0.85rem 1rem;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--crwm-border);
  cursor: pointer;
  font-size: 0.95rem;
  word-break: break-word;
}

.crwm-autocomplete__item:last-child {
  border-bottom: none;
}

.crwm-autocomplete__item:hover,
.crwm-autocomplete__item:focus {
  background: rgba(245, 166, 35, 0.12);
}

.crwm-autocomplete__item--keep {
  font-style: italic;
  color: var(--crwm-text-dim);
  background: var(--crwm-bg);
}

/* type=search gives a native tap-to-clear (x) on mobile; keep font-size
   16px so iOS doesn't zoom in on focus, and a large enough box to tap. */
.crwm-address-input {
  font-size: 16px !important;
  min-height: 3rem;
}

.crwm-address-input::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button;
  cursor: pointer;
}

.crwm-location-status {
  flex-basis: 100%;
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--crwm-amber, #f5a623);
  min-height: 1.1em;
}
