/* ============================================
   Booking Hub — secure.bookmatrix.com world search
   PAGE: views/bookmatrix/pug/april2025/BookingHub/_bookingHub.pug · JS: public/booking-hub/hub.js
   LOOK: glass (owner 2026-11-09: "apple glass, professional, no blueish") — neutral greys, near-black
     actions, frosted panels (saturate + blur), hairlines, SQUARE corners (2–6px, see --r-* below; owner 2026-11-14), system UI type (SF Pro on Apple, Inter elsewhere).
     Brand = the Bookmatrix.com lockup (white B mark + Urbanist wordmark), black/white like bookmatrix.com.
   Pickers: one glass search pill (Where · When · Who) whose panels float under it on desktop and become bottom
     sheets on phones (< 768px). Mobile first; 44–48px touch targets; body text 16px.
   ============================================ */
:root {
  --ink: #1d1d1f; --ink2: #424245; --muted: #6e6e73; --faint: #86868b; --disabled: #c7c7cc;
  --line: rgba(0, 0, 0, .08); --line2: rgba(0, 0, 0, .14); --fill: rgba(118, 118, 128, .12); --fill2: rgba(0, 0, 0, .04);
  --bg: #f5f5f7; --card: #fff; --dark: #1d1d1f; --red: #d70015; --green: #248a3d; --orange: #ff9f0a;
  --glass: rgba(255, 255, 255, .72); --glass-strong: rgba(255, 255, 255, .86); --glass-dark: rgba(22, 22, 23, .45);
  /* popovers inside another glass layer get no backdrop blur (Chrome backdrop root) → near-opaque, like macOS menus */
  --pop-bg: #fbfbfd;
  --blur: saturate(180%) blur(20px); --blur-strong: saturate(180%) blur(40px);
  /* 2026-11-14 owner: "more square, like matrix would suggest" — every corner in the hub comes from these five values
     (was 12 / 16 / 22 / 28 px + 999px pills + 50% circles). Only the spinner, the live dot and the slider thumbs stay round. */
  --r-s: 2px; --r: 3px; --r-l: 4px; --r-xl: 6px; --r-pill: 3px;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 24px -10px rgba(0, 0, 0, .12);
  --sh-2: 0 2px 6px rgba(0, 0, 0, .04), 0 18px 48px -14px rgba(0, 0, 0, .22);
  --sh-pop: 0 0 0 .5px rgba(0, 0, 0, .08), 0 24px 64px -16px rgba(0, 0, 0, .28), 0 4px 14px rgba(0, 0, 0, .06);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --logo-font: 'Urbanist', -apple-system, 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.hub { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.47; letter-spacing: -.011em; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
.hub h1, .hub h2, .hub h3, .hub h4 { color: var(--ink); letter-spacing: -.022em; }
.hub [hidden] { display: none !important; }
.hub a { color: var(--ink); }
.hub button { font-family: inherit; }
.hub-sr, .hub-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hub-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 200; background: #fff; padding: 12px 16px; border-radius: var(--r-s); }
.hub-wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.hub :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
body.hub.is-locked { overflow: hidden; }

/* ── buttons ── */
.hub-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; font-size: 16px; font-weight: 600; border-radius: var(--r-pill); border: 0; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease; white-space: nowrap; }
.hub-btn:active { transform: scale(.97); }
.hub .hub-btn--dark, .hub a.hub-btn--dark { background: var(--dark); color: #fff; }
.hub .hub-btn--dark:hover { background: #000; }
.hub .hub-btn--light, .hub a.hub-btn--light { background: var(--fill); color: var(--ink); }
.hub .hub-btn--light:hover { background: rgba(118, 118, 128, .2); }
.hub-link-btn { background: none; border: 0; padding: 12px 4px; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hub-link-btn:disabled { color: var(--disabled); cursor: default; }

/* ── header: glass bar (dark over the hero photo, light once scrolled / on results) ── */
/* home: the header belongs to the black band and scrolls away with it (Booking-style); results: fixed glass bar */
.hub-top { position: absolute; top: 0; left: 0; right: 0; z-index: 70; transition: background .3s ease, box-shadow .3s ease; background: transparent; }
.hub--results .hub-top { position: fixed; }
/* /help (and any other content page): fixed light glass header from the start */
.hub--page .hub-top { position: fixed; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 .5px 0 var(--line); }
.hub.hub--page .hub-brand { color: var(--ink); }
.hub--page .hub-brand-mark { filter: brightness(0); }
.hub-top.is-solid, .hub--results .hub-top { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 .5px 0 var(--line); }
.hub-top-in { max-width: 1320px; margin: 0 auto; padding: 0 16px; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hub .hub-brand { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-family: var(--logo-font); font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1; white-space: nowrap; transition: color .3s ease; }
.hub-brand-mark { width: 18px; height: 22px; display: block; flex: none; transition: filter .3s ease; }
.hub-top.is-solid .hub-brand, .hub--results .hub-brand { color: var(--ink); }
.hub-top.is-solid .hub-brand-mark, .hub--results .hub-brand-mark { filter: brightness(0); }
.hub-top-right { display: flex; align-items: center; gap: 12px; }

/* header nav (shared include _hubHeader.pug): currency · language · ? · List your property · Register · Sign in */
.hub-nav { display: flex; align-items: center; gap: 2px; }
.hub-nav-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 8px 12px; border: 0; border-radius: var(--r); background: transparent; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s ease; white-space: nowrap; }
.hub .hub-nav-btn { color: #fff; }
.hub-nav-btn:hover, .hub-nav-btn[aria-expanded='true'] { background: rgba(255, 255, 255, .12); }
.hub-nav-icon .bi { font-size: 21px; }
.hub-nav-code { font-size: 14px; }
.hub-nav-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; margin-left: 6px; border-radius: var(--r-pill); background: #fff; border: 1px solid #fff; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s ease, transform .2s var(--ease); }
.hub .hub-nav-cta { color: var(--ink); }
.hub .hub-nav-cta--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.hub-nav-cta:active { transform: scale(.97); }
.hub .hub-nav-cta--line:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
/* on the light glass bar (results, /help) */
.hub-top.is-solid .hub-nav-btn, .hub--results .hub-nav-btn, .hub--page .hub-nav-btn { color: var(--ink); }
.hub-top.is-solid .hub-nav-btn:hover, .hub--results .hub-nav-btn:hover, .hub--page .hub-nav-btn:hover, .hub--results .hub-nav-btn[aria-expanded='true'], .hub--page .hub-nav-btn[aria-expanded='true'] { background: var(--fill2); }
.hub-top.is-solid .hub-nav-cta, .hub--results .hub-nav-cta, .hub--page .hub-nav-cta { background: var(--dark); border-color: var(--dark); color: #fff; }
.hub-top.is-solid .hub-nav-cta--line, .hub--results .hub-nav-cta--line, .hub--page .hub-nav-cta--line { background: transparent; color: var(--ink); border-color: var(--line2); }
.hub-nav-wide { display: none; }
.hub-menu-note { width: 290px; padding: 14px 16px; }
.hub-menu-note b { display: block; font-size: 16px; margin-bottom: 4px; }
.hub-menu-note p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (min-width: 900px) { .hub-nav-wide { display: inline-flex; } .hub-nav-wide.hub-menu { display: block; } }

/* product tabs in the band: Stays live · Transfers / Car rental "Coming in 2027" */
.hub-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px; }
.hub-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: var(--r-pill); border: 1px solid transparent; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hub .hub-tab { color: #fff; }
.hub .hub-tab.is-on { border-color: rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .1); }
.hub .hub-tab.is-soon { color: rgba(255, 255, 255, .45); cursor: not-allowed; outline-offset: 2px; }
.hub-tip { position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, -4px); background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: var(--r); white-space: nowrap; box-shadow: var(--sh-pop); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s var(--ease); z-index: 10; }
.hub-tip::before { content: ''; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.hub-tab.is-soon:hover .hub-tip, .hub-tab.is-soon:focus .hub-tip { opacity: 1; transform: translate(-50%, 0); }

/* ── menus (language, sort): pill button + glass list ── */
.hub-menu { position: relative; }
.hub-menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; font-size: 15px; font-weight: 500; color: var(--ink); background: var(--card); border: .5px solid var(--line2); border-radius: var(--r-pill); cursor: pointer; transition: background .2s ease, transform .2s var(--ease); white-space: nowrap; }
.hub-menu-btn:hover { background: #fafafa; }
.hub-menu-btn:active { transform: scale(.97); }
.hub-menu-btn[aria-pressed='true'] { background: var(--dark); color: #fff; border-color: var(--dark); }
.hub-menu-btn--glass { background: var(--glass-dark); color: #fff; border-color: rgba(255, 255, 255, .25); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.hub-menu-btn--glass:hover { background: rgba(22, 22, 23, .6); }
.hub-top.is-solid .hub-menu-btn--glass, .hub--results .hub-top .hub-menu-btn--glass { background: var(--fill); color: var(--ink); border-color: transparent; }
.hub-menu-chev { font-size: 12px; color: var(--muted); }
.hub-menu-list { position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; margin: 0; padding: 6px; list-style: none; background: var(--pop-bg); border-radius: var(--r); box-shadow: var(--sh-pop); z-index: 80; transform-origin: top; animation: hubPop .22s var(--ease); }
.hub-menu-list--right { left: auto; right: 0; }
.hub-menu-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 10px 12px; border-radius: var(--r); font-size: 16px; color: var(--ink); cursor: pointer; outline: none; }
.hub-menu-list li:hover, .hub-menu-list li:focus { background: var(--fill2); }
.hub-menu-list li .bi-check2 { visibility: hidden; font-size: 18px; }
.hub-menu-list li[aria-selected='true'] { font-weight: 600; }
.hub-menu-list li[aria-selected='true'] .bi-check2 { visibility: visible; }
@keyframes hubPop { from { opacity: 0; transform: scale(.97) translateY(-4px); } to { opacity: 1; transform: none; } }

/* ── hero ── */
.hub-hero { position: relative; padding: 96px 0 56px; color: #fff; background: #000; }
.hub-hero-in { position: relative; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.hub .hub-h1 { color: #fff; font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -.035em; margin: 0 0 10px; }
.hub-lead { margin: 0; color: rgba(255, 255, 255, .72); font-size: 18px; line-height: 1.45; }
@media (min-width: 1024px) {
  .hub .hub-h1 { font-size: clamp(36px, 3.4vw, 50px); white-space: nowrap; }
  .hub-lead { font-size: clamp(17px, 1.4vw, 21px); white-space: nowrap; }
}
/* the search pill straddles the band's bottom edge (Booking-style) */
.hub-searchwrap { position: relative; z-index: 5; max-width: 1320px; margin: -32px auto 0; padding: 0 16px; }
.hub-usp { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 15px; font-weight: 500; }
.hub-usp li { display: flex; align-items: center; gap: 7px; }
.hub-usp .bi { color: var(--ink); }
.hub--results .hub-hero, .hub--results .hub-usp { display: none; }
.hub--results .hub-searchwrap { margin-top: 0; padding-top: 76px; }
.hub-search-err { margin: 12px 0 0; background: rgba(255, 255, 255, .92); color: var(--red); border-radius: var(--r-s); padding: 10px 14px; font-weight: 600; display: inline-block; }

/* ── search bar (mobile first: stacked glass card) ── */
.hub-bar { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-l); box-shadow: 0 0 0 .5px var(--line), 0 18px 48px -14px rgba(0, 0, 0, .3); padding: 6px; color: var(--ink); }
.hub--results .hub-bar { box-shadow: var(--sh-1), 0 0 0 .5px var(--line); }
.hub-seg { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; min-height: 60px; padding: 8px 16px; border: 0; background: transparent; border-radius: var(--r); text-align: left; cursor: pointer; color: var(--ink); transition: background .2s ease, box-shadow .2s ease; width: 100%; }
.hub-seg:hover { background: var(--fill2); }
.hub-seg.is-active, .hub-seg[aria-expanded='true'] { background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 6px 18px -6px rgba(0, 0, 0, .16); }
.hub-seg-label { font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--ink); }
.hub-seg-val, .hub-seg-input { font-size: 16px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.hub-seg-val.has-val { color: var(--ink); font-weight: 500; }
.hub-seg-input { width: 100%; border: 0; outline: 0; background: transparent; padding: 0 28px 0 0; font-family: inherit; color: var(--ink); font-weight: 500; }
.hub-seg-input::placeholder { color: var(--muted); font-weight: 400; }
.hub .hub-seg-input:focus-visible { outline: none; } /* the white active segment is the focus indicator */
.hub-seg-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: var(--faint); font-size: 18px; cursor: pointer; border-radius: var(--r-pill); }
.hub-seg-sep { height: .5px; margin: 0 16px; background: var(--line2); }
.hub-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--r); background: var(--dark); color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; transition: transform .2s var(--ease), background .2s ease; }
.hub-go:hover { background: #000; }
.hub-go:active { transform: scale(.97); }

/* ── panels: bottom sheets on phones ── */
.hub-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .32); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: hubFade .25s ease; }
@keyframes hubFade { from { opacity: 0; } }
.hub-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; max-height: 92dvh; overflow: auto; overscroll-behavior: contain; background: var(--glass-strong); -webkit-backdrop-filter: var(--blur-strong); backdrop-filter: var(--blur-strong); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: var(--sh-pop); padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); color: var(--ink); animation: hubSheet .38s var(--ease); }
.hub-panel::before { content: ''; display: block; width: 36px; height: 5px; border-radius: 3px; background: rgba(60, 60, 67, .3); margin: 0 auto 6px; }
@keyframes hubSheet { from { transform: translateY(100%); } to { transform: none; } }
.hub-sheet-head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: 4px; }
.hub-sheet-head b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.hub-sheet-x { width: 36px; height: 36px; border-radius: var(--r-pill); border: 0; background: var(--fill); color: var(--ink2); font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hub-sheet-search { position: relative; margin-bottom: 8px; }
.hub-sheet-search .bi { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.hub-sheet-input { width: 100%; min-height: 48px; border: 0; border-radius: var(--r-s); background: var(--fill); padding: 12px 14px 12px 40px; font-size: 17px; font-family: inherit; color: var(--ink); outline: none; }
.hub .hub-sheet-input:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(0, 0, 0, .16); }
/* When sheet on phones: title, summary, quick picks and Done stay put — only the months scroll */
@media (max-width: 767.98px) {
  .hub-panel--when { display: flex; flex-direction: column; height: 92dvh; overflow: hidden; }
  .hub-panel--when .hub-cal { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; margin: 0 -16px; padding: 0 16px; }
  .hub-panel--when .hub-panel-foot { flex: none; }
}
.hub-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; margin-top: 8px; border-top: .5px solid var(--line2); }

/* where: suggestions */
.hub-sug { list-style: none; margin: 0; padding: 0; }
.hub-sug-h { font-size: 13px; font-weight: 600; color: var(--muted); padding: 12px 10px 6px; }
.hub-sug li[role='option'] { display: flex; gap: 14px; align-items: center; padding: 8px 10px; min-height: 60px; border-radius: var(--r); cursor: pointer; transition: background .15s ease; }
.hub-sug li[role='option'][aria-selected='true'], .hub-sug li[role='option']:hover { background: var(--fill2); }
.hub-sug-ic { width: 48px; height: 48px; flex: none; border-radius: var(--r); background: var(--fill) center / cover no-repeat; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ink2); }
.hub-sug-t { min-width: 0; flex: 1; }
.hub-sug-t b { display: block; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-sug-t small { display: block; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-sug-n { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* when: calendar */
.hub-cal-top { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.hub-cal-sum { font-size: 17px; font-weight: 600; letter-spacing: -.015em; min-height: 26px; }
.hub-cal-sum small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.hub-cal-quick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.hub-cal-quick::-webkit-scrollbar { display: none; }
.hub-qchip { flex: none; min-height: 36px; padding: 6px 14px; border-radius: var(--r-pill); border: .5px solid var(--line2); background: var(--card); color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .15s ease; }
.hub-qchip:hover { border-color: var(--ink); }
.hub-qchip[aria-pressed='true'] { background: var(--dark); color: #fff; border-color: var(--dark); }
.hub-cal { position: relative; }
.hub-cal-months { display: flex; flex-direction: column; gap: 22px; }
.hub-cal-wk { display: grid; grid-template-columns: repeat(7, 1fr); padding: 6px 0; font-size: 12px; font-weight: 600; color: var(--faint); text-align: center; }
.hub-cal-month h5 { margin: 0 0 4px; font-size: 16px; font-weight: 600; letter-spacing: -.015em; padding-left: 8px; }
.hub-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.hub-day { position: relative; height: 46px; border: 0; padding: 0; background: transparent; font-size: 16px; font-weight: 500; color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.hub-day span { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--r-pill); transition: background .12s ease, color .12s ease; }
.hub-day:hover:not(:disabled) span { box-shadow: inset 0 0 0 1.5px var(--ink); }
.hub-day:disabled { color: var(--disabled); cursor: default; }
.hub-day.is-today span::after { content: ''; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: var(--r-pill); background: currentColor; }
.hub-day.in-range::before, .hub-day.is-start.has-end::before, .hub-day.is-end::before, .hub-day.in-preview::before { content: ''; position: absolute; top: 2px; bottom: 2px; left: 0; right: 0; background: var(--fill); }
.hub-day.in-preview::before { background: var(--fill2); }
.hub-day.is-start.has-end::before { left: 50%; }
.hub-day.is-end::before { right: 50%; }
.hub-day.is-start.is-end::before { display: none; }
.hub-day.is-start span, .hub-day.is-end span { background: var(--dark); color: #fff; }
.hub-day.is-start span::after, .hub-day.is-end span::after { background: #fff; }
.hub-day.is-blank { visibility: hidden; pointer-events: none; }
.hub-cal-nav { display: none; }

/* who: steppers */
.hub-step-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px; border-bottom: .5px solid var(--line2); }
.hub-step-name { font-weight: 600; font-size: 17px; }
.hub-step-sub { font-size: 14px; color: var(--muted); }
.hub-stepper { display: flex; align-items: center; gap: 4px; }
.hub-step { width: 40px; height: 40px; border-radius: var(--r-pill); border: .5px solid var(--line2); background: var(--card); color: var(--ink); font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform .15s var(--ease), background .15s ease; }
.hub-step:hover:not(:disabled) { border-color: var(--ink); }
.hub-step:active:not(:disabled) { transform: scale(.92); }
.hub-step:disabled { color: var(--disabled); border-color: var(--line); cursor: default; }
.hub-step-val { min-width: 36px; text-align: center; font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; }

/* ── home ── */
/* recent searches (per browser, hub.js Recent) — horizontal cards, snap on phones */
.hub-recent { margin-bottom: 40px; }
.hub-recent .hub-h2 { margin-bottom: 14px; }
.hub-recent-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; margin: 0 -2px; scrollbar-width: none; }
.hub-recent-row::-webkit-scrollbar { display: none; }
.hub-rcard { flex: 0 0 280px; scroll-snap-align: start; display: flex; gap: 12px; align-items: center; min-height: 88px; padding: 8px 14px 8px 8px; border: 0; border-radius: var(--r-l); background: var(--card); box-shadow: var(--sh-1); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.hub-rcard:hover { box-shadow: var(--sh-2); }
.hub-rcard:active { transform: scale(.98); }
.hub-rcard-img { width: 72px; height: 72px; flex: none; border-radius: var(--r); background: var(--fill) center / cover no-repeat; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; color: var(--ink2); }
.hub-rcard-t { min-width: 0; }
.hub-rcard-t b { display: block; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-rcard-t small { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.hub-home { padding: 40px 0 56px; }
.hub-sec-head { margin-bottom: 18px; }
.hub-h2 { font-size: 26px; font-weight: 700; margin: 0 0 4px; line-height: 1.15; letter-spacing: -.028em; }
.hub-sub { margin: 0; color: var(--muted); font-size: 17px; }
.hub-dests { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hub-dest { position: relative; display: block; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background: #e8e8ed center / cover no-repeat; color: #fff; border: 0; padding: 0; text-align: left; cursor: pointer; box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease); font-family: inherit; }
.hub-dest:hover { transform: scale(1.015); box-shadow: var(--sh-2); }
.hub-dest::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .62) 100%); }
.hub-dest-txt { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; padding: 10px 12px; border-radius: var(--r); background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: .5px solid rgba(255, 255, 255, .28); }
.hub-dest-txt b { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.hub-dest-txt span { font-size: 13px; color: rgba(255, 255, 255, .9); }
.hub-skel { background: linear-gradient(90deg, #e8e8ed, #f2f2f5, #e8e8ed); background-size: 200% 100%; animation: hubSkel 1.3s infinite; box-shadow: none; }
@keyframes hubSkel { to { background-position: -200% 0; } }
.hub-how { display: grid; gap: 12px; margin-top: 40px; }
.hub-how-item { background: var(--card); border-radius: var(--r-l); padding: 22px; box-shadow: var(--sh-1); }
.hub-how-item .bi { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r); background: var(--fill); font-size: 20px; color: var(--ink); }
.hub-how-item h3 { margin: 14px 0 4px; font-size: 19px; font-weight: 700; }
.hub-how-item p { margin: 0; color: var(--muted); }

/* ── results ── */
.hub-results { padding: 8px 0 56px; }
.hub-res-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.hub-res-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-badge { background: var(--dark); color: #fff; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; }
.hub-menu-btn[aria-pressed='true'] .hub-badge { background: #fff; color: var(--ink); }
.hub-res-grid { display: block; }

/* filters: bottom sheet on phones */
.hub-filters { display: none; }
.hub-filters.is-open { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; max-height: 92dvh; overflow: auto; background: var(--glass-strong); -webkit-backdrop-filter: var(--blur-strong); backdrop-filter: var(--blur-strong); border-radius: var(--r-xl) var(--r-xl) 0 0; box-shadow: var(--sh-pop); padding: 8px 16px 0; animation: hubSheet .38s var(--ease); }
.hub-filters.is-open::before { content: ''; display: block; width: 36px; height: 5px; border-radius: 3px; background: rgba(60, 60, 67, .3); margin: 0 auto 6px; }
.hub-fgroup { padding: 16px 0; border-bottom: .5px solid var(--line2); }
.hub-fgroup h4 { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.hub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border-radius: var(--r-pill); border: .5px solid var(--line2); background: var(--card); color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .15s ease, color .15s ease, transform .15s var(--ease); }
.hub-chip:hover { border-color: var(--ink); }
.hub-chip:active { transform: scale(.96); }
.hub-chip[aria-pressed='true'] { background: var(--dark); color: #fff; border-color: var(--dark); }
.hub-chip-n { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hub-chip[aria-pressed='true'] .hub-chip-n { color: rgba(255, 255, 255, .7); }
.hub-segctl { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 2px; border-radius: var(--r); background: var(--fill); }
.hub-segctl button { min-height: 36px; border: 0; background: transparent; border-radius: var(--r); font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; transition: background .2s var(--ease), box-shadow .2s ease; }
.hub-segctl button[aria-checked='true'] { background: var(--card); font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04); }
/* price: histogram + two-thumb slider */
.hub-hist { display: flex; align-items: flex-end; gap: 2px; height: 56px; padding: 0 14px; }
.hub-hist i { flex: 1; min-height: 0; border-radius: 3px 3px 0 0; background: var(--disabled); transition: background .15s ease; }
.hub-hist i.is-in { background: var(--ink2); }
.hub-range { position: relative; height: 32px; }
.hub-range-track { position: absolute; left: 14px; right: 14px; top: 14px; height: 4px; border-radius: 2px; background: var(--disabled); }
.hub-range-fill { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: var(--ink); }
.hub-range-in { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 32px; margin: 0; background: transparent; pointer-events: none; -webkit-appearance: none; appearance: none; }
.hub-range-in::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 .5px 4px rgba(0, 0, 0, .12), 0 6px 13px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); cursor: grab; }
.hub-range-in::-moz-range-thumb { pointer-events: auto; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 .5px 4px rgba(0, 0, 0, .12), 0 6px 13px rgba(0, 0, 0, .12); cursor: grab; }
.hub-range-in::-webkit-slider-runnable-track { background: transparent; }
.hub-range-in::-moz-range-track { background: transparent; }
.hub-range-vals { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; padding: 4px 4px 0; }
.hub-filters-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); position: sticky; bottom: 0; background: var(--pop-bg); border-top: .5px solid var(--line2); }
.hub-filters-foot .hub-link-btn { white-space: nowrap; flex: none; padding: 12px 0; }
.hub-filters-foot .hub-btn { flex: 1 1 auto; min-width: 0; padding-left: 16px; padding-right: 16px; white-space: normal; text-align: center; line-height: 1.2; }
@media (max-width: 1023.98px) {
  .hub-filters.is-open .hub-filters-foot { flex-direction: column-reverse; align-items: stretch; gap: 4px; }
  .hub-filters.is-open .hub-filters-foot .hub-link-btn { align-self: center; }
}
.hub-filters:not(.is-open) .hub-filters-foot #hubFiltersApply { display: none; }

.hub-loading { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--card); border-radius: var(--r); margin-bottom: 12px; font-weight: 500; color: var(--muted); box-shadow: var(--sh-1); }
.hub-spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--fill); border-top-color: var(--ink); animation: hubSpin .8s linear infinite; }
@keyframes hubSpin { to { transform: rotate(360deg); } }
.hub-list { display: grid; gap: 14px; }

/* result card */
.hub-card { background: var(--card); border-radius: var(--r-l); box-shadow: var(--sh-1); overflow: hidden; display: grid; grid-template-columns: 1fr; padding: 8px; gap: 4px; transition: box-shadow .3s var(--ease); }
.hub-card:hover { box-shadow: var(--sh-2); }
.hub-card.is-hot { box-shadow: 0 0 0 2px var(--ink), var(--sh-2); }
.hub-card-media { position: relative; aspect-ratio: 16 / 10; background: #e8e8ed; overflow: hidden; border-radius: var(--r); }
.hub-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hub-ph-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: var(--r-pill); border: 0; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); color: var(--ink); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.hub-ph-nav--prev { left: 10px; } .hub-ph-nav--next { right: 10px; }
.hub-ph-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.hub-ph-dots i { width: 6px; height: 6px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .55); transition: background .2s ease, transform .2s ease; }
.hub-ph-dots i.is-on { background: #fff; transform: scale(1.15); }
.hub-card-type { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); color: var(--ink); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); }
.hub-card-body { padding: 10px 10px 8px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hub-card-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -.022em; }
.hub-card-title a { text-decoration: none; }
.hub-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.hub-stars { color: var(--orange); font-size: 13px; letter-spacing: 1px; margin-left: 6px; white-space: nowrap; vertical-align: 2px; }
.hub-card-loc { color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: center; }
.hub-linkbtn { background: none; border: 0; padding: 0; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 32px; }
.hub-card-desc { color: var(--ink2); margin: 2px 0 0; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hub-room { background: var(--bg); border-radius: var(--r-s); padding: 10px 12px; margin-top: 4px; }
.hub-room b { display: block; font-size: 15px; font-weight: 600; }
.hub-room span { font-size: 14px; color: var(--muted); }
.hub-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.hub-tag { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); background: rgba(36, 138, 61, .1); color: var(--green); }
.hub-tag--warn { background: rgba(215, 0, 21, .08); color: var(--red); }
.hub-card-price { margin-top: 6px; padding-top: 12px; border-top: .5px solid var(--line2); display: flex; flex-direction: column; gap: 4px; }
.hub-price-for { font-size: 14px; color: var(--muted); }
.hub-price { font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hub-price-fees { font-size: 13px; color: var(--muted); }
.hub-card-price .hub-btn { width: 100%; margin-top: 8px; }
.hub-list--muted .hub-card { opacity: .78; }
.hub-empty { background: var(--card); border-radius: var(--r-l); padding: 32px 24px; text-align: center; box-shadow: var(--sh-1); }
.hub-empty h3 { margin: 0 0 6px; font-size: 21px; font-weight: 700; }
.hub-empty p { margin: 0 0 16px; color: var(--muted); }
.hub-empty .hub-btn { margin: 4px; }
.hub-unavail { margin-top: 24px; }
.hub-unavail summary { cursor: pointer; font-weight: 600; padding: 14px 18px; background: var(--card); border-radius: var(--r); min-height: 48px; box-shadow: var(--sh-1); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.hub-unavail summary::after { content: '\F282'; font-family: 'bootstrap-icons'; font-size: 13px; color: var(--muted); transition: transform .2s ease; }
.hub-unavail[open] summary::after { transform: rotate(180deg); }
.hub-unavail summary::-webkit-details-marker { display: none; }
.hub-unavail[open] summary { margin-bottom: 14px; }

/* map: full screen on phones */
.hub-map-col { display: none; }
.hub-map-col.is-open { display: block; position: fixed; inset: 0; z-index: 95; background: var(--bg); }
.hub-map-close { position: absolute; z-index: 500; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); box-shadow: var(--sh-2); }
.hub-map-col .hub-menu-btn--glass { background: var(--dark); border-color: var(--dark); }
.hub-map { width: 100%; height: 100%; background: #eceef0; }
/* OSM tiles toned down to neutral greys (Apple Maps-like calm); pins stay crisp on top */
.hub-map .leaflet-tile-pane { filter: grayscale(.9) contrast(.92) brightness(1.06); }
.hub-map .leaflet-control-zoom { border: 0; box-shadow: var(--sh-1); border-radius: var(--r); overflow: hidden; }
.hub-map .leaflet-control-zoom a { width: 40px; height: 40px; line-height: 40px; color: var(--ink); border-color: var(--line); }
.hub-pin { display: inline-block; transform: translate(-50%, -50%); background: var(--card); color: var(--ink); border-radius: var(--r-pill); padding: 5px 11px; font: 600 14px/1.2 var(--font); letter-spacing: -.01em; white-space: nowrap; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 4px 12px rgba(0, 0, 0, .18); cursor: pointer; transition: transform .15s var(--ease), background .15s ease; font-variant-numeric: tabular-nums; }
.hub-pin:hover { transform: translate(-50%, -50%) scale(1.06); }
.hub-pin.is-hot { background: var(--dark); color: #fff; transform: translate(-50%, -50%) scale(1.1); }
.hub-pin-icon { background: transparent; border: 0; }
.hub-map .leaflet-popup-content-wrapper { border-radius: var(--r); box-shadow: var(--sh-pop); padding: 0; overflow: hidden; }
.hub-map .leaflet-popup-content { margin: 0; }
.hub-pop { font: 15px/1.4 var(--font); width: 240px; }
.hub-pop img { width: 100%; height: 130px; object-fit: cover; display: block; }
.hub-pop div { padding: 10px 14px 14px; }
.hub-pop b { display: block; font-size: 16px; letter-spacing: -.015em; }
.hub-pop a { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--ink); }

.hub-foot { padding: 28px 0 44px; color: var(--muted); font-size: 14px; text-align: center; border-top: .5px solid var(--line2); }
.hub-foot p { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.hub-foot a { font-weight: 600; }

/* ── ≥ 768px: the pill + floating panels ── */
@media (min-width: 768px) {
  .hub .hub-brand { font-size: 25px; gap: 10px; }
  .hub-brand-mark { width: 22px; height: 27px; }
  .hub-hero { padding: 96px 0 104px; }
  .hub-tabs { margin-bottom: 52px; }
  .hub-searchwrap { margin-top: -40px; }
  .hub-lead { font-size: 21px; }
  .hub--results .hub-searchwrap { margin-top: 0; padding-top: 80px; }

  .hub-bar { flex-direction: row; align-items: center; border-radius: var(--r-pill); padding: 8px; max-width: 980px; }
  .hub-seg { min-height: 64px; padding: 10px 24px; border-radius: var(--r-pill); width: auto; flex: 1 1 0; min-width: 0; }
  .hub-seg--where { flex: 1.35 1 0; }
  .hub-seg-sep { width: .5px; height: 32px; margin: 0; flex: none; }
  .hub-seg.is-active + .hub-seg-sep, .hub-seg[aria-expanded='true'] + .hub-seg-sep { visibility: hidden; }
  .hub-seg-sep:has(+ .hub-seg[aria-expanded='true']) { visibility: hidden; }
  .hub-go { margin: 0 0 0 6px; height: 56px; min-height: 0; border-radius: var(--r-pill); padding: 0 24px; flex: none; }

  .hub-scrim { display: none; }
  /* no backdrop-filter here: nested inside the pill's own glass it is not composited reliably (half-drawn / missing) */
  .hub-panel { position: absolute; left: 16px; right: auto; bottom: auto; top: 100%; /* left/top set by hub.js placePanel */ max-height: none; overflow: visible; border-radius: var(--r-xl); padding: 20px; background: var(--pop-bg); -webkit-backdrop-filter: none; backdrop-filter: none; animation: hubPop .26s var(--ease); transform-origin: top center; }
  .hub-panel::before, .hub-panel .hub-sheet-head, .hub-sheet-search { display: none; }
  .hub-panel--where { width: 460px; max-height: 70vh; overflow: auto; }
  .hub-panel--when { width: 760px; max-width: calc(100vw - 32px); padding: 24px 28px 20px; }
  .hub-panel--who { width: 400px; }

  .hub-cal-top { flex-direction: row; align-items: center; justify-content: space-between; }
  .hub-cal-months { flex-direction: row; gap: 40px; }
  .hub-cal-month { flex: 1; min-width: 0; }
  .hub-cal-month h5 { text-align: center; padding: 0; }
  .hub-cal-nav { display: flex; position: absolute; top: -6px; left: 0; right: 0; justify-content: space-between; pointer-events: none; }
  .hub-cal-nav button { pointer-events: auto; width: 36px; height: 36px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--ink); font-size: 16px; cursor: pointer; }
  .hub-cal-nav button:hover:not(:disabled) { background: var(--fill2); }
  .hub-cal-nav button:disabled { color: var(--disabled); cursor: default; }

  .hub-dests { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hub-how { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hub-h2 { font-size: 32px; }
  .hub-res-head { flex-direction: row; justify-content: space-between; align-items: flex-end; }

  .hub-card { grid-template-columns: 300px 1fr; padding: 10px; gap: 6px; }
  .hub-card-media { aspect-ratio: auto; min-height: 240px; }
  .hub-card-body { display: grid; grid-template-columns: 1fr 210px; column-gap: 20px; align-content: stretch; padding: 8px 8px 8px 14px; }
  .hub-card-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
  .hub-card-price { margin: 0; padding: 0 0 0 20px; border-top: 0; border-left: .5px solid var(--line2); justify-content: flex-end; text-align: right; }
}
@media (max-width: 767.98px) { .hub-card-main { display: contents; } }

/* ── ≥ 1024px: filters sidebar ── */
@media (min-width: 1024px) {
  .hub-dests { grid-template-columns: repeat(4, 1fr); }
  #hubFiltersBtn { display: none; }
  .hub-res-grid { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }
  .hub-filters, .hub-filters.is-open { display: block; position: sticky; top: 80px; left: auto; right: auto; bottom: auto; z-index: 1; max-height: calc(100vh - 96px); overflow: auto; background: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: var(--r-l); padding: 4px 20px 0; box-shadow: var(--sh-1); animation: none; }
  .hub-filters.is-open::before { display: none; }
  .hub-filters .hub-sheet-head { display: none; }
  .hub-filters-foot { padding: 12px 0 16px; }
}
/* ── ≥ 1280px with the map open: list + map side by side ── */
@media (min-width: 1280px) {
  .hub-map-open .hub-res-grid { grid-template-columns: 280px minmax(0, 1fr) minmax(0, .95fr); }
  .hub-map-open .hub-map-col.is-open { display: block; position: sticky; top: 80px; inset: auto; z-index: 1; height: calc(100vh - 96px); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-1); }
  .hub-map-open .hub-map-close { display: none; }
  .hub-map-open .hub-card { grid-template-columns: 1fr; }
  .hub-map-open .hub-card-media { aspect-ratio: 16 / 9; min-height: 0; }
  .hub-map-open .hub-card-body { grid-template-columns: 1fr; padding: 8px; }
  .hub-map-open .hub-card-price { border-left: 0; padding: 12px 0 0; margin-top: 6px; border-top: .5px solid var(--line2); text-align: left; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
  .hub-map-open .hub-card-price .hub-btn { width: auto; margin: 6px 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hub *, .hub *::before, .hub *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── /help (views/bookmatrix/pug/april2025/BookingHub/_hubHelp.pug) ── */
.hub-help { padding: 84px 0 56px; }
.hub-help-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--muted); }
.hub .hub-help-back { color: var(--muted); }
.hub-help-h1 { margin: 8px 0 8px; font-size: 34px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; }
.hub-help-lead { margin: 0 0 24px; font-size: 18px; color: var(--muted); max-width: 680px; }
.hub-help-cards { display: grid; gap: 12px; }
.hub-help-card { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-l); background: var(--card); box-shadow: var(--sh-1); text-decoration: none; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.hub .hub-help-card { color: var(--ink); }
.hub-help-card:hover { box-shadow: var(--sh-2); }
.hub-help-card:active { transform: scale(.98); }
.hub-help-ic { width: 52px; height: 52px; flex: none; border-radius: var(--r); background: var(--fill); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.hub-help-t { display: flex; flex-direction: column; min-width: 0; }
.hub-help-t b { font-size: 17px; font-weight: 600; }
.hub-help-num { font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hub-help-t small { font-size: 14px; color: var(--muted); }
.hub-help-note { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; padding: 16px 18px; border-radius: var(--r); background: var(--fill); }
.hub-help-note .bi { font-size: 20px; margin-top: 1px; }
.hub-help-note p { margin: 0; color: var(--ink2); }
.hub-help-h2 { margin: 40px 0 12px; font-size: 24px; font-weight: 700; letter-spacing: -.028em; }
.hub-help-faq { background: var(--card); border-radius: var(--r-l); box-shadow: var(--sh-1); overflow: hidden; }
.hub-help-q { border-bottom: .5px solid var(--line2); }
.hub-help-q:last-child { border-bottom: 0; }
.hub-help-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 18px; font-weight: 600; font-size: 17px; }
.hub-help-q summary::-webkit-details-marker { display: none; }
.hub-help-q summary::after { content: '\F282'; font-family: 'bootstrap-icons'; font-size: 13px; color: var(--muted); transition: transform .2s ease; }
.hub-help-q[open] summary::after { transform: rotate(180deg); }
.hub-help-q p { margin: 0; padding: 0 18px 18px; color: var(--ink2); }
.hub-help-q a { font-weight: 600; }
@media (min-width: 768px) {
  .hub-help { padding-top: 100px; }
  .hub-help-h1 { font-size: 46px; }
  .hub-help-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hub-help-card { flex-direction: column; align-items: flex-start; padding: 22px; }
}

/* ── small phones: header row fits logo · language · ? · Sign in (Greek "Σύνδεση" included) ── */
@media (max-width: 479.98px) {
  .hub-top-in { padding: 0 12px; gap: 6px; }
  .hub .hub-brand { font-size: 18px; gap: 6px; }
  .hub-brand-mark { width: 15px; height: 18px; }
  .hub-nav-code { display: none; }
  .hub-nav-btn { padding: 8px 8px; min-width: 40px; }
  .hub-nav-cta { margin-left: 2px; padding: 8px 12px; font-size: 14px; }
  .hub-tabs { gap: 4px; margin-bottom: 22px; }
  .hub-tab { padding: 8px 12px; font-size: 14px; gap: 6px; min-height: 40px; }
}

/* ── photo frames (hub.js photoImg): skeleton shimmer + spinner until the photo loads, then it fades in ── */
.hub-ph { position: relative; overflow: hidden; background: linear-gradient(100deg, #e8e8ed 30%, #f3f3f6 50%, #e8e8ed 70%); background-size: 220% 100%; animation: hubSkel 1.3s ease-in-out infinite; }
.hub-ph::before { content: ''; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: var(--r-pill); border: 2.5px solid rgba(0, 0, 0, .08); border-top-color: rgba(0, 0, 0, .38); animation: hubSpin .8s linear infinite; z-index: 0; }
.hub-ph--sm::before { display: none; }
.hub-ph.is-loaded, .hub-ph.is-error { animation: none; background: #e8e8ed; }
.hub-ph.is-loaded::before, .hub-ph.is-error::before { display: none; }
.hub-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .35s ease; }
.hub-img.is-loaded { opacity: 1; }
.hub-ph.is-error .hub-img { display: none; }
.hub-card-media .hub-img { z-index: 0; }
.hub-card-media > :not(.hub-img) { z-index: 1; }
.hub-sug-ic.hub-ph, .hub-rcard-img.hub-ph { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .hub-ph, .hub-ph::before { animation: none; } }

/* ── 2026-11-14 guest pass ── */
/* result photo = link to the property (under the photo arrows and the type badge) */
.hub-card-medialink { position: absolute; inset: 0; z-index: 1; }
.hub-card-media .hub-ph-nav, .hub-card-media .hub-ph-dots { z-index: 2; }
.hub-price-night { font-size: 14px; color: var(--ink2); font-weight: 500; }
.hub-more-btn { align-self: center; margin: 8px auto 0; min-width: 220px; }
/* phones on results: the search form folds into one line; a tap opens it again */
.hub-mini { display: none; }
@media (max-width: 767.98px) {
  .hub--results:not(.hub-edit) .hub-bar { display: none; }
  .hub--results:not(.hub-edit) .hub-mini { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 10px 16px; border: 0; border-radius: var(--r-pill); background: var(--card); color: var(--ink); box-shadow: var(--sh-1), 0 0 0 .5px var(--line); font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; }
  .hub-mini span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hub-mini .bi-pencil { color: var(--muted); font-size: 14px; }
}
@media (max-width: 767.98px) { .hub--results #hubResSub { display: none; } } /* the folded search line says the same */

/* ── 2026-11-14 results page pass (owner: headline too big, pills heavy, "Show map" scrolled away) ── */
/* the place is the title; the count + dates are one quiet line */
.hub--results #hubResTitle { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.hub--results #hubResSub { font-size: 14px; color: var(--muted); }
/* toolbar pills: one size, quieter; the map switch is the dark one */
/* no overflow clipping here: the sort list hangs below this row */
.hub-res-tools { flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) { .hub-res-tools .hub-menu-list--right { left: 0; right: auto; max-width: calc(100vw - 32px); } }
.hub-res-tools .hub-menu-btn { min-height: 40px; padding: 8px 14px; font-size: 14px; font-weight: 600; flex: none; }
.hub-res-tools .hub-menu-btn .bi { font-size: 15px; }
.hub-res-tools #hubMapBtn { background: var(--dark); color: #fff; border-color: var(--dark); }
.hub-res-tools #hubMapBtn[aria-pressed='true'] { background: var(--card); color: var(--ink); border-color: var(--line2); }
.hub .hub-fgroup h4 { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.hub-filters .hub-chip { min-height: 36px; padding: 6px 12px; font-size: 14px; }
/* phones: the map switch floats over the list (it used to scroll away with the header) */
@media (max-width: 767.98px) {
  .hub--results .hub-res-tools #hubMapBtn { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; min-height: 46px; padding: 10px 20px; font-size: 15px; box-shadow: 0 8px 28px -6px rgba(0, 0, 0, .45); }
  .hub--results.is-locked .hub-res-tools #hubMapBtn, .hub-map-open .hub-res-tools #hubMapBtn { display: none; }
  .hub--results .hub-results { padding-bottom: 96px; }
}
@media (min-width: 768px) {
  .hub--results #hubResTitle { font-size: 22px; }
  /* compact search pill on results: it is a control here, not the hero */
  .hub--results .hub-searchwrap { padding-top: 72px; }
  .hub--results .hub-bar { max-width: 820px; padding: 5px; }
  .hub--results .hub-seg { min-height: 48px; padding: 6px 20px; }
  .hub--results .hub-seg-label { font-size: 11px; }
  .hub--results .hub-seg-val, .hub--results .hub-seg-input { font-size: 15px; }
  .hub--results .hub-go { height: 44px; padding: 0 20px; font-size: 15px; }
  /* title + sort + map stay on screen under the top bar, like the filters do */
  .hub--results .hub-res-head { position: sticky; top: 60px; z-index: 40; align-items: center; margin: 10px 0 14px; padding: 10px 0; background: var(--bg); border-image: conic-gradient(var(--bg) 0 0) fill 0 / 0 / 0 100vmax; /* full-width band without clip-path, which cut off the sort list */ }
}
@media (min-width: 1024px) {
  .hub--results .hub-filters, .hub--results .hub-filters.is-open { top: 136px; max-height: calc(100vh - 152px); }
}
@media (min-width: 1280px) {
  .hub--results.hub-map-open .hub-map-col.is-open { top: 136px; height: calc(100vh - 152px); }
}
/* the search pill's dropdowns (where / dates / guests) open OVER the sticky results row, never behind it */
.hub--results .hub-searchwrap { z-index: 50; }
/* registry score on a result card: one number 0–10 from all the property's reviews (helpers/bookmatrix/hub/reviewScore.js) */
.hub-score { display: flex; align-items: center; gap: 10px; }
.hub-score b { flex: none; min-width: 44px; padding: 7px 9px; border-radius: var(--r); background: var(--dark); color: #fff; font-size: 17px; font-weight: 700; text-align: center; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hub-score span { font-size: 14px; font-weight: 600; line-height: 1.25; }
.hub-score small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.hub-score--none b { background: var(--fill); color: var(--muted); }
.hub-score--none span { font-weight: 500; color: var(--muted); }

/* ONE type line per property: icon + what it really is (hubTexts.js kindOf); stars only for hotels */
.hub-kind { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 14px; font-weight: 500; color: var(--ink2); }
.hub-kind .bi { font-size: 15px; color: var(--ink); }
.hub-kind-stars { color: var(--orange); font-size: 13px; letter-spacing: 1px; }
.hub-card .hub-btn .bi-arrow-right { font-size: 15px; }
/* long translations ("Offizielle Buchungsseite", "Zvanična stranica za rezervacije") wrap inside the button instead of spilling out of it */
.hub-card-price .hub-btn { padding: 10px 12px; font-size: 15px; gap: 6px; min-width: 0; max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; }
.hub-card-price .hub-btn .bi { flex: none; }
