/*
 * Gazova flight results + booking journey (FLIGHT-UX-01; palette + results/filters/details redesign FLIGHT-UX-05).
 * Scoped to .fr-* (results), .fj-* (journey) and .tc-* (TravelCart seam).
 * Intentionally independent from the cinematic intro (.vip-preloader) styles.
 */
:root {
    /* FLIGHT-UX-05 palette: warm white, ink and gold (no navy). Token names kept for the journey styles. */
    --fr-navy: #16140F;
    --fr-navy-hover: #2C2820;
    --fr-gold: #B8902F;
    --fr-gold-ink: #8A5A0B;
    --fr-gold-soft: #FBF0D6;
    --fr-cream: #FBFAF6;
    --fr-bg: #F7F5F0;
    --fr-surface: #FFFFFF;
    --fr-ink: #16140F;
    --fr-ink-soft: #3A362D;
    --fr-muted: #6F6A60;
    --fr-faint: #8F897D;
    --fr-line: #E8E3D8;
    --fr-line-soft: #EEE9DF;
    --fr-pos: #2F6B3A;
    --fr-pos-soft: #E6F2E8;
    --fr-neg: #94402F;
    --fr-neg-soft: #FBEFEC;
    --fr-warn: #8A5A0B;
    --fr-warn-soft: #FBF0D6;
    --fr-info: #6F6A60;
    --fr-info-soft: #F4F1EA;
    --fr-radius: 18px;
    --fr-shadow: 0 1px 2px rgba(22, 20, 15, .04), 0 6px 20px rgba(22, 20, 15, .04);
    --fr-shadow-lift: 0 2px 4px rgba(22, 20, 15, .05), 0 14px 34px rgba(22, 20, 15, .08);
}

.fr-sr {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.fr-ico { flex: 0 0 auto; display: inline-block; vertical-align: middle; }

/* ------------------------------------------------------------ buttons */

.fr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.005em;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
    white-space: nowrap;
}
.fr-btn--primary { background: var(--fr-navy); color: #F7F0DD; box-shadow: none; }
.fr-btn--primary:hover { background: var(--fr-navy-hover); }
.fr-btn--ghost { background: var(--fr-surface); color: var(--fr-ink); border-color: var(--fr-line); }
.fr-btn--ghost:hover { border-color: #cfc9b8; background: var(--fr-cream); }
.fr-btn--sm { min-height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.fr-btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }

.fr-card :focus-visible,
.fj :focus-visible,
.fr-dialog :focus-visible {
    outline: 2px solid #B8902F;
    outline-offset: 2px;
}

/* --------------------------------------------------------- result card */

.list { display: flex; flex-direction: column; gap: 14px; }

.fr-logo {
    position: relative;
    width: var(--fr-logo, 40px);
    height: var(--fr-logo, 40px);
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--fr-cream);
    border: 1px solid var(--fr-line-soft);
    overflow: hidden;
    display: inline-flex;
}
.fr-logo img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: contain; background: #fff; }
.fr-logo__mono {
    margin: auto;
    font-size: 12px;
    font-weight: 800;
    color: var(--fr-gold-ink);
    letter-spacing: .04em;
}

/* Booking-journey review facts (shared .fr-fact styles). */
.fr-facts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.fr-fact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--fr-ink-soft);
    line-height: 1.35;
}
.fr-fact .fr-ico { color: var(--fr-gold-ink); }
.fr-fact strong { font-weight: 700; color: var(--fr-ink); }
.fr-fact--none, .fr-fact--muted { color: var(--fr-muted); }
.fr-fact--none .fr-ico, .fr-fact--muted .fr-ico { color: #9aa1ad; }
.fr-fact--paid { color: var(--fr-warn); }
.fr-fact--paid .fr-ico { color: var(--fr-warn); }

.fr-conditions { display: flex; flex-wrap: wrap; gap: 6px; }
.fr-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    border: 1px solid transparent;
}
.fr-badge--pos { background: var(--fr-pos-soft); color: var(--fr-pos); border-color: #cfe9dc; }
.fr-badge--neg { background: var(--fr-neg-soft); color: var(--fr-neg); border-color: #f4d3cf; }
.fr-badge--warn { background: var(--fr-warn-soft); color: var(--fr-warn); border-color: #f3dfb8; }

/* ---------------------------------------------------- package comparison */

.fr-pkgs-drawer {
    padding: 20px 24px;
    border-top: 1px solid var(--fr-line-soft);
    background: var(--fr-cream);
}
.fr-pkgs-drawer[hidden] { display: none; }

.fr-pkgs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.fr-pkgs__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.fr-pkgs__title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.fr-pkgs__title {
    margin: 4px 0 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--fr-ink);
}
.fr-pkgs__sub {
    margin: 0;
    font-size: 13px;
    color: var(--fr-muted);
    line-height: 1.45;
}
.fr-pkgs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.fr-pkg-card {
    display: flex;
    flex-direction: column;
    padding: 18px;
    background: var(--fr-surface);
    border: 1px solid var(--fr-line);
    border-radius: 14px;
    box-shadow: var(--fr-shadow);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.fr-pkg-card:hover {
    border-color: #cfc9b8;
    box-shadow: var(--fr-shadow-lift);
}
.fr-pkg-card.is-selected {
    border-color: var(--fr-navy);
    box-shadow: 0 0 0 1px var(--fr-navy), var(--fr-shadow-lift);
}
.fr-pkg-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.fr-pkg-card__name-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.fr-pkg-card__name {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--fr-ink);
}
.fr-pkg-card__cabin {
    font-size: 12px;
    font-weight: 600;
    color: var(--fr-muted);
}
.fr-pkg-card__delta {
    font-size: 12px;
    font-weight: 800;
    color: var(--fr-navy);
    background: #e9f0f8;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}
.fr-pkg-card__delta.is-base {
    color: var(--fr-pos);
    background: var(--fr-pos-soft);
}
.fr-pkg-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--fr-line-soft);
}
.fr-pkg-card__amount {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.025em;
    color: var(--fr-ink);
}
.fr-pkg-card__per-pax {
    font-size: 12px;
    color: var(--fr-muted);
}
.fr-pkg-card__features {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}
.fr-pkg-feat {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--fr-ink-soft);
    line-height: 1.4;
}
.fr-pkg-feat .fr-ico {
    margin-top: 2px;
    flex: 0 0 auto;
}
.fr-pkg-feat--pos .fr-ico { color: var(--fr-pos); }
.fr-pkg-feat--warn .fr-ico { color: var(--fr-warn); }
.fr-pkg-feat--neg .fr-ico { color: var(--fr-neg); }
.fr-pkg-feat--info .fr-ico { color: var(--fr-muted); }
.fr-pkg-card__action {
    margin-top: auto;
}
.fr-pkg-select {
    width: 100%;
}
.fr-pkg-select.is-selected {
    background: var(--fr-cream);
    color: var(--fr-navy);
    border-color: var(--fr-line);
    cursor: default;
}

.fr-pkg-single {
    padding: 18px 20px;
    border: 1px solid var(--fr-line);
    border-radius: 14px;
    background: var(--fr-surface);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fr-pkg-single__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.fr-pkg-single__title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.fr-pkg-single__title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--fr-ink);
}
.fr-pkg-single__price strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--fr-ink);
}
.fr-pkg-card__features--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
}
.fr-pkg-single__note {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--fr-muted);
}
.fj-pkg-wrap {
    margin-top: 6px;
}

/* ------------------------------------------------------- selection state */

.fr-status:empty { display: none; }
.fr-status { padding: 0 24px 16px; background: var(--fr-cream); }
.fr-state {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--fr-line);
    background: var(--fr-surface);
    font-size: 13px;
    color: var(--fr-ink-soft);
}
.fr-state > div:first-of-type { display: flex; flex-direction: column; gap: 2px; flex: 1 1 220px; min-width: 0; }
.fr-state strong { color: var(--fr-ink); font-size: 14px; }
.fr-state__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.fr-state--selected { border-color: #ecdcae; background: var(--fr-gold-soft); }
.fr-state--selected > .fr-ico { color: var(--fr-gold-ink); }
.fr-state--verified { border-color: #cfe9dc; background: var(--fr-pos-soft); }
.fr-state--verified > .fr-ico { color: var(--fr-pos); }
.fr-state--changed { border-color: #f3dfb8; background: var(--fr-warn-soft); }
.fr-state--changed > .fr-ico { color: var(--fr-warn); }
.fr-state--error { border-color: #f4d3cf; background: var(--fr-neg-soft); }
.fr-state--error > .fr-ico { color: var(--fr-neg); }
.fr-state--verifying { color: var(--fr-info); background: var(--fr-info-soft); border-color: #d9e3ef; font-weight: 600; }

.fr-spinner {
    width: 16px; height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(47, 74, 107, .25);
    border-top-color: var(--fr-info);
    animation: frSpin .8s linear infinite;
}
@keyframes frSpin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------- drawer */

.fr-drawer__section h4,
.fj-panel h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fr-ink);
}
.fr-drawer__section h4 .fr-ico, .fj-panel h4 .fr-ico { color: var(--fr-gold-ink); }

.fr-empty-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--fr-cream);
    border: 1px solid var(--fr-line-soft);
    font-size: 13px;
    color: var(--fr-muted);
    line-height: 1.5;
}

/* timeline */
.fr-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fr-tl__segment {
    position: relative;
    padding: 14px 16px;
    border: 1px solid var(--fr-line-soft);
    border-radius: 14px;
    background: var(--fr-surface);
}
.fr-tl__carrier { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fr-muted); margin-bottom: 12px; line-height: 1.4; }
.fr-tl__carrier strong { color: var(--fr-ink); }
.fr-tl__carrier em { display: block; font-style: normal; font-size: 12px; }
.fr-tl__stop {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    padding-left: 0;
}
.fr-tl__stop--dep { padding-bottom: 14px; }
.fr-tl__stop--dep::after {
    content: '';
    position: absolute;
    left: 66px; top: 22px; bottom: 2px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, #d8d2c2 0 4px, transparent 4px 8px);
}
.fr-tl__stop time { font-size: 17px; font-weight: 700; color: var(--fr-ink); font-variant-numeric: tabular-nums; }
.fr-tl__stop time sup { font-size: 10px; color: var(--fr-warn); margin-left: 2px; }
.fr-tl__stop > div { display: flex; flex-direction: column; gap: 1px; padding-left: 16px; min-width: 0; }
.fr-tl__stop strong { font-size: 14px; color: var(--fr-ink); letter-spacing: .04em; }
.fr-tl__stop span { font-size: 13px; color: var(--fr-ink-soft); overflow-wrap: anywhere; }
.fr-tl__stop small { font-size: 12px; color: var(--fr-muted); }
.fr-tl__terminal { font-size: 11px; font-weight: 700; color: var(--fr-muted); letter-spacing: .04em; }
.fr-tl__layover, .fr-tl__leg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--fr-warn-soft);
    color: var(--fr-warn);
    font-size: 13px;
}
.fr-tl__leg { background: var(--fr-info-soft); color: var(--fr-info); align-items: center; font-weight: 600; }
.fr-tl__layover > div { display: flex; flex-direction: column; gap: 4px; }
.fr-tl__layover strong { color: #6b4300; }
.fr-tl__layover span { color: var(--fr-ink-soft); }
.fr-flag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; margin: 0; }
.fr-flag--warn { color: var(--fr-warn); }
.fr-flag--info { color: var(--fr-info); margin-top: 8px; }

/* baggage / rules / amenities */
.fr-bags, .fr-rules, .fr-amenities { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fr-bag, .fr-rule, .fr-amenity {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--fr-cream);
    border: 1px solid var(--fr-line-soft);
}
.fr-bag > div, .fr-rule > div, .fr-amenity > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fr-bag strong, .fr-rule strong, .fr-amenity strong { font-size: 13px; color: var(--fr-ink); }
.fr-bag span, .fr-rule span, .fr-amenity span { font-size: 13px; color: var(--fr-ink-soft); line-height: 1.45; overflow-wrap: anywhere; }
.fr-bag > .fr-ico, .fr-amenity > .fr-ico { color: var(--fr-gold-ink); margin-top: 1px; }
.fr-bag--none > .fr-ico, .fr-bag--unknown > .fr-ico, .fr-amenity.is-off > .fr-ico { color: #a3a9b4; }
.fr-bag--none span, .fr-bag--unknown span, .fr-amenity.is-off span { color: var(--fr-muted); }
.fr-bag--paid > .fr-ico { color: var(--fr-warn); }
.fr-rule > .fr-ico { margin-top: 2px; }
.fr-rule--pos > .fr-ico { color: var(--fr-pos); }
.fr-rule--neg > .fr-ico { color: var(--fr-neg); }
.fr-rule--warn > .fr-ico { color: var(--fr-warn); }
.fr-rule--info > .fr-ico { color: var(--fr-info); }
.fr-conditions--drawer { margin-bottom: 10px; }
.fr-amenities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ----------------------------------------------------------- dialog */

.fr-dialog {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(11, 23, 42, .55);
    backdrop-filter: blur(2px);
}
.fr-dialog[hidden] { display: none; }
.fr-dialog__panel {
    width: min(440px, 100%);
    background: var(--fr-surface);
    border-radius: 20px;
    padding: 26px 24px 22px;
    box-shadow: 0 30px 80px rgba(11, 23, 42, .35);
    text-align: center;
}
.fr-dialog__panel:focus { outline: none; }
.fr-dialog__icon {
    display: inline-flex;
    width: 46px; height: 46px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--fr-warn-soft);
    color: var(--fr-warn);
}
.fr-dialog__panel h2 { margin: 14px 0 8px; font-size: 20px; letter-spacing: -.02em; color: var(--fr-ink); }
.fr-dialog__panel p { margin: 0; font-size: 15px; color: var(--fr-ink-soft); line-height: 1.55; }
.fr-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0 20px;
}
.fr-compare > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border-radius: 14px;
    background: var(--fr-cream);
    border: 1px solid var(--fr-line-soft);
}
.fr-compare span { font-size: 12px; color: var(--fr-muted); font-weight: 600; }
.fr-compare s { font-size: 20px; color: var(--fr-muted); font-weight: 700; }
.fr-compare strong { font-size: 22px; color: var(--fr-ink); font-weight: 800; }
.fr-compare__new.is-up { border-color: #f3dfb8; background: var(--fr-warn-soft); }
.fr-compare__new.is-down { border-color: #cfe9dc; background: var(--fr-pos-soft); }
.fr-dialog__actions { display: flex; flex-direction: column; gap: 8px; }
.fr-dialog__actions .fr-btn { width: 100%; }

/* ======================================================= booking journey */

html.flight-journey-open body > .fs-top,
html.flight-journey-open body > .content-layout { display: none; }

.fj[hidden] { display: none; }
.fj {
    background: var(--fr-cream);
    min-height: 100vh;
    padding: 0 0 48px;
}
.fj-shell { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.fj-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 0 14px;
}
.fj-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 12px 0 8px;
    border-radius: 10px;
    border: 1px solid var(--fr-line);
    background: var(--fr-surface);
    color: var(--fr-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.fj-back .fr-ico { transform: rotate(90deg); }
.fj-brand { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--fr-gold-ink); }

.fj-stepper {
    list-style: none;
    margin: 0 0 22px;
    padding: 6px;
    display: flex;
    gap: 6px;
    background: var(--fr-surface);
    border: 1px solid var(--fr-line);
    border-radius: 16px;
}
.fj-stepper__item {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 6px 12px;
    border-radius: 11px;
    color: var(--fr-muted);
    font-size: 14px;
    font-weight: 700;
    min-width: 0;
}
.fj-stepper__dot {
    width: 26px; height: 26px;
    flex: 0 0 auto;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    background: #efece4;
    color: var(--fr-ink-soft);
}
.fj-stepper__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fj-stepper__item.is-active { background: var(--fr-navy); color: #fff; }
.fj-stepper__item.is-active .fj-stepper__dot { background: var(--fr-gold); color: #1d1606; }
.fj-stepper__item.is-done { color: var(--fr-ink); }
.fj-stepper__item.is-done .fj-stepper__dot { background: var(--fr-pos-soft); color: var(--fr-pos); }

.fj-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    align-items: start;
}
.fj-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.fj-aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; }
.fj-aside__title { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--fr-muted); }
.fj-aside__note { margin: 0; font-size: 12px; color: var(--fr-muted); line-height: 1.55; }

.fj-step[hidden] { display: none; }
.fj-step { display: flex; flex-direction: column; gap: 18px; }
.fj-step__head h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--fr-ink);
    line-height: 1.15;
}
.fj-step__head h2:focus { outline: none; }
.fj-step__head p { margin: 8px 0 0; font-size: 15px; color: var(--fr-ink-soft); line-height: 1.55; max-width: 720px; }
.fj-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--fr-gold-ink); }

.fj-panel {
    background: var(--fr-surface);
    border: 1px solid var(--fr-line);
    border-radius: var(--fr-radius);
    padding: 20px;
    box-shadow: var(--fr-shadow);
    min-width: 0;
}
.fj-panel__hint { margin: -6px 0 12px; font-size: 13px; color: var(--fr-muted); }

/* step 1 */
.fj-flight { display: flex; flex-direction: column; gap: 16px; }
.fj-flight__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    background: var(--fr-surface);
    border: 1px solid var(--fr-line);
    border-radius: var(--fr-radius);
    padding: 20px;
    box-shadow: var(--fr-shadow);
}
.fj-flight__head h3 { margin: 0; font-size: 24px; letter-spacing: -.02em; color: var(--fr-ink); }
.fj-flight__sub { margin: 4px 0 0; font-size: 14px; color: var(--fr-ink-soft); line-height: 1.5; }
.fj-flight__price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.fj-flight__price span, .fj-flight__price small { font-size: 12px; color: var(--fr-muted); }
.fj-flight__price strong { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--fr-ink); white-space: nowrap; }
.fj-flight__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.fj-flight__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.fr-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid;
    font-size: 13px;
    line-height: 1.5;
}
.fr-notice > div { display: flex; flex-direction: column; gap: 3px; }
.fr-notice strong { font-size: 14px; }
.fr-notice--info { background: var(--fr-info-soft); border-color: #d9e3ef; color: var(--fr-info); }
.fr-notice--info span { color: var(--fr-ink-soft); }
.fr-notice--pos { background: var(--fr-pos-soft); border-color: #cfe9dc; color: var(--fr-pos); }
.fr-notice--warn { background: var(--fr-warn-soft); border-color: #f3dfb8; color: var(--fr-warn); }
.fr-notice__expiry { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }

/* step 2 */
.fj-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fj-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fj-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fj-field label, .fj-field .fj-label { font-size: 13px; font-weight: 700; color: var(--fr-ink); }
.fj-field small { font-size: 12px; color: var(--fr-muted); }
.fj-field input, .fj-field select {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #d9d4c7;
    background: #fff;
    font: inherit;
    font-size: 15px;
    color: var(--fr-ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.fj-field input:focus, .fj-field select:focus { outline: none; border-color: var(--fr-gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, .16); }
.fj-field input[aria-invalid="true"], .fj-field select[aria-invalid="true"] { border-color: var(--fr-neg); box-shadow: 0 0 0 3px rgba(180, 35, 24, .10); }
.fj-phone { display: grid; grid-template-columns: 158px minmax(0, 1fr); gap: 8px; }
.fj-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--fr-ink-soft);
    line-height: 1.5;
    cursor: pointer;
}
.fj-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--fr-navy); flex: 0 0 auto; }
.fj-check a { color: var(--fr-navy); font-weight: 600; }

.fj-pax-list { display: flex; flex-direction: column; gap: 14px; }
.fj-pax { border: 1px solid var(--fr-line); border-radius: 14px; padding: 18px; background: var(--fr-cream); }
.fj-pax__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.fj-pax__head h4 { margin: 0; font-size: 16px; color: var(--fr-ink); display: flex; align-items: center; gap: 8px; }
.fj-pax__tag { font-size: 12px; font-weight: 700; color: var(--fr-gold-ink); background: var(--fr-gold-soft); border-radius: 999px; padding: 4px 10px; }
.fj-segmented { display: inline-flex; gap: 6px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.fj-segmented legend { font-size: 13px; font-weight: 700; color: var(--fr-ink); margin-bottom: 6px; padding: 0; }
.fj-segmented label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #d9d4c7;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.fj-segmented input { accent-color: var(--fr-navy); }
.fj-segmented label:has(input:checked) { border-color: var(--fr-navy); box-shadow: inset 0 0 0 1px var(--fr-navy); }
.fj-more { margin-top: 14px; border-top: 1px dashed var(--fr-line); padding-top: 12px; }
.fj-more > summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--fr-navy);
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
}
.fj-more > summary::-webkit-details-marker { display: none; }
.fj-more > summary .fr-ico { transition: transform .2s ease; }
.fj-more[open] > summary .fr-ico { transform: rotate(180deg); }
.fj-more__body { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }

/* step 3 */
.fj-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--fr-line);
    border-radius: 12px;
    margin-top: 8px;
    cursor: pointer;
    background: #fff;
}
.fj-option:has(input:checked) { border-color: var(--fr-navy); box-shadow: inset 0 0 0 1px var(--fr-navy); }
.fj-option input { width: 18px; height: 18px; accent-color: var(--fr-navy); }
.fj-option__body { display: flex; flex-direction: column; gap: 2px; }
.fj-option__body strong { font-size: 14px; color: var(--fr-ink); }
.fj-option__body small { font-size: 12px; color: var(--fr-muted); }
.fj-option__price { font-weight: 800; color: var(--fr-ink); white-space: nowrap; }

/* step 4 */
.fj-review { display: flex; flex-direction: column; gap: 14px; }
.fj-review__block header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fj-review__block header h4 { margin-bottom: 10px; }
.fj-review__line { margin: 0; font-size: 15px; color: var(--fr-ink); }
.fj-review__muted { margin: 6px 0 0; font-size: 13px; color: var(--fr-muted); }
.fj-review__pax { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fj-review__pax li { display: flex; gap: 10px; align-items: center; }
.fj-review__pax li > span { display: flex; flex-direction: column; }
.fj-review__pax strong { font-size: 14px; color: var(--fr-ink); }
.fj-review__pax small { font-size: 12px; color: var(--fr-muted); }
.fj-review__pax .fr-ico { color: var(--fr-gold-ink); }
.fj-review__extras { list-style: none; margin: 0; padding: 0; }
.fj-review__extras li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 4px 0; }
.fj-review .fr-facts { margin-bottom: 10px; }
.fj-link {
    border: 0;
    background: none;
    padding: 4px 2px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--fr-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.fj-review__total { display: flex; flex-direction: column; gap: 8px; }
.fj-total-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--fr-ink-soft); }
.fj-total-row--grand { padding-top: 10px; margin-top: 2px; border-top: 1px solid var(--fr-line-soft); align-items: baseline; color: var(--fr-ink); font-weight: 700; }
.fj-total-row--grand strong { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.fj-review__total .fr-notice { margin-top: 6px; }
.fj-consents { display: flex; flex-direction: column; gap: 12px; }
.fj-payment {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--fr-cream);
    border: 1px dashed #d9d4c7;
    font-size: 13px;
    color: var(--fr-ink-soft);
    line-height: 1.55;
}
.fj-payment strong { display: block; color: var(--fr-ink); font-size: 14px; margin-bottom: 2px; }
.fj-payment .fr-ico { color: var(--fr-navy); margin-top: 2px; }
.fj-payment[hidden] { display: none; }

/* GZ-FLIGHT-SDK-PAY-01/02: payment card hosting Nuitee's Payment SDK form.
 * The card is a one-column grid with minmax(0, 1fr): a flex column (or a bare 1fr track) lets a child grow to its
 * min-content width, which is what pushed the Stripe form wider than the card. Nothing here hides overflow. */
.fj-pay[hidden] { display: none; }
.fj-pay {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; text-align: left;
}
.fj-pay > * { min-width: 0; }
.fj-pay__head { display: flex; align-items: center; gap: 10px; }
.fj-pay__lock { color: var(--fr-gold-ink); }
.fj-pay__title { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 500; color: var(--fr-ink); }
.fj-pay__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--fr-line-soft); font-size: 14px; color: var(--fr-ink-soft); }
.fj-pay__total strong { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; font-weight: 500; color: var(--fr-gold-ink); letter-spacing: -.01em; }
.fj-pay__cards { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.fj-pay__brands { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fj-pay__brands svg { display: block; }
.fj-pay__secure { margin: 0; font-size: 12px; color: var(--fr-muted); }
.fj-pay__note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--fr-muted); }
.fj-pay__status { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--fr-cream); border: 1px dashed #d9d4c7; font-size: 13px; color: var(--fr-ink-soft); }
.fj-pay__status[hidden] { display: none; }
/* Form box, submit button, spinner and error line: shared nuitee-payment.css (.gz-pay, GZ-HOTEL-SDK-PAY-01). */

/* Night: the card itself turns dark with html[data-theme="dark"] (same switch as the seat map); the Stripe form follows. */
html[data-theme="dark"] .fj-pay { background: #13100C; border-color: #3A3326; color: #F4EAD6; }
html[data-theme="dark"] .fj-pay__lock,
html[data-theme="dark"] .fj-pay__total strong { color: #E6C774; }
html[data-theme="dark"] .fj-pay__title { color: #F4EAD6; }
html[data-theme="dark"] .fj-pay__total { color: #D8CDB6; border-bottom-color: #3A3326; }
html[data-theme="dark"] .fj-pay__secure,
html[data-theme="dark"] .fj-pay__note { color: #B5AC9C; }
html[data-theme="dark"] .fj-pay__status { background: #1C1810; border-color: #3A3326; color: #D8CDB6; }
.fj-legal { margin: 0; font-size: 12px; color: var(--fr-muted); line-height: 1.55; }

.fj-error {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #f4d3cf;
    background: var(--fr-neg-soft);
    color: var(--fr-neg);
    font-size: 14px;
    font-weight: 600;
}
.fj-error[hidden] { display: none; }

.fj-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0 0;
}
.fj-actions__total { display: none; flex-direction: column; margin-right: auto; }
.fj-actions__total span { font-size: 11px; color: var(--fr-muted); font-weight: 600; }
.fj-actions__total strong { font-size: 18px; font-weight: 800; color: var(--fr-ink); white-space: nowrap; }
.fj-actions [data-journey-action="next"], .fj-actions [type="submit"] { margin-left: auto; min-width: 200px; }
.fj-actions [hidden] { display: none; }

/* TravelCart seam */
.tc-item {
    background: var(--fr-surface);
    border: 1px solid var(--fr-line);
    border-radius: var(--fr-radius);
    box-shadow: var(--fr-shadow);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.tc-item__head { display: flex; gap: 12px; align-items: flex-start; }
.tc-item__icon {
    width: 36px; height: 36px;
    flex: 0 0 auto;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fr-gold-soft);
    color: var(--fr-gold-ink);
}
.tc-item__head h4 { margin: 0; font-size: 18px; color: var(--fr-ink); letter-spacing: -.01em; }
.tc-item__kicker { margin: 0 0 2px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fr-muted); }
.tc-item__sub { margin: 2px 0 0; font-size: 13px; color: var(--fr-ink-soft); }
.tc-item__facts { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.tc-item__facts > div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.tc-item__facts dt { color: var(--fr-muted); }
.tc-item__facts dd { margin: 0; color: var(--fr-ink); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.tc-item__price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid var(--fr-line-soft); }
.tc-item__price span { font-size: 13px; color: var(--fr-muted); }
.tc-item__price strong { font-size: 22px; font-weight: 800; color: var(--fr-ink); letter-spacing: -.02em; }
.tc-item__expiry { display: flex; gap: 6px; align-items: center; margin: 0; font-size: 12px; color: var(--fr-muted); }
.tc-item__expiry--expired { color: var(--fr-warn); }
.tc-item__actions { display: flex; gap: 8px; }
.tc-item__actions .fr-btn { flex: 1 1 0; }

/* ============================================ results redesign (FLIGHT-UX-05) */

/* Warm full-bleed band behind the results; box-shadow paints edge to edge without horizontal scroll. */
.content-layout { position: relative; isolation: isolate; font-family: 'Manrope', system-ui, sans-serif; color: var(--fr-ink); }
.content-layout::before {
    content: '';
    position: absolute;
    inset: -28px 0;
    z-index: -1;
    background: var(--fr-bg);
    box-shadow: 0 0 0 100vmax var(--fr-bg);
    clip-path: inset(0 -100vmax);
}
.content-layout button { font-family: inherit; }

.fr-btn--outline { background: var(--fr-surface); color: var(--fr-ink); border-color: var(--fr-line); }
.fr-btn--outline:hover { border-color: #CFC7B6; }
.fr-link { padding: 2px 0; border: 0; background: none; color: var(--fr-ink); font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: underline; text-decoration-color: var(--fr-line); text-underline-offset: 3px; }
.fr-link:hover { text-decoration-color: var(--fr-gold); }
.content-layout :focus-visible { outline: 2px solid #B8902F; outline-offset: 2px; }

.content-layout .empty { border: 1px dashed var(--fr-line); border-radius: 18px; background: var(--fr-surface); color: var(--fr-muted); font-size: 15px; }

/* ----- page head */
.fr-results-head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 18px; }
.fr-results-head__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fr-results-title { margin: 0; color: var(--fr-ink); font-family: 'Playfair Display', Georgia, serif; font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: 0; text-wrap: balance; }
.fr-results-sub { margin: 6px 0 0; color: var(--fr-muted); font-size: 14px; }
.fr-results-head__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fr-results-count { margin: 0; color: var(--fr-ink); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fr-segment { display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: #EDE8DD; }
.fr-segment button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; color: var(--fr-muted); font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.fr-segment button[aria-pressed="true"] { background: var(--fr-surface); color: var(--fr-ink); box-shadow: 0 1px 2px rgba(22, 20, 15, .08), 0 2px 8px rgba(22, 20, 15, .06); }

/* ----- filters */
.sidebar.fr-filters { padding: 22px; border: 1px solid var(--fr-line); border-radius: 18px; background: var(--fr-surface); box-shadow: var(--fr-shadow); font-family: 'Manrope', system-ui, sans-serif; }
.fr-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.fr-filters__title { margin: 0; color: var(--fr-ink); font-size: 18px; font-weight: 800; }
.fr-filter { padding: 18px 0; border-bottom: 1px solid var(--fr-line-soft); }
.fr-filter:last-child { border-bottom: 0; padding-bottom: 0; }
.fr-filter__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 10px; }
.fr-filter__title { margin: 0 0 10px; color: var(--fr-ink); font-size: 14px; font-weight: 800; }
.fr-filter__head .fr-filter__title { margin: 0; }
.fr-filter__links { display: inline-flex; align-items: center; gap: 6px; color: var(--fr-faint); font-size: 12px; white-space: nowrap; }
.fr-filter__links .fr-link { font-size: 12px; }

.fr-switch-row { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.fr-switch-row__label { flex: 1 1 auto; min-width: 0; color: var(--fr-ink); font-size: 14px; font-weight: 600; }
.fr-switch-row__count { color: var(--fr-faint); font-size: 13px; font-variant-numeric: tabular-nums; }
.fr-switch-row:has(.fr-switch:not(:checked)) .fr-switch-row__label,
.fr-switch-row:has(.fr-switch:not(:checked)) .fr-airline-row__name { color: #A39C8E; }

/* iOS-style switch on a native checkbox (role="switch"). */
.fr-switch {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    flex: 0 0 auto;
    width: 44px;
    height: 26px;
    margin: 0;
    border-radius: 999px;
    background: #E7E2D7;
    box-shadow: inset 0 1px 3px rgba(22, 20, 15, .18);
    cursor: pointer;
    transition: background-color .28s ease, box-shadow .28s ease;
}
.fr-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(22, 20, 15, .25);
    transition: transform .28s cubic-bezier(.3, .7, .4, 1.35);
}
.fr-switch:checked {
    background: linear-gradient(180deg, #E2C26E, #B8902F);
    box-shadow: 0 0 0 3px rgba(217, 182, 94, .16), 0 0 14px rgba(217, 182, 94, .45);
}
.fr-switch:checked::after { transform: translateX(18px); }
.fr-switch:focus-visible { outline: 2px solid #B8902F; outline-offset: 3px; }

.fr-airline-row { align-items: center; padding: 4px 0; }
.fr-airline-row .fr-logo { --fr-logo: 28px; }
.fr-airline-row__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.fr-airline-row__name { overflow: hidden; color: var(--fr-ink); font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.fr-airline-row__from { color: var(--fr-faint); font-size: 12px; font-variant-numeric: tabular-nums; }

.fr-range { width: 100%; accent-color: #16140F; }
.fr-range-row { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; color: var(--fr-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.fr-range-row strong { color: var(--fr-ink); }

.fr-daypart { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fr-daypart__btn { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 52px; padding: 8px 12px; border: 1px solid var(--fr-line); border-radius: 12px; background: var(--fr-surface); color: var(--fr-ink); text-align: left; cursor: pointer; }
.fr-daypart__btn span { font-size: 14px; font-weight: 700; }
.fr-daypart__btn small { color: var(--fr-faint); font-size: 12px; font-variant-numeric: tabular-nums; }
.fr-daypart__btn[aria-pressed="true"] { border-color: #16140F; background: #16140F; color: #F7F0DD; }
.fr-daypart__btn[aria-pressed="true"] small { color: #CFC7B6; }

/* ----- card */
.list { gap: 16px; }
.fr-card { overflow: hidden; border: 1px solid var(--fr-line); border-radius: 18px; background: var(--fr-surface); box-shadow: var(--fr-shadow); transition: border-color .2s ease; }
.fr-card.is-panel-open { border-color: #16140F; }
.fr-card.is-selected { border-color: var(--fr-gold); box-shadow: 0 0 0 1px var(--fr-gold), var(--fr-shadow); }
.fr-card.is-unavailable { border-color: #F0D8D2; }
.fr-card__main { display: grid; grid-template-columns: 150px minmax(0, 1fr) 180px; align-items: center; gap: 24px; padding: 22px 24px; }

.fr-airline { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fr-airline .fr-logo { --fr-logo: 44px; }
.fr-airline__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fr-airline__name { margin: 0; overflow: hidden; color: var(--fr-ink); font-size: 15px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fr-airline__code, .fr-airline__extra { color: var(--fr-faint); font-size: 12px; line-height: 1.35; }

.fr-route { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; min-width: 0; }
.fr-point { display: flex; flex-direction: column; gap: 2px; }
.fr-point--end { align-items: flex-end; text-align: right; }
.fr-point__time { color: var(--fr-ink); font-size: 24px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fr-point__shift { margin-left: 2px; color: var(--fr-warn); font-size: 11px; font-weight: 700; vertical-align: super; }
.fr-point__code { color: var(--fr-muted); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.fr-path { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.fr-path__duration { color: var(--fr-muted); font-size: 12px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fr-path__line { position: relative; width: 100%; height: 12px; }
.fr-path__line::before { content: ''; position: absolute; top: 50%; right: 6px; left: 6px; height: 1.5px; margin-top: -.75px; background: var(--fr-line); }
.fr-path__start, .fr-path__end, .fr-path__stop { position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; box-sizing: border-box; }
.fr-path__start { left: 0; border: 2px solid var(--fr-ink); background: var(--fr-surface); }
.fr-path__end { right: 0; background: var(--fr-ink); }
.fr-path__stop { margin-left: -5px; border: 2px solid var(--fr-surface); background: var(--fr-gold); box-shadow: 0 0 0 1px var(--fr-gold); }
.fr-stops-pill { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.fr-stops-pill.is-direct { background: #E6F2E8; color: #2F6B3A; }
.fr-stops-pill.is-stops { background: #FBF0D6; color: #8A5A0B; }

.fr-offer { display: flex; flex-direction: column; gap: 10px; align-self: stretch; justify-content: center; padding-left: 24px; border-left: 1px solid var(--fr-line-soft); }
.fr-offer__price { display: flex; flex-direction: column; gap: 2px; }
.fr-offer__amount { color: var(--fr-ink); font-size: 26px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fr-offer__note { color: var(--fr-faint); font-size: 12px; line-height: 1.35; }
.fr-select { width: 100%; min-height: 46px; }
.fr-card.is-selected .fr-select { background: var(--fr-gold); color: #16140F; }
.fr-card.is-unavailable .fr-select { background: #EEE9DF; color: var(--fr-muted); }

.fr-card__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 16px; padding: 12px 24px; border-top: 1px solid var(--fr-line-soft); background: #FBFAF6; }
.fr-card__facts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.fr-product { color: var(--fr-muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.fr-product strong { color: var(--fr-ink); font-weight: 800; }
.fr-card__toggles { display: flex; align-items: center; gap: 8px; }
.fr-pkg-toggle, .fr-details-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--fr-line); border-radius: 999px; background: var(--fr-surface); color: var(--fr-ink); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.fr-pkg-toggle:hover, .fr-details-toggle:hover { border-color: #CFC7B6; }
.fr-pkg-toggle .fr-ico, .fr-details-toggle .fr-ico { transition: transform .25s ease; }
.fr-pkg-toggle[aria-expanded="true"], .fr-details-toggle[aria-expanded="true"] { border-color: #16140F; background: #16140F; color: #F7F0DD; }
.fr-pkg-toggle[aria-expanded="true"] .fr-ico, .fr-details-toggle[aria-expanded="true"] .fr-ico { transform: rotate(180deg); }

/* ----- VIP badges */
.fr-vip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
.fr-vip .fr-ico { width: 13px; height: 13px; }
.fr-vip--good { border-color: #CFE3D3; background: linear-gradient(180deg, #FFFFFF, #EEF6EF); color: #2B5E35; }
.fr-vip--good .fr-ico { color: #3C8A4C; }
.fr-vip--warn { border-color: #EBD9AE; background: linear-gradient(180deg, #FFFFFF, #FBF3E1); color: #7F5710; }
.fr-vip--warn .fr-ico { color: #B8902F; }
.fr-vip--no { border-color: #F0D8D2; background: linear-gradient(180deg, #FFFFFF, #FBEFEC); color: #94402F; }
.fr-vip--no .fr-ico { color: #C2604C; }
.fr-vip--deal { border: 0; background: linear-gradient(135deg, #E2C26E, #B8902F 60%, #9C7621); color: #FFFFFF; box-shadow: 0 2px 12px rgba(184, 144, 47, .38), inset 0 1px 0 rgba(255, 255, 255, .35); }
.fr-vip--deal .fr-ico { color: #FFFFFF; }
.fr-vip--muted { border-color: var(--fr-line); background: var(--fr-surface); color: var(--fr-muted); }
.fr-vip--muted .fr-ico { color: var(--fr-faint); }

/* ----- package panel */
.fr-pkgs-drawer { padding: 20px 24px 24px; border-top: 1px solid var(--fr-line-soft); background: var(--fr-surface); }
.fr-pkgs-drawer[hidden] { display: none; }
.fr-cpkgs__title { margin: 0 0 14px; color: var(--fr-ink); font-size: 15px; font-weight: 800; }
.fr-cpkgs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.fr-cpkg { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--fr-line); border-radius: 14px; background: var(--fr-surface); }
.fr-cpkg.is-selected { border: 2px solid #16140F; padding: 15px; }
.fr-cpkg__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.fr-cpkg__name { min-width: 0; color: var(--fr-ink); font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.fr-cpkg__delta { color: var(--fr-gold-ink); font-size: 12px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fr-cpkg__delta.is-base { color: var(--fr-faint); }
.fr-cpkg__price { color: var(--fr-ink); font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fr-cpkg__feats { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; }
.fr-cpkg__feat { display: flex; align-items: flex-start; gap: 7px; color: var(--fr-ink); font-size: 13px; line-height: 1.35; }
.fr-cpkg__feat .fr-ico { margin-top: 2px; color: var(--fr-ink); }
.fr-cpkg__feat.is-no { color: var(--fr-faint); }
.fr-cpkg__feat.is-fee .fr-ico { color: var(--fr-gold); }
.fr-cpkg__feat.is-no .fr-ico { color: var(--fr-faint); }
.fr-cpkg__btn { width: 100%; min-height: 42px; margin-top: auto; }
.fr-cpkg__btn.is-selected { opacity: 1; background: var(--fr-line-soft); color: var(--fr-muted); border-color: var(--fr-line-soft); }

/* ----- details panel */
.fr-drawer { padding: 22px 24px 20px; border-top: 1px solid var(--fr-line-soft); background: var(--fr-surface); }
.fr-drawer[hidden] { display: none; }
.fr-dd { display: flex; flex-direction: column; gap: 22px; }
.fr-dd__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; }
.fr-dd__side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.fr-dd__section { min-width: 0; }
.fr-dd__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; color: var(--fr-ink); font-size: 15px; font-weight: 800; }
.fr-dd__aircraft { color: var(--fr-muted); font-size: 13px; font-weight: 600; }
.fr-dd__note { margin: 8px 0 0; color: var(--fr-muted); font-size: 13px; line-height: 1.5; }
.fr-dd__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fr-dd__foot { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--fr-muted); font-size: 12px; }
.fr-dd__foot .fr-ico { color: var(--fr-pos); }

.fr-plan { display: flex; flex-direction: column; gap: 10px; }
.fr-plan__leg { padding: 14px 16px; border: 1px solid var(--fr-line); border-radius: 14px; }
.fr-plan__stop { display: grid; grid-template-columns: 52px 14px minmax(0, 1fr); gap: 0 10px; padding-bottom: 14px; }
.fr-plan__stop.is-arrival { padding-bottom: 8px; }
.fr-plan__time { color: var(--fr-ink); font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.fr-plan__time sup { margin-left: 2px; color: var(--fr-warn); font-size: 10px; }
.fr-plan__rail { position: relative; }
.fr-plan__rail::before { content: ''; position: absolute; top: 6px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border: 2px solid var(--fr-ink); border-radius: 50%; box-sizing: border-box; background: var(--fr-surface); }
.fr-plan__stop:not(.is-arrival) .fr-plan__rail::after { content: ''; position: absolute; top: 18px; bottom: -14px; left: 50%; border-left: 1.5px dashed #CFC7B6; }
.fr-plan__stop.is-arrival .fr-plan__rail::before { background: var(--fr-ink); }
.fr-plan__place { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fr-plan__city { color: var(--fr-ink); font-size: 14px; font-weight: 700; }
.fr-plan__airport { color: var(--fr-ink-soft); font-size: 13px; overflow-wrap: anywhere; }
.fr-plan__date { color: var(--fr-faint); font-size: 12px; }
.fr-plan__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding-top: 10px; border-top: 1px solid var(--fr-line-soft); color: var(--fr-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.fr-plan__meta .fr-logo { --fr-logo: 20px; }
.fr-plan__meta em { font-style: normal; color: var(--fr-faint); }
.fr-plan__layover { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 10px 14px; border: 1px solid #EBD9AE; border-radius: 12px; background: #FBF3E1; color: #7F5710; font-size: 13px; font-weight: 700; }
.fr-plan__layover-text { flex: 1 1 0; min-width: 0; }
.fr-plan__layover.is-leg { border-color: var(--fr-line); background: #FBFAF6; color: var(--fr-muted); }
.fr-plan__flag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; white-space: nowrap; }

.fr-bagrows { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.fr-bagrow { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fr-line-soft); }
.fr-bagrow:last-child { border-bottom: 0; }
.fr-bagrow__ico { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #F4F1EA; color: var(--fr-faint); }
.fr-bagrow.is-included .fr-bagrow__ico { background: #E6F2E8; color: #2F6B3A; }
.fr-bagrow.is-paid .fr-bagrow__ico { background: #FBF0D6; color: #8A5A0B; }
.fr-bagrow__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fr-bagrow__title { color: var(--fr-ink); font-size: 14px; font-weight: 700; }
.fr-bagrow__desc { color: var(--fr-muted); font-size: 12px; overflow-wrap: anywhere; }
.fr-bagrow__state { color: var(--fr-faint); font-size: 13px; font-weight: 700; text-align: right; white-space: nowrap; }
.fr-bagrow.is-included .fr-bagrow__state { color: #2F6B3A; }
.fr-bagrow.is-paid .fr-bagrow__state { color: #8A5A0B; }
.fr-rules--card { gap: 8px; }

.fr-amen-row + .fr-amen-row { margin-top: 14px; }
.fr-amen-row__head { margin: 0 0 8px; color: var(--fr-muted); font-size: 13px; font-weight: 700; }
.fr-amen-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.fr-amen { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 12px; border: 1px solid var(--fr-line); border-radius: 12px; background: var(--fr-surface); }
.fr-amen__ico { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #F4F1EA; color: var(--fr-faint); }
.fr-amen.is-free .fr-amen__ico { background: #E6F2E8; color: #2F6B3A; }
.fr-amen.is-paid .fr-amen__ico { background: #FBF0D6; color: #8A5A0B; }
.fr-amen.is-off, .fr-amen.is-unknown { background: #FBFAF6; }
.fr-amen__label { color: var(--fr-ink); font-size: 13px; font-weight: 700; }
.fr-amen__state { color: var(--fr-muted); font-size: 12px; line-height: 1.35; }
.fr-amen.is-off .fr-amen__label, .fr-amen.is-off .fr-amen__state, .fr-amen.is-unknown .fr-amen__state { color: var(--fr-faint); }

/* ---------------------------------------------------------- responsive */

@media (max-width: 1100px) {
    .fr-card__main { grid-template-columns: 140px minmax(0, 1fr) 170px; gap: 18px; padding: 20px; }
    .fr-offer { padding-left: 18px; }
    .fr-point__time { font-size: 22px; }
}

@media (max-width: 900px) {
    .fr-card__main { grid-template-columns: 1fr; gap: 16px; }
    .fr-offer { flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--fr-line-soft); }
    .fr-select { width: auto; min-width: 140px; }
    .fr-card__meta { grid-template-columns: 1fr; padding: 12px 20px; }
    .fr-card__toggles { flex-wrap: wrap; }
    .fr-dd__grid { grid-template-columns: 1fr; gap: 22px; }
    .fr-amen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fr-results-title { font-size: 32px; }
}

@media (max-width: 992px) {
    .fj-layout { grid-template-columns: 1fr; }
    .fj-aside { position: static; }
    .fj-aside__note { display: none; }
    .fj-flight__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .fr-card__main { padding: 16px; }
    .fr-route { gap: 10px; }
    .fr-point__time { font-size: 21px; }
    .fr-offer__amount { font-size: 22px; }
    .fr-card__meta { padding: 12px 16px; }
    .fr-card__toggles > button { flex: 1 1 0; justify-content: center; }
    .fr-status { padding: 0 16px 14px; }
    .fr-state__actions { width: 100%; margin-left: 0; }
    .fr-state__actions .fr-btn { flex: 1 1 auto; }
    .fr-drawer { padding: 16px; }
    .fr-amenities { grid-template-columns: 1fr; }
    .fr-pkgs-drawer { padding: 16px; }
    .fr-results-title { font-size: 28px; }
    .fr-pkgs__grid { grid-template-columns: 1fr; gap: 12px; }
    .fr-pkg-card { padding: 14px; }
    .fr-pkg-card__features--inline { flex-direction: column; gap: 8px; }
    .fr-pkg-single { padding: 14px; }

    .fj-shell { padding: 0 16px; }
    .fj-top { padding: 12px 0 10px; }
    .fj-brand { display: none; }
    .fj-stepper { gap: 4px; padding: 4px; margin-bottom: 16px; }
    .fj-stepper__item { padding: 6px; justify-content: center; flex: 0 0 auto; }
    .fj-stepper__item.is-active { flex: 1 1 auto; justify-content: flex-start; }
    .fj-stepper__item:not(.is-active) .fj-stepper__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .fj-step__head h2 { font-size: 23px; }
    .fj-panel { padding: 16px; }
    .fj-flight__head { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
    .fj-flight__price { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--fr-line-soft); padding-top: 10px; }
    .fj-grid-2, .fj-grid-3 { grid-template-columns: 1fr; }
    .fj-field input, .fj-field select { font-size: 16px; }
    .fj-phone { grid-template-columns: 136px minmax(0, 1fr); }
    .fj-pax { padding: 14px; }

    .fj { padding-bottom: 0; }
    .fj-actions {
        position: sticky;
        bottom: 0;
        z-index: 30;
        margin: 0 -16px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, .97);
        border-top: 1px solid var(--fr-line);
        box-shadow: 0 -10px 30px rgba(17, 24, 39, .08);
    }
    .fj-actions__total { display: flex; }
    .fj-actions [data-journey-action="prev"] { padding: 0 14px; }
    .fj-actions [data-journey-action="next"], .fj-actions [type="submit"] { min-width: 0; flex: 1 1 auto; margin-left: 0; }
}
 
@media (max-width: 480px) {
    .fr-card__main { padding: 14px; }
    .fr-card__meta { padding: 10px 14px; }
    .fr-point__time { font-size: 19px; }
    .fr-offer__amount { font-size: 20px; }
    .fr-path { gap: 4px; }
    .fr-path__duration, .fr-stops-pill { font-size: 11px; }
    .fr-plan__stop { grid-template-columns: 46px 14px minmax(0, 1fr); gap: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .fr-card, .fr-btn, .fr-details-toggle .fr-ico, .fj-more > summary .fr-ico { transition: none; }
    .fr-switch, .fr-switch::after, .fr-pkg-toggle, .fr-details-toggle, .fr-pkg-toggle .fr-ico { transition: none; }
    .fr-spinner { animation-duration: 2.4s; }
}

/* ================================== search page: header, form, popovers (FLIGHT-UX-05.1) */

.fs-top {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'Manrope', system-ui, sans-serif;
    color: var(--fr-ink);
}
.fs-top button, .fs-top input, .fs-top output { font-family: inherit; }
.fs-top :focus-visible { outline: 2px solid #B8902F; outline-offset: 2px; }
.fs-top [hidden] { display: none !important; }
.content-layout.is-pre-search { display: none; }

.fs-intro__title { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: 40px; font-weight: 500; line-height: 1.1; color: var(--fr-ink); }
.fs-intro__sub { margin: 6px 0 0; color: var(--fr-muted); font-size: 15px; }

/* ----- header card */
.fh { padding: 24px 28px; border: 1px solid var(--fr-line); border-radius: 22px; background: var(--fr-surface); box-shadow: var(--fr-shadow); }
.fh-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 24px; align-items: center; }
.fh-main { min-width: 0; }
.fh-title { margin: 0; color: var(--fr-ink); font-family: 'Playfair Display', Georgia, serif; font-size: 40px; font-weight: 500; line-height: 1.1; overflow-wrap: anywhere; }
.fh.is-entering .fh-title { animation: fhFade .8s ease both; }
.fh-sub { margin: 6px 0 0; color: var(--fr-muted); font-size: 15px; line-height: 1.45; }
.fh-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.fh-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 1px solid #EEE9DF; border-radius: 999px; background: #FBFAF6; color: var(--fr-ink); font-size: 12px; font-weight: 600; white-space: nowrap; }
.fh-pill .fr-ico { color: #B8902F; }

.fh-route { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.fh-route__svg { display: block; width: 100%; max-width: 420px; height: auto; overflow: visible; }
.fh-route__legend { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: baseline; gap: 8px; width: 100%; max-width: 420px; margin-top: 2px; padding: 0 2%; }
.fh-route__code { overflow: hidden; color: var(--fr-ink); font-size: 13px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; text-overflow: ellipsis; }
.fh-route__code--end { text-align: right; }
.fh-route__range { color: var(--fr-muted); font-size: 12px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fh-plane { fill: #16140F; }
.fh-wave { fill: none; stroke: #B8902F; stroke-width: 1.5; opacity: 0; }
.fh-trail.is-drawing { animation: fhDraw 3.2s cubic-bezier(.45, 0, .25, 1) forwards; }
.fh-glint { opacity: 0; transform-box: fill-box; transform-origin: center; animation: fhGlint .9s cubic-bezier(.3, .7, .4, 1.4) 3.2s forwards; }

.fh-actions { display: flex; flex-direction: column; gap: 10px; min-width: 210px; }
.fh-transfer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 16px 10px 10px;
    border-radius: 14px;
    background-color: #16140F;
    background-image: radial-gradient(120% 140% at 100% 0%, rgba(226, 194, 110, .24), rgba(226, 194, 110, 0) 55%);
    color: #FFFFFF;
    text-decoration: none;
    transition: background-color .18s ease;
}
.fh-transfer:hover { background-color: #2A241A; }
.fh-transfer:focus-visible { outline: 2px solid #B8902F; outline-offset: 3px; }
.fh-transfer > * { position: relative; z-index: 1; }
.fh-transfer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    background: linear-gradient(100deg, rgba(255, 236, 180, 0) 0%, rgba(255, 228, 160, .42) 50%, rgba(255, 236, 180, 0) 100%);
    transform: translateX(-130%) skewX(-18deg);
    pointer-events: none;
}
.fh-transfer.is-shining { animation: fhGlow 1.3s ease-out 3.3s 2 both; }
.fh-transfer.is-shining::after { animation: fhShine 1.1s ease-in-out 3.3s 2 both; }
.fh-transfer__ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #E2C26E, #B8902F); color: #16140F; }
.fh-transfer__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fh-transfer__text strong { font-size: 14px; font-weight: 700; white-space: nowrap; }
.fh-transfer__text small { color: #C9BFA9; font-size: 11px; white-space: nowrap; }
.fh-edit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 1px solid var(--fr-line); border-radius: 14px; background: #FFFFFF; color: var(--fr-ink); font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: border-color .18s ease; }
.fh-edit:hover { border-color: #CFC7B6; }
.fh-edit[aria-expanded="true"] { border-color: #16140F; }

/* ----- form card */
.fs-card { position: relative; padding: 22px; border: 1px solid var(--fr-line); border-radius: 22px; background: #FFFFFF; box-shadow: 0 18px 40px rgba(22, 20, 15, .06); }
.fs-card.is-collapsed { display: none; }
/* No fill mode: a filling transform animation would make the card the containing block of the fixed mobile sheet. */
.fs-card.is-opening { animation: fsSlide .2s ease-out; }
.fs-card .meta-info { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px; }

.fs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.fs-trip { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: #EDE8DD; }
.fs-trip__opt { position: relative; display: inline-flex; }
.fs-trip__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fs-trip__opt span { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px; border-radius: 999px; color: var(--fr-muted); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.fs-trip__opt input:checked + span { background: #FFFFFF; color: var(--fr-ink); font-weight: 700; box-shadow: 0 1px 2px rgba(22, 20, 15, .08), 0 2px 8px rgba(22, 20, 15, .07); }
.fs-trip__opt input:focus-visible + span { outline: 2px solid #B8902F; outline-offset: 2px; }
.fs-note { margin: 0; color: var(--fr-muted); font-size: 12px; }

.fs-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 40px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr) auto;
    gap: 8px;
    align-items: stretch;
}
.fs-field {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 64px;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid #E3DDD0;
    border-radius: 14px;
    background: #FFFFFF;
    color: var(--fr-ink);
    font: inherit;
    text-align: left;
    cursor: text;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.fs-field--btn { -webkit-appearance: none; appearance: none; cursor: pointer; }
.fs-field:hover { border-color: #B8902F; }
.fs-field:focus-within, .fs-field.is-active { border-color: #16140F; box-shadow: 0 0 0 3px rgba(184, 144, 47, .15); }
.fs-field__label { color: var(--fr-muted); font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.fs-field__value, .fs-field__input { overflow: hidden; color: var(--fr-ink); font-size: 16px; font-weight: 700; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.fs-field__value { display: block; max-width: 100%; }
.fs-field__input { width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; }
.fs-field__input:focus-visible { outline: 0; }
.fs-field__input::placeholder { color: #A39C8E; font-weight: 600; }
.fs-field__sub { display: block; max-width: 100%; min-height: 1.3em; overflow: hidden; color: var(--fr-muted); font-size: 12px; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.fs-field--ret.is-muted { background: #FBFAF6; }
.fs-field--ret.is-muted .fs-field__value { color: var(--fr-muted); }
.fs-field--btn:disabled { cursor: default; opacity: .6; }
.fs-field--btn:disabled:hover { border-color: #E3DDD0; }

.fs-top .auto-menu { z-index: 70; border-color: var(--fr-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(22, 20, 15, .12); }
.fs-top .auto-item.is-active, .fs-top .auto-item:hover { background: #FBFAF6; }

.fs-swap { align-self: center; justify-self: center; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #E3DDD0; border-radius: 50%; background: #FFFFFF; color: var(--fr-ink); cursor: pointer; transition: border-color .18s ease; }
.fs-swap:hover { border-color: #B8902F; }

.fs-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 0 26px; border: 0; border-radius: 14px; background: #16140F; color: #F7F0DD; font: inherit; font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background-color .18s ease, box-shadow .18s ease; }
.fs-submit__ico { flex: none; color: #E2C26E; }
.fs-submit:hover { background: #2A241A; box-shadow: inset 0 0 0 1px rgba(226, 194, 110, .4); }
.fs-submit[disabled] { cursor: progress; }

/* ----- popovers (calendar, passengers) */
.fs-pop { position: absolute; z-index: 60; padding: 18px; border: 1px solid var(--fr-line); border-radius: 18px; background: #FFFFFF; box-shadow: 0 24px 60px rgba(22, 20, 15, .16); }
.fs-cal { width: min(100%, 420px); }
.fs-paxpop { width: min(100%, 360px); }
.fs-pop.is-entering { animation: fsPop .18s ease-out; }
.fs-pop.is-sheet {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    width: auto;
    max-height: 88vh;
    overflow-y: auto;
    padding: 20px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    border-radius: 18px 18px 0 0;
}
.fs-pop.is-sheet.is-entering { animation: fsSheet .22s ease-out; }
.fs-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(22, 20, 15, .36); }
.fs-backdrop[hidden] { display: none; }
html.fs-sheet-open { overflow: hidden; }

.fs-cal__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-bottom: 12px; }
.fs-cal__title { margin: 0; color: var(--fr-ink); font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 500; white-space: nowrap; }
.fs-cal__hint { margin: 0; overflow: hidden; color: var(--fr-muted); font-size: 12px; text-align: right; white-space: nowrap; text-overflow: ellipsis; }
.fs-cal__navs { display: flex; gap: 4px; }
.fs-cal__nav { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid var(--fr-line); border-radius: 50%; background: #FFFFFF; color: var(--fr-ink); cursor: pointer; }
.fs-cal__nav:hover:not(:disabled) { border-color: #B8902F; }
.fs-cal__nav:disabled { opacity: .35; cursor: default; }
.fs-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px 0; }
.fs-cal__wd { padding: 4px 0 6px; color: var(--fr-faint); font-size: 12px; font-weight: 700; text-align: center; }
.fs-cal__day { width: 100%; height: 40px; padding: 0; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--fr-ink); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.fs-cal__day:hover:not(:disabled) { border-color: #B8902F; }
.fs-cal__day:disabled { color: #CFC6B3; cursor: default; }
.fs-cal__day.is-today { border-color: #CFC6B3; }
.fs-cal__day.is-range { border-radius: 0; background: #FBF3E1; color: #7F5710; }
.fs-cal__day.is-selected { border-color: #16140F; background: #16140F; color: #FFFFFF; }
.fs-cal__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.fs-cal__sel { min-width: 0; overflow: hidden; color: var(--fr-muted); font-size: 13px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.fs-pop__done { min-height: 42px; padding: 0 22px; border: 0; border-radius: 12px; background: #16140F; color: #F7F0DD; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.fs-pop__done:hover { background: #2A241A; }
.fs-pop__done--wide { width: 100%; min-height: 46px; margin-top: 16px; }

.fs-paxrows { display: flex; flex-direction: column; }
.fs-paxrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.fs-paxrow + .fs-paxrow { border-top: 1px solid var(--fr-line-soft); }
.fs-paxrow__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fs-paxrow__label { color: var(--fr-ink); font-size: 15px; font-weight: 700; }
.fs-paxrow__hint { color: var(--fr-muted); font-size: 12px; }
.fs-paxrow__step { display: flex; align-items: center; gap: 10px; }
.fs-step { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #CFC7B6; border-radius: 50%; background: #FFFFFF; color: var(--fr-ink); cursor: pointer; transition: border-color .18s ease; }
.fs-step:hover:not(:disabled) { border-color: #16140F; }
.fs-step:disabled { opacity: .35; cursor: not-allowed; }
.fs-paxrow__num { min-width: 22px; color: var(--fr-ink); font-size: 16px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.fs-paxpop__note { margin: 6px 0 0; color: var(--fr-faint); font-size: 12px; line-height: 1.4; }
.fs-paxpop__divider { height: 1px; margin: 14px 0; background: var(--fr-line); }
.fs-paxpop__title { margin: 0 0 10px; color: var(--fr-ink); font-size: 14px; font-weight: 800; }
.fs-cabins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fs-cabin { min-height: 44px; padding: 0 12px; border: 1px solid var(--fr-line); border-radius: 12px; background: #FFFFFF; color: var(--fr-ink); font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.fs-cabin:hover { border-color: #B8902F; }
.fs-cabin[aria-pressed="true"] { border-color: #16140F; background: #16140F; color: #F7F0DD; }

/* ----- multi-city legs */
.fs-multi { margin-top: 14px; padding: 16px; border: 1px solid var(--fr-line-soft); border-radius: 16px; background: #FBFAF6; }
.fs-multi__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.fs-multi__title { margin: 0; color: var(--fr-ink); font-size: 14px; font-weight: 800; }
.fs-multi__hint { margin: 2px 0 0; color: var(--fr-muted); font-size: 12px; }
.fs-ghost-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--fr-line); border-radius: 12px; background: #FFFFFF; color: var(--fr-ink); font-size: 13px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.fs-ghost-btn:hover { border-color: #B8902F; }
.fs-multi__rows { display: flex; flex-direction: column; gap: 8px; }
.fs-leg { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1fr) minmax(0, .9fr) 40px; gap: 8px; align-items: stretch; }
.fs-leg__no { align-self: center; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #EDE8DD; color: var(--fr-ink); font-size: 12px; font-weight: 800; }
.fs-leg__remove { align-self: center; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--fr-line); border-radius: 50%; background: #FFFFFF; color: var(--fr-muted); cursor: pointer; }
.fs-leg__remove:hover { border-color: #94402F; color: #94402F; }

/* ----- switches under the form (same iOS switch as the filters) */
.fs-options { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--fr-line-soft); }
.fs-opt { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; }
.fs-opt__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fs-opt__title { color: var(--fr-ink); font-size: 14px; font-weight: 700; }
.fs-opt__sub { color: var(--fr-muted); font-size: 12px; }

/* ----- sort boxes */
.fr-sortbar { margin-bottom: 18px; }
.fr-sortbar__lead { margin: 0 0 10px; color: var(--fr-ink); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fr-sortboxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fr-sortbox { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 14px 18px; border: 1px solid var(--fr-line); border-radius: 16px; background: #FFFFFF; color: var(--fr-ink); text-align: left; cursor: pointer; transition: border-color .18s ease, background-color .18s ease; }
.fr-sortbox:hover { border-color: #B8902F; }
.fr-sortbox__label { color: var(--fr-muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.fr-sortbox__value { color: var(--fr-ink); font-size: 20px; font-weight: 800; line-height: 1.25; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fr-sortbox__note { max-width: 100%; overflow: hidden; color: var(--fr-faint); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.fr-sortbox[aria-pressed="true"] { border-color: #16140F; background: #16140F; }
.fr-sortbox[aria-pressed="true"] .fr-sortbox__label { color: #E2C26E; }
.fr-sortbox[aria-pressed="true"] .fr-sortbox__value { color: #FFFFFF; }
.fr-sortbox[aria-pressed="true"] .fr-sortbox__note { color: #CFC7B6; }
.fr-sortboxes.is-entering .fr-sortbox { animation: frRise .45s cubic-bezier(.2, .7, .2, 1) both; }
.fr-sortboxes.is-entering .fr-sortbox:nth-child(2) { animation-delay: .08s; }
.fr-sortboxes.is-entering .fr-sortbox:nth-child(3) { animation-delay: .16s; }

/* ----- price on cards + price breakdown in the details panel */
.fr-offer__total { color: var(--fr-muted); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fr-airport-code { color: var(--fr-faint); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.fr-price-rows { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.fr-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--fr-line-soft); font-size: 14px; }
.fr-price-row__label { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--fr-ink-soft); }
.fr-price-row__label small { color: var(--fr-faint); font-size: 12px; }
.fr-price-row__amount { color: var(--fr-ink); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fr-price-row--total { padding-top: 10px; border-bottom: 0; }
.fr-price-row--total .fr-price-row__label { color: var(--fr-ink); font-weight: 800; }
.fr-price-row--total .fr-price-row__amount { font-size: 16px; font-weight: 800; }

@keyframes fhFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fhDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fhGlint { 0% { opacity: 0; transform: scale(.2); } 55% { opacity: 1; transform: scale(1.25); } 100% { opacity: .55; transform: scale(1); } }
@keyframes fhShine { from { transform: translateX(-130%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }
@keyframes fhGlow { 0% { box-shadow: 0 0 0 0 rgba(226, 194, 110, .55); } 70% { box-shadow: 0 0 0 10px rgba(226, 194, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 194, 110, 0); } }
@keyframes fsSlide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fsPop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes fsSheet { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes frRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
    .fs-grid {
        grid-template-columns: minmax(0, 1fr) 20px 20px minmax(0, 1fr);
        grid-template-areas: "from swap swap to" "dep dep ret ret" "pax pax pax pax" "go go go go";
    }
    .fs-field--from { grid-area: from; }
    .fs-swap { grid-area: swap; }
    .fs-field--to { grid-area: to; }
    .fs-field--dep { grid-area: dep; }
    .fs-field--ret { grid-area: ret; }
    .fs-field--pax { grid-area: pax; }
    .fs-submit { grid-area: go; }
}

@media (max-width: 900px) {
    .fh-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .fh-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
    .fh-transfer, .fh-edit { flex: 1 1 210px; }
    .fh-title { font-size: 34px; }
}

@media (max-width: 640px) {
    .fs-top { padding: 16px 16px 0; gap: 12px; }
    .fs-intro__title { font-size: 30px; }
    .fh { padding: 18px 16px; border-radius: 18px; }
    .fh-title { font-size: 30px; }
    .fs-card { padding: 16px; border-radius: 18px; }
    .fs-head { flex-direction: column; align-items: stretch; }
    .fs-trip { display: flex; }
    .fs-trip__opt { flex: 1 1 0; min-width: 0; }
    .fs-trip__opt span { width: 100%; padding: 0 8px; font-size: 13px; }
    .fs-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "from" "swap" "to" "dep" "ret" "pax" "go"; }
    .fs-swap { position: relative; z-index: 2; margin: -14px 0; transform: rotate(90deg); }
    .fs-top .auto-menu { min-width: 0; }
    .fs-leg { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .fs-leg__no { display: none; }
    .fs-leg__remove { justify-self: end; }
    .fs-options { flex-direction: column; gap: 14px; }
    .fs-opt { justify-content: space-between; width: 100%; }
    .fr-sortboxes { grid-template-columns: minmax(0, 1fr); }
    .fr-sortbox { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
    .fr-sortbox__note { flex-basis: 100%; }
}

/* Calm mode: reduced motion without the "Animasyonları aç" opt-in (js/motion-preference.js adds .gz-motion-full). */
@media (prefers-reduced-motion: reduce) {
    html:not(.gz-motion-full) .fh.is-entering .fh-title,
    html:not(.gz-motion-full) .fh-glint,
    html:not(.gz-motion-full) .fh-transfer.is-shining,
    html:not(.gz-motion-full) .fh-transfer.is-shining::after,
    html:not(.gz-motion-full) .fs-card.is-opening,
    html:not(.gz-motion-full) .fs-pop.is-entering,
    html:not(.gz-motion-full) .fr-sortboxes.is-entering .fr-sortbox { animation: none !important; }
    html:not(.gz-motion-full) .fh-trail { animation: none !important; stroke-dashoffset: 0; }
    html:not(.gz-motion-full) .fs-trip__opt span,
    html:not(.gz-motion-full) .fs-field,
    html:not(.gz-motion-full) .fs-swap,
    html:not(.gz-motion-full) .fs-step,
    html:not(.gz-motion-full) .fr-sortbox,
    html:not(.gz-motion-full) .fh-transfer,
    html:not(.gz-motion-full) .fh-edit { transition: none; }
}

/* Opt-in switch (default off): keep its label readable instead of the "unchecked = excluded" grey. */
.fr-switch-row:has(#checkedBagOnly) .fr-switch-row__label { color: var(--fr-ink); }

/* ================================== ticket-style result cards (FLIGHT-UX-07 / 07.1, look only)
 * .fr-ticket = main part | perforation | stub (.fr-offer). The stub carries price, barcode, "Seç" and the
 * package/details toggles; the opened panels stay full width below .fr-ticket.
 * Perforation, notches, barcode and watermark are decorative. The tear animation is pure CSS on
 * .is-selected, so the existing select handler is never delayed. */

.fr-card {
    position: relative;
    border: 1px solid #E6DFD0;
    border-radius: 18px;
    background:
        radial-gradient(circle at 0 0, rgba(226, 194, 110, .07), rgba(226, 194, 110, 0) 45%),
        linear-gradient(180deg, #FFFEFB, #FCF9F2);
    box-shadow: 0 8px 22px rgba(22, 20, 15, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
}
.fr-card:not(.is-panel-open):hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(22, 20, 15, .09); }
.fr-card.is-selected { border-color: var(--fr-gold); box-shadow: 0 0 0 1px var(--fr-gold), 0 8px 22px rgba(22, 20, 15, .05); }
.fr-card.is-selected:not(.is-panel-open):hover { box-shadow: 0 0 0 1px var(--fr-gold), 0 16px 34px rgba(22, 20, 15, .09); }

.fr-ticket {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 0 230px;
    grid-template-areas: "main perf stub";
    overflow: hidden;
}

/* main part: head / route / feature pills, no inner bands or borders */
.fr-ticket .fr-card__main {
    grid-area: main;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    overflow: hidden;
    padding: 20px 26px;
}
.fr-card__main > :not(.fr-ticket__mark) { position: relative; z-index: 1; }

.fr-ticket__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; min-width: 0; }
.fr-ticket .fr-airline { flex: 1 1 auto; align-items: center; gap: 12px; min-width: 0; }
.fr-ticket .fr-airline__name { font-size: 15px; font-weight: 700; }
.fr-ticket .fr-airline__code { color: var(--fr-faint); font-size: 11px; font-weight: 600; }
.fr-ticket__facts { display: flex; align-items: flex-start; gap: 22px; flex: none; }
.fr-ticket__fact { display: flex; flex-direction: column; gap: 3px; }
.fr-ticket__label { color: #A39C8E; font-size: 11px; font-weight: 700; line-height: 1.3; }
.fr-ticket__value { color: var(--fr-ink); font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.fr-airline__code .fr-ticket__label { color: inherit; font-size: inherit; font-weight: 600; }
.fr-ticket__mono { color: var(--fr-muted); font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; letter-spacing: .02em; }

.fr-ticket .fr-route { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; width: 100%; }
.fr-ticket .fr-point { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.fr-ticket .fr-point--end { align-items: flex-end; text-align: right; }
.fr-ticket .fr-point__code { color: var(--fr-ink); font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.fr-point__when { display: flex; align-items: baseline; gap: 5px; min-width: 0; max-width: 100%; white-space: nowrap; }
.fr-ticket .fr-point__time { flex: none; color: var(--fr-ink); font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; font-weight: 700; line-height: 1.25; }
.fr-point__sep { flex: none; color: #A39C8E; font-size: 13px; }
.fr-point__place { min-width: 0; max-width: 150px; overflow: hidden; color: var(--fr-muted); font-size: 13px; font-weight: 500; line-height: 1.3; text-overflow: ellipsis; }

.fr-ticket .fr-path { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 0; }
.fr-ticket .fr-path__duration { align-self: center; color: var(--fr-muted); font-size: 12px; }
.fr-ticket .fr-path__line { width: 100%; height: 16px; }
.fr-ticket .fr-path__line::before { right: 0; left: 0; height: 0; margin-top: -.75px; border-top: 1.5px dashed #CFC6B3; background: none; }
.fr-ticket .fr-path__start, .fr-ticket .fr-path__end { display: none; }
.fr-path__plane { position: absolute; top: 50%; left: 50%; display: flex; padding: 0 5px; background: #FEFCF7; color: var(--fr-gold); transform: translate(-50%, -50%); }
.fr-path__plane .fr-ico { transform: rotate(45deg); }
.fr-path__line.has-stops .fr-path__plane { left: auto; right: 0; transform: translateY(-50%); }
.fr-ticket .fr-stops-pill { align-self: center; }

.fr-ticket .fr-card__meta { display: block; padding: 0; border: 0; background: transparent; }
.fr-ticket .fr-card__facts { gap: 6px; }
.fr-ticket .fr-product { font-size: 12px; }

/* watermark: bottom-right of the main part, left of the stub; no lines run through it */
.fr-ticket__mark {
    position: absolute;
    right: 18px;
    bottom: -16px;
    z-index: 0;
    color: rgba(184, 144, 47, .06);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 96px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

/* perforation + half-circle notches (the ticket's overflow cuts the outer halves) */
.fr-ticket__perf { grid-area: perf; position: relative; width: 0; pointer-events: none; }
.fr-ticket__perf::before { content: ''; position: absolute; top: 14px; bottom: 14px; left: -1px; border-left: 2px dashed #E3DACA; }
.fr-ticket__notch { position: absolute; left: -11px; z-index: 2; width: 22px; height: 22px; box-sizing: border-box; border: 1px solid #E6DFD0; border-radius: 50%; background: #F7F5F0; }
.fr-ticket__notch--a { top: -11px; }
.fr-ticket__notch--b { bottom: -11px; }

/* stub */
.fr-ticket .fr-offer {
    grid-area: stub;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-width: 0;
    padding: 20px 22px 14px;
    border: 0;
    transform-origin: 0 50%;
}
.fr-ticket .fr-offer__price { gap: 3px; }
.fr-offer__label { color: #A39C8E; font-size: 11px; font-weight: 700; line-height: 1.3; }
.fr-offer__label::first-letter { text-transform: uppercase; }
.fr-ticket .fr-offer__amount { font-size: 30px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fr-ticket .fr-offer__note { font-size: 11px; }
.fr-ticket__barcode {
    display: block;
    height: 34px;
    opacity: .82;
    background: repeating-linear-gradient(90deg,
        #16140F 0 2px, transparent 2px 4px, #16140F 4px 5px, transparent 5px 8px,
        #16140F 8px 11px, transparent 11px 12px, #16140F 12px 13px, transparent 13px 16px);
}
.fr-ticket .fr-select { width: 100%; min-height: 44px; border-radius: 12px; }

/* "{N} paket" / "Uçuş detayı": small text buttons on one line under "Seç" */
.fr-ticket .fr-card__toggles { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: -4px; }
.fr-ticket .fr-card__toggles > .fr-details-toggle:only-child { margin-left: auto; }
.fr-ticket .fr-pkg-toggle,
.fr-ticket .fr-details-toggle {
    flex: 0 0 auto;
    gap: 3px;
    min-height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #8F897D;
    font-size: 12px;
    font-weight: 600;
}
.fr-ticket .fr-pkg-toggle .fr-ico,
.fr-ticket .fr-details-toggle .fr-ico { width: 13px; height: 13px; }
.fr-ticket .fr-pkg-toggle:hover,
.fr-ticket .fr-details-toggle:hover { color: var(--fr-ink); }
.fr-ticket .fr-pkg-toggle[aria-expanded="true"],
.fr-ticket .fr-details-toggle[aria-expanded="true"] { border: 0; background: transparent; color: var(--fr-ink); }

/* opened panels and selection state stay full width under the ticket */
.fr-ticket ~ .fr-pkgs-drawer, .fr-ticket ~ .fr-drawer { border-top: 1px dashed #E3DACA; }
.fr-card .fr-status { padding: 14px 24px 16px; border-top: 1px dashed #E3DACA; background: transparent; }
.fr-card .fr-status:empty { display: none; }

/* "Seç": the stub tears off briefly while the existing handler runs; leaving .is-selected resets it */
@keyframes fr-ticket-tear {
    0% { transform: none; }
    40% { transform: translateX(6px) rotate(1.2deg); }
    70% { transform: translateX(14px) rotate(2.5deg); }
    100% { transform: none; }
}
@keyframes fr-ticket-glow {
    0% { box-shadow: 0 0 0 1px var(--fr-gold), 0 8px 22px rgba(22, 20, 15, .05); }
    35% { box-shadow: 0 0 0 4px rgba(226, 194, 110, .55), 0 8px 22px rgba(22, 20, 15, .05); }
    100% { box-shadow: 0 0 0 1px var(--fr-gold), 0 8px 22px rgba(22, 20, 15, .05); }
}
.fr-card.is-selected { animation: fr-ticket-glow .7s ease-out; }
.fr-card.is-selected .fr-offer { animation: fr-ticket-tear .7s cubic-bezier(.2, .7, .3, 1); }

@media (max-width: 1100px) {
    .fr-ticket { grid-template-columns: minmax(0, 1fr) 0 214px; }
    .fr-ticket .fr-card__main { padding: 20px 22px; }
    .fr-ticket .fr-offer { padding: 20px 18px 12px; }
    .fr-ticket .fr-point__code { font-size: 30px; }
    .fr-ticket .fr-route { gap: 14px; }
}

@media (max-width: 900px) {
    .fr-ticket { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "perf" "stub"; }
    .fr-ticket__mark { display: none; }
    .fr-ticket__perf { width: auto; height: 0; }
    .fr-ticket__perf::before { top: -1px; bottom: auto; right: 14px; left: 14px; border-left: 0; border-top: 2px dashed #E3DACA; }
    .fr-ticket__notch--a { top: -11px; left: -11px; }
    .fr-ticket__notch--b { top: -11px; bottom: auto; right: -11px; left: auto; }
    .fr-ticket .fr-offer { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding: 16px 20px 10px; transform-origin: 50% 0; }
    .fr-ticket .fr-offer__price { flex: 1 1 auto; min-width: 0; }
    .fr-ticket__barcode { display: none; }
    .fr-ticket .fr-select { flex: none; width: auto; min-width: 120px; }
    .fr-ticket .fr-card__toggles { flex: 1 0 100%; margin-top: 0; }
    .fr-ticket .fr-card__toggles > button { flex: 0 0 auto; justify-content: flex-start; }
    .fr-ticket .fr-card__meta { padding: 0; }
}

@media (max-width: 720px) {
    .fr-ticket .fr-card__main { padding: 16px; gap: 16px; }
    .fr-ticket .fr-offer { padding: 14px 16px 8px; }
    .fr-ticket .fr-route { gap: 10px; }
    .fr-ticket .fr-point__code { font-size: 28px; }
    .fr-ticket .fr-offer__amount { font-size: 24px; }
    .fr-ticket__head { flex-wrap: wrap; }
    .fr-ticket__facts { gap: 16px; }
    .fr-point__place { max-width: 110px; }
    .fr-card .fr-status { padding: 12px 16px 14px; }
}

@media (max-width: 480px) {
    .fr-ticket .fr-card__main { padding: 14px; }
    .fr-ticket .fr-offer { padding: 14px 14px 8px; }
    .fr-ticket .fr-route { gap: 8px; }
    .fr-ticket .fr-point__code { font-size: 24px; }
    .fr-ticket .fr-point__time { font-size: 14px; }
    .fr-point__place { max-width: 72px; font-size: 12px; }
    .fr-ticket .fr-path__duration { font-size: 11px; }
    .fr-ticket .fr-offer__amount { font-size: 22px; }
    .fr-ticket .fr-select { min-width: 104px; padding: 0 16px; }
}

/* Calm mode (reduced motion without the "Animasyonları aç" opt-in): no hover lift, no tear. */
@media (prefers-reduced-motion: reduce) {
    html:not(.gz-motion-full) .fr-card { transition: none; }
    html:not(.gz-motion-full) .fr-card:not(.is-panel-open):hover { transform: none; }
    html:not(.gz-motion-full) .fr-card.is-selected,
    html:not(.gz-motion-full) .fr-card.is-selected .fr-offer { animation: none; }
}

/* ================================== booking step 1 redesign (FLIGHT-UX-08, look only)
 * Header, thin stepper, ticket card with a validity stub, "Bu bilette neler var", collapsible plan,
 * basket with the step buttons, VIP transfer card and the price-change copy states. */

.fj { background: #F7F5F0; }
.fj-brand { color: #8A6A1F; font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.fj .fj-back { border-color: #E8E3D8; border-radius: 10px; background: #FFFFFF; }

/* thin stepper: 4px bar on top, 22px number + name below */
.fj .fj-stepper { gap: 14px; margin: 4px 0 30px; padding: 0; border: 0; border-radius: 0; background: none; }
.fj .fj-stepper__item { position: relative; flex: 1 1 0; gap: 8px; min-height: 0; padding: 16px 0 0; border-radius: 0; background: none; color: #8F897D; font-size: 14px; font-weight: 600; }
.fj .fj-stepper__item::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 4px; border-radius: 999px; background: #E7E2D7; }
.fj .fj-stepper__item.is-active::before,
.fj .fj-stepper__item.is-done::before { background: linear-gradient(90deg, #E2C26E, #B8902F); }
.fj .fj-stepper__dot { width: 22px; height: 22px; background: #EFEBE2; color: #6F6A60; font-size: 11px; font-weight: 700; }
.fj .fj-stepper__dot .fr-ico { width: 12px; height: 12px; }
.fj .fj-stepper__item.is-active { background: none; color: #16140F; font-weight: 800; }
.fj .fj-stepper__item.is-active .fj-stepper__dot { background: #16140F; color: #E2C26E; font-weight: 800; }
.fj .fj-stepper__item.is-done { color: #3A362D; }
.fj .fj-stepper__item.is-done .fj-stepper__dot { background: #F3E7C4; color: #8A6A1F; }

.fj .fj-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
.fj .fj-aside { position: sticky; top: 24px; gap: 14px; }
.fj .fj-step__head h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 36px; font-weight: 500; letter-spacing: 0; line-height: 1.15; }
.fj .fj-step__head p { margin-top: 8px; color: #6F6A60; font-size: 15px; }
.fj-flight { gap: 18px; }

/* ticket card (reuses the FLIGHT-UX-07 .fr-ticket look) */
.fr-card.fj-ticket,
.fr-card.fj-ticket:not(.is-panel-open):hover { transform: none; box-shadow: 0 8px 22px rgba(22, 20, 15, .05); }
.fj-ticket .fr-ticket { grid-template-columns: minmax(0, 1fr) 0 220px; }
.fj-ticket .fr-card__main { padding: 22px 26px; gap: 20px; }
.fj-ticket .fr-point__code { font-size: 40px; }
.fj-ticket .fr-ticket__value { white-space: normal; }
.fj-ticket .fr-ticket__facts { max-width: 52%; }
.fj-ticket .fj-ticket__stub { align-items: flex-start; justify-content: center; gap: 12px; padding: 20px; }

.fj-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.fj-pill.is-pos { background: #EEF6EF; color: #2F6B3F; }
.fj-pill.is-info { background: #F3F0EA; color: #8A6A1F; }

.fj-validity { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.fj-validity__label { color: #A39C8E; font-size: 11px; font-weight: 700; }
.fj-countdown { color: #16140F; font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 26px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.fj-validity__until { color: #6F6A60; font-size: 11px; line-height: 1.4; }
.fj-ttl { display: block; height: 3px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #EFE9DC; }
.fj-ttl > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #E2C26E, #B8902F); transition: width 1s linear; }
.fj-validity.is-expired .fj-countdown { color: #9A3B2B; font-size: 20px; }
.fj-validity.is-expired .fj-validity__until { color: #9A3B2B; }
.fj-ticket__change { padding: 0; border: 0; background: none; color: #8A6A1F; font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fj-ticket__change:hover { color: #16140F; }

/* "Bu bilette neler var" */
.fj-included { padding: 22px; }
.fj-included__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 16px; }
.fj-included__head h3 { margin: 0; color: #16140F; font-size: 17px; font-weight: 700; }
.fj-included__side { color: #8F897D; font-size: 12px; }
.fj-included__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.fj-inc { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 13px 16px; border: 1px solid #E8E3D8; border-radius: 12px; background: #FFFFFF; }
.fj-inc__ico { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; flex: none; border-radius: 50%; font-size: 12px; font-weight: 800; }
.fj-inc__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fj-inc__title { color: #16140F; font-size: 14px; font-weight: 700; }
.fj-inc__desc { color: #6F6A60; font-size: 12px; overflow-wrap: anywhere; }
.fj-inc.is-yes { border-color: #DCEBDD; background: #FAFDFA; }
.fj-inc.is-yes .fj-inc__ico { background: #EEF6EF; color: #2F6B3F; }
.fj-inc.is-no { border-color: #F2DDD7; background: #FFFAF8; }
.fj-inc.is-no .fj-inc__ico { background: #FCF1EE; color: #9A3B2B; }
.fj-inc.is-neutral .fj-inc__ico { background: #F3F0EA; color: #8A6A1F; }

/* "Uçuş planı ve uçak" (collapsed by default) */
.fj-plan { padding: 0; }
.fj-plan__toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 22px; border: 0; border-radius: inherit; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.fj-plan__titles { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fj-plan__title { color: #16140F; font-size: 17px; font-weight: 700; }
.fj-plan__sub { color: #8F897D; font-size: 12px; }
.fj-plan__state { display: inline-flex; align-items: center; gap: 4px; flex: none; color: #8A6A1F; font-size: 13px; font-weight: 700; }
.fj-plan__state .fr-ico { transition: transform .2s ease; }
.fj-plan__hide { display: none; }
.fj-plan__toggle[aria-expanded="true"] .fj-plan__hide { display: inline; }
.fj-plan__toggle[aria-expanded="true"] .fj-plan__show { display: none; }
.fj-plan__toggle[aria-expanded="true"] .fr-ico { transform: rotate(180deg); }
.fj-plan__body { display: flex; flex-direction: column; gap: 16px; padding: 0 22px 22px; }
.fj-plan__body[hidden] { display: none; }
.fj-amen-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 16px; margin: 0; padding: 14px 0 0; border-top: 1px solid #EEE9DF; list-style: none; }
.fj-amen-list li { display: flex; align-items: center; gap: 8px; min-width: 0; color: #3A362D; font-size: 13px; }
.fj-amen-list .fr-ico { flex: none; color: #8A6A1F; }
.fj-amen-list__label { font-weight: 600; }
.fj-amen-list__state { margin-left: auto; color: #6F6A60; font-size: 12px; text-align: right; }
.fj-amen-list li.is-off .fj-amen-list__state { color: #9A3B2B; }
.fj-amen-list li.is-free .fj-amen-list__state { color: #2F6B3F; }

/* basket */
.fj-basket { display: flex; flex-direction: column; gap: 16px; padding: 22px; border: 1px solid #E8E3D8; border-radius: 18px; background: #FFFFFF; box-shadow: 0 8px 22px rgba(22, 20, 15, .05); }
#fjCartItem { display: flex; flex-direction: column; gap: 16px; }
.fj-basket__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fj-basket__title { margin: 0; color: #16140F; font-size: 17px; font-weight: 700; }
.fj-basket__pax { color: #8F897D; font-size: 12px; }
.fj-basket__route { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #EEE9DF; border-radius: 12px; background: #FBFAF6; }
.fj-basket__plane { display: inline-flex; flex: none; color: #B8902F; }
.fj-basket__plane .fr-ico { transform: rotate(45deg); }
.fj-basket__route-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fj-basket__codes { color: #16140F; font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; font-weight: 700; }
.fj-basket__sub { color: #6F6A60; font-size: 12px; overflow-wrap: anywhere; }
.fj-basket__rows { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fj-basket__rows li { display: flex; justify-content: space-between; gap: 12px; color: #6F6A60; font-size: 13px; line-height: 1.4; }
.fj-basket__rows li > span:last-child { flex: none; color: #16140F; font-weight: 600; font-variant-numeric: tabular-nums; }
.fj-basket__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid #EEE9DF; }
.fj-basket__total > span { color: #16140F; font-size: 15px; font-weight: 700; }
.fj-basket__total strong { color: #16140F; font-family: 'Playfair Display', Georgia, serif; font-size: 32px; font-weight: 500; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fj-basket__tax { margin: -12px 0 0; color: #8F897D; font-size: 11px; text-align: right; }

.fj-basket .fj-actions { flex-direction: column; align-items: stretch; gap: 8px; margin: 0; padding: 0; }
.fj-basket .fj-actions .fj-cta { order: 1; width: 100%; min-width: 0; min-height: 52px; margin: 0; border-radius: 14px; font-size: 16px; }
.fj-basket .fj-actions [data-journey-action="prev"] { order: 2; min-height: 40px; }
.fj-cta__flight { display: none; }
.fj:has(.fj-step[data-step="flight"]:not([hidden])) .fj-cta__flight { display: inline; }
.fj:has(.fj-step[data-step="flight"]:not([hidden])) .fj-cta__default { display: none; }

.fj-basket__expiry { display: flex; align-items: center; gap: 6px; margin: 0; color: #8F897D; font-size: 12px; }
.fj-basket__expiry .fr-ico { flex: none; color: #B8902F; }
.fj-countdown.is-inline { font-size: 12px; letter-spacing: 0; }
.fj-basket__expiry.is-expired { color: #9A3B2B; }
#fjCartExpiry:empty { display: none; }

/* VIP transfer card: opens the prefilled transfer form (new tab), nothing is added to the basket */
.fj-vip { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: radial-gradient(circle at 100% 0, rgba(226, 194, 110, .22), rgba(226, 194, 110, 0) 55%), #16140F; color: #F4EDE0; text-decoration: none; }
.fj-vip__ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 10px; background: linear-gradient(135deg, #E2C26E, #B8902F); color: #16140F; }
.fj-vip__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fj-vip__text strong { font-size: 14px; font-weight: 700; }
.fj-vip__text small { color: rgba(244, 237, 224, .7); font-size: 12px; }
.fj-vip__go { margin-left: auto; color: #E2C26E; font-weight: 700; }
.fj-vip:hover .fj-vip__go { color: #F4EDE0; }
.fj-vip:focus-visible { outline: 2px solid #B8902F; outline-offset: 3px; }
.fj-vip-group { display: flex; flex-direction: column; gap: 10px; }
.fj-vip-group__note { margin: 0; color: #8F897D; font-size: 11px; line-height: 1.3; text-align: left; }
.fj .fj-aside__note { display: block; color: #8F897D; }

/* price change copy states (dialog + selection strip) */
.fr-dialog__panel { text-align: left; }
.fr-dialog__panel.is-same .fr-dialog__icon,
.fr-dialog__panel.is-down .fr-dialog__icon { background: #EEF6EF; color: #2F6B3F; }
.fr-dialog__diff { font-weight: 800; white-space: nowrap; }
.fr-dialog__diff.is-up { color: #9A3B2B; }
.fr-dialog__diff.is-down { color: #2F6B3F; }
.fr-compare__new.is-up { border-color: #F2DDD7; background: #FCF1EE; }
.fr-compare__new.is-down { border-color: #DCEBDD; background: #EEF6EF; }
.fr-state--changed.is-down,
.fr-state--changed.is-same { border-color: #cfe9dc; background: var(--fr-pos-soft); }
.fr-state--changed.is-down > .fr-ico,
.fr-state--changed.is-same > .fr-ico { color: var(--fr-pos); }

/* step 1 entrance */
@keyframes fj-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fj-step[data-step="flight"]:not([hidden]) .fj-flight > * { animation: fj-rise .45s cubic-bezier(.2, .7, .3, 1) both; }
.fj-step[data-step="flight"]:not([hidden]) .fj-flight > :nth-child(2) { animation-delay: .06s; }
.fj-step[data-step="flight"]:not([hidden]) .fj-flight > :nth-child(3) { animation-delay: .12s; }
.fj-step[data-step="flight"]:not([hidden]) .fj-flight > :nth-child(4) { animation-delay: .18s; }

@media (max-width: 1100px) {
    .fj .fj-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; }
    .fj-ticket .fr-ticket { grid-template-columns: minmax(0, 1fr) 0 200px; }
    .fj-ticket .fr-point__code { font-size: 34px; }
}

@media (max-width: 960px) {
    .fj { padding-bottom: 104px; }
    .fj .fj-layout { grid-template-columns: minmax(0, 1fr); }
    .fj .fj-aside { position: static; }
    .fj .fj-step__head h2 { font-size: 30px; }

    .fj-ticket .fr-ticket { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "perf" "stub"; }
    .fj-ticket .fr-ticket__mark { display: none; }
    .fj-ticket .fr-ticket__perf { width: auto; height: 0; }
    .fj-ticket .fr-ticket__perf::before { top: -1px; bottom: auto; right: 14px; left: 14px; border-left: 0; border-top: 2px dashed #E3DACA; }
    .fj-ticket .fr-ticket__notch--a { top: -11px; left: -11px; }
    .fj-ticket .fr-ticket__notch--b { top: -11px; bottom: auto; right: -11px; left: auto; }
    .fj-ticket .fj-ticket__stub { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; padding: 16px 20px; }
    .fj-ticket .fj-validity { order: 3; flex: 1 1 100%; }
    .fj-ticket .fr-ticket__facts { max-width: none; }

    .fj-basket .fj-actions {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 40;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin: 0;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid #E8E3D8;
        background: rgba(255, 255, 255, .97);
        box-shadow: 0 -10px 30px rgba(22, 20, 15, .08);
    }
    .fj-basket .fj-actions__total { display: flex; order: 0; margin-right: auto; }
    .fj-basket .fj-actions [data-journey-action="prev"] { order: 1; min-height: 48px; padding: 0 14px; }
    .fj-basket .fj-actions .fj-cta { order: 2; flex: 1 1 auto; width: auto; min-height: 48px; font-size: 15px; }
}

@media (max-width: 640px) {
    .fj-included__grid { grid-template-columns: minmax(0, 1fr); }
    .fj .fj-step__head h2 { font-size: 27px; }
    .fj .fj-stepper { gap: 8px; margin-bottom: 22px; }
    .fj .fj-stepper__item,
    .fj .fj-stepper__item.is-active { flex: 1 1 0; justify-content: flex-start; padding: 14px 0 0; }
    .fj-ticket .fr-card__main { padding: 16px; }
    .fj-ticket .fr-ticket__head { flex-wrap: wrap; }
    .fj-ticket .fr-point__code { font-size: 28px; }
    .fj-included, .fj-basket { padding: 16px; }
    .fj-plan__toggle { padding: 16px; }
    .fj-plan__body { padding: 0 16px 16px; }
    .fj-basket .fj-actions__total strong { font-size: 16px; }
}

@media (max-width: 400px) {
    .fj-ticket .fr-point__code { font-size: 24px; }
    .fj-ticket .fr-route { gap: 8px; }
    .fj-ticket .fr-point__place { max-width: 72px; }
    .fj-basket .fj-actions .fj-cta { padding: 0 12px; font-size: 14px; }
}

/* Calm mode: no entrance rise; the countdown still updates as plain text. */
@media (prefers-reduced-motion: reduce) {
    html:not(.gz-motion-full) .fj-step[data-step="flight"]:not([hidden]) .fj-flight > * { animation: none; }
    html:not(.gz-motion-full) .fj-ttl > i,
    html:not(.gz-motion-full) .fj-plan__state .fr-ico { transition: none; }
}

/* ================================== booking step 1 polish (FLIGHT-UX-08.1, look only) */

/* 1. Step title full width over both columns; the ticket and the basket start on the same line.
 *    .fj-main and the active .fj-step become display:contents so their children sit in .fj-layout's grid. */
@media (min-width: 961px) {
    .fj .fj-layout { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 28px; row-gap: 0; align-items: start; }
    .fj .fj-main,
    .fj .fj-step:not([hidden]) { display: contents; }
    .fj .fj-main > *,
    .fj .fj-step > * { grid-column: 1; min-width: 0; margin-bottom: 18px; }
    .fj .fj-step > .fj-step__head { grid-column: 1 / -1; grid-row: 1; margin-bottom: 24px; }
    .fj .fj-aside { grid-column: 2; grid-row: 2 / span 40; align-self: start; position: sticky; top: 24px; }
}

/* 2. Flight plan, open state: one card, timeline, divider, amenity pills */
.fj-plan__body { gap: 0; padding: 0 22px 20px; }
.fj-plan__toggle:focus { outline: none; }
.fj-plan__toggle:focus-visible { outline: 2px solid #B8902F; outline-offset: -2px; }

.fj-tl { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.fj-tl__stop { display: grid; grid-template-columns: 56px 20px minmax(0, 1fr); align-items: start; min-height: 58px; }
.fj-tl__stop.is-arrival { min-height: 0; }
.fj-tl__time { color: #16140F; font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; font-weight: 700; line-height: 20px; font-variant-numeric: tabular-nums; }
.fj-tl__time sup { margin-left: 1px; color: var(--fr-warn); font-size: 10px; }
.fj-tl__rail { position: relative; align-self: stretch; }
.fj-tl__rail::before { content: ''; position: absolute; top: 5px; left: 5px; width: 10px; height: 10px; box-sizing: border-box; border: 2px solid #16140F; border-radius: 50%; background: #FFFFFF; }
.fj-tl__stop:not(.is-arrival) .fj-tl__rail::after { content: ''; position: absolute; top: 19px; bottom: -3px; left: 9px; border-left: 2px dashed #CFC6B3; }
.fj-tl__stop.is-arrival .fj-tl__rail::before { background: #16140F; }
.fj-tl__place { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-left: 6px; }
.fj-tl__name { color: #16140F; font-size: 14px; font-weight: 700; line-height: 20px; overflow-wrap: anywhere; }
.fj-tl__date { color: #8F897D; font-size: 12px; }
.fj-tl__meta { margin-top: 4px; color: #6F6A60; font-size: 12px; }
.fj-tl__gap { display: flex; align-items: center; gap: 8px; margin: 12px 0 12px 76px; padding: 8px 12px; border-radius: 10px; background: #FBF5E6; color: #8A6A1F; font-size: 12px; font-weight: 600; }
.fj-tl__gap .fr-ico { flex: none; }

.fj-plan__amenities { margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #EEE9DF; }
.fj-plan__amen-title { margin: 0 0 10px; color: #6F6A60; font-size: 12px; font-weight: 700; }
.fj-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fj-pillx { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.fj-pillx .fr-ico { flex: none; }
.fj-pillx.is-on { border-color: #DCEBDD; background: #EEF6EF; color: #2F6B3F; }
.fj-pillx.is-off { border-color: #ECE3DF; background: #F7F2F0; color: #8C5A50; }
.fj-pillx.is-paid { border-color: #EFE2BF; background: #FBF5E6; color: #8A6A1F; }
.fj-pillx.is-info { border-color: #E8E3D8; background: #F7F5F0; color: #3A362D; }

/* 3. Ticket head: facts pushed right, short date, one-line package with ellipsis; full-width route rail */
.fj-ticket .fr-ticket__head { flex-wrap: nowrap; }
.fj-ticket .fr-airline { flex: 1 1 auto; min-width: 0; }
.fj-ticket .fr-ticket__facts { flex: 0 1 auto; min-width: 0; max-width: none; margin-left: auto; }
.fj-ticket .fr-ticket__fact { min-width: 0; }
.fj-ticket .fr-ticket__value { white-space: nowrap; }
.fj-ticket .fj-ticket__pkg .fr-ticket__value { display: block; max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
.fj-ticket .fr-route { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 16px; }
.fj-ticket .fr-path { width: 100%; min-width: 0; align-items: stretch; }
.fj-ticket .fr-path__line { width: 100%; }
.fj-ticket .fr-path__line::before { right: 0; left: 0; }
.fj-ticket .fr-ticket__mark { right: -8px; bottom: -18px; z-index: 0; color: rgba(184, 144, 47, .04); }

/* 4. Basket rows and figures */
.fj-basket__rows li { align-items: flex-start; }
.fj-basket__rows li > span:first-child { min-width: 0; }
.fj-basket__total strong,
.fj-actions__total strong,
.fr-offer__amount,
.fr-offer__total,
.fr-cpkg__price,
.fr-pkg-card__amount { font-variant-numeric: lining-nums tabular-nums; }

@media (max-width: 960px) {
    .fj-ticket .fr-ticket__head { flex-wrap: wrap; }
    .fj-ticket .fr-ticket__facts { margin-left: 0; }
}

@media (max-width: 640px) {
    .fj-plan__body { padding: 0 16px 16px; }
    .fj-tl__stop { grid-template-columns: 50px 20px minmax(0, 1fr); }
    .fj-tl__gap { margin-left: 0; }
    .fj-ticket .fj-ticket__pkg .fr-ticket__value { max-width: 60vw; }
}

/* ================================== passengers + extras redesign (FLIGHT-UX-09, look only) */

.fj-mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.fj-card-title { margin: 0 0 16px; color: #16140F; font-size: 18px; font-weight: 700; }
.fj .fj-field label,
.fj .fj-field .fj-label,
.fj .fj-label { color: #16140F; font-size: 13px; font-weight: 700; }
.fj .fj-field input:not([type="checkbox"]):not([type="radio"]),
.fj .fj-field select,
.fj .fj-date select { min-height: 48px; padding: 0 14px; border: 1px solid #E6DFD0; border-radius: 12px; background-color: #FFFFFF; color: #16140F; font: inherit; font-size: 15px; }
.fj .fj-field input:focus, .fj .fj-date select:focus { border-color: #B8902F; outline: none; box-shadow: 0 0 0 3px rgba(184, 144, 47, .18); }
.fj [aria-invalid="true"] { border-color: #9A3B2B !important; }
.fj-hint { margin: 2px 0 0; color: #8F897D; font-size: 12px; }
.fj-suggest { margin: 2px 0 0; color: #8A6A1F; font-size: 12px; }
.fj-err { margin: 2px 0 0; color: #9A3B2B; font-size: 12px; font-weight: 600; }
.fj-err[hidden], .fj-suggest[hidden] { display: none; }
.fj-status { margin: 4px 0 0; font-size: 12px; font-weight: 600; }
.fj-status:empty { display: none; }
.fj-status.is-ok { color: #2F6B3F; }
.fj-status.is-bad { color: #9A3B2B; }
.fj-linkbtn { padding: 0; border: 0; background: none; color: #8A6A1F; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fj-linkbtn:hover { color: #16140F; }

/* sign-in strip (guests only) */
.fj-signin { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid #EADFC2; border-radius: 16px; background: #FBF7EC; }
.fj-signin > .fr-ico { flex: none; color: #8A6A1F; }
.fj-signin p { flex: 1 1 auto; margin: 0; color: #3A362D; font-size: 14px; }
.fj-signin .fr-btn { flex: none; min-height: 38px; }

/* contact card */
.fj-contact { padding: 22px; }
.fj-contact .fj-check { margin-top: 16px; }
.fj .fj-phone { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 8px; }

/* country picker */
.fj-cp { position: relative; min-width: 0; }
.fj-cp__btn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 0 12px 0 14px; border: 1px solid #E6DFD0; border-radius: 12px; background: #FFFFFF; color: #16140F; font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.fj-cp__btn .fr-ico { margin-left: auto; flex: none; color: #8F897D; }
.fj-cp__btn[aria-expanded="true"] { border-color: #B8902F; }
.fj-cp__flag { flex: none; font-size: 13px; line-height: 1; }
.fj-cp__text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fj-cp__pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; width: max(100%, 280px); padding: 8px; border: 1px solid #E6DFD0; border-radius: 14px; background: #FFFFFF; box-shadow: 0 18px 40px rgba(22, 20, 15, .14); }
.fj-cp__search { width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid #E6DFD0; border-radius: 10px; font: inherit; font-size: 14px; }
.fj-cp__search:focus { border-color: #B8902F; outline: none; }
.fj-cp__list { max-height: 280px; margin: 6px 0 0; padding: 0; overflow-y: auto; list-style: none; }
.fj-cp__list [role="option"] { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: #16140F; font-size: 14px; cursor: pointer; }
.fj-cp__list [role="option"].is-active, .fj-cp__list [role="option"]:hover { background: #F7F5F0; }
.fj-cp__list [role="option"][aria-selected="true"] { font-weight: 700; }
.fj-cp__list .is-last-popular { margin-bottom: 6px; border-bottom: 1px solid #EEE9DF; border-radius: 8px 8px 0 0; }
.fj-cp__dial { margin-left: auto; color: #8F897D; font-variant-numeric: tabular-nums; }
.fj-cp__empty { padding: 10px; color: #8F897D; font-size: 13px; }
.fj-cp--link { display: inline-block; }
.fj-cp--link .fj-cp__btn { display: inline; width: auto; min-height: 0; padding: 0; border: 0; background: none; color: #8A6A1F; font-size: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fj-cp--link .fj-cp__pop { left: auto; right: 0; }

/* passenger card */
.fj .fj-pax { padding: 22px; border: 1px solid #E8E3D8; border-radius: 18px; background: #FFFFFF; box-shadow: 0 8px 22px rgba(22, 20, 15, .04); }
.fj .fj-pax__head { margin-bottom: 16px; }
.fj .fj-pax__head h3 { display: flex; align-items: center; gap: 10px; margin: 0; color: #16140F; font-size: 18px; font-weight: 700; }
.fj .fj-pax__tag { padding: 3px 10px; border-radius: 999px; background: #FBF0D6; color: #8A6A1F; font-size: 12px; font-weight: 700; }
.fj-pax__done { color: #2F6B3F; font-size: 13px; font-weight: 700; }
.fj-pax__done[hidden] { display: none; }
.fj-ticketname { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 14px 0 18px; padding: 10px 14px; border: 1px dashed #DCD3C1; border-radius: 12px; background: #FBFAF6; color: #6F6A60; font-size: 13px; }
.fj-ticketname strong { color: #16140F; font-size: 14px; font-weight: 700; }
.fj-ticketname small { margin-left: auto; color: #A39C8E; font-size: 12px; }

.fj-date { min-width: 0; margin: 0; padding: 0; border: 0; }
.fj-date legend { margin-bottom: 6px; padding: 0; }
.fj-date__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fj-date select { width: 100%; min-width: 0; }

/* segmented control (real radios stay keyboard-operable, visually hidden) */
.fj-seg-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.fj-seg-field legend { margin-bottom: 6px; padding: 0; }
.fj-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #EFEBE2; }
.fj-seg label { position: relative; display: inline-flex; cursor: pointer; }
.fj-seg input { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; opacity: 0; }
.fj-seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 9px; color: #6F6A60; font-size: 14px; font-weight: 600; }
.fj-seg input:checked + span { background: #FFFFFF; color: #16140F; font-weight: 700; box-shadow: 0 1px 3px rgba(22, 20, 15, .12); }
.fj-seg input:focus-visible + span { outline: 2px solid #B8902F; outline-offset: 1px; }

/* documents */
.fj-docs { margin-top: 18px; padding-top: 18px; border-top: 1px solid #EEE9DF; }
.fj-docs__title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; color: #16140F; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.fj-pill-info { padding: 3px 10px; border-radius: 999px; background: #EAF0FA; color: #2F4F86; font-size: 12px; font-weight: 700; }
details.fj-docs > summary { color: #16140F; font-size: 14px; font-weight: 700; }
.fj-docs__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; color: #6F6A60; font-size: 13px; }
.fj-docs__meta strong { color: #16140F; }
.fj-ff { margin-top: 12px; max-width: 340px; }
.fj-ff[hidden] { display: none; }
.fj .fj-field[data-doc-field][hidden] { display: none; }
.fj-bagnote { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; padding: 12px 14px; border: 1px solid #DCEBDD; border-radius: 12px; background: #EEF6EF; color: #2F4A36; font-size: 13px; }
.fj-bagnote .fr-ico { flex: none; margin-top: 1px; color: #2F6B3F; }

/* basket: step-aware CTA + text-link back button */
.fj-cta > span { display: none; }
.fj-cta > .fj-cta__default { display: inline; }
.fj:has(.fj-step[data-step="passengers"]:not([hidden])):has(#fjStepper [data-step-key="extras"]) .fj-cta > .fj-cta__extras,
.fj:has(.fj-step[data-step="passengers"]:not([hidden])):not(:has(#fjStepper [data-step-key="extras"])) .fj-cta > .fj-cta__review,
.fj:has(.fj-step[data-step="extras"]:not([hidden])):has(.fj-step[data-step="extras"] input[name="extra_service"]:checked) .fj-cta > .fj-cta__review,
.fj:has(.fj-step[data-step="extras"]:not([hidden])):not(:has(.fj-step[data-step="extras"] input[name="extra_service"]:checked)) .fj-cta > .fj-cta__skip { display: inline; }
.fj:has(.fj-step[data-step="passengers"]:not([hidden])) .fj-cta > .fj-cta__default,
.fj:has(.fj-step[data-step="extras"]:not([hidden])) .fj-cta > .fj-cta__default { display: none; }

.fj-prev { align-self: center; min-height: 32px; padding: 0 4px; border: 0; background: none; color: #6F6A60; font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fj-prev:hover { color: #16140F; }
.fj-prev > span { display: none; }
.fj:has(.fj-step[data-step="passengers"]:not([hidden])) .fj-prev > .fj-prev__flight,
.fj:has(.fj-step[data-step="extras"]:not([hidden])) .fj-prev > .fj-prev__pax,
.fj:has(.fj-step[data-step="review"]:not([hidden])):has(#fjStepper [data-step-key="extras"]) .fj-prev > .fj-prev__extras,
.fj:has(.fj-step[data-step="review"]:not([hidden])):not(:has(#fjStepper [data-step-key="extras"])) .fj-prev > .fj-prev__pax { display: inline; }
.fj-basket .fj-actions .fj-prev { order: 3; }

.fj-aside__secure { display: none; align-items: center; gap: 6px; margin: 0; color: #8F897D; font-size: 12px; }
.fj-aside__secure .fr-ico { flex: none; color: #B8902F; }
.fj:not(:has(.fj-step[data-step="flight"]:not([hidden]))) .fj-aside__secure { display: flex; }
.fj:not(:has(.fj-step[data-step="flight"]:not([hidden]))) .fj-vip-group,
.fj:not(:has(.fj-step[data-step="flight"]:not([hidden]))) .fj-aside__note { display: none; }
.fj:has(.fj-step[data-step="passengers"]:not([hidden])) .fj-basket__rows,
.fj:has(.fj-step[data-step="passengers"]:not([hidden])) .fj-basket__tax,
.fj:has(.fj-step[data-step="passengers"]:not([hidden])) #fjCartExpiry { display: none; }

/* extras: baggage + seats */
.fj-xcard { padding: 22px; }
.fj-xcard__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; }
.fj-xcard__head h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: #16140F; font-size: 18px; font-weight: 700; }
.fj-xcard__head h3 .fr-ico { color: #8A6A1F; }
.fj-xcard__summary { color: #6F6A60; font-size: 13px; font-weight: 600; }
.fj-xcard__hint { margin: 4px 0 0; color: #8F897D; font-size: 13px; }
.fj-xgroup { min-width: 0; margin: 18px 0 0; padding: 0; border: 0; }
.fj-xgroup__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; width: 100%; margin: 0 0 10px; padding: 0; }
.fj-xgroup__who { color: #3A362D; font-size: 14px; font-weight: 700; }
.fj-xgroup__inc { color: #2F6B3F; font-size: 12px; font-weight: 700; }
.fj-xopts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fj-xopt { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 14px 16px; border: 1px solid #E6DFD0; border-radius: 14px; background: #FFFFFF; cursor: pointer; }
.fj-xopt input { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.fj-xopt__title { color: #16140F; font-size: 14px; font-weight: 700; }
.fj-xopt__sub { color: #6F6A60; font-size: 12px; }
.fj-xopt__price { margin-top: 6px; color: #16140F; font-size: 15px; font-weight: 800; font-variant-numeric: lining-nums tabular-nums; }
.fj-xopt.is-none .fj-xopt__price { color: #2F6B3F; }
.fj-xopt:has(input:checked) { padding: 13px 15px; border: 2px solid #16140F; background: #FBF7EC; }
.fj-xopt:has(input:focus-visible) { outline: 2px solid #B8902F; outline-offset: 2px; }
.fj-xopt:has(input:disabled) { cursor: default; }
.fj-xcard--empty p { margin: 0; color: #3A362D; font-size: 14px; line-height: 1.55; }


@media (max-width: 960px) {
    .fj-basket .fj-actions { flex-wrap: wrap; row-gap: 4px; }
    .fj-basket .fj-actions .fj-prev { order: 3; flex: 1 0 100%; min-height: 28px; text-align: center; }
}

@media (max-width: 760px) {
    .fj-xopts { grid-template-columns: minmax(0, 1fr); }
    .fj .fj-contact .fj-grid-2 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
    .fj .fj-pax, .fj-contact, .fj-xcard { padding: 16px; }
    .fj-signin { flex-wrap: wrap; }
    .fj-ticketname small { margin-left: 0; }
    .fj .fj-phone { grid-template-columns: 112px minmax(0, 1fr); }
    .fj-date__row { gap: 6px; }
    .fj .fj-date select { padding: 0 8px; font-size: 15px; }
}

.fj-bagnote[hidden] { display: none; }

/* ================================== hotel suggestions (FLIGHT-HOTEL-01) */

.fh-strip { padding: 22px 24px; border: 1px solid #E8E3D8; border-radius: 18px; background: radial-gradient(circle at 100% 0, rgba(226, 194, 110, .12), rgba(226, 194, 110, 0) 40%), #FFFFFF; box-shadow: 0 8px 22px rgba(22, 20, 15, .05); }
.fh-strip__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 16px; }
.fh-strip__badge { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: #8A6A1F; font-size: 12px; font-weight: 700; }
.fh-strip__logo, .fj-hotels__logo { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 8px; background: linear-gradient(135deg, #E2C26E, #B8902F); color: #16140F; }
.fh-strip__logo { width: 24px; height: 24px; }
.fh-strip__title { margin: 0; color: #16140F; font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 500; line-height: 1.2; }
.fh-strip__sub { margin: 4px 0 0; color: #6F6A60; font-size: 13px; }
.fh-nights { display: flex; align-items: center; gap: 10px; }
.fh-nights__label { color: #6F6A60; font-size: 12px; }
.fh-nights__ctl { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; background: #F7F5F0; }
.fh-nights__ctl button { width: 32px; height: 32px; border: 0; border-radius: 9px; background: #FFFFFF; color: #16140F; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 2px rgba(22, 20, 15, .1); }
.fh-nights__ctl button:disabled { opacity: .4; cursor: not-allowed; }
.fh-nights__ctl output { min-width: 64px; color: #16140F; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; font-weight: 700; text-align: center; }

.fh-strip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fh-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #E8E3D8; border-radius: 14px; background: #FFFFFF; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.fh-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22, 20, 15, .1); }
.fh-card:focus-visible { outline: 2px solid #B8902F; outline-offset: 2px; }
.fh-card__media { position: relative; display: block; height: 118px; background: linear-gradient(135deg, #D8CBB4, #B5A487); }
.fh-card__img { position: absolute; inset: 0; display: block; }
.fh-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fh-card__stars { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #8A6A1F; font-size: 10px; letter-spacing: .05em; }
.fh-card__body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.fh-card__name { color: #16140F; font-size: 15px; font-weight: 700; line-height: 1.3; }
.fh-card__area { overflow: hidden; color: #6F6A60; font-size: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fh-card__price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 8px; }
.fh-card__price span { color: #8F897D; font-size: 12px; }
.fh-card__price strong { color: #16140F; font-size: 17px; font-weight: 800; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.fh-card__nightly { color: #8F897D; font-size: 11px; text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.fh-card.is-skeleton { height: 236px; border-color: #EEE9DF; background: linear-gradient(100deg, #F4F1EA 30%, #FBFAF6 50%, #F4F1EA 70%) 0 0 / 200% 100%; animation: fh-shimmer 1.4s linear infinite; }
@keyframes fh-shimmer { to { background-position: -200% 0; } }

.fh-strip__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-top: 16px; }
.fh-strip__foot p { flex: 1 1 320px; margin: 0; color: #8F897D; font-size: 12px; line-height: 1.5; }
.fh-strip__all { flex: none; min-height: 44px; text-decoration: none; }
.fh-strip__note { margin: 10px 0 0; color: #8F897D; font-size: 12px; }

/* basket card on the booking journey */
#fjHotelSuggest[hidden] { display: none; }
.fj:not(:has(.fj-step[data-step="flight"]:not([hidden]))) #fjHotelSuggest { display: none; }
.fj-hotels { overflow: hidden; border: 1px solid #E8E3D8; border-radius: 18px; background: #FFFFFF; box-shadow: 0 8px 22px rgba(22, 20, 15, .05); }
.fj-hotels__head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 14px; }
.fj-hotels__logo { width: 36px; height: 36px; border-radius: 10px; }
.fj-hotels__head > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fj-hotels__head strong { color: #16140F; font-size: 15px; font-weight: 700; }
.fj-hotels__head small { color: #8F897D; font-size: 12px; }
.fj-hotels__list { margin: 0; padding: 0; list-style: none; }
.fj-hotels__row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid #EEE9DF; }
.fj-hotels__row.is-skeleton { display: block; height: 64px; background: linear-gradient(100deg, #F7F5F0 30%, #FFFFFF 50%, #F7F5F0 70%) 0 0 / 200% 100%; animation: fh-shimmer 1.4s linear infinite; }
.fj-hotels__img { position: relative; display: block; width: 48px; height: 40px; overflow: hidden; border-radius: 8px; background: linear-gradient(135deg, #D8CBB4, #B5A487); }
.fj-hotels__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fj-hotels__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fj-hotels__text strong { overflow: hidden; color: #16140F; font-size: 14px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.fj-hotels__text small { color: #8F897D; font-size: 12px; font-variant-numeric: lining-nums tabular-nums; }
.fj-hotels__text small span { color: #8A6A1F; }
.fj-hotels__btn { padding: 6px 14px; border: 1px solid #16140F; border-radius: 10px; background: #FFFFFF; color: #16140F; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.fj-hotels__btn:hover { background: #16140F; color: #F7F0DD; }
.fj-hotels__more { display: block; padding: 12px 20px; border-top: 1px solid #EEE9DF; color: #8A6A1F; font-size: 13px; font-weight: 700; text-decoration: none; }
.fj-hotels__more:hover { color: #16140F; }
.fj-hotels__note { margin: 0; padding: 0 20px 14px; color: #8F897D; font-size: 12px; }
.fj-hotels a:focus-visible { outline: 2px solid #B8902F; outline-offset: 2px; }

@media (max-width: 900px) {
    .fh-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .fh-strip { padding: 18px 16px; }
    .fh-strip__title { font-size: 22px; }
    .fh-strip__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
    .fh-card { scroll-snap-align: start; }
    .fh-strip__all { width: 100%; }
}

/* Calm mode: no skeleton shimmer, no hover lift. */
@media (prefers-reduced-motion: reduce) {
    html:not(.gz-motion-full) .fh-card.is-skeleton,
    html:not(.gz-motion-full) .fj-hotels__row.is-skeleton { animation: none; }
    html:not(.gz-motion-full) .fh-card { transition: none; }
    html:not(.gz-motion-full) .fh-card:hover { transform: none; }
}

/* ================================== FLIGHT-UX-10 (05.2 fixes) */

/* Trip type: the selected option reads clearly (class from JS, :has() for programmatic changes). */
.fs-top .fs-trip__opt.is-active span,
.fs-top .fs-trip__opt:has(input:checked) span,
.fs-top .fs-trip__opt input:checked + span { background: #FFFFFF; color: #16140F; font-weight: 700; box-shadow: 0 1px 2px rgba(22, 20, 15, .08), 0 2px 8px rgba(22, 20, 15, .07); }
.fs-top .fs-trip__opt:not(.is-active):not(:has(input:checked)) span { background: transparent; box-shadow: none; }

/* "Uçuş planı ve uçak": gold outline only for keyboard focus, never after a mouse click. */
.fj .fj-plan__toggle:focus,
.fj .fj-plan__toggle:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.fj .fj-plan__toggle:focus-visible { outline: 2px solid #B8902F; outline-offset: -2px; }
.fj .fj-plan__toggle { -webkit-tap-highlight-color: transparent; }

/* ================================== GZ-FLIGHT-SEATMAP-01: seat map and baggage (extras step) */

/* Tokens: day by default; night through #fjExtras.is-night (double click) or html[data-theme="dark"]. */
.fj-xt {
    --xt-card: #FFFFFF; --xt-line: #EAE1CD; --xt-ink: #16140F; --xt-soft: #3D372C; --xt-mute: #6B6253; --xt-faint: #8C8270;
    --xt-gold: #B48A34; --xt-goldbg: #F7EED9; --xt-fus: #FBF8F2;
    --xt-free: #E9F2E4; --xt-free-b: #9DBF8C; --xt-std: #FFFFFF; --xt-std-b: #CFC3A8; --xt-front: #F4E8CA; --xt-front-b: #D2B470;
    --xt-exit: #E6EDF6; --xt-exit-b: #8FA8C8; --xt-occ: #ECE7DC; --xt-sel: #16140F; --xt-seltx: #E6C774;
    --xt-red: #B4462F; --xt-pos: #3E6B34; --xt-pos-bg: #E5F0E0; --xt-chip: #F3EEE3;
    --fj-sm-w: 38px; --fj-sm-h: 40px; --fj-sm-aisle: 34px;
    background: var(--xt-card); border-color: var(--xt-line); color: var(--xt-ink);
}
#fjExtras.is-night .fj-xt,
html[data-theme="dark"] .fj-xt {
    --xt-card: #13100C; --xt-line: rgba(217, 182, 94, .16); --xt-ink: #F4EAD6; --xt-soft: #D2C6AE; --xt-mute: #A89F8E; --xt-faint: #8C8270;
    --xt-gold: #D9B65E; --xt-goldbg: #1E1910; --xt-fus: #100E0A;
    --xt-free: #16231A; --xt-free-b: #4F7A52; --xt-std: #1A1611; --xt-std-b: #4A4234; --xt-front: #2A2214; --xt-front-b: #8C7438;
    --xt-exit: #152030; --xt-exit-b: #4D6A92; --xt-occ: #1C1812; --xt-sel: #E6C774; --xt-seltx: #16140F;
    --xt-red: #E58A72; --xt-pos: #8FBF7E; --xt-pos-bg: #1C2B1C; --xt-chip: #1C1812;
}
.fj-xt .fj-xcard__head h3,
.fj-xt .fj-xgroup__who,
.fj-xt .fj-xopt__title,
.fj-xt .fj-xopt__price { color: var(--xt-ink); }
.fj-xt .fj-xcard__summary,
.fj-xt .fj-xcard__hint,
.fj-xt .fj-xopt__sub { color: var(--xt-mute); }
.fj-xt .fj-xopt { background: var(--xt-card); border-color: var(--xt-line); }
.fj-xt .fj-xopt:has(input:checked) { background: var(--xt-goldbg); border-color: var(--xt-ink); }

/* flight / passenger tabs */
.fj-sm-segtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.fj-sm-segtab { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid var(--xt-line); border-radius: 999px; background: var(--xt-card); color: var(--xt-ink); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.fj-sm-segtab .fr-ico { flex: none; }
.fj-sm-segtab small { font-weight: 500; opacity: .7; }
.fj-sm-segtab[aria-selected="true"] { border-color: var(--xt-ink); background: var(--xt-ink); color: var(--xt-card); }
.fj-sm-seghead { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--xt-ink); font-size: 14px; font-weight: 700; }
.fj-sm-seghead small { color: var(--xt-mute); font-weight: 500; }
.fj-sm-segtab:focus-visible,
.fj-sm-pt:focus-visible,
.fj-sm-seat:focus-visible,
.fj-sm-btn:focus-visible,
.fj-sm-next:focus-visible,
.fj-bg-link:focus-visible { outline: 2px solid #C9A24A; outline-offset: 3px; }
.fj-sm-block { margin-top: 14px; }
.fj-sm-block[hidden],
.fj-sm-panel[hidden],
.fj-bg-block[hidden] { display: none; }
.fj-sm-paxtabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.fj-sm-pt { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--xt-line); border-radius: 14px; background: var(--xt-card); color: var(--xt-ink); font: inherit; text-align: left; cursor: pointer; }
.fj-sm-pt[aria-selected="true"] { border-color: var(--xt-gold); box-shadow: 0 0 0 3px var(--xt-goldbg); }
.fj-sm-pt__text { display: flex; flex-direction: column; min-width: 0; }
.fj-sm-pt b { font-size: 14px; }
.fj-sm-pt small { color: var(--xt-mute); font-size: 13px; }
.fj-sm-solo { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--xt-ink); font-size: 14px; }
.fj-sm-solo small { color: var(--xt-mute); font-size: 13px; }
.fj-sm-av { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--xt-sel); color: var(--xt-seltx); font-size: 12px; font-weight: 800; }

/* map + side */
.fj-sm-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: start; }
.fj-sm-body.is-list { grid-template-columns: minmax(0, 1fr); }
.fj-sm-maps { min-width: 0; max-width: 100%; overflow-x: auto; }
.fj-sm-fus { position: relative; width: max-content; margin: 0 auto; padding: 86px 26px 28px; border: 1px solid var(--xt-line); border-radius: 150px 150px 36px 36px; background: var(--xt-fus); }
.fj-sm-fus::before { content: ""; position: absolute; top: 22px; left: 50%; width: 96px; height: 34px; transform: translateX(-50%); border: 1px solid var(--xt-line); border-radius: 50px 50px 10px 10px; background: var(--xt-card); }
.fj-sm-cols,
.fj-sm-row { display: grid; grid-template-columns: var(--fj-sm-tpl); gap: 6px; align-items: center; justify-items: center; }
.fj-sm-cols { margin-bottom: 8px; color: var(--xt-faint); font-size: 12px; font-weight: 700; }
.fj-sm-row { margin-bottom: 6px; }
.fj-sm-rn { color: var(--xt-faint); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fj-sm-zone { display: flex; align-items: center; gap: 10px; margin: 12px 0 10px; color: var(--xt-faint); font-size: 12px; text-align: left; }
.fj-sm-zone::before,
.fj-sm-zone::after { content: ""; flex: 1; height: 1px; background: var(--xt-line); }
.fj-sm-exitbar { display: flex; justify-content: space-between; margin: 10px -18px 6px; color: var(--xt-red); font-size: 11px; font-weight: 700; }
.fj-sm-exitbar span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 2px; background: currentColor; vertical-align: 1px; }

.fj-sm-seat { position: relative; display: grid; place-items: center; box-sizing: border-box; width: var(--fj-sm-w); height: var(--fj-sm-h); padding: 0; border: 1.5px solid var(--xt-std-b); border-radius: 9px 9px 6px 6px; background: var(--xt-std); color: var(--xt-faint); font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.fj-sm-seat i { font-style: normal; opacity: .75; }
.fj-sm-seat.is-free { border-color: var(--xt-free-b); background: var(--xt-free); }
.fj-sm-seat.is-front { border-color: var(--xt-front-b); background: var(--xt-front); }
.fj-sm-seat.is-exit { border-color: var(--xt-exit-b); background: var(--xt-exit); }
.fj-sm-seat.is-taken { border-color: transparent; background: var(--xt-occ); cursor: not-allowed; }
.fj-sm-seat.is-taken svg { width: 12px; height: 12px; fill: none; stroke: var(--xt-faint); stroke-width: 1.6; }
.fj-sm-seat.is-mine,
.fj-sm-seat.is-other { border-color: var(--xt-sel); background: var(--xt-sel); color: var(--xt-seltx); font-size: 12px; font-weight: 800; }
.fj-sm-seat.is-other { opacity: .78; cursor: not-allowed; }
.fj-sm-seat.is-sample { width: 26px; height: 28px; font-size: 10px; cursor: default; }
@media (prefers-reduced-motion: no-preference) {
    .fj-sm-seat { transition: transform .12s ease, border-color .12s ease; }
    .fj-sm-seat:not([aria-disabled="true"]):hover { transform: translateY(-1px); border-color: var(--xt-gold); }
}
@media (prefers-reduced-motion: reduce) {
    .fj-sm-seat:hover { transform: none; }
}
.fj-sm-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fj-sm-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; width: 340px; max-width: 100%; }
.fj-sm-sheet { padding: 18px; border: 1px solid var(--xt-gold); border-radius: 16px; background: var(--xt-goldbg); }
.fj-sm-grab,
.fj-sm-sheetrow { display: none; }
.fj-sm-detail__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fj-sm-detail__no { font-family: 'Playfair Display', Georgia, serif; font-size: 34px; font-weight: 600; }
.fj-sm-detail__price { color: var(--xt-gold); font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.fj-sm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.fj-sm-tags span { padding: 4px 10px; border: 1px solid var(--xt-line); border-radius: 999px; background: var(--xt-card); font-size: 12px; font-weight: 600; }
.fj-sm-exitnote,
.fj-sm-hint { margin: 0; color: var(--xt-soft); font-size: 13px; line-height: 1.5; }
.fj-sm-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; font-size: 14px; font-weight: 700; }
.fj-sm-chosen { display: inline-flex; align-items: center; gap: 6px; color: var(--xt-gold); }
.fj-sm-chosen.is-muted { color: var(--xt-mute); font-weight: 600; }
.fj-sm-btn { min-height: 40px; padding: 0 16px; border: 1px solid var(--xt-ink); border-radius: 12px; background: var(--xt-ink); color: var(--xt-card); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.fj-sm-btn.is-quiet { padding: 0; border: 0; background: none; color: var(--xt-mute); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fj-sm-btn:disabled { border-color: var(--xt-line); background: var(--xt-chip); color: var(--xt-mute); cursor: not-allowed; }
.fj-sm-legend { display: grid; gap: 10px; margin: 0; padding: 0; color: var(--xt-soft); font-size: 14px; list-style: none; }
.fj-sm-legend li { display: flex; align-items: center; gap: 12px; }
.fj-sm-legend .fj-sm-seat { flex: none; }

/* baggage */
.fj-bg-block { margin-top: 18px; }
.fj-bg-allow { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.fj-bg-al { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid var(--xt-line); border-radius: 14px; background: var(--xt-card); }
.fj-bg-al__text { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; text-align: left; }
.fj-bg-al__text b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.fj-bg-al small { display: block; color: var(--xt-mute); font-size: 12px; }
.fj-bg-al em { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--xt-chip); color: var(--xt-mute); font-size: 12px; font-style: normal; font-weight: 800; white-space: nowrap; }
.fj-bg-al.is-yes em { background: var(--xt-pos-bg); color: var(--xt-pos); }
.fj-bg-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 12px; background: var(--xt-goldbg); }
.fj-bg-al .fj-bg-ico { width: 36px; height: 36px; margin: 0; }
.fj-bg-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--xt-gold); stroke-width: 1.6; stroke-linejoin: round; }
.fj-bg-note { margin: 12px 0 0; color: var(--xt-faint); font-size: 13px; line-height: 1.5; text-align: left; }
.fj-bg-foot { margin: 20px 0 0; color: var(--xt-faint); font-size: 13px; line-height: 1.5; text-align: left; }
.fj-bg-pax { min-width: 0; margin: 0; padding: 0; border: 0; }
.fj-bg-pax + .fj-bg-pax { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--xt-line); }
.fj-bg-pax.is-none { margin-top: 22px; }
.fj-bg-paxhead { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 12px; padding: 0; float: left; font-size: 15px; }
.fj-bg-pax.is-none .fj-bg-paxhead { float: none; }
.fj-bg-row { clear: both; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.fj-bg-opt { position: relative; display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 16px; border: 1.5px solid var(--xt-line); border-radius: 16px; background: var(--xt-card); text-align: left; cursor: pointer; }
.fj-bg-opt input { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.fj-bg-opt:has(input:checked) { border-color: var(--xt-ink); background: var(--xt-goldbg); }
#fjExtras.is-night .fj-bg-opt:has(input:checked),
html[data-theme="dark"] .fj-bg-opt:has(input:checked) { border-color: var(--xt-gold); }
.fj-bg-opt:has(input:focus-visible) { outline: 2px solid #C9A24A; outline-offset: 3px; }
.fj-bg-opt:has(input:checked)::after { content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--xt-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; }
#fjExtras.is-night .fj-bg-opt:has(input:checked)::after,
html[data-theme="dark"] .fj-bg-opt:has(input:checked)::after { background-color: var(--xt-gold); }
.fj-bg-opt b { font-size: 15px; }
.fj-bg-opt small { color: var(--xt-mute); font-size: 13px; }
.fj-bg-opt em { margin-top: 8px; font-size: 15px; font-style: normal; font-weight: 800; font-variant-numeric: lining-nums tabular-nums; }
.fj-bg-opt.is-none em { color: var(--xt-pos); }
.fj-bg-opt .fj-bg-per { margin-top: -2px; color: var(--xt-faint); font-size: 11px; }
.fj-bg-opts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; font-size: 14px; }
.fj-bg-opts:empty { display: none; }
.fj-bg-ck { position: relative; display: flex; align-items: center; gap: 10px; color: var(--xt-soft); cursor: pointer; text-align: left; }
.fj-bg-ck[hidden],
.fj-bg-link[hidden] { display: none; }
.fj-bg-ck input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fj-bg-ck__box { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--xt-std-b); border-radius: 6px; background: var(--xt-card); }
.fj-bg-ck input:checked + .fj-bg-ck__box { border-color: var(--xt-ink); background: var(--xt-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; }
.fj-bg-ck input:focus-visible + .fj-bg-ck__box { outline: 2px solid #C9A24A; outline-offset: 3px; }
.fj-bg-ck b { color: var(--xt-ink); }
.fj-bg-link { padding: 0; border: 0; background: none; color: var(--xt-gold); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }

/* basket / review lines */
.fj-basket__extra small,
.fj-review__extras small { display: block; color: #8F897D; font-size: 12px; }
.fj-basket__fx { margin: -8px 0 0; color: #8F897D; font-size: 12px; line-height: 1.4; text-align: left; }
.fj-basket__fx--sep { margin-top: -10px; color: #6F6A60; font-weight: 600; }

/* tablet and phone: one column, the detail card becomes a bottom sheet */
@media (max-width: 960px) {
    .fj-sm-body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .fj-sm-side { display: contents; }
    .fj-sm-legend { order: -1; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 14px; font-size: 12px; }
    .fj-sm-legend .fj-sm-seat.is-sample { width: 16px; height: 16px; border-radius: 4px; }
    .fj-sm-legend .fj-sm-seat.is-sample svg { display: none; }
    .fj-sm-maps { order: 0; }
    .fj-sm-sheet { position: sticky; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 12; order: 1; padding: 14px 18px 18px; border-color: var(--xt-line); border-radius: 24px 24px 0 0; background: var(--xt-card); box-shadow: 0 -14px 40px rgba(22, 20, 15, .12); }
    .fj-sm-grab { display: block; width: 40px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: var(--xt-line); }
    .fj-sm-detail__no { font-size: 24px; }
    .fj-sm-sheetrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
    .fj-sm-sheetrow small { display: block; color: var(--xt-mute); font-size: 12px; }
    .fj-sm-sheetrow b { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
    .fj-sm-next { min-height: 44px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--xt-ink); color: var(--xt-card); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
    .fj-sm-fus { padding: 70px 14px 20px; border-radius: 120px 120px 28px 28px; }
    .fj-sm-fus::before { top: 18px; width: 70px; height: 26px; }
    .fj-sm-cols,
    .fj-sm-row { gap: 5px; }
    .fj-sm-exitbar { margin: 8px -10px 5px; }
    .fj-xt { --fj-sm-w: 40px; --fj-sm-h: 42px; --fj-sm-aisle: 26px; }
}
@media (max-width: 760px) {
    .fj-bg-allow { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .fj-sm-segtabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .fj-sm-segtab { flex: none; padding: 7px 12px; font-size: 13px; }
    .fj-sm-pt { padding: 8px 10px; }
    .fj-sm-pt b { font-size: 13px; }
    .fj-bg-row { grid-template-columns: minmax(0, 1fr); }
    /* 40 px seats must fit a 360-375 px screen without sideways scrolling: tighter card, wall and aisle. */
    .fj-xt.fj-xcard { padding: 14px 12px; }
    .fj-xt { --fj-sm-aisle: 22px; }
    .fj-sm-fus { padding: 70px 6px 18px; }
    .fj-sm-cols,
    .fj-sm-row { gap: 4px; }
    .fj-sm-exitbar { margin: 8px -2px 5px; }
    .fj-sm-sheet { padding-right: 14px; padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .fj-sm-segtab,
    .fj-sm-pt,
    .fj-bg-opt { transition: none; }
}

/* ================================== GZ-FLIGHT-EXTRAS-FIX-01: notices, locked step, "Eklendi" */
.fj-xstatus:empty { display: none; }
.fj-xstatus { display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px; }
.fj-xnote { padding: 14px 16px; border: 1px solid #DCEBDD; border-radius: 14px; background: #EEF6EF; color: #2F4A36; font-size: 14px; line-height: 1.5; text-align: left; }
.fj-xnote p { margin: 0; }
.fj-xnote.is-error { border-color: #EBCFC8; background: #FBEFEC; color: #7A3322; }
.fj-xnote.is-warn { border-color: #EBDDB8; background: #FBF0D6; color: #6B4A0B; }
.fj-xnote.is-info { border-color: #E8E3D8; background: #F7F5F0; color: #3A362D; }
.fj-xnote__acts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 10px; }
.fj-xnote__btn { min-height: 40px; padding: 0 16px; border: 1px solid #16140F; border-radius: 12px; background: #16140F; color: #FFFFFF; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.fj-xnote__btn.is-quiet { border-color: #CFC6B3; background: #FFFFFF; color: #16140F; }
.fj-xnote__btn:focus-visible { outline: 2px solid #C9A24A; outline-offset: 3px; }
/* locked after a successful attach: choices stay visible but cannot be changed */
#fjExtras[data-locked="1"] .fj-sm-seat,
#fjExtras[data-locked="1"] .fj-bg-opt,
#fjExtras[data-locked="1"] .fj-bg-ck,
#fjExtras[data-locked="1"] .fj-bg-link,
#fjExtras[data-locked="1"] .fj-sm-btn,
#fjExtras[data-locked="1"] .fj-xopt { cursor: default; }
#fjExtras[data-locked="1"] .fj-sm-maps,
#fjExtras[data-locked="1"] .fj-bg-row,
#fjExtras[data-locked="1"] .fj-bg-opts,
#fjExtras[data-locked="1"] .fj-xopts { opacity: .82; }
.fj-added { display: block; color: #3E6B34; font-size: 11px; font-weight: 700; text-align: right; }
.fj-review__extras .fj-added { text-align: right; }

/* GZ-I18N-FLIGHT-01: on right-to-left pages (Arabic) the step arrows point the way the page reads. */
[dir="rtl"] .fj-dir-arrow { display: inline-block; transform: scaleX(-1); }
