/* APD 219 — mobile smart destination search */
@media (max-width: 767px) {
  html body.apd219-smart-destination .apd40-world-results {
    display: none !important;
  }

  html body.apd219-smart-destination.apd219-location-typing .apd186-search-portal #apd5-search .apd26-destination-section-title,
  html body.apd219-smart-destination.apd219-location-typing .apd186-search-portal #apd5-search [data-nearby],
  html body.apd219-smart-destination.apd219-location-typing .apd186-search-portal #apd5-search #apd5-destination-list,
  html body.apd219-smart-destination.apd219-location-typing .apd186-search-portal #apd5-search #apd26-recent-destinations {
    display: none !important;
  }

  html body.apd219-smart-destination .apd186-search-portal #apd5-search .apd219-smart-results {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin: 12px 0 0 !important;
    padding: 0 0 8px !important;
    overflow: visible !important;
  }

  html body.apd219-smart-destination .apd186-search-portal #apd5-search .apd219-smart-results[hidden] {
    display: none !important;
  }

  html body.apd219-smart-destination .apd186-search-portal #apd5-search .apd219-smart-option {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    min-height: 76px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 8px 14px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: transparent !important;
    color: #222 !important;
    text-align: left !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color 80ms linear !important;
  }

  html body.apd219-smart-destination .apd186-search-portal #apd5-search .apd219-smart-option.is-first {
    background: #f7f7f7 !important;
  }

  html body.apd219-smart-destination .apd186-search-portal #apd5-search .apd219-smart-option:active {
    background: #f2f2f2 !important;
  }

  html body.apd219-smart-destination .apd186-search-portal #apd5-search .apd219-smart-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f5f5f5;
    color: #222;
    flex: 0 0 58px;
  }

  html body.apd219-smart-destination .apd186-search-portal #apd5-search .apd219-smart-icon svg {
    width: 31px !important;
    height: 31px !important;
    display: block;
  }

  html body.apd219-smart-destination .apd186-search-portal #apd5-search .apd219-smart-copy {
    display: block;
    min-width: 0;
    padding: 0;
  }

  html body.apd219-smart-destination .apd186-search-portal #apd5-search .apd219-smart-copy strong {
    display: block !important;
    margin: 0 !important;
    color: #222 !important;
    font-size: 18px !important;
    line-height: 1.22 !important;
    font-weight: 450 !important;
    letter-spacing: -0.2px !important;
    white-space: normal !important;
  }

  html body.apd219-smart-destination .apd186-search-portal #apd5-search .apd219-smart-copy .apd219-match {
    font-weight: 750 !important;
  }

  html body.apd219-smart-destination .apd186-search-portal #apd5-search .apd219-smart-copy small {
    display: block !important;
    margin: 5px 0 0 !important;
    color: #6a6a6a !important;
    font-size: 16px !important;
    line-height: 1.28 !important;
    font-weight: 400 !important;
    white-space: normal !important;
  }

  html body.apd219-smart-destination .apd186-search-portal #apd5-search .apd219-empty {
    padding: 18px 14px;
    color: #6a6a6a;
    font-size: 16px;
    line-height: 1.35;
  }

  /* Keep the destination sheet stable while the keyboard is open. */
  html body.apd219-smart-destination.apd219-location-typing .apd186-search-portal #apd5-search .apd5-location-panel {
    overflow-x: hidden !important;
    overscroll-behavior-x: none !important;
  }
}
