/* AVIATRIP-HERO-SEARCH-V1019 — two optional looks for the homepage search, chosen in Admin → Settings.
 *   .hs-style--bar   "ერთი ზოლი": the fields sit in one white rounded bar on the blue hero, thin dividers,
 *                    a round search button, charcoal text (no blue text).
 *   .hs-style--glass "მუქი მინა": a see-through dark panel, white text, gold icons, a white search button.
 * Loaded after aviatrip-hero-search-v1018.css, and only when one of these looks is chosen; the classic look
 * loads nothing new. Both keep the site font (Voyage Sans = Noto Sans Georgian + Inter).
 * Pop-ups (calendar, guests, lists) stay white and readable in both looks.
 * Selectors carry ":not(#hs-x)" only to outrank the older homepage rules (two IDs instead of one).
 */

/* =====================================================================================================
   Tokens. The V1018 stylesheet reads its text colours from these variables.
   ===================================================================================================== */
#aviatripModernSearch.hs-style {
  --hs2-ink: #1b2130;
  --hs2-gray: #687180;
  --hs2-gold: #ffcf5a;
  --hs2-navy: #0f2552;
  --hs2-ease: cubic-bezier(.22, .8, .24, 1);
}
#aviatripModernSearch.hs-style--bar {
  --hs-ink: #1b2130;
  --hs-label: #687180;
  --hs-value: #1b2130;
  --hs-muted: #687180;
  --hs-icon-color: #8b93a1;
  --hs-line: #e6e8ec;
  --hs-line-hover: #e6e8ec;
  --hs-sky: #ffcf5a;
  --hs2-btn: #2457d6;
  --hs2-btn-hover: #1d48b8;
  --hs2-hover: #f3f4f6;
  --hs2-divider: linear-gradient(#e3e6eb, #e3e6eb);
}
#aviatripModernSearch.hs-style--glass {
  --hs-ink: #fff;
  --hs-label: rgba(255, 255, 255, .72);
  --hs-value: #fff;
  --hs-muted: rgba(255, 255, 255, .6);
  --hs-icon-color: #ffcf5a;
  --hs-field: rgba(3, 10, 30, .42);
  --hs-line: rgba(255, 255, 255, .08);
  --hs-line-hover: rgba(255, 255, 255, .2);
  --hs-sky: #ffcf5a;
  --hs-ring: 0 0 0 2px rgba(255, 207, 90, .55);
  --hs2-tile: rgba(3, 10, 30, .42);
  --hs2-tile-hover: rgba(3, 10, 30, .58);
  --hs2-tile-line: rgba(255, 255, 255, .07);
}
/* Pop-ups keep the light palette in both looks. */
#aviatripModernSearch.hs-style .hotel64-guests__popover,
#aviatripModernSearch.hs-style .hotel64-autocomplete,
#aviatripModernSearch.hs-style .hotel67-type__panel,
#aviatripModernSearch.hs-style .car58-autocomplete__panel,
#aviatripModernSearch.hs-style .at-flight-menu,
#aviatripModernSearch.hs-style dialog {
  --hs-ink: #10264a;
  --hs-label: #5a6e8c;
  --hs-value: #1b2130;
  --hs-muted: #8b9cb4;
  --hs-icon-color: #2d6be0;
  --hs-field: #f3f6fb;
  --hs-line: #e2e9f3;
  --hs-line-hover: #cbd9ef;
  --hs-blue: #1d5fd6;
  --hs-blue-deep: #0d43ad;
  --hs-sky: #3f8cff;
  --hs-ring: 0 0 0 3px rgba(29, 95, 214, .15);
  color: #10264a;
}

/* =====================================================================================================
   Shared by both looks: the form sits straight on the blue hero, so everything around the fields
   (trip type, notes, options, popular places, catalogue links) turns light.
   ===================================================================================================== */
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__surface,
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__surface > [role="tabpanel"],
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel64-search--home,
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-search--home {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Labels and values: the mock-up sizes and weights. */
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-field__label,
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel64-field > label,
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel64-field > span:not(.hotel64-field__icon),
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel64-guests__toggle > span,
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel67-type__toggle > span,
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-autocomplete > label,
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-label-row > label,
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-field > label {
  color: var(--hs-label) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-form .at-flight-field input,
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-date__button b,
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-travelers__value b,
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel64-field input:not([type="hidden"]):not(.av65-native-picker-input),
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel64-guests__toggle strong,
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel67-type__toggle strong,
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-input input:not([type="hidden"]):not(.av65-native-picker-input),
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-input select,
body #aviatripModernSearch.hs-style:not(#hs-x) .av65-picker-trigger__value {
  color: var(--hs-value) !important;
  -webkit-text-fill-color: var(--hs-value) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: -.005em !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .aviatrip-v2-search-card input::placeholder {
  color: var(--hs-muted) !important;
  -webkit-text-fill-color: var(--hs-muted) !important;
  font-weight: 400 !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-form .at-flight-date__button b[data-empty="true"],
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-autocomplete .car671-same-location-copy {
  color: var(--hs-muted) !important;
  -webkit-text-fill-color: var(--hs-muted) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-input select option { color: #1b2130; background: #fff; }

/* Trip type (one way / return) as a light segmented switch on the hero. */
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-trip {
  display: inline-flex !important;
  gap: 2px !important;
  padding: 4px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .1) !important;
  box-shadow: none !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-trip label span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, .84) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  transition: background .25s ease, color .25s ease !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-trip input:checked + span {
  background: #fff !important;
  color: var(--hs2-ink) !important;
  font-weight: 650 !important;
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .45) !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-advanced {
  background: transparent !important;
  color: rgba(255, 255, 255, .86) !important;
  font-weight: 600 !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-advanced:hover { color: #fff !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-advanced svg { color: inherit !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-error { color: #ffd2cc !important; }

/* Notes, options, popular places and links under the forms. */
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel64-integration-note,
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-search__note {
  border: 1px solid rgba(255, 255, 255, .14) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: rgba(255, 255, 255, .82) !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel64-integration-note p b { color: #fff !important; font-weight: 600 !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-search__note b { color: #fff !important; font-weight: 650 !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-search__note > span { background: rgba(255, 255, 255, .16) !important; color: #fff !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-same-toggle { color: rgba(255, 255, 255, .86) !important; font-weight: 500 !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-car-more > summary {
  border: 1px solid rgba(255, 255, 255, .16) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-car-more > summary:hover { background: rgba(255, 255, 255, .14) !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-search__popular > span { color: rgba(255, 255, 255, .72) !important; font-weight: 500 !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-search__popular > button {
  border: 1px solid rgba(255, 255, 255, .16) !important;
  background: rgba(255, 255, 255, .07) !important;
  color: #fff !important;
  font-weight: 500 !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-search__popular > button:hover,
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-search__popular > button:active { background: rgba(255, 255, 255, .16) !important; border-color: rgba(255, 255, 255, .3) !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__footer { border-color: rgba(255, 255, 255, .12) !important; background: transparent !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__footer a { color: rgba(255, 255, 255, .86) !important; font-weight: 600 !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__footer a:hover { color: #fff !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__footer a svg { color: inherit !important; }

/* Search buttons: flat colour, no light sweep. */
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-submit::after,
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel64-search__submit::after,
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-search__submit::after { display: none !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-submit,
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel64-search__submit,
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-search__submit {
  filter: none !important;
  font-weight: 650 !important;
  transition: background-color .2s ease, transform .18s var(--hs2-ease), box-shadow .2s ease !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .at-flight-submit strong,
body #aviatripModernSearch.hs-style:not(#hs-x) .hotel64-search__submit strong,
body #aviatripModernSearch.hs-style:not(#hs-x) .car58-search__submit strong { font-weight: 650 !important; }

/* Service switch: no coloured icon circles; icons follow the text colour. */
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab .aviatrip-v2-tab__icon,
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab.is-active .aviatrip-v2-tab__icon {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  transform: none !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab .aviatrip-v2-tab__icon svg { width: 18px !important; height: 18px !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab {
  color: rgba(255, 255, 255, .84) !important;
  box-shadow: none !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab strong {
  color: inherit !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
}
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab.is-active { color: var(--hs2-ink) !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab.is-active strong { font-weight: 650 !important; }
body #aviatripModernSearch.hs-style:not(#hs-x) .voyage-search__tablist:not(.hs-ready) > .aviatrip-v2-tab.is-active { background: #fff !important; }
body #aviatripModernSearch.hs-style .hs-pill { box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }

/* =====================================================================================================
   B — "ერთი ზოლი"
   ===================================================================================================== */
/* Service switch: one segmented control. */
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .voyage-search__tablist {
  display: inline-flex !important;
  gap: 4px !important;
  padding: 4px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .1) !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
}
#aviatripModernSearch.hs-style--bar .hs-pill { border-radius: 999px !important; }

/* Fields: charcoal text, no field icons, a soft grey hover. */
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-field__clear,
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-input__clear { background: #eef0f3 !important; color: #4b5363 !important; }
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-place__code { background: #f1f2f5 !important; color: #4b5363 !important; }
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-travelers > summary small { background: #f1f2f5 !important; color: #4b5363 !important; }
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-swap:not([hidden]),
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-swap {
  border: 1px solid #e1e4e9 !important;
  background: #fff !important;
  color: var(--hs2-ink) !important;
  box-shadow: 0 4px 12px -6px rgba(16, 24, 40, .3) !important;
}
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .aviatrip-v2-search-card :is(input, select):focus-visible { outline: none !important; }
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .voyage-search__surface :is(button, summary):focus-visible { outline-color: var(--hs2-btn) !important; }

/* Search buttons: brand blue, round ends. */
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-submit,
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__submit,
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__submit {
  border-radius: 999px !important;
  background: var(--hs2-btn) !important;
  color: #fff !important;
  box-shadow: none !important;
}
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-submit:hover,
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__submit:hover,
body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__submit:hover { background: var(--hs2-btn-hover) !important; box-shadow: none !important; }

/* Below 981px (phones and tablets) every field group is its own white rounded block on the hero. */
@media (max-width: 980px) {
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-route,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-dates,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-travelers > summary.at-flight-field,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-field,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__locations,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-autocomplete,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__details > .car58-field,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .voyage-car-more__fields > .car58-field {
    border-color: transparent !important;
    border-radius: 18px !important;
    background-color: #fff !important;
    box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .55) !important;
  }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__locations > .car58-autocomplete { box-shadow: none !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-dates .at-flight-field,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-date .at-flight-field { background: transparent !important; border-color: transparent !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-field:focus-within,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__details > .car58-field:focus-within,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .voyage-car-more__fields > .car58-field:focus-within {
    background: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 0 0 2px var(--hs2-gold) !important;
  }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-route .at-flight-field:focus-within,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__locations > .car58-autocomplete:focus-within { background: #fff !important; box-shadow: inset 0 0 0 2px var(--hs2-btn) !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-fields,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__main,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__form,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__details { gap: 8px !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-submit,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__submit,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__submit { border-radius: 18px !important; }
}

/* 981px and wider: all fields in one white rounded bar. */
@media (min-width: 981px) {
  /* The bar: flights and hotels use their row container; cars draw it behind the first grid row. */
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-fields,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__main {
    align-items: center !important;
    gap: 0 !important;
    padding: 6px !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 24px 50px -22px rgba(2, 8, 26, .65) !important;
    transition: background-color .2s ease !important;
  }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__form {
    position: relative !important;
    column-gap: 0 !important;
  }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__form::before {
    content: "" !important;
    position: absolute !important;
    grid-row: 1 / 2 !important;
    grid-column: 1 / -1 !important;
    inset: -6px !important;
    z-index: 0 !important;
    display: block !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 24px 50px -22px rgba(2, 8, 26, .65) !important;
    pointer-events: none !important;
    transition: background-color .2s ease;
  }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__form { margin-top: 0 !important; padding: 6px 6px 0 !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__form > *,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__locations > *,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__details > * { position: relative; z-index: 1; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__main > .hotel64-field--destination { z-index: 7 !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__main > .hotel64-field--guests,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__main > .hotel67-type { z-index: 6 !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__form > .car58-search__locations > .car58-autocomplete:first-child { z-index: 7; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__form > .car58-search__locations > .car58-autocomplete--dropoff { z-index: 6; }

  /* While a field is in use the bar turns light grey and that field lifts out in white. */
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-fields:has(.at-flight-route :focus-visible, .at-flight-route input:focus, .at-flight-travelers[open]),
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__main:has(.hotel64-field:focus-within) { background: #eceef2 !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__form:has(.car58-autocomplete:focus-within, .car58-search__details > .car58-field:focus-within)::before { background: #eceef2 !important; }

  /* Fields: transparent, round, separated by short hairlines. */
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__main > .hotel64-field,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-autocomplete,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__details > .car58-field {
    min-height: 60px !important;
    padding: 10px 22px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--hs2-divider) left center / 1px 30px no-repeat transparent !important;
    box-shadow: none !important;
  }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__main > .hotel64-field:first-child,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__locations > .car58-autocomplete:first-child { background: transparent !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__main > .hotel64-field:hover,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-autocomplete:hover,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__details > .car58-field:hover { background: var(--hs2-hover) !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__main > .hotel64-field:focus-within,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-autocomplete:focus-within,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__details > .car58-field:focus-within {
    background: #fff !important;
    border: 0 !important;
    box-shadow: 0 8px 22px -8px rgba(16, 24, 40, .3) !important;
  }
  /* No field icons in the bar; labels start at the edge. */
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-field__icon,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-input__icon,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-field__label svg { display: none !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-field > label,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-field > span:not(.hotel64-field__icon),
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-guests__toggle > span,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel67-type__toggle > span,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-autocomplete > label,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-label-row > label,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-field > label { padding-left: 0 !important; margin-bottom: 3px !important; }

  /* Flights: the route, both dates and travellers become segments of the bar. */
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-form { --af-height: 60px; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-route,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-dates {
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-dates,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-date + .at-flight-date,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-travelers { background: var(--hs2-divider) left center / 1px 30px no-repeat transparent !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-route .at-flight-field,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-date .at-flight-field,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-travelers > summary.at-flight-field {
    min-height: 60px !important;
    padding-left: 22px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-route .at-flight-field:hover,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-date .at-flight-field:hover,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-travelers > summary.at-flight-field:hover { background: var(--hs2-hover) !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-route .at-flight-field:focus-within,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-travelers[open] > summary.at-flight-field {
    background: #fff !important;
    box-shadow: 0 8px 22px -8px rgba(16, 24, 40, .3) !important;
  }

  /* Search buttons sit inside the bar. */
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-submit,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__submit,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__submit {
    align-self: center !important;
    min-height: 56px !important;
    height: 56px !important;
    margin-left: 6px !important;
    padding: 0 22px !important;
    gap: 8px !important;
    font-size: 15px !important;
  }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__submit { margin-right: 0 !important; }

  /* Rows under the bar keep their distance from it. */
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__form { row-gap: 16px !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-integration-note { margin-top: 16px !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-top { margin-bottom: 14px !important; }

  /* Car options opened under the bar: white rounded fields. */
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .voyage-car-more__fields > .car58-field {
    border: 0 !important;
    border-radius: 18px !important;
    background: #fff !important;
  }
}

/* Tablets: a hairline between the two flight dates in their shared block. */
@media (min-width: 768px) and (max-width: 980px) {
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-date + .at-flight-date { background: var(--hs2-divider) left center / 1px 30px no-repeat transparent !important; }
}

/* Phones: segmented switch with words only; blocks a little tighter. */
@media (max-width: 767px) {
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .voyage-search__tablist {
    display: flex !important;
    width: 100% !important;
  }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab {
    flex: 1 1 auto !important;
    justify-content: center !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 6px !important;
  }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab .aviatrip-v2-tab__icon { display: none !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab strong { font-size: 13px !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-trip { display: flex !important; width: 100% !important; margin-bottom: 10px !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-trip label { flex: 1 1 0 !important; }
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .at-flight-submit,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .hotel64-search__submit,
  body #aviatripModernSearch.hs-style--bar:not(#hs-x) .car58-search__submit { min-height: 56px !important; }
}

/* =====================================================================================================
   C — "მუქი მინა"
   ===================================================================================================== */
/* The panel: see-through dark glass. The blur sits on a pseudo-element so the form's fixed
   bottom sheets on phones stay anchored to the screen (a filter on the panel itself would trap them). */
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-search__surface {
  position: relative !important;
  isolation: isolate;
  padding: 12px !important;
  border-radius: 24px !important;
}
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-search__surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: inherit;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

/* Service switch: separate glass chips; the chosen one turns white. */
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-search__tablist {
  display: inline-flex !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, .07) !important;
}
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab:hover { background: rgba(255, 255, 255, .13) !important; }
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-search__tablist.hs-ready > .aviatrip-v2-tab.is-active { border-color: transparent !important; background: transparent !important; }
#aviatripModernSearch.hs-style--glass .hs-pill { border-radius: 13px !important; }

/* Tiles: every field is a dark tile inside the glass. */
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-route,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-date .at-flight-field,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-travelers > summary.at-flight-field,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel64-field,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__locations,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-autocomplete,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__details > .car58-field,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-car-more__fields > .car58-field {
  border-color: var(--hs2-tile-line) !important;
  background-color: var(--hs2-tile) !important;
  box-shadow: none !important;
}
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-route .at-flight-field { background-color: transparent !important; border-color: transparent !important; }
/* Phones and tablets group some fields in one tile (both places; on phones also both dates). */
@media (max-width: 980px) {
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__locations { border-radius: 16px !important; }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__locations > .car58-autocomplete { background-color: transparent !important; border-color: transparent !important; }
}
@media (max-width: 767px) {
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-dates { border-color: var(--hs2-tile-line) !important; background-color: var(--hs2-tile) !important; }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-dates .at-flight-field { background-color: transparent !important; border-color: transparent !important; }
}
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-date .at-flight-field:hover,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-route .at-flight-field:hover,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-travelers > summary.at-flight-field:hover,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel64-field:hover,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-autocomplete:hover,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__details > .car58-field:hover,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-car-more__fields > .car58-field:hover { background-color: var(--hs2-tile-hover) !important; border-color: var(--hs-line-hover) !important; }
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-field:focus-within,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel64-field:focus-within,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-autocomplete:focus-within,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__details > .car58-field:focus-within,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-car-more__fields > .car58-field:focus-within {
  background-color: var(--hs2-tile-hover) !important;
  border-color: transparent !important;
  box-shadow: var(--hs-ring) !important;
}
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-input:focus-within,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-route .at-flight-field:focus-within { background: transparent !important; box-shadow: none !important; }
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-route:focus-within,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__locations:focus-within { box-shadow: var(--hs-ring) !important; }
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-route .at-flight-place + .at-flight-place,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-route .at-flight-swap + .at-flight-place,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__locations > .car58-autocomplete + .car58-autocomplete { border-color: rgba(255, 255, 255, .1) !important; }
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-dates .at-flight-date + .at-flight-date { border-color: rgba(255, 255, 255, .1) !important; }

/* Small parts on dark. */
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel64-field__clear,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-input__clear { background: rgba(255, 255, 255, .14) !important; color: #fff !important; }
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-place__code { background: rgba(255, 207, 90, .16) !important; color: var(--hs2-gold) !important; }
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-travelers > summary small { background: rgba(255, 255, 255, .12) !important; color: rgba(255, 255, 255, .86) !important; }
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-travelers__value svg,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel67-type__toggle i { color: rgba(255, 255, 255, .72) !important; }
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-swap:not([hidden]),
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-swap {
  border: 1px solid rgba(255, 255, 255, .22) !important;
  background: #1a3164 !important;
  color: #fff !important;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6) !important;
}
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-input input::-webkit-calendar-picker-indicator,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel64-field input::-webkit-calendar-picker-indicator { filter: invert(1); }
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-input input,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-input select { color-scheme: dark; }

/* Search buttons: white with dark text. */
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-submit,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel64-search__submit,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__submit {
  border-radius: 16px !important;
  background: #fff !important;
  color: var(--hs2-ink) !important;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .7) !important;
}
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-submit svg,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel64-search__submit svg,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__submit svg { color: var(--hs2-ink) !important; }
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-submit:hover,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel64-search__submit:hover,
body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__submit:hover { background: #eef0f4 !important; }

@media (min-width: 768px) {
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel64-search__main,
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-fields { gap: 8px !important; }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__form { column-gap: 8px !important; }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-top { margin-bottom: 10px !important; }
}

@media (max-width: 767px) {
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-search__surface { padding: 8px !important; border-radius: 22px !important; }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-search__tablist {
    display: flex !important;
    gap: 6px !important;
    width: 100% !important;
  }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab {
    flex: 1 1 auto !important;
    justify-content: center !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
  }
  #aviatripModernSearch.hs-style--glass .hs-pill { border-radius: 12px !important; }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab .aviatrip-v2-tab__icon { display: none !important; }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-search__tablist > .aviatrip-v2-tab strong { font-size: 13px !important; }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-trip { display: flex !important; width: 100% !important; margin-bottom: 8px !important; }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-trip label { flex: 1 1 0 !important; }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-fields,
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel64-search__main,
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__form,
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__details { gap: 8px !important; }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-route,
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-dates,
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-travelers > summary.at-flight-field,
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel64-field,
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__locations,
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__details > .car58-field,
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .voyage-car-more__fields > .car58-field { border-radius: 15px !important; }
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .at-flight-submit,
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .hotel64-search__submit,
  body #aviatripModernSearch.hs-style--glass:not(#hs-x) .car58-search__submit { min-height: 54px !important; border-radius: 15px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #aviatripModernSearch.hs-style * { transition: none !important; }
}
