/* Autocomplete du champ « Où » (recherche Vacancium). Menu déroulant ancré sous
   le champ, filtrage client des destinations. Look neutre aligné sur le form .rechf. */

.dest-ac {
  position: relative;
}

.dest-ac-liste {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  margin: 4px 0 0;
  padding: 4px 0;
  list-style: none;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
  -webkit-overflow-scrolling: touch;
}

.dest-ac-liste[hidden] {
  display: none;
}

/* En-tête de groupe (Stations, Secteurs, …). */
.dest-ac-grp {
  padding: 8px 14px 4px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #8a8a8a;
}

/* Une suggestion. Cible tactile confortable (≥ 44px). */
.dest-ac-opt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 14px;
  min-height: 44px;
  cursor: pointer;
  color: #1a1a1a;
}

.dest-ac-opt:hover,
.dest-ac-opt.is-active {
  background: #f2f7f4;
}

.dest-ac-lib {
  flex: 1 1 auto;
  font-size: .95rem;
}

.dest-ac-sub {
  flex: 0 0 auto;
  font-size: .8rem;
  color: #9a9a9a;
}

@media (max-width: 480px) {
  .dest-ac-liste {
    max-height: 55vh;
  }
}
