/* Hotel search results (Hotel::frontend.search), from the hotel-search page design. Everything is scoped to
   .bm-hs so the theme's own classes elsewhere are not touched. */
.bm-hs {
    --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-ui: "Poppins", "Nunito Sans", Arial, sans-serif;
    --blue: var(--bm-brand-strong,#0a73b0); --blue-2: #1a72e8; --blue-dark: #00558f; --blue-soft: #ebf3ff; --blue-cyan: #3aa5e0;
    --red-2: #e8202a; --orange: #B34D00; --green: #008009;
    --navy: #20293a; --ink: #262626; --ink-2: #4b5563; --muted: #6b7280; --muted-2: #9aa5b1;
    --line: #e4e7ec; --line-2: #f0f2f5; --bg-soft: #f5f7fa;
    --r-sm: 3px; --r: 4px; --r-lg: 8px; --r-pill: 999px;
    --shadow-1: 0 1px 3px rgba(16, 24, 40, .08); --shadow-2: 0 2px 10px rgba(16, 24, 40, .10);
    --fs-xs: 10.5px; --fs-sm: 11.5px; --fs-base: 12.5px; --fs-md: 13.5px; --fs-lg: 15px;
    background: #fff;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.6;
}
.bm-hs *, .bm-hs *::before, .bm-hs *::after { box-sizing: border-box; }
.bm-hs img { max-width: 100%; display: block; border: 0; }
.bm-hs a { color: inherit; text-decoration: none; }
.bm-hs button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.bm-hs input, .bm-hs select { font: inherit; color: inherit; }
.bm-hs h1, .bm-hs h2, .bm-hs h3, .bm-hs h4, .bm-hs h5 { margin: 0; font-family: var(--font-ui); font-weight: 600; line-height: 1.3; color: var(--ink); }
.bm-hs :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.bm-hs .hs-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.bm-hs .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* search band */
.bm-hs .searchband { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.bm-hs .searchrow { display: flex; align-items: center; padding: 12px 0; margin: 0; }
.bm-hs .sfield { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); height: 38px; padding: 0 12px; font-size: var(--fs-base); color: var(--ink-2); }
.bm-hs .sfield i { color: var(--muted-2); font-size: 12px; }
.bm-hs .sfield input, .bm-hs .sfield select { border: 0; background: transparent; font-size: var(--fs-md); min-width: 0; height: 100%; padding: 0; box-shadow: none; }
.bm-hs .sfield input:focus, .bm-hs .sfield select:focus { outline: none; }
.bm-hs .sfield:focus-within { border-color: var(--blue); position: relative; z-index: 1; }
.bm-hs .sfield.dest { flex: 1; min-width: 200px; border-radius: var(--r) 0 0 var(--r); }
.bm-hs .sfield.dest input { flex: 1; }
.bm-hs .sfield.date { margin-left: -1px; min-width: 190px; }
.bm-hs .sfield.date input { width: 120px; }
.bm-hs .sfield.date .arrows { display: flex; gap: 2px; margin-left: auto; }
/* date fields: one 16px calendar on the left in the bar grey; the browser icon is stretched, invisible, over the whole input
   (which also runs under the calendar), so a click on the icon or the date opens the calendar */
.bm-hs .sfield.date .cal { width: 16px; height: 16px; flex: 0 0 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--muted-2); pointer-events: none; position: relative; z-index: 1; }
.bm-hs .sfield.date { padding-left: 0; }
.bm-hs .sfield.date .cal { margin-left: 12px; }
.bm-hs .sfield.date input[type="date"] { position: relative; flex: 1 1 auto; margin-left: -36px; padding-left: 36px; cursor: pointer; }
.bm-hs .sfield.date input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: auto; height: auto; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.bm-hs .sfield.date .arrows { position: relative; z-index: 1; }
.bm-hs .sfield.date .arrows button { padding: 0 3px; font-size: 10px; color: var(--muted-2); }
.bm-hs .sfield.date .arrows button:hover { color: var(--blue); }
.bm-hs .sfield.guests { margin-left: -1px; min-width: 180px; border-radius: 0; }
.bm-hs .sfield.guests select { width: 100%; cursor: pointer; }
.bm-hs .btn-modify { background: var(--red-2); color: #fff; height: 38px; padding: 0 22px; border-radius: 0 var(--r) var(--r) 0; font-family: var(--font-ui); font-size: var(--fs-md); font-weight: 600; white-space: nowrap; }
.bm-hs .btn-modify:hover { background: #c2141d; }

/* layout */
.bm-hs .results { padding: 16px 0 30px; }
.bm-hs .res-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.bm-hs .res-title { font-size: var(--fs-lg); margin-bottom: 12px; }

/* family mode */
.bm-hs .fam-banner { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 14px; margin-bottom: 14px; }
.bm-hs .fam-banner .fi { width: 32px; height: 32px; border-radius: var(--r); background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 14px; flex: none; }
.bm-hs .fam-banner b { display: block; font-family: var(--font-ui); font-size: var(--fs-md); color: var(--blue); }
.bm-hs .fam-banner span { font-size: var(--fs-base); color: var(--ink-2); }
.bm-hs .switch { margin-left: auto; width: 40px; height: 22px; border-radius: var(--r-pill); background: var(--line); position: relative; transition: .2s; flex: none; }
.bm-hs .switch::after { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: .2s; }
.bm-hs .switch.on { background: var(--blue-2); }
.bm-hs .switch.on::after { transform: translateX(18px); }

/* filter rooms by */
.bm-hs .filterrooms { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 0 0 10px; font-size: var(--fs-xs); color: var(--muted); letter-spacing: .4px; text-transform: uppercase; }
.bm-hs .filterrooms select { border: 1px solid var(--line); border-radius: var(--r-sm); height: 28px; padding: 0 8px; font-size: var(--fs-xs); color: var(--ink-2); background: #fff; text-transform: uppercase; letter-spacing: .3px; }

/* hotel card */
.bm-hs .hcard { display: grid; grid-template-columns: 190px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; background: #fff; }
.bm-hs .hcard:hover { box-shadow: var(--shadow-2); }
.bm-hs .hc-media { position: relative; background: var(--bg-soft); }
.bm-hs .hc-media > a { display: block; height: 100%; }
.bm-hs .hc-media .hc-img, .bm-hs .hc-media > a > img { width: 100%; height: 100%; min-height: 172px; object-fit: cover; }
.bm-hs .hc-flag { position: absolute; z-index: 1; left: 0; top: 10px; background: var(--green); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 3px 9px; font-family: var(--font-ui); }
.bm-hs .hc-thumbs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 1px; background: rgba(255, 255, 255, .9); padding: 2px; }
.bm-hs .hc-thumbs img { width: 24px; height: 20px; object-fit: cover; flex: none; }
.bm-hs .hc-thumbs .seeall { margin-left: auto; font-size: 10px; color: var(--blue); align-self: center; padding-right: 4px; white-space: nowrap; }
.bm-hs .hc-body { display: grid; grid-template-columns: minmax(0, 1fr) 150px; }
.bm-hs .hc-info { padding: 11px 12px; min-width: 0; }
.bm-hs .hc-name { font-size: var(--fs-lg); margin-bottom: 2px; }
.bm-hs .hc-name a:hover { color: var(--blue); }
.bm-hs .hc-meta { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--blue); margin-bottom: 3px; }
.bm-hs .hc-stars { color: #febb02; font-size: 11px; letter-spacing: .5px; }
.bm-hs .hc-meta .pin { font-size: 10px; }
.bm-hs .hc-pop { display: flex; align-items: center; gap: 5px; font-size: var(--fs-sm); color: var(--red-2); font-weight: 600; margin-bottom: 6px; }
.bm-hs .hc-pop i { font-size: 10px; }
.bm-hs .hc-amen { display: flex; gap: 12px; margin: 8px 0; flex-wrap: wrap; }
.bm-hs .hc-amen span { text-align: center; font-size: 10px; line-height: 1.25; color: var(--muted); width: 56px; }
.bm-hs .hc-amen i { display: block; font-size: 16px; color: var(--blue-cyan); margin: 0 auto 3px; }
.bm-hs .hc-terms { margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); line-height: 1.9; }
.bm-hs .hc-terms li { display: flex; align-items: flex-start; gap: 6px; }
.bm-hs .hc-terms .dot { color: var(--muted-2); }
.bm-hs .hc-terms .warn { color: var(--orange); }
.bm-hs .hc-side { display: flex; flex-direction: column; justify-content: space-between; }
.bm-hs .hc-score { display: flex; align-items: center; gap: 7px; justify-content: flex-end; padding: 11px 12px 0; }
.bm-hs .hc-score .lbl { text-align: right; font-size: var(--fs-sm); line-height: 1.3; }
.bm-hs .hc-score .lbl b { display: block; font-family: var(--font-ui); font-size: var(--fs-base); }
.bm-hs .hc-score .lbl small { color: var(--muted); font-size: var(--fs-xs); }
.bm-hs .hc-score .num { background: var(--blue); color: #fff; font-family: var(--font-ui); font-weight: 700; font-size: var(--fs-base); padding: 4px 7px; border-radius: var(--r) var(--r) var(--r) 0; }
.bm-hs .hc-price { padding: 10px 12px 11px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; margin-top: auto; }
.bm-hs .hc-off { background: var(--red-2); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 2px 7px; border-radius: var(--r-sm); font-family: var(--font-ui); margin-bottom: 4px; }
.bm-hs .hc-price s { color: var(--muted); font-size: var(--fs-sm); }
.bm-hs .hc-price .now { font-family: var(--font-ui); font-size: 19px; font-weight: 700; color: var(--red-2); line-height: 1.1; }
.bm-hs .hc-price .total { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 8px; }
.bm-hs .btn-select { background: var(--blue); color: #fff; height: 32px; min-width: 142px; padding: 0 16px; border-radius: var(--r-sm); font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; }
.bm-hs .btn-select i { font-size: 9px; }
.bm-hs .btn-select:hover { background: var(--blue-dark); color: #fff; }

/* blocks between results */
.bm-hs .promo-secret, .bm-hs .promo-car { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r); padding: 11px 14px; margin-bottom: 14px; }
.bm-hs .promo-secret .si { color: var(--blue-2); font-size: 17px; flex: none; }
.bm-hs .promo-secret b, .bm-hs .promo-car b { display: block; font-family: var(--font-ui); font-size: var(--fs-md); }
.bm-hs .promo-secret span, .bm-hs .promo-car span { font-size: var(--fs-base); color: var(--ink-2); }
.bm-hs .promo-secret .acts { margin-left: auto; display: flex; gap: 14px; color: var(--blue); font-weight: 600; white-space: nowrap; }
.bm-hs .promo-car { background: #fdf1e7; border-color: #f6dcc6; }
.bm-hs .promo-car .ci { color: #9a4a14; font-size: 20px; flex: none; }
.bm-hs .promo-car b { color: #9a4a14; font-size: 15px; }
.bm-hs .promo-car .btn { margin-left: auto; background: var(--orange); color: #fff; height: 32px; padding: 0 16px; border-radius: var(--r-pill); font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.bm-hs .promo-car .btn i { font-size: 9px; }
.bm-hs .rec-sec { margin: 6px 0 16px; }
.bm-hs .rec-sec h3 { font-size: var(--fs-lg); margin-bottom: 2px; }
.bm-hs .rec-sec .sub { font-size: var(--fs-base); color: var(--ink-2); margin: 0 0 12px; }
.bm-hs .rec-sec .sub a { color: var(--blue); text-decoration: underline; }
.bm-hs .rec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bm-hs .rec-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.bm-hs .rec-card:hover { box-shadow: var(--shadow-2); }
.bm-hs .rec-media { position: relative; display: block; height: 220px; }
.bm-hs .rec-media img { width: 100%; height: 100%; object-fit: cover; }
.bm-hs .rec-media .toprated { position: absolute; left: 0; bottom: 10px; background: var(--red-2); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 3px 9px; font-family: var(--font-ui); }
.bm-hs .rec-body { padding: 10px 12px 12px; }
.bm-hs .rec-loc { font-size: var(--fs-sm); color: var(--ink-2); display: flex; align-items: center; gap: 4px; margin-bottom: 3px; }
.bm-hs .rec-loc i { color: var(--blue); font-size: 10px; }
.bm-hs .rec-name { font-size: var(--fs-md); color: var(--blue); font-family: var(--font-ui); font-weight: 600; }
.bm-hs .rec-rate { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--muted); margin: 3px 0 10px; }
.bm-hs .rec-rate .st { color: #febb02; font-size: 11px; }
.bm-hs .rec-price { text-align: right; font-size: var(--fs-base); }
.bm-hs .rec-price .from { color: var(--blue); }
.bm-hs .rec-price b { font-family: var(--font-ui); font-size: 16px; color: var(--red-2); }
.bm-hs .rec-price .per { color: var(--ink-2); font-size: var(--fs-sm); }
.bm-hs .rec-foot { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line-2); padding: 9px 12px; margin: 10px -12px -12px; }
.bm-hs .rec-foot .avail { font-size: var(--fs-sm); color: var(--ink-2); font-weight: 600; }
.bm-hs .rec-foot .btn { margin-left: auto; background: var(--blue-cyan); color: #fff; height: 30px; padding: 0 16px; border-radius: var(--r-sm); font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600; display: inline-flex; align-items: center; }
.bm-hs .rec-foot .btn:hover { background: var(--blue); }
.bm-hs .hs-empty { border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 28px; text-align: center; display: grid; gap: 6px; }
.bm-hs .hs-empty b { font-family: var(--font-ui); font-size: var(--fs-lg); }
.bm-hs .hs-empty a { color: var(--blue); font-weight: 600; }

/* more results, footer line */
.bm-hs .loadmore-wrap { display: flex; justify-content: center; margin: 18px 0; }
.bm-hs .btn-loadmore { border: 1px solid var(--line); border-radius: var(--r-sm); height: 34px; padding: 0 22px; font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); background: #fff; display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; }
.bm-hs .btn-loadmore:hover { border-color: var(--blue); color: var(--blue); }
.bm-hs .res-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: var(--fs-base); color: var(--ink-2); padding-top: 8px; }
.bm-hs .res-foot .again { margin-left: auto; background: var(--blue-soft); border-radius: var(--r); padding: 9px 14px; }
.bm-hs .res-foot .again a { color: var(--blue); font-weight: 600; text-decoration: underline; }

/* sidebar */
.bm-hs .side { display: grid; gap: 16px; position: sticky; top: 12px; }
.bm-hs .mapbox { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; position: relative; height: 112px; display: block; background: #e8eef5 linear-gradient(135deg, #e8eef5 25%, #dfe7f0 25%, #dfe7f0 50%, #e8eef5 50%, #e8eef5 75%, #dfe7f0 75%) 0 0 / 28px 28px; }
.bm-hs .mapbox img { width: 100%; height: 100%; object-fit: cover; }
.bm-hs .mapbox .lbl { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-ui); font-size: var(--fs-md); font-weight: 600; color: var(--navy); background: rgba(255, 255, 255, .55); text-transform: uppercase; }
.bm-hs .mapbox .lbl i { color: var(--red-2); font-size: 18px; }
.bm-hs .mapbox:hover .lbl { background: rgba(255, 255, 255, .3); }
.bm-hs .fbox { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; margin: 0; }
.bm-hs .fbox h4 { font-size: var(--fs-md); margin-bottom: 12px; }
.bm-hs .fgroup + .fgroup { border-top: 1px solid var(--line-2); margin-top: 14px; padding-top: 14px; }
.bm-hs .fgroup h5 { font-size: var(--fs-md); font-weight: 600; margin-bottom: 10px; }
.bm-hs .chk { display: flex; align-items: center; gap: 9px; font-size: var(--fs-base); color: var(--ink-2); padding: 4px 0; margin: 0; cursor: pointer; font-weight: 400; }
.bm-hs a.chk:hover { color: var(--blue); }
.bm-hs .chk i { color: var(--blue); font-size: 10px; }
.bm-hs .chk input { width: 14px; height: 14px; accent-color: var(--blue); flex: none; margin: 0; }
.bm-hs .chk .st { color: #febb02; font-size: 12px; letter-spacing: 1px; }
.bm-hs .chk .cnt { color: var(--muted); }
.bm-hs [data-hs-more] .is-more { display: none; }
.bm-hs [data-hs-more].is-open .is-more { display: flex; }
.bm-hs .showmore { color: var(--blue); font-size: var(--fs-base); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; }
.bm-hs .showmore i { font-size: 9px; }
.bm-hs .range-wrap { position: relative; height: 20px; margin-bottom: 10px; }
.bm-hs .range-wrap 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; }
.bm-hs .range-wrap input[type=range]::-webkit-slider-runnable-track { height: 4px; background: transparent; }
.bm-hs .range-wrap input[type=range]::-moz-range-track { height: 4px; background: transparent; }
.bm-hs .range-wrap 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(--blue-2); cursor: pointer; margin-top: -6px; box-shadow: var(--shadow-1); }
.bm-hs .range-wrap input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-2); cursor: pointer; box-shadow: var(--shadow-1); }
.bm-hs .range-line { position: absolute; left: 0; right: 0; top: 12px; height: 4px; background: var(--line); border-radius: var(--r-pill); }
.bm-hs .range-fill { position: absolute; top: 12px; height: 4px; background: var(--blue-2); border-radius: var(--r-pill); }
.bm-hs .minmax { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bm-hs .minmax label { display: block; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .4px; }
.bm-hs .minmax .fld { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: var(--r-sm); height: 32px; padding: 0 8px; }
.bm-hs .minmax .fld span { color: var(--muted); }
.bm-hs .minmax input { border: 0; width: 100%; font-size: var(--fs-md); padding: 0; }
.bm-hs .minmax input:focus { outline: none; }
.bm-hs .hs-apply { margin-top: 10px; width: 100%; height: 32px; border: 1px solid var(--blue); border-radius: var(--r-sm); color: var(--blue); font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 600; }
.bm-hs .hs-apply:hover { background: var(--blue); color: #fff; }
.bm-hs .hs-clear { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 600; text-decoration: underline; }

.bm-hs .price-hist { display: flex; align-items: flex-end; gap: 2px; height: 34px; margin-bottom: 6px; }
.bm-hs .price-hist span { flex: 1; background: #dbe4ee; border-radius: 1px 1px 0 0; }
.bm-hs .popular { margin-top: 12px; }
.bm-hs .chk .thumbsup { color: var(--green); font-size: 10px; }
.bm-hs .chk .sub { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: -2px; }
.bm-hs .chk input:disabled + span { color: var(--muted-2); }
.bm-hs .fnote { margin: 4px 0 0; font-size: var(--fs-sm); color: var(--muted); }

/* ads */

/* narrower screens */
@media (max-width: 1080px) {
    .bm-hs .res-grid { grid-template-columns: minmax(0, 1fr); }
    .bm-hs .side { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    .bm-hs .hcard { grid-template-columns: 1fr; }
    .bm-hs .hc-media .hc-img, .bm-hs .hc-media > a > img { min-height: 170px; max-height: 220px; }
    .bm-hs .hc-body { grid-template-columns: 1fr; }
    .bm-hs .hc-score { justify-content: flex-start; padding-bottom: 0; }
    .bm-hs .hc-score .lbl { order: 2; text-align: left; }
    .bm-hs .hc-price { text-align: left; align-items: flex-start; padding-top: 8px; }
    .bm-hs .rec-grid { grid-template-columns: 1fr; }
    .bm-hs .searchrow { flex-wrap: wrap; gap: 6px; }
    .bm-hs .sfield, .bm-hs .btn-modify { border-radius: var(--r) !important; margin-left: 0 !important; }
    .bm-hs .sfield.dest { flex-basis: 100%; }
    .bm-hs .sfield.date { flex: 1 1 45%; min-width: 0; }
    .bm-hs .sfield.guests { flex: 1 1 100%; }
    .bm-hs .btn-modify { flex: 1 1 100%; height: 44px; }
}
@media (max-width: 640px) {
    .bm-hs .side { grid-template-columns: 1fr; }
    .bm-hs .promo-secret, .bm-hs .promo-car, .bm-hs .fam-banner { flex-wrap: wrap; }
    .bm-hs .fam-banner > div { min-width: 0; flex: 1 1 200px; }
    .bm-hs .filterrooms { flex-wrap: wrap; justify-content: flex-start; }
    .bm-hs .filterrooms select { flex: 1 1 30%; height: 36px; font-size: 16px; }
    .bm-hs .promo-secret .acts, .bm-hs .promo-car .btn { margin-left: 0; }
    .bm-hs .sfield { height: 44px; }
    .bm-hs .sfield input, .bm-hs .sfield select { font-size: 16px; } /* no zoom on focus in iOS */
    .bm-hs .sfield.date { flex-basis: 100%; }
    .bm-hs .sfield.date input { flex: 1; width: auto; }
    .bm-hs .btn-select { width: 100%; height: 40px; }
    .bm-hs .res-foot .again { margin-left: 0; }
}

/* ---------- compare vs, offers, alternative dates, car offer, agent price ---------- */
.bm-hs .compare { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 0 0 10px; font-size: var(--fs-sm); color: var(--muted); }
.bm-hs .compare label { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; margin: 0; }
.bm-hs .compare input { width: 13px; height: 13px; accent-color: var(--blue); margin: 0; }
.bm-hs .compare .cmp-now { color: var(--blue); text-decoration: underline; }
.bm-hs .promo-coupon { display: flex; align-items: center; gap: 12px; background: #fff5ee; border: 1px solid #ffd9bd; border-radius: var(--r); padding: 11px 14px; margin-bottom: 14px; }
.bm-hs .promo-coupon .ci { color: var(--orange); font-size: 20px; flex: none; }
.bm-hs .promo-coupon b { display: block; font-family: var(--font-ui); font-size: var(--fs-md); color: var(--orange); }
.bm-hs .promo-coupon span { font-size: var(--fs-base); color: var(--ink-2); }
.bm-hs .promo-coupon .btn { margin-left: auto; background: var(--orange); color: #fff; height: 32px; padding: 0 16px; border-radius: var(--r-sm); font-family: var(--font-ui); font-size: var(--fs-base); font-weight: 600; white-space: nowrap; }
.bm-hs .promo-coupon .btn:hover { background: #e07000; }
.bm-hs .promo-coupon.is-claimed .btn { background: var(--green); cursor: default; }
.bm-hs .altdates { margin: 4px 0 16px; }
.bm-hs .altdates h4 { font-size: var(--fs-md); font-weight: 600; margin-bottom: 10px; }
.bm-hs .alt-track { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.bm-hs .alt-track::-webkit-scrollbar { display: none; }
.bm-hs .alt-card { flex: none; width: 129px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; text-align: left; display: block; }
.bm-hs .alt-card:hover { border-color: var(--blue); }
.bm-hs .alt-card.is-sel { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }
.bm-hs .alt-tag { display: flex; align-items: center; justify-content: space-between; background: var(--green); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 3px 8px; font-family: var(--font-ui); }
.bm-hs .alt-card.is-sel .alt-tag { background: var(--blue); }
.bm-hs .alt-tag .dotw { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .85); }
.bm-hs .alt-body { display: block; padding: 8px 10px 10px; }
.bm-hs .alt-body > span { display: block; }
.bm-hs .alt-body .d { font-family: var(--font-ui); font-size: var(--fs-base); font-weight: 600; }
.bm-hs .alt-body .w { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 6px; }
.bm-hs .alt-body .p { font-family: var(--font-ui); font-size: var(--fs-md); font-weight: 700; }
.bm-hs .alt-body .p i { font-size: 9px; color: var(--green); }
.bm-hs .alt-body .avg { font-size: 9.5px; color: var(--muted-2); }
.bm-hs .promo-car { background: #fdf1e7; border: 0; padding: 12px 16px; overflow: hidden; }
.bm-hs .promo-car .txt b { color: #9a4a14; font-size: 16px; }
.bm-hs .promo-car .txt span { font-size: var(--fs-sm); }
.bm-hs .promo-car .txt small { display: block; font-size: 9.5px; letter-spacing: .6px; text-transform: uppercase; color: #8a4f1f; }
.bm-hs .promo-car .car-art { font-size: 54px; color: #e7a77a; margin-left: auto; }
.bm-hs .promo-car .rr { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.bm-hs .promo-car .code { background: #fff; border: 1px dashed #d08b53; border-radius: var(--r-sm); padding: 4px 10px; font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 700; color: var(--navy); letter-spacing: .5px; }
.bm-hs .promo-car .btn { margin-left: 0; }
.bm-hs .rec-media .logo { position: absolute; right: 10px; bottom: 10px; background: #fff; border-radius: var(--r-sm); padding: 5px 8px; box-shadow: var(--shadow-1); }
.bm-hs .rec-media .logo img { height: 24px; width: auto; }
.bm-hs .rec-name i { color: var(--green); font-size: 11px; }
.bm-hs .rec-cancel { text-align: right; font-size: var(--fs-sm); color: var(--green); margin-top: 2px; }
@media (max-width: 640px) {
    .bm-hs .promo-coupon { flex-wrap: wrap; }
    .bm-hs .promo-coupon .btn { margin-left: 0; width: 100%; }
    .bm-hs .promo-car .car-art { display: none; }
    .bm-hs .promo-car .rr { align-items: flex-start; }
}

/* a hotel without a photo: a grey box in the photo's place (result-card.blade.php) */
.bm-hs .hc-noimg { display: grid; place-items: center; height: 100%; min-height: 172px; background: #e4e9ef; color: #b8c3cf; font-size: 30px; }
/* ads (bm-ads.css): the last sidebar ad would sit right above the lower leaderboard on narrow screens (design) */
@media (max-width: 1080px) { .bm-hs .side > .bm-ad:last-child { display: none; } }
.bm-hs .hs-wrap.bm-ad-row { margin: 40px auto; }
@media (max-width: 760px) { .bm-hs .hs-wrap.bm-ad-row { margin: 32px auto; } }
/* filter groups beyond the design's short list open with "Show all filters" */
.bm-hs .hs-moregroups > .fgroup { border-top: 1px solid var(--line-2); margin-top: 14px; padding-top: 14px; }
.bm-hs .hs-groupsbtn { border-top: 1px solid var(--line-2); margin-top: 14px; padding-top: 6px; }

/* 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-hs h2.res-title{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-hs h2.res-title{font-size:16px!important;line-height:22px!important}}

/* ===== bmhs (7 Nov 2026): search results redesign, phases 1-3 (owner-approved). Classes bmhs-*, scoped to .bm-hs ===== */
.bm-hs .bmhs-card { position: relative; }
.bm-hs .bmhs-card .hc-media { overflow: hidden; min-height: 190px; }
.bm-hs .bmhs-car { position: absolute; inset: 0; }
.bm-hs .bmhs-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.bm-hs .bmhs-track::-webkit-scrollbar { display: none; }
.bm-hs .bmhs-slide { flex: 0 0 100%; height: 100%; scroll-snap-align: start; display: block; background: var(--bm-section-bg, #eef8ff); }
.bm-hs .bmhs-slide img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.bm-hs .bmhs-noimg-a { position: absolute; inset: 0; display: block; }
.bm-hs .bmhs-noimg-a .hc-noimg { height: 100%; }
.bm-hs .bmhs-arw { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: #0B2A4A; box-shadow: 0 1px 4px rgba(0,0,0,.25); display: grid; place-items: center; font-size: 11px; cursor: pointer; opacity: 0; transition: opacity .15s; }
.bm-hs .bmhs-prev { left: 6px; } .bm-hs .bmhs-next { right: 6px; }
.bm-hs .bmhs-card:hover .bmhs-arw, .bm-hs .bmhs-arw:focus-visible { opacity: 1; }
.bm-hs .bmhs-arw[disabled] { opacity: 0 !important; pointer-events: none; }
.bm-hs .bmhs-count { position: absolute; left: 8px; bottom: 8px; z-index: 3; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; line-height: 1; padding: 4px 7px; border-radius: 999px; font-family: var(--font-ui); pointer-events: none; }
.bm-hs .bmhs-card .bm-heart--corner { z-index: 4; }
.bm-hs .hc-flag { z-index: 4; }
.bm-hs .bmhs-feat { background: #0B2A4A; cursor: help; }
.bm-hs .bmhs-feat i { font-size: 9px; opacity: .85; margin-left: 2px; }
.bm-hs .bmhs-feat[data-bmhs-tip]:hover::after, .bm-hs .bmhs-feat[data-bmhs-tip]:focus::after { content: attr(data-bmhs-tip); position: absolute; left: 0; top: calc(100% + 6px); width: 210px; background: #20293a; color: #fff; font-weight: 400; font-size: 11.5px; line-height: 1.45; padding: 7px 9px; border-radius: 6px; white-space: normal; box-shadow: var(--shadow-2); }
.bm-hs .bmhs-dist { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: var(--fs-sm); color: var(--ink-2); margin: 0 0 4px; }
.bm-hs .bmhs-maplink { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; position: relative; z-index: 2; }
.bm-hs .bmhs-room { font-size: var(--fs-sm); color: var(--ink-2); margin: 2px 0 4px; }
.bm-hs .bmhs-room b { color: var(--ink); font-weight: 700; }
.bm-hs .bmhs-badges { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: var(--fs-sm); color: var(--green); font-weight: 600; }
.bm-hs .bmhs-badges i { font-size: 10px; margin-right: 2px; }
.bm-hs .bmhs-recent { font-size: var(--fs-xs); color: var(--muted); margin: 0 0 4px; }
.bm-hs .bmhs-loc { text-align: right; font-size: var(--fs-xs); color: var(--ink-2); padding: 3px 12px 0; }
.bm-hs .bmhs-total { font-family: var(--font-ui); font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.bm-hs .hc-price .bmhs-for { margin-bottom: 0; line-height: 1.35; text-align: right; }
.bm-hs .hc-price .bmhs-pn { margin-bottom: 8px; }
.bm-hs .bmhs-from { font-size: var(--fs-sm); color: var(--ink-2); }
.bm-hs .bmhs-from .now { color: var(--ink); font-size: 18px; }
.bm-hs .bmhs-from small { font-size: var(--fs-sm); color: var(--muted); }
.bm-hs .bmhs-zero { opacity: .45; }
.bm-hs .bmhs-zero input { cursor: not-allowed; }
/* "How we sort" */
.bm-hs .bmhs-how { position: relative; }
.bm-hs .bmhs-how summary { list-style: none; cursor: pointer; color: var(--blue); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.bm-hs .bmhs-how summary::-webkit-details-marker { display: none; }
.bm-hs .bmhs-how-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: 300px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-2); padding: 10px 12px; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; white-space: normal; text-align: left; }
.bm-hs .bmhs-viewbar { display: flex; justify-content: flex-end; margin: -4px 0 10px; }
.bm-hs .bmhs-splitbtn { border: 1px solid var(--line); background: #fff; color: #0B2A4A; border-radius: 999px; height: 32px; padding: 0 14px; font-size: var(--fs-sm); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.bm-hs .bmhs-splitbtn[aria-pressed="true"] { background: #46BDFD; border-color: #46BDFD; }
/* empty state */
.bm-hs .bmhs-noresult { text-align: left; }
.bm-hs .bmhs-sugg { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 4px; }
.bm-hs .bmhs-sugg a { color: var(--blue); font-weight: 600; }
/* list + map side by side (desktop) */
.bm-hs .bmhs-splitmap { position: sticky; top: 12px; height: calc(100vh - 24px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bm-section-bg, #eef8ff); }
.bm-hs .bmhs-map { width: 100%; height: 100%; }
.bm-hs.bmhs-split .res-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.bm-hs.bmhs-split .res-grid > .side { display: none; }
.bm-hs.bmhs-split .bmhs-splitmap[hidden] { display: block !important; }
.bmhs-pin { background: #fff; color: #0B2A4A; border: 1px solid #c9d3df; border-radius: 999px; padding: 3px 8px; font: 700 12px/1.2 "Poppins", Arial, sans-serif; white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.2); transform: translate(-50%, -100%); position: absolute; cursor: pointer; }
.bmhs-pin.is-on, .bmhs-pin:hover { background: #46BDFD; border-color: #46BDFD; z-index: 5; }
.bmhs-mini { display: grid; grid-template-columns: 84px 1fr; gap: 8px; width: 250px; font: 12px/1.4 "Nunito Sans", Arial, sans-serif; color: #262626; text-decoration: none; }
.bmhs-mini img, .bmhs-mini .bm-noimg { width: 84px; height: 64px; object-fit: cover; border-radius: 6px; min-height: 0; font-size: 18px; }
.bmhs-mini b { display: block; font-size: 13px; color: #0B2A4A; }
.bmhs-mini .p { font-weight: 700; }
.bmhs-mini .s { display: inline-block; background: #0a73b0; color: #fff; border-radius: 4px; padding: 0 5px; font-size: 11px; margin-right: 4px; }
/* mobile tools: hidden on desktop */
.bm-hs .bmhs-mbar, .bm-hs .bmhs-sheethead, .bm-hs .bmhs-sheetfoot, .bm-hs .bmhs-scrim { display: none; }
@media (max-width: 1080px) { .bm-hs .bmhs-viewbar, .bm-hs .bmhs-splitmap { display: none !important; } .bm-hs.bmhs-split .res-grid > .side { display: grid; } }
@media (max-width: 767.98px) {
    /* the card: photo full width, then name, score, area and distance, badges, total; the whole card opens the hotel */
    .bm-hs .bmhs-card { display: block; }
    .bm-hs .bmhs-card .hc-media { aspect-ratio: 16 / 10; min-height: 0; }
    .bm-hs .bmhs-card .hc-body { display: flex; flex-direction: column; }
    .bm-hs .bmhs-card .hc-info { padding-bottom: 4px; }
    .bm-hs .bmhs-card .hc-side { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; padding: 0 12px 12px; }
    .bm-hs .bmhs-card .hc-score { order: -1; padding: 0; width: 100%; justify-content: flex-start; margin-bottom: 6px; }
    .bm-hs .bmhs-card .bmhs-loc { padding: 0 0 6px; text-align: left; width: 100%; margin-top: -4px; }
    .bm-hs .bmhs-card .hc-price { padding: 0; align-items: flex-start; text-align: left; width: 100%; }
    .bm-hs .bmhs-card .hc-price .bmhs-for { text-align: left; }
    .bm-hs .bmhs-card .bmhs-addr, .bm-hs .bmhs-card .bmhs-xtra { display: none; }
    .bm-hs .bmhs-card .bmhs-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
    .bm-hs .bmhs-card .hc-media { position: relative; z-index: 2; }
    .bm-hs .bmhs-arw { display: none; }
    /* bottom bar and filter sheet */
    .bm-hs .bmhs-mbar { display: flex; position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; z-index: 900; background: #0B2A4A; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.25); overflow: hidden; }
    .bm-hs .bmhs-mbar > * { color: #fff; background: none; border: 0; height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px; font: 600 13px/1 var(--font-ui); text-decoration: none; }
    .bm-hs .bmhs-mbar > * + * { border-left: 1px solid rgba(255,255,255,.25); }
    .bm-hs .side { position: fixed !important; top: auto !important; left: 0; right: 0; bottom: 0; z-index: 1001; max-height: 86vh; overflow-y: auto; background: #fff; border-radius: 16px 16px 0 0; padding: 0 16px; transform: translateY(105%); transition: transform .22s ease; display: block !important; box-shadow: 0 -4px 20px rgba(0,0,0,.18); }
    .bm-hs.bmhs-sheet-open .side { transform: none; }
    .bm-hs .side > .mapbox, .bm-hs .side > .bm-ad { display: none !important; }
    .bm-hs .bmhs-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(--line); font-family: var(--font-ui); font-size: 16px; }
    .bm-hs .bmhs-sheetx { border: 0; background: none; width: 44px; height: 44px; margin-right: -12px; font-size: 18px; }
    .bm-hs .bmhs-sheetfoot { display: block; position: sticky; bottom: 0; background: #fff; padding: 10px 0 14px; border-top: 1px solid var(--line); margin-top: 8px; }
    .bm-hs .bmhs-showbtn { width: 100%; height: 44px; border: 0; border-radius: 999px; background: #46BDFD; color: #0B2A4A; font: 700 14px/1 var(--font-ui); }
    .bm-hs .bmhs-scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1000; }
    .bm-hs .bmhs-scrim[hidden] { display: none; }
    .bm-hs .side .fbox { border: 0; padding: 0; }
    /* phones: the "how we sort" note opens across the results bar instead of running off the right edge */
    .bm-hs .filterrooms { position: relative; }
    .bm-hs .bmhs-how { position: static; }
    .bm-hs .bmhs-how-pop { right: 0; left: 0; width: auto; max-width: none; }
    .bm-hs .res-foot { padding-bottom: 70px; }
}
.bm-hs.bmhs-split .res-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.bm-hs.bmhs-split .filterrooms > span:first-child { display: none; }
@media (max-width: 767.98px) {
    /* above the site's bottom navigation (.bm-bnav, 80px, z 1035) */
    .bm-hs .bmhs-mbar { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); z-index: 1030; }
    .bm-hs .bmhs-scrim { z-index: 1040; }
    .bm-hs .side { z-index: 1041; }
    .bm-hs .res-foot { padding-bottom: 150px; }
}

/* bmhs: card proportions measured on the reference results page (owner, 7 Nov 2026): 16px padding, a 240px square photo
   with 8px corners, 20px bold title, the score box top right, price block right-aligned at the bottom right */
@media (min-width: 768px) {
    .bm-hs .bmhs-card { grid-template-columns: 240px minmax(0, 1fr); gap: 16px; padding: 16px; border-radius: 8px; }
    /* the M3 card rule (bm-m3.css, [class*=card]) takes its corner from this token */

    .bm-hs .bmhs-card .hc-media { width: 240px; height: 240px; min-height: 0; border-radius: 8px; }
    .bm-hs .bmhs-card .hc-body { grid-template-columns: minmax(0, 1fr) 190px; gap: 12px; }
    .bm-hs .bmhs-card .hc-info { padding: 0; }
    .bm-hs .bmhs-card .hc-name { font-family: var(--font-ui); font-size: 18px; font-weight: 700; line-height: 24px; margin: 0 0 4px; }
    .bm-hs .bmhs-card .hc-meta, .bm-hs .bmhs-card .bmhs-dist { font-size: 12px; line-height: 18px; }
    .bm-hs .bmhs-card .bmhs-room { margin-top: 12px; padding-left: 10px; border-left: 2px solid var(--line); font-size: 13px; line-height: 20px; }
    .bm-hs .bmhs-card .bmhs-badges { padding-left: 12px; flex-direction: column; gap: 2px; font-size: 13px; line-height: 20px; }
    .bm-hs .bmhs-card .hc-terms { padding-left: 12px; font-size: 13px; }
    .bm-hs .bmhs-card .hc-score { padding: 0; }
    .bm-hs .bmhs-card .hc-score .num { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border-radius: 6px 6px 6px 0; font-size: 15px; }
    .bm-hs .bmhs-card .bmhs-loc { padding: 2px 0 0; }
    .bm-hs .bmhs-card .hc-price { padding: 0; }
    .bm-hs .bmhs-card .bmhs-total { font-size: 20px; line-height: 28px; color: #0B2A4A; }
    .bm-hs .bmhs-card .btn-select { margin-top: 8px; height: 36px; }
}
.bm-hs .bmhs-card .bmhs-total, .bm-hs .bmhs-from .now { color: #0B2A4A; }

/* bmhs: "Recommended" three side by side; the price as the result cards (navy) */
.bm-hs .rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bm-hs .rec-grid.owl-carousel { display: block; }
.bm-hs .rec-media { height: 170px; }
.bm-hs .rec-price b { color: #0B2A4A; }
.bm-hs .rec-price .from { color: var(--ink-2); }
.bm-hs .bmhs-recall { margin-top: 12px; text-align: center; }
@media (max-width: 767.98px) { .bm-hs .rec-grid:not(.owl-carousel) { grid-template-columns: 1fr; } }

@media (max-width: 767.98px) { .bm-hs .bmhs-card .hc-name { font-size: 16px; font-weight: 700; line-height: 22px; } }

/* the M3 card rule (bm-m3.css, [class*=card]) takes its corner from this token: 8px on the result cards */
.bm-hs .bmhs-card { --bm-m3-shape-card: 8px; border-radius: 8px; }

/* the "Total" label small and light, the amount large (owner, 7 Nov): one look on search, room and grid cards */
.bm-hs .bmhs-total .bm-total-lab { font-size: 12.5px; font-weight: 500; color: #6b7280; margin-right: 2px; }
