/* Shared search sidebar filter (Layout::parts.bm-search-filter). Copied from the hotel search filter box
   (hotel-search.css .fbox/.fgroup/.chk/.range-wrap/.minmax/.price-hist and the bmhs mobile sheet), with the
   flight search's collapsible group headers. Everything is prefixed bm-sf-. */
.bm-sf {
    --bm-sf-blue: var(--bm-brand-strong, #0a73b0); --bm-sf-thumb: #1a72e8;
    --bm-sf-ink: #262626; --bm-sf-ink2: #4b5563; --bm-sf-muted: #6b7280; --bm-sf-muted2: #9aa5b1;
    --bm-sf-line: #e4e7ec; --bm-sf-line2: #f0f2f5;
    font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 12.5px; line-height: 1.6; color: var(--bm-sf-ink); margin-bottom: 24px;
}
.bm-sf *, .bm-sf *::before, .bm-sf *::after { box-sizing: border-box; }
.bm-sf-box { border: 1px solid var(--bm-sf-line); border-radius: 4px; padding: 14px; margin: 0; background: #fff; }
.bm-sf-title { font-family: "Poppins", "Nunito Sans", Arial, sans-serif; font-size: 13.5px; font-weight: 600; margin: 0 0 12px; color: var(--bm-sf-ink); text-transform: none; }
.bm-sf-group + .bm-sf-group { border-top: 1px solid var(--bm-sf-line2); margin-top: 14px; padding-top: 14px; }
.bm-sf-gh { display: flex; width: 100%; justify-content: space-between; align-items: center; background: none; border: 0; padding: 0; margin: 0 0 10px; font: 600 13.5px/1.4 "Nunito Sans", Arial, sans-serif; color: var(--bm-sf-ink); cursor: pointer; text-align: left; }
.bm-sf-gh i { font-size: 10px; color: var(--bm-sf-muted); transition: transform .15s; }
.bm-sf-gh[aria-expanded="false"] { margin-bottom: 0; }
.bm-sf-gh[aria-expanded="false"] i { transform: rotate(180deg); }
.bm-sf-gh[aria-expanded="false"] + .bm-sf-gb { display: none; }
.bm-sf-chk { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--bm-sf-ink2); padding: 4px 0; margin: 0; cursor: pointer; font-weight: 400; }
.bm-sf-chk input { width: 14px; height: 14px; accent-color: var(--bm-sf-thumb); flex: none; margin: 0; }
.bm-sf-chk input:disabled + span { color: var(--bm-sf-muted2); }
.bm-sf-zero { cursor: default; }
.bm-sf-cnt { color: var(--bm-sf-muted); }
.bm-sf-st { color: #febb02; font-size: 12px; letter-spacing: 1px; }
.bm-sf-d1 { padding-left: 16px; } .bm-sf-d2 { padding-left: 32px; } .bm-sf-d3 { padding-left: 48px; }
[data-bm-sf-more] .bm-sf-more { display: none; }
[data-bm-sf-more].bm-sf-open .bm-sf-more { display: flex; }
.bm-sf-showmore { color: var(--bm-sf-blue); background: none; border: 0; padding: 0; font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; cursor: pointer; }
.bm-sf-showmore i { font-size: 9px; }
.bm-sf-open .bm-sf-showmore i { transform: rotate(180deg); }
.bm-sf-hist { display: flex; align-items: flex-end; gap: 2px; height: 34px; margin-bottom: 6px; }
.bm-sf-hist span { flex: 1; background: #dbe4ee; border-radius: 1px 1px 0 0; }
.bm-sf-range { position: relative; height: 20px; margin-bottom: 10px; }
.bm-sf-range input[type=range] { position: absolute; left: 0; top: 6px; width: 100%; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; margin: 0; z-index: 1; height: 4px; }
.bm-sf-range input[type=range]::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.bm-sf-range input[type=range]::-moz-range-track { height: 4px; background: transparent; }
.bm-sf-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--bm-sf-thumb); cursor: pointer; margin-top: -6px; box-shadow: 0 1px 3px rgba(16,24,40,.08); }
.bm-sf-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--bm-sf-thumb); cursor: pointer; box-shadow: 0 1px 3px rgba(16,24,40,.08); }
.bm-sf-line { position: absolute; left: 0; right: 0; top: 6px; height: 4px; background: var(--bm-sf-line); border-radius: 999px; }
.bm-sf-fill { position: absolute; top: 6px; height: 4px; background: var(--bm-sf-thumb); border-radius: 999px; left: 0; right: 0; }
.bm-sf-minmax { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bm-sf-minmax label { display: block; font-size: 10.5px; color: var(--bm-sf-muted); margin: 0 0 3px; text-transform: uppercase; letter-spacing: .4px; font-weight: 400; }
.bm-sf-fld { display: flex; align-items: center; gap: 4px; border: 1px solid var(--bm-sf-line); border-radius: 3px; height: 32px; padding: 0 8px; background: #fff; }
.bm-sf-fld span { color: var(--bm-sf-muted); }
.bm-sf-fld input { border: 0; width: 100%; font-size: 13.5px; padding: 0; background: none; min-width: 0; }
.bm-sf-fld input:focus { outline: none; }
.bm-sf-chosen { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; align-items: center; }
.bm-sf-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: #ebf3ff; color: #0B2A4A; font-size: 12px; text-decoration: none; }
.bm-sf-pill:hover { background: #d8e9ff; color: #0B2A4A; text-decoration: none; }
.bm-sf-pill i { font-size: 10px; }
.bm-sf-clear { color: var(--bm-sf-blue); font-weight: 600; text-decoration: underline; font-size: 12.5px; }
.bm-sf-clear-end { display: inline-block; margin-top: 14px; }
.bm-sf-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bm-sf-showbtn { width: 100%; height: 40px; margin-top: 12px; border: 0; border-radius: 999px; background: #46BDFD; color: #0B2A4A; font: 700 14px/1 "Poppins", Arial, sans-serif; cursor: pointer; }
.bm-sf-showbtn:hover { background: #1EA8F0; }
.bm-sf-sheethead, .bm-sf-sheetfoot, .bm-sf-mbar, .bm-sf-scrim { display: none; }
@media (max-width: 991.98px) {
    .bm-sf { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1050; max-height: 86vh; overflow-y: auto; background: #fff; border-radius: 16px 16px 0 0; padding: 0 16px; margin: 0; transform: translateY(105%); transition: transform .22s ease; box-shadow: 0 -4px 20px rgba(0,0,0,.18); visibility: hidden; }
    .bm-sf.bm-sf-is-open { transform: none; visibility: visible; }
    .bm-sf-box { border: 0; padding: 0; }
    .bm-sf-title { display: none; }
    .bm-sf-sheethead { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; z-index: 2; padding: 14px 0 10px; border-bottom: 1px solid var(--bm-sf-line); margin-bottom: 12px; font-family: "Poppins", Arial, sans-serif; font-size: 16px; }
    .bm-sf-sheetx { border: 0; background: none; width: 44px; height: 44px; margin-right: -12px; font-size: 18px; cursor: pointer; }
    .bm-sf-sheetfoot { display: block; position: sticky; bottom: 0; background: #fff; padding: 10px 0 14px; border-top: 1px solid var(--bm-sf-line); margin-top: 8px; }
    .bm-sf-sheetfoot .bm-sf-showbtn { margin-top: 0; height: 44px; }
    .bm-sf-chk { padding: 7px 0; font-size: 14px; }
    .bm-sf-chk input { width: 18px; height: 18px; }
    .bm-sf-mbar { display: inline-flex; position: fixed; left: 50%; transform: translateX(-50%); bottom: 94px; z-index: 1036; background: #0B2A4A; color: #fff; border: 0; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.25); height: 44px; padding: 0 18px; align-items: center; gap: 6px; font: 600 13px/1 "Poppins", Arial, sans-serif; cursor: pointer; }
    .bm-sf-mcount { background: #46BDFD; color: #0B2A4A; border-radius: 999px; min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
    .bm-sf-scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1049; }
    .bm-sf-scrim[hidden] { display: none; }
    body.bm-sf-lock { overflow: hidden; }
}
