body{overflow-x:hidden;font-size:16px;line-height:28px;font-family: 'Inter', sans-serif !important;color:#000000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined', sans-serif;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    font-feature-settings: 'liga';
    font-display: swap;
    /* Consistent sizing to prevent button width changes */
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

/* Only hide if fonts aren't loaded yet */
.material-symbols-outlined {
    font-display: swap;
}

/* ── Flight hero page ─────────────────────────────────────────── */

/* Mobile: backdrop + close button hidden by default */
#flight-mobile-hero-backdrop { display: none; }
#flight-mobile-hero-close    { display: none; }

@media (max-width: 1023px) {
    /* Normal tablet/mobile page state: allow dropdowns to escape hero/card */
    #site-hero:not(.flight-mobile-hero--sheet) .flight-mobile-hero-scroll {
        overflow: visible !important;
        pointer-events: auto !important;
    }

    /* Show backdrop + close when the sheet is open */
    body.flight-mobile-hero-sheet-open #flight-mobile-hero-backdrop {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 0;
        background: rgba(15, 23, 42, 0.45);
    }
    body.flight-mobile-hero-sheet-open #flight-mobile-hero-close {
        display: flex;
    }

    /* Hero becomes a full-screen animated sheet */
    #site-hero.flight-mobile-hero--sheet {
        position: fixed;
        inset: 0;
        z-index: 60;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        animation: flight-mobile-hero-in 0.38s cubic-bezier(0.32, 0.72, 0, 1) both;
    }

    /* Sheet state still needs its own scrolling container */
    #site-hero.flight-mobile-hero--sheet .flight-mobile-hero-scroll {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain;
    }
}

@keyframes flight-mobile-hero-in {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    #site-hero.flight-mobile-hero--sheet { animation: none !important; }
}

/* Multi-city (desktop): let hero grow instead of clipping */
@media (min-width: 1024px) {
    #site-hero.site-hero--multi-trip:not(.flight-mobile-hero--sheet) {
        height: auto !important;
        min-height: 0 !important;
    }
    #site-hero.site-hero--multi-trip:not(.flight-mobile-hero--sheet) .site-hero-inner {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

/* Inputs Auto Fill Background Color Remove */
input:-webkit-autofill,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #F7F8F8 inset !important;
  -webkit-text-fill-color: #5b616e !important;
}
/* Search autocomplete: show full destination/location names instead of clipping them on desktop. */
.search-autocomplete-list .truncate,
.search-autocomplete-list .search-autocomplete-name,
.search-autocomplete-list .search-autocomplete-meta {
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.25rem;
}

.search-autocomplete-list .input-dropdown-item,
.search-autocomplete-list .search-autocomplete-row {
    align-items: flex-start;
}

.search-autocomplete-list .search-autocomplete-code,
.search-autocomplete-list [x-text="a.id"] {
    margin-top: 0.125rem;
}

@media (min-width: 768px) {
    .input-dropdown-content.search-autocomplete-list,
    .search-autocomplete-list.input-dropdown-content {
        max-height: 360px;
    }
}
