/* Flight search results (Flight::frontend.search), from the flight-search page design. Everything is scoped to
   .bm-fs so the theme's own classes elsewhere are not touched. */
.bm-fs {
    --ui: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --body: "Inter", "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --blue: var(--bm-brand-strong,#0a73b0); --blue-dark: #0b7ab4; --blue-soft: #e8f4fd; --link: var(--bm-brand-strong,#0a73b0); --navy: #22303f;
    --red: #e8202a; --red-2: #d81b23; --green: #28a745; --green-2: #1e9e4a; --yellow: #f4b400;
    --ink: #1f2733; --ink-2: #4a5568; --muted: #8894a3; --muted-2: #a9b3c0;
    --line: #e3e8ee; --line-2: #eef1f5; --bg-soft: #f6f8fa;
    --r-sm: 3px; --r: 4px; --r-lg: 6px; --r-pill: 999px;
    --sh-1: 0 1px 2px rgba(20, 30, 50, .05); --sh-2: 0 2px 8px rgba(20, 30, 50, .08); --sh-3: 0 8px 26px rgba(20, 30, 50, .14);
    background: #fff; color: var(--ink); font-family: var(--body); font-size: 14px; line-height: 1.5;
    -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.bm-fs *, .bm-fs *::before, .bm-fs *::after { box-sizing: border-box; }
.bm-fs img { max-width: 100%; display: block; border: 0; }
.bm-fs a { color: inherit; text-decoration: none; }
.bm-fs button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.bm-fs input, .bm-fs select { font: inherit; color: inherit; }
.bm-fs h1, .bm-fs h2, .bm-fs h3, .bm-fs h4 { margin: 0; font-family: var(--ui); font-weight: 600; line-height: 1.3; color: var(--ink); }
.bm-fs p { margin: 0; }
.bm-fs :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.bm-fs .fs-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.bm-fs .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bm-fs .fs-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.bm-fs .ico { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- search band ---------- */
.bm-fs .searchband { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0 18px; }
.bm-fs .sopts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 12px; }
.bm-fs .sopt { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ui); font-size: 13.5px; color: var(--ink); }
.bm-fs .sopt .ico { width: 15px; height: 15px; color: var(--ink-2); }
.bm-fs .sopt select { border: 0; background: transparent; font-family: var(--ui); font-size: 13.5px; padding: 0 2px 0 0; cursor: pointer; }
.bm-fs .sopt select:focus { outline: none; }
.bm-fs .sform { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.bm-fs .sfield { flex: 1; min-width: 230px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--r); height: 44px; padding: 0 14px; background: #fff; }
.bm-fs .sfield:focus-within { border-color: var(--blue); }
.bm-fs .sfield .lb { font-size: 13px; color: var(--ink-2); flex: none; margin: 0; font-weight: 400; }
.bm-fs .sfield input { border: 0; flex: 1; min-width: 60px; font-size: 13px; background: transparent; font-weight: 500; color: var(--ink); height: 100%; padding: 0; box-shadow: none; }
.bm-fs .sfield input:focus { outline: none; }
.bm-fs .sfield.date { max-width: 250px; min-width: 214px; }
.bm-fs .swap { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink-2); align-self: center; flex: none; }
.bm-fs .swap:hover { border-color: var(--blue); color: var(--blue); }
.bm-fs .swap .ico { width: 15px; height: 15px; }
.bm-fs .sbtn { background: var(--red); color: #fff; font-family: var(--ui); font-size: 14px; font-weight: 600; height: 44px; padding: 0 26px; border-radius: var(--r); flex: none; }
.bm-fs .sbtn:hover { background: var(--red-2); }

/* ---------- layout ---------- */
.bm-fs .page { padding: 16px 0 40px; }
.bm-fs .grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; }
.bm-fs .col-main { min-width: 0; }

/* filter chips */
.bm-fs .fbar { display: flex; flex-wrap: nowrap; gap: 3px; align-items: center; padding-bottom: 12px; position: relative; overflow-x: auto; scrollbar-width: none; }
.bm-fs .fbar::-webkit-scrollbar { display: none; }
.bm-fs .fbar::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--blue); border-radius: 2px; }
.bm-fs .fchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-lg); font-family: var(--ui); font-size: 12px; color: var(--ink-2); background: #fff; white-space: nowrap; flex: none; }
.bm-fs .fchip:hover { border-color: var(--blue); color: var(--blue); }
.bm-fs .fchip[aria-pressed="true"] { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-dark); }
.bm-fs .fchip .cv { font-size: 9px; color: var(--muted); }
.bm-fs .fchip.all { border-color: transparent; color: var(--blue); font-weight: 500; padding-left: 0; padding-right: 8px; }
.bm-fs .fchip.all .ico { width: 15px; height: 15px; }

.bm-fs .ftools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 0 6px; border-top: 1px solid var(--line-2); }
.bm-fs .tgl { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ui); font-size: 12.5px; color: var(--ink-2); }
.bm-fs .tgl .dt { color: var(--blue); }
.bm-fs .tgl-note { font-size: 12px; color: var(--muted); }
.bm-fs .sw { width: 34px; height: 18px; border-radius: var(--r-pill); background: #dbe1e8; position: relative; transition: .2s; flex: none; }
.bm-fs .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: .2s; }
.bm-fs .tgl.on .sw { background: var(--blue); }
.bm-fs .tgl.on .sw::after { transform: translateX(16px); }

.bm-fs .resulthead { margin: 16px 0 14px; }
.bm-fs .resulthead h1, .bm-fs .resulthead h2 { font-size: 16px; margin-bottom: 4px; }
.bm-fs .rankline { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); }
.bm-fs .sortby { margin: 0 0 0 auto; display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-family: var(--ui); }
.bm-fs .sortby label { display: inline-flex; align-items: center; gap: 5px; margin: 0; font-weight: 400; font-size: 12px; }
.bm-fs .sortby .ico { width: 13px; height: 13px; }
.bm-fs .sortby select { border: 1px solid var(--line); border-radius: var(--r); height: 30px; padding: 0 8px; font-size: 12.5px; color: var(--ink); background: #fff; }

/* ---------- airline strip ---------- */
.bm-fs .alq { font-size: 15px; font-weight: 500; margin: 18px 0 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bm-fs .alq small { font-family: var(--body); font-size: 12.5px; font-weight: 400; color: var(--muted); }
.bm-fs .almat { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2); }
.bm-fs .almat-scroll { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; border-radius: var(--r-lg); }
.bm-fs .almat-scroll::-webkit-scrollbar { display: none; }
.bm-fs .almat table { border-collapse: separate; border-spacing: 0; width: 100%; margin: 0; }
.bm-fs .almat th, .bm-fs .almat td { padding: 0; text-align: center; white-space: nowrap; vertical-align: middle; }
.bm-fs .almat thead th:first-child, .bm-fs .almat tbody th { position: sticky; left: 0; z-index: 1; width: 148px; min-width: 148px; text-align: left; background: #fff; }
.bm-fs .almat thead th { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 14px 4px 12px; scroll-snap-align: start; }
.bm-fs .almat thead th:first-child { background: var(--bg-soft); }
.bm-fs .al-logo { display: grid; justify-items: center; gap: 7px; min-width: 106px; }
.bm-fs .al-mark { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--ui); font-size: 14px; font-weight: 600; color: #1f3b64; background: #e9edf3; border: 1px solid #d3dae5; overflow: hidden; }
.bm-fs .al-mark img { width: 34px; height: 34px; object-fit: contain; }
.bm-fs .al-logo .nm { font-family: var(--ui); font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.2; white-space: normal; max-width: 120px; }
.bm-fs .almat tbody th { font-weight: 500; font-family: var(--ui); font-size: 14px; color: var(--ink); padding: 0 10px 0 18px; border-bottom: 1px solid var(--line); }
.bm-fs .almat tbody tr:last-child th, .bm-fs .almat tbody tr:last-child td { border-bottom: 0; }
.bm-fs .al-row { display: flex; align-items: center; gap: 9px; }
.bm-fs .al-row .ico { width: 16px; height: 16px; color: var(--muted); }
.bm-fs .al-row small { display: block; font-family: var(--body); font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.bm-fs .almat tbody td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.bm-fs .al-cell { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 104px; min-height: 56px; padding: 6px 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.bm-fs .al-cell:hover { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); transform: translateY(-1px); color: var(--ink); }
.bm-fs .al-cell .tag { font-size: 10px; font-weight: 500; color: var(--green-2); letter-spacing: .02em; }
.bm-fs .al-cell.is-low { border-color: #bfe6cc; background: #f1faf4; }
.bm-fs .al-cell.is-best { border-color: var(--green-2); background: #eaf7ee; }
.bm-fs .al-cell[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 3px var(--blue-soft); }
.bm-fs .al-na { display: inline-grid; place-items: center; min-width: 104px; min-height: 56px; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--muted-2); font-size: 13px; }
.bm-fs .almat::before, .bm-fs .almat::after { content: ""; position: absolute; top: 1px; bottom: 1px; width: 28px; pointer-events: none; z-index: 2; opacity: 0; transition: opacity .2s; }
.bm-fs .almat::before { left: 148px; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.bm-fs .almat::after { right: 0; border-radius: 0 var(--r-lg) var(--r-lg) 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
.bm-fs .almat.can-prev::before, .bm-fs .almat.can-next::after { opacity: 1; }
.bm-fs .almat-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); display: grid; place-items: center; color: var(--ink-2); z-index: 3; transition: .15s; }
.bm-fs .almat-nav:hover { border-color: var(--blue); color: var(--blue); }
.bm-fs .almat-nav:disabled { opacity: 0; pointer-events: none; }
.bm-fs .almat-nav .ico { width: 16px; height: 16px; }
.bm-fs .almat-nav.prev { left: -16px; }
.bm-fs .almat-nav.next { right: -16px; }
.bm-fs .almat-note { font-size: 13px; color: var(--ink-2); line-height: 1.7; margin: 14px 0 18px; }

/* ---------- Best / Cheapest / Shortest / Flexible ---------- */
.bm-fs .bestbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; margin-bottom: 20px; }
.bm-fs .bestbar a { display: block; padding: 16px 18px 14px; border-right: 1px solid var(--line); position: relative; background: #fff; }
.bm-fs .bestbar a:last-child { border-right: 0; }
.bm-fs .bestbar .lb { display: flex; align-items: center; gap: 7px; font-family: var(--ui); font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.bm-fs .bestbar .lb .ico { width: 14px; height: 14px; color: var(--muted); }
.bm-fs .bestbar .pv { font-family: var(--ui); font-size: 17px; font-weight: 600; color: var(--ink); }
.bm-fs .bestbar a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: transparent; }
.bm-fs .bestbar a[aria-current="true"]::after { background: #2b3a55; }
.bm-fs .bestbar a:hover { background: var(--bg-soft); }

/* ---------- flight card ---------- */
.bm-fs .fcard.frc { border: 1px solid #e9edf2; border-radius: 14px; background: #fff; padding: 18px 20px 16px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(20, 30, 50, .04); }
.bm-fs .frc .frc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; align-items: stretch; }
.bm-fs .frc .frc-main { min-width: 0; }
.bm-fs .frc .frc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.bm-fs .frc .frc-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: contain; flex: none; background: #eef1f5; border: 1px solid var(--line-2); }
.bm-fs .frc .frc-logo-txt { display: grid; place-items: center; font-family: var(--ui); font-weight: 600; color: #1f3b64; }
.bm-fs .frc .frc-air { min-width: 0; margin-right: auto; }
.bm-fs .frc .frc-air b { display: block; font-family: var(--ui); font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.bm-fs .frc .frc-air small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.bm-fs .frc .frc-tag { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 8px; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.bm-fs .frc svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bm-fs .frc .t-seat { background: #eef5fd; color: #2f80d6; }
.bm-fs .frc .t-cheap { background: #e3f6e8; color: #1f7a3a; }
.bm-fs .frc .t-low { background: #fff1e6; color: #b35b00; }
.bm-fs .frc .frc-route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 190px) minmax(0, 1fr); gap: 14px; align-items: center; background: #f3f5f8; border-radius: 12px; padding: 20px 26px; }
.bm-fs .frc .frc-end { min-width: 0; }
.bm-fs .frc .frc-end small.lb { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.bm-fs .frc .frc-end .tm { font-family: var(--ui); font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.bm-fs .frc .frc-end .tm span { font-weight: 500; }
.bm-fs .frc .frc-end .tm .plus { font-size: 10.5px; color: var(--ink-2); margin-left: 2px; }
.bm-fs .frc .frc-end .dt { display: block; font-size: 12px; color: var(--muted); margin: 2px 0 12px; }
.bm-fs .frc .frc-end .ap { display: block; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-fs .frc .frc-end .ap b { font-family: var(--ui); font-weight: 600; color: var(--ink); }
.bm-fs .frc .frc-mid { text-align: center; color: var(--ink-2); font-size: 13.5px; }
.bm-fs .frc .frc-mid > svg { width: 18px; height: 18px; color: var(--ink); fill: currentColor; stroke: none; transform: rotate(90deg); margin: 0 auto; }
.bm-fs .frc .frc-mid .du { display: block; margin: 6px 0 4px; }
.bm-fs .frc .frc-mid .ln { position: relative; display: block; height: 10px; margin: 0 6px; }
.bm-fs .frc .frc-mid .ln::before { content: ""; position: absolute; left: 0; right: 8px; top: 4px; border-top: 1.5px dotted #6b7686; }
.bm-fs .frc .frc-mid .ln::after { content: ""; position: absolute; right: 0; top: 0; width: 8px; height: 8px; border-top: 1.5px solid #6b7686; border-right: 1.5px solid #6b7686; transform: rotate(45deg) translate(-1px, 1px); }
.bm-fs .frc .frc-mid .st { display: block; margin-top: 6px; font-weight: 500; color: var(--ink); }
.bm-fs .frc .frc-mid .st small { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.bm-fs .frc .frc-fare { background: #f3f5f8; border-radius: 12px; padding: 18px 18px 16px; display: flex; flex-direction: column; }
.bm-fs .frc .frc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.bm-fs .frc .frc-row span { font-size: 12.5px; color: var(--ink-2); }
.bm-fs .frc .frc-row b { font-family: var(--ui); font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.bm-fs .frc .frc-for { font-size: 11.5px; color: var(--muted); margin: 6px 0 10px; }
.bm-fs .frc .frc-pd { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border: 1px solid #d6dbe2; border-radius: 6px; background: #fff; font-size: 12px; color: var(--ink-2); }
.bm-fs .frc .frc-pd svg { width: 13px; height: 13px; }
.bm-fs .frc .frc-pd[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }
.bm-fs .frc .frc-break { margin: 10px 0 0; padding: 10px 0 0; border-top: 1px dashed #d6dbe2; font-size: 12px; color: var(--ink-2); }
.bm-fs .frc .frc-break[hidden] { display: none; }
.bm-fs .frc .frc-break div { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.bm-fs .frc .frc-book { margin-top: 16px; height: 42px; border-radius: 8px; background: #2196f3; color: #fff; font-family: var(--ui); font-size: 14px; font-weight: 600; letter-spacing: .3px; width: 100%; text-transform: uppercase; }
.bm-fs .frc .frc-book:hover { background: #1a7fd0; }
.bm-fs .frc .frc-book[aria-pressed="true"] { background: #1f7a3a; }
.bm-fs .frc .frc-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.bm-fs .frc .frc-det { height: 44px; padding: 0 22px; border-radius: 10px; background: #e8f2fd; color: #2f80d6; font-family: var(--ui); font-size: 14px; font-weight: 500; margin-right: auto; }
.bm-fs .frc .frc-chip { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 8px; border-radius: 10px; font-size: 13.5px; white-space: nowrap; }
.bm-fs .frc .frc-chip svg { width: 17px; height: 17px; }
.bm-fs .frc .c-non { background: none; color: #e0413c; }
.bm-fs .frc .c-part { background: none; color: #b35b00; }
.bm-fs .frc .c-full { background: none; color: #1f7a3a; }
.bm-fs .frc .c-bag { background: none; color: var(--ink-2); gap: 12px; }
.bm-fs .frc .c-bag span { display: inline-flex; align-items: center; gap: 6px; }
.bm-fs .frc .c-cab { background: none; color: #1f7a3a; }

/* expanded detail */
.bm-fs .fc-detail { display: none; }
.bm-fs .fcard.is-open .fc-detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.bm-fs .det-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bm-fs .seg-tabs { display: flex; }
.bm-fs .seg-tab { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; font-family: var(--ui); font-size: 12.5px; background: var(--blue); color: #fff; }
.bm-fs .seg-body { padding: 14px; }
.bm-fs .seg-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--bg-soft); border-radius: var(--r-sm); padding: 9px 12px; font-size: 12.5px; color: var(--ink); }
.bm-fs .seg-strip .ico { width: 15px; height: 15px; color: var(--muted); }
.bm-fs .seg-strip .ico.is-blue { color: var(--blue); }
.bm-fs .seg-strip .r { margin-left: auto; color: var(--muted); font-size: 11.5px; }
.bm-fs .seg-mid { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 12px 0; }
.bm-fs .seg-rail { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted-2); }
.bm-fs .seg-rail .ico { width: 15px; height: 15px; color: var(--blue); }
.bm-fs .seg-rail .ln { width: 1px; flex: 1; background: var(--line); min-height: 14px; }
.bm-fs .seg-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 12.5px; }
.bm-fs .seg-cols b { font-family: var(--ui); font-size: 13px; font-weight: 600; display: block; }
.bm-fs .seg-cols .lbl b { display: inline; }
.bm-fs .seg-cols small { color: var(--muted); font-size: 11.5px; }
.bm-fs .seg-cols .lbl { color: var(--ink-2); }
.bm-fs .seg-cols .wide .lbl + .lbl { margin-left: 14px; }
.bm-fs .seg-cols b + small { display: block; }
.bm-fs .seg-cols .wide { grid-column: 2 / 4; }
.bm-fs .pol-tabs { display: flex; }
.bm-fs .pol-tab { flex: 1; padding: 11px 14px; font-family: var(--ui); font-size: 12.5px; color: var(--ink-2); background: #e8ecf1; text-align: center; }
.bm-fs .pol-tab[aria-selected="true"] { background: var(--blue); color: #fff; }
.bm-fs .pol-body { padding: 14px; font-size: 12.5px; color: var(--ink-2); line-height: 1.75; }
.bm-fs .pol-body p { margin: 0 0 8px; }
.bm-fs .pol-body .em { color: var(--ink); font-weight: 600; }

/* between results: car rentals and hotels at the destination */
.bm-fs .sponsor { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 16px; background: #fff; padding: 16px 20px; }
.bm-fs .sponsor .sp-ico { width: 52px; height: 52px; border-radius: 12px; background: #fdf5df; color: #8a6400; display: grid; place-items: center; flex: none; }
.bm-fs .sponsor .sp-ico .ico { width: 26px; height: 26px; }
.bm-fs .sponsor-body { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; flex-wrap: wrap; }
.bm-fs .sponsor h3 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.bm-fs .sponsor p { font-size: 12.5px; color: var(--ink-2); }
.bm-fs .sponsor .deal { margin-left: auto; flex: none; background: var(--yellow); color: #3a2c00; font-family: var(--ui); font-size: 13px; font-weight: 600; height: 36px; padding: 0 20px; border-radius: var(--r-sm); display: inline-flex; align-items: center; gap: 9px; }
.bm-fs .sponsor .deal:hover { background: #e0a500; }
.bm-fs .sponsor .deal .ico { width: 14px; height: 14px; }
.bm-fs .hotels { margin: 6px 0 18px; }
.bm-fs .hotels h3 { font-size: 15px; margin-bottom: 3px; }
.bm-fs .hotels .sub { font-size: 12.5px; color: var(--ink-2); margin: 0 0 14px; }
.bm-fs .hotels .sub a { color: var(--link); text-decoration: underline; }
.bm-fs .hgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bm-fs .hcard { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.bm-fs .hmedia { display: block; height: 220px; background: var(--bg-soft); }
.bm-fs .hmedia img { width: 100%; height: 100%; object-fit: cover; }
.bm-fs .hbody { padding: 12px 14px; flex: 1; }
.bm-fs .hcity { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.bm-fs .hcity .ico { width: 13px; height: 13px; color: var(--blue); }
.bm-fs .hname { display: block; font-family: var(--ui); font-size: 13.5px; color: var(--blue); margin: 4px 0 5px; }
.bm-fs .hrev { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.bm-fs .hrev .st { color: var(--yellow); letter-spacing: 1px; }
.bm-fs .hprice { text-align: right; margin-top: 10px; font-size: 12.5px; color: var(--link); }
.bm-fs .hprice b { font-family: var(--ui); font-size: 16px; color: var(--red); font-weight: 600; }
.bm-fs .hprice .per { color: var(--ink-2); }
.bm-fs .hfoot { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line-2); padding: 10px 14px; }
.bm-fs .hfoot .av { font-family: var(--ui); font-size: 11.5px; font-weight: 600; }
.bm-fs .hfoot .bk { margin-left: auto; background: var(--blue); color: #fff; font-family: var(--ui); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; height: 30px; padding: 0 20px; border-radius: var(--r-sm); display: inline-flex; align-items: center; }
.bm-fs .hfoot .bk:hover { background: var(--blue-dark); }

/* empty, load more, result foot */
.bm-fs .fs-empty { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 30px 20px; border: 1px dashed var(--line); border-radius: var(--r-lg); color: var(--ink-2); font-size: 13.5px; }
.bm-fs .fs-empty b { font-family: var(--ui); font-size: 15px; color: var(--ink); }
.bm-fs .fs-empty a { margin-top: 6px; color: var(--link); text-decoration: underline; font-family: var(--ui); }
.bm-fs .loadwrap { display: grid; place-items: center; margin: 22px 0 18px; }
.bm-fs .loadbtn { display: inline-flex; align-items: center; gap: 9px; background: #eef1f5; border-radius: var(--r-sm); height: 34px; padding: 0 24px; font-family: var(--ui); font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.bm-fs .loadbtn:hover { background: #e3e8ef; color: var(--ink); }
.bm-fs .loadbtn .ico { width: 15px; height: 15px; }
.bm-fs .resfoot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line-2); padding-top: 14px; margin-top: 18px; font-size: 13px; }
.bm-fs .resfoot .found { font-weight: 600; }
.bm-fs .resfoot .show { color: var(--muted); }
.bm-fs .resfoot .again { margin-left: auto; background: #dbeafe; border-radius: var(--r-sm); padding: 12px 18px; text-align: center; font-size: 12.5px; color: var(--ink-2); }
.bm-fs .resfoot .again a { color: var(--ink); font-weight: 700; text-decoration: underline; }

/* ---------- sidebar ---------- */
.bm-fs .side { display: grid; gap: 16px; position: sticky; top: 14px; align-self: start; align-content: start; min-width: 0; }
.bm-fs .fs-filters { display: grid; gap: 16px; margin: 0; min-width: 0; }
.bm-fs .fbox { background: var(--bg-soft); border-radius: var(--r); overflow: hidden; scroll-margin-top: 80px; }
.bm-fs .fbox-h { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-family: var(--ui); font-size: 15px; font-weight: 600; color: var(--ink); width: 100%; text-align: left; }
.bm-fs .fbox-h .ico { margin-left: auto; width: 16px; height: 16px; color: var(--ink-2); transition: transform .2s; }
.bm-fs .fbox.closed .fbox-h .ico { transform: rotate(180deg); }
.bm-fs .fbox-b { padding: 4px 16px 16px; background: #fff; }
.bm-fs .fbox.closed .fbox-b { display: none; }
.bm-fs .fbox.is-flash { box-shadow: 0 0 0 2px var(--blue); }
.bm-fs .fbox-note { font-size: 12.5px; color: var(--ink-2); padding-top: 14px; line-height: 1.6; }
.bm-fs .fbox-note b { color: var(--ink); }
.bm-fs .prng { position: relative; height: 20px; margin: 16px 0 8px; }
.bm-fs .prng .trk { position: absolute; left: 0; right: 0; top: 8px; height: 4px; background: #dbe1e8; border-radius: 3px; }
.bm-fs .prng .fill { position: absolute; top: 8px; height: 4px; background: #1f6fd0; border-radius: 3px; }
.bm-fs .prng input { position: absolute; left: 0; top: 0; width: 100%; height: 20px; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; }
.bm-fs .prng input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid #cbd5e0; box-shadow: var(--sh-2); cursor: pointer; pointer-events: auto; }
.bm-fs .prng input::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid #cbd5e0; box-shadow: var(--sh-2); cursor: pointer; pointer-events: auto; box-sizing: border-box; }
.bm-fs .prng-out { text-align: center; font-size: 13px; font-family: var(--ui); }
.bm-fs .segswitch { display: flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin: 14px 0; }
.bm-fs .segswitch button { flex: 1; padding: 9px; font-family: var(--ui); font-size: 13px; color: var(--ink-2); background: #fff; }
.bm-fs .segswitch button[aria-selected="true"] { background: var(--blue-soft); color: var(--blue-dark); font-weight: 500; }
.bm-fs .sched-lb { font-family: var(--ui); font-size: 13.5px; font-weight: 600; margin-bottom: 10px; }
.bm-fs .slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bm-fs .slot { position: relative; display: grid; justify-items: center; gap: 2px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 4px 7px; text-align: center; background: #fff; cursor: pointer; margin: 0; font-weight: 400; }
.bm-fs .slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.bm-fs .slot .ico { width: 19px; height: 19px; color: var(--muted); }
.bm-fs .slot span { font-size: 10px; color: var(--ink-2); font-family: var(--ui); line-height: 1.2; }
.bm-fs .slot small { font-size: 10px; color: var(--muted); }
.bm-fs .slot.on, .bm-fs .slot:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.bm-fs .slot.on .ico, .bm-fs .slot.on span, .bm-fs .slot:has(input:checked) .ico, .bm-fs .slot:has(input:checked) span { color: var(--blue-dark); }
.bm-fs .slot:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.bm-fs .frow { display: flex; align-items: center; gap: 11px; padding: 11px 0; font-size: 13.5px; color: var(--ink-2); cursor: pointer; border-bottom: 1px solid var(--line-2); margin: 0; font-weight: 400; }
.bm-fs .fbox-b .frow:last-of-type { border-bottom: 0; }
.bm-fs .frow input { width: 17px; height: 17px; accent-color: var(--blue); flex: none; margin: 0; }
.bm-fs .frow .cnt { color: var(--muted); font-size: 12px; }
.bm-fs .frow .amt { margin-left: auto; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.bm-fs [data-fs-more]:not(.is-open) .is-more { display: none; }
.bm-fs .showmore { color: var(--link); font-family: var(--ui); font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; padding-top: 8px; }
.bm-fs .showmore .ico { width: 13px; height: 13px; }
.bm-fs .fs-clear { display: block; text-align: center; color: var(--link); font-family: var(--ui); font-size: 13px; text-decoration: underline; }

/* ---------- booking summary ---------- */
.bm-fs .bsum { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 4px 18px rgba(20, 30, 50, .10); border: 1px solid var(--line); scroll-margin-top: 80px; }
.bm-fs .bs-hero { position: relative; background: linear-gradient(135deg, #1a73e8 0%, #1667d4 60%, #1257ba 100%); padding: 14px 16px 46px; color: #fff; overflow: hidden; }
.bm-fs .bs-hero::after { content: ""; position: absolute; inset: 0; opacity: .16; background-image: radial-gradient(circle, #fff 1px, transparent 1.2px); background-size: 9px 9px; pointer-events: none; }
.bm-fs .bs-hero-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.bm-fs .bs-hero-top .back { width: 26px; height: 26px; display: grid; place-items: center; color: #fff; flex: none; }
.bm-fs .bs-hero-top .back .ico { width: 17px; height: 17px; }
.bm-fs .bs-hero-top h2 { flex: 1; text-align: center; font-size: 15px; font-weight: 600; color: #fff; margin-right: 26px; }
.bm-fs .bs-arc { position: relative; z-index: 1; height: 74px; }
.bm-fs .bs-arc svg.path { position: absolute; inset: 0; width: 100%; height: 100%; }
.bm-fs .bs-arc .pt { position: absolute; text-align: center; font-size: 10px; color: rgba(255, 255, 255, .9); line-height: 1.3; max-width: 45%; }
.bm-fs .bs-arc .pt .ico { width: 15px; height: 15px; color: #fff; display: block; margin: 0 auto 2px; }
.bm-fs .bs-arc .pt.a { left: 2%; top: 6px; }
.bm-fs .bs-arc .pt.b { right: 2%; bottom: 0; }
.bm-fs .bs-arc .plane { position: absolute; left: 52%; top: 10px; color: #fff; }
.bm-fs .bs-arc .plane .ico { width: 19px; height: 19px; transform: rotate(-28deg); }
.bm-fs .bs-card { position: relative; margin: -34px 12px 0; background: #fff; border-radius: 10px; box-shadow: 0 3px 14px rgba(20, 30, 50, .10); padding: 15px 16px; }
.bm-fs .bs-od { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; }
.bm-fs .bs-od .code { display: block; font-family: var(--ui); font-size: 25px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.bm-fs .bs-od .city { display: block; font-size: 10.5px; color: var(--muted); line-height: 1.35; margin-top: 5px; }
.bm-fs .bs-od .to { text-align: right; }
.bm-fs .bs-od .mid { text-align: center; padding-top: 5px; }
.bm-fs .bs-od .mid .line { position: relative; display: block; height: 12px; }
.bm-fs .bs-od .mid .line::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; border-top: 1.5px dashed #b9c6d4; }
.bm-fs .bs-od .mid .ico { width: 15px; height: 15px; color: var(--blue); background: #fff; padding: 0 3px; position: relative; }
.bm-fs .bs-od .mid .dur { display: block; font-family: var(--ui); font-size: 12px; font-weight: 600; margin-top: 3px; }
.bm-fs .bs-carrier { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line-2); }
.bm-fs .bs-carrier img { width: 30px; height: 30px; object-fit: contain; border-radius: 5px; flex: none; }
.bm-fs .bs-carrier .nm { font-size: 11.5px; color: var(--muted); display: block; }
.bm-fs .bs-carrier .tm { font-family: var(--ui); font-size: 13px; font-weight: 600; }
.bm-fs .bs-carrier .r { margin-left: auto; text-align: right; white-space: nowrap; }
.bm-fs .bs-carrier .r .d { display: block; font-family: var(--ui); font-size: 13px; font-weight: 600; }
.bm-fs .bs-carrier .r .s { display: block; font-size: 12px; color: var(--muted); }
.bm-fs .bs-chips { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.bm-fs .bs-chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); }
.bm-fs .bs-chips .ico { width: 14px; height: 14px; color: var(--blue); }
.bm-fs .bs-pax-wrap { margin: 12px 12px 0; background: var(--bg-soft); border-radius: 10px; padding: 10px 14px; }
.bm-fs .bs-pax { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; }
.bm-fs .bs-pax .lab small { color: var(--muted); font-size: 12px; padding-left: 8px; }
.bm-fs .bs-pax select { margin-left: auto; height: 30px; border: 1px solid var(--line); border-radius: 5px; background: #fff; font-size: 13px; padding: 0 6px; max-width: 60%; }
.bm-fs .bs-pax .ctrl { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; flex: none; }
.bm-fs .bs-pax .ctrl button { width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink-2); display: grid; place-items: center; font-family: var(--ui); font-size: 14px; line-height: 1; }
.bm-fs .bs-pax .ctrl button:hover:not([disabled]) { border-color: var(--blue); color: var(--blue); }
.bm-fs .bs-pax .ctrl button[disabled] { opacity: .4; cursor: default; }
.bm-fs .bs-pax .ctrl output { min-width: 16px; text-align: center; font-size: 13px; }
.bm-fs .bs-pricebox { padding: 14px 16px 16px; }
.bm-fs .bs-pricebox .tot-lab { font-size: 11.5px; color: var(--muted); }
.bm-fs .bs-pricebox .tot-amt { font-family: var(--ui); font-size: 22px; font-weight: 600; color: var(--blue); letter-spacing: -.02em; margin: 1px 0 12px; }
.bm-fs .bs-line { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); padding: 6px 0; }
.bm-fs .bs-line b { font-family: var(--ui); color: var(--ink); font-weight: 600; white-space: nowrap; }
.bm-fs .bs-split { border-top: 1.5px dashed #d6dde5; margin: 10px 0 0; }
.bm-fs .bs-pay { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0 0; }
.bm-fs .bs-pay .lab { font-family: var(--ui); font-size: 14px; font-weight: 700; }
.bm-fs .bs-pay .amt { font-family: var(--ui); font-size: 17px; font-weight: 700; }
.bm-fs .bs-fine { font-size: 11px; color: var(--muted); margin-top: 8px; }
.bm-fs .bs-cta { display: flex; align-items: center; justify-content: center; gap: 10px; position: relative; width: 100%; margin-top: 14px; background: linear-gradient(180deg, #ff8a3d, #f4761b); color: #fff; font-family: var(--ui); font-size: 14.5px; font-weight: 600; height: 46px; border-radius: 8px; }
.bm-fs .bs-cta:hover { filter: brightness(.96); }
.bm-fs .bs-cta[disabled] { opacity: .6; cursor: wait; }
.bm-fs .bs-cta .ico { width: 16px; height: 16px; position: absolute; right: 16px; }
.bm-fs .bs-msg { font-size: 12.5px; color: #c0262d; margin-top: 8px; }
.bm-fs .bs-empty { padding: 22px 16px; font-size: 13px; color: var(--muted); line-height: 1.7; text-align: center; }
.bm-fs .bs-empty b { display: block; color: var(--ink); font-family: var(--ui); font-size: 13.5px; margin-bottom: 4px; }

/* ads */
.bm-fs .fs-wrap.bm-ad-row { margin: 40px auto; }
@media (max-width: 760px) { .bm-fs .fs-wrap.bm-ad-row { margin: 32px auto; } }

.bm-fs .fs-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: var(--r-pill); font-family: var(--ui); font-size: 13px; z-index: 999; opacity: 0; transition: opacity .25s; pointer-events: none; box-shadow: var(--sh-3); max-width: calc(100% - 32px); }
.bm-fs .fs-toast.show { opacity: 1; }

/* ---------- responsive ---------- */
/* ---------- trip type, more legs, bags, compare (search band) ---------- */
.bm-fs [hidden] { display: none !important; }
.bm-fs .sfield input[type=date] { min-width: 0; }
/* every date box shows the same calendar icon in every browser, in place of Chromium's own picker button; a click on it (or anywhere in the box) opens the picker (js/flight-band.js) */
/* date boxes: one 16px calendar on the left, in the bar grey. The browser icon is stretched, invisible, over the input,
   and a click on the label or the calendar opens the picker too (flight-band.js). Firefox keeps its own button. */
.bm-fs .sfield .cal { width: 16px; height: 16px; flex: 0 0 16px; stroke-width: 2; color: rgb(154, 165, 177); cursor: pointer; }
.bm-fs .sfield.date .lb { cursor: pointer; }
.bm-fs .sfield input[type=date] { position: relative; cursor: pointer; }
.bm-fs .sfield input[type=date]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.bm-fs .smulti { display: grid; gap: 10px; margin-top: 10px; }
.bm-fs .sleg { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bm-fs .sleg-n { font-family: var(--ui); font-size: 12.5px; color: var(--ink-2); flex: none; min-width: 64px; }
.bm-fs .sleg .sfield { min-width: 200px; }
.bm-fs .sleg-x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); flex: none; }
.bm-fs .sleg-x:hover { border-color: var(--red); color: var(--red); }
.bm-fs .sleg-add { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-family: var(--ui); font-size: 13px; color: var(--link); padding: 4px 0; }
.bm-fs .sbags-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 10px; font-size: 12px; color: var(--ink-2); }
.bm-fs .sbags-note .ico { width: 14px; height: 14px; margin-top: 2px; color: var(--blue); }
.bm-fs .compare { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-family: var(--ui); font-size: 12.5px; color: var(--ink-2); }
.bm-fs .compare a { display: inline-flex; align-items: center; gap: 5px; color: var(--link); font-weight: 500; }
.bm-fs .compare a:hover { text-decoration: underline; }
.bm-fs .compare .ico { width: 12px; height: 12px; }
.bm-fs .compare small { flex-basis: 100%; font-family: var(--body); font-size: 11.5px; color: var(--muted); }

/* ---------- track prices, date grid, price graph ---------- */
.bm-fs button.tgl { padding: 0; cursor: pointer; }
.bm-fs .tgl .ico { width: 15px; height: 15px; color: var(--ink-2); }
.bm-fs .ftools .right { margin-left: auto; display: inline-flex; gap: 16px; }
.bm-fs .ftools .right button { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ui); font-size: 12.5px; color: var(--link); }
.bm-fs .ftools .right button[aria-expanded="true"] { color: var(--blue-dark); font-weight: 600; }
.bm-fs .ftools .right .ico { width: 15px; height: 15px; }
.bm-fs .fs-panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; margin: 10px 0 4px; background: #fff; box-shadow: var(--sh-1); }
.bm-fs .fs-panel h2 { font-size: 14px; margin-bottom: 4px; }
.bm-fs .fs-panel-note { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.bm-fs .fs-panel-empty { font-size: 13px; color: var(--ink-2); padding: 10px 0; }
.bm-fs .dstrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.bm-fs .dday { display: grid; justify-items: center; gap: 1px; padding: 8px 4px; border: 1px solid var(--line); border-radius: var(--r); font-size: 11.5px; color: var(--ink-2); text-align: center; }
.bm-fs .dday b { font-family: var(--ui); font-size: 12.5px; color: var(--ink); font-weight: 600; }
.bm-fs .dday em { font-style: normal; font-family: var(--ui); font-size: 12.5px; color: var(--link); font-weight: 600; }
.bm-fs a.dday:hover { border-color: var(--blue); }
.bm-fs .dday.is-low { background: #eaf7ee; border-color: #bfe6cc; }
.bm-fs .dday.is-low em { color: var(--green-2); }
.bm-fs .dday.na { background: var(--bg-soft); }
.bm-fs .dday.na em { color: var(--muted); }
.bm-fs .dday[aria-current="true"] { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-soft); }
.bm-fs .dgrid-scroll { overflow-x: auto; }
.bm-fs .dgrid { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 12px; }
.bm-fs .dgrid th, .bm-fs .dgrid td { border: 1px solid var(--line-2); padding: 6px 4px; text-align: center; }
.bm-fs .dgrid th { background: var(--bg-soft); font-weight: 400; color: var(--ink-2); }
.bm-fs .dgrid th b { display: block; font-family: var(--ui); color: var(--ink); font-weight: 600; }
.bm-fs .dgrid th.is-on { background: var(--blue-soft); }
.bm-fs .dgrid td a { display: block; font-family: var(--ui); font-weight: 600; color: var(--link); border-radius: var(--r-sm); padding: 4px 2px; }
.bm-fs .dgrid td a:hover, .bm-fs .dgrid td a[aria-current="true"] { background: var(--blue-soft); }
.bm-fs .dgrid .na { color: var(--muted); }
.bm-fs .pgraph { list-style: none; margin: 0; padding: 0 0 18px; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; align-items: end; height: 150px; }
.bm-fs .pgraph li { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.bm-fs .pgraph a { display: flex; align-items: flex-end; width: 100%; height: var(--h); }
.bm-fs .pgraph a i { display: block; width: 100%; height: 100%; background: #9cc9ec; border-radius: 2px 2px 0 0; }
.bm-fs .pgraph a:hover i, .bm-fs .pgraph li.is-on a i { background: var(--blue); }
.bm-fs .pgraph a i.is-low { background: var(--green-2); }
.bm-fs .pgraph .na { font-size: 10px; color: var(--muted); line-height: 1; padding-bottom: 2px; }
.bm-fs .pgraph small { position: absolute; top: 100%; left: 0; margin-top: 3px; font-size: 9.5px; color: var(--muted); white-space: nowrap; }

/* ---------- legs of a round trip / multi-city trip ---------- */
.bm-fs .legtabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin: 14px 0 0; }
.bm-fs .legtab { display: grid; gap: 1px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-lg); font-size: 12px; color: var(--ink-2); position: relative; }
.bm-fs .legtab .n { font-family: var(--ui); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.bm-fs .legtab b { font-family: var(--ui); font-size: 14px; color: var(--ink); }
.bm-fs .legtab .pv { font-family: var(--ui); color: var(--link); font-weight: 600; }
.bm-fs .legtab .ok { position: absolute; top: 8px; right: 10px; font-size: 11px; color: var(--green-2); font-weight: 600; }
.bm-fs .legtab:hover { border-color: var(--blue); }
.bm-fs .legtab[aria-current="step"] { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 -3px 0 var(--blue); }
.bm-fs .legwarn { margin-top: 8px; font-size: 12.5px; color: #c0262d; }

/* ---------- offers between results ---------- */
.bm-fs .promo-coupon { display: flex; align-items: center; gap: 12px; background: #fff5ee; border: 1px solid #ffd9bd; border-radius: var(--r); padding: 11px 14px; margin-bottom: 16px; }
.bm-fs .promo-coupon .ci { color: #f07800; width: 22px; height: 22px; }
.bm-fs .promo-coupon b { display: block; font-family: var(--ui); font-size: 14px; color: #e06c00; font-weight: 600; }
.bm-fs .promo-coupon span { font-size: 12.5px; color: var(--ink-2); }
.bm-fs .promo-coupon .btn { margin-left: auto; background: #f07800; color: #fff; height: 34px; padding: 0 16px; border-radius: var(--r-sm); font-family: var(--ui); font-size: 13px; font-weight: 600; white-space: nowrap; flex: none; }
.bm-fs .promo-coupon .btn:hover { background: #e07000; }
.bm-fs .promo-coupon.is-claimed .btn { background: var(--green); cursor: default; }
.bm-fs .promo-secret { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r); padding: 11px 14px; margin-bottom: 16px; }
.bm-fs .promo-secret .si { color: var(--blue); width: 19px; height: 19px; }
.bm-fs .promo-secret b { display: block; font-family: var(--ui); font-size: 14px; font-weight: 600; }
.bm-fs .promo-secret span { font-size: 12.5px; color: var(--ink-2); }
.bm-fs .promo-secret .acts { margin-left: auto; display: flex; gap: 14px; color: var(--link); font-weight: 600; white-space: nowrap; flex: none; }
.bm-fs .sponsor .sp-code { margin-top: 4px; }
.bm-fs .sponsor .sp-code b { font-family: var(--ui); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1px 7px; color: var(--navy); }

/* ---------- cards: meal, emissions ---------- */
.bm-fs .frc .c-food { background: none; color: #a2501a; }
.bm-fs .frc .c-co2 { background: none; color: #2f6b2a; }

/* ---------- fares timer ---------- */
.bm-fs .timer { display: flex; align-items: center; gap: 10px; font-family: var(--ui); font-size: 13.5px; color: var(--ink); margin: 16px 0 6px; }
.bm-fs .timer .ico { width: 20px; height: 20px; color: var(--blue); }
.bm-fs .timer b { margin-left: auto; color: var(--blue); font-size: 15px; font-weight: 600; white-space: nowrap; }
.bm-fs .timer .timer-go { margin-left: auto; background: var(--blue); color: #fff; height: 30px; padding: 0 14px; border-radius: var(--r-sm); display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; }
.bm-fs .timer.is-old .ico { color: #e06c00; }
.bm-fs .timer-note { font-size: 12px; color: var(--ink-2); margin-bottom: 14px; }

/* ---------- booking summary: legs, add-ons ---------- */
.bm-fs .bs-leg + .bs-leg { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.bm-fs .bs-od + .bs-leg .bs-carrier { margin-top: 14px; }
.bm-fs .bs-leg-h { font-size: 12px; color: var(--ink-2); }
.bm-fs .bs-leg-h b { font-family: var(--ui); color: var(--ink); margin-right: 4px; }
.bm-fs .bs-leg .bs-leg-h + .bs-carrier { margin-top: 6px; padding-top: 0; border-top: 0; }
.bm-fs .bs-next { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--ui); font-size: 13px; color: var(--link); font-weight: 600; }
.bm-fs .bs-next .ico { width: 14px; height: 14px; }
.bm-fs p.bs-next { color: var(--muted); font-weight: 400; }
.bm-fs .bs-change { margin-top: 8px; font-size: 12px; color: var(--link); text-decoration: underline; }
.bm-fs .bs-extras { border: 0; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 7px; }
.bm-fs .bs-extras legend { font-family: var(--ui); font-size: 12.5px; font-weight: 600; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.bm-fs .bs-extras label { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; margin: 0; font-weight: 400; cursor: pointer; }
.bm-fs .bs-extras input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.bm-fs .bs-extras small { display: block; color: var(--muted); font-size: 11.5px; }
.bm-fs .bs-ask { display: block; font-style: normal; font-size: 11.5px; color: #a2501a; }
.bm-fs .bs-todo { color: var(--ink-2); font-size: 12.5px; }
.bm-fs .bs-offer { color: var(--green-2); }

@media (max-width: 1080px) {
    .bm-fs .grid { grid-template-columns: minmax(0, 1fr); }
    .bm-fs .side { position: static; }
    .bm-fs .fs-filters { grid-template-columns: 1fr 1fr; align-items: start; }
    .bm-fs .fcard.is-open .fc-detail { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
    .bm-fs .frc .frc-grid { grid-template-columns: minmax(0, 1fr); }
    .bm-fs .frc .frc-fare { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 4px 14px; align-items: center; }
    .bm-fs .frc .frc-fare > * { grid-column: 1; }
    .bm-fs .frc .frc-fare .frc-book { grid-column: 2; grid-row: 1 / 5; margin: 0; align-self: center; }
}
@media (max-width: 820px) {
    .bm-fs .bestbar { grid-template-columns: 1fr 1fr; }
    .bm-fs .bestbar a:nth-child(2) { border-right: 0; }
    .bm-fs .bestbar a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .bm-fs .hgrid { grid-template-columns: 1fr; }
    .bm-fs .fs-filters { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .bm-fs .sform { flex-direction: column; }
    .bm-fs .sfield, .bm-fs .sbtn, .bm-fs .sfield.date { width: 100%; max-width: none; min-width: 0; flex: none; }
    .bm-fs .sfield input, .bm-fs .sopt select, .bm-fs .sortby select, .bm-fs .bs-pax select { font-size: 16px; }
    .bm-fs .sleg .sfield { width: 100%; flex: none; min-width: 0; }
    .bm-fs .sleg-n { flex-basis: 100%; }
    .bm-fs .dstrip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bm-fs .pgraph { gap: 1px; height: 120px; }
    .bm-fs .legtabs { grid-auto-flow: row; }
    .bm-fs .ftools .right { margin-left: 0; }
    .bm-fs .promo-coupon, .bm-fs .promo-secret { flex-wrap: wrap; }
    .bm-fs .promo-coupon .btn, .bm-fs .promo-secret .acts { margin-left: 0; } /* no zoom on focus in iOS */
    .bm-fs .swap { transform: rotate(90deg); }
    .bm-fs .sortby { margin-left: 0; }
    .bm-fs .fcard.frc { padding: 14px; }
    .bm-fs .frc .frc-head { gap: 8px; }
    .bm-fs .frc .frc-tag { height: 30px; padding: 0 10px; font-size: 12px; }
    .bm-fs .frc .frc-route { grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); padding: 14px 12px; gap: 8px; }
    .bm-fs .frc .frc-end .tm { font-size: 13.5px; }
    .bm-fs .frc .frc-end .ap { font-size: 12px; white-space: normal; }
    .bm-fs .frc .frc-mid { font-size: 12px; }
    .bm-fs .frc .frc-fare { grid-template-columns: minmax(0, 1fr) 120px; }
    .bm-fs .frc .frc-foot { gap: 8px; }
    .bm-fs .frc .frc-det { width: 100%; margin: 0; height: 42px; }
    .bm-fs .frc .frc-chip { height: 38px; padding: 0 12px; font-size: 12.5px; flex: 1 1 auto; justify-content: center; white-space: normal; }
    .bm-fs .seg-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .bm-fs .seg-cols .wide { grid-column: 1 / 3; }
    .bm-fs .sponsor { flex-wrap: wrap; }
    .bm-fs .sponsor .deal { margin-left: 0; }
    .bm-fs .resfoot .again { margin-left: 0; }
    .bm-fs .almat thead th:first-child, .bm-fs .almat tbody th { width: 104px; min-width: 104px; padding-left: 12px; }
    .bm-fs .almat::before { left: 104px; }
    .bm-fs .al-logo { min-width: 100px; }
    .bm-fs .al-cell, .bm-fs .al-na { min-width: 96px; }
    .bm-fs .almat-nav { display: none; }
}
@media (max-width: 520px) {
    .bm-fs .bestbar { grid-template-columns: 1fr; }
    .bm-fs .bestbar a { border-right: 0; border-bottom: 1px solid var(--line); }
    .bm-fs .bestbar a:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .bm-fs * { animation: none !important; transition: none !important; }
}
/* filter groups the design does not list open with "Show all filters" */
.bm-fs .fs-groupsbtn { padding: 2px 0 6px; }

/* ---------- the search band looks like the hotel results bar (/hotel, css/hotel-search.css): one joined row of
   38px fields on the soft grey band, grey field icons, the red "Search" button at the end; the trip, cabin,
   passenger and bag menus above it are a quiet small row, like the hotel bar's "Compare to" row ---------- */
.bm-fs .searchband { background: #f5f7fa; border-bottom: 1px solid #e4e7ec; padding: 10px 0 12px; }
.bm-fs .sopts { gap: 6px 16px; margin-bottom: 8px; }
.bm-fs .sopt { gap: 5px; font-family: var(--body); font-size: 11.5px; color: #6b7280; }
.bm-fs .sopt .ico { width: 13px; height: 13px; color: #9aa5b1; }
.bm-fs .sopt select { font-family: var(--body); font-size: 11.5px; color: #4b5563; height: auto; }
.bm-fs .sform { gap: 0; align-items: center; flex-wrap: nowrap; }
.bm-fs .sfield { flex: 1 1 0; min-width: 0; height: 38px; gap: 8px; padding: 0 12px; border: 1px solid #e4e7ec; border-radius: 0; background: #fff; margin-left: -1px; }
.bm-fs .sform > .sfield:first-child { margin-left: 0; border-radius: 4px 0 0 4px; }
.bm-fs .sfield:focus-within { border-color: var(--bm-brand-strong,#0a73b0); position: relative; z-index: 1; }
.bm-fs .sfield.place { min-width: 160px; }
.bm-fs .sfield.date { flex: 0 1 200px; min-width: 170px; max-width: none; }
.bm-fs .sfield .fic { width: 14px; height: 14px; flex: 0 0 14px; color: #9aa5b1; }
.bm-fs .sfield .lb { font-size: 12.5px; color: #6b7280; }
.bm-fs .sfield input { font-size: 13.5px; font-weight: 400; color: #262626; }
.bm-fs .sfield input::placeholder { color: #9aa5b1; opacity: 1; }
.bm-fs .swap { width: 26px; height: 26px; margin: 0 -13px; position: relative; z-index: 2; border-color: #e4e7ec; color: #6b7280; }
.bm-fs .swap .ico { width: 13px; height: 13px; }
.bm-fs .sbtn { background: #e8202a; height: 38px; padding: 0 22px; border-radius: 0 4px 4px 0; font-size: 13.5px; flex: none; }
.bm-fs .sbtn:hover { background: #c2141d; }
.bm-fs .sleg { gap: 0; flex-wrap: nowrap; }
.bm-fs .sleg .sfield { min-width: 0; }
.bm-fs .sleg .sleg-n + .sfield { margin-left: 0; border-radius: 4px 0 0 4px; }
.bm-fs .sleg .sfield.date { border-radius: 0 4px 4px 0; }
.bm-fs .sleg-n { margin-right: 10px; font-size: 11.5px; color: #6b7280; }
.bm-fs .sleg-x { width: 26px; height: 26px; margin-left: 8px; }
.bm-fs .compare { margin-top: 8px; font-family: var(--body); font-size: 11.5px; color: #6b7280; }
@media (max-width: 820px) {
    .bm-fs .sform { flex-wrap: wrap; gap: 6px; }
    .bm-fs .sfield, .bm-fs .sbtn { border-radius: 4px !important; margin-left: 0 !important; }
    .bm-fs .sfield.place { flex: 1 1 40%; min-width: 0; }
    .bm-fs .swap { margin: 0 -16px; }
    .bm-fs .sfield.date { flex: 1 1 45%; min-width: 0; max-width: none; }
    .bm-fs .sbtn { flex: 1 1 100%; height: 44px; }
    .bm-fs .sleg { flex-wrap: wrap; gap: 6px; }
    .bm-fs .sleg .sfield { flex: 1 1 40%; }
    .bm-fs .sleg .sfield.date { flex: 1 1 100%; }
}
@media (max-width: 640px) {
    .bm-fs .sform { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .bm-fs .sfield, .bm-fs .sfield.date, .bm-fs .sfield.place { width: 100%; height: 44px; }
    .bm-fs .sfield input { font-size: 16px; }
    .bm-fs .swap { justify-self: end; margin: -19px 14px; transform: rotate(90deg); }
    .bm-fs .sbtn { width: 100%; }
    .bm-fs .sleg .sfield { flex: 1 1 100%; }
}

/* the results count: an h2 since the banner holds the page's one h1 (SEO, 6 Nov 2026); same size the h1 had */
html:not(#bmx):not(#bmy):not(#bmz):not(#bmw):not(#bmv):not(#bmu):not(#bmt) body .bm-fs .resulthead h2{font-size:20px!important;line-height:28px!important}
@media (max-width:767.98px){html:not(#bmx):not(#bmy):not(#bmz):not(#bmw):not(#bmv):not(#bmu):not(#bmt) body .bm-fs .resulthead h2{font-size:16px!important;line-height:22px!important}}
