/* The homepage search box (server/views/searchBox.js, public/js/search-box.js; 2026-10-21): one wide white card under
   the hero's copy, six tabs (the open one on a light-blue tile with a blue underline), the fields as separate bordered
   boxes with a navy Search button, the two-month calendar and the travellers panel as overlays (full-screen sheets
   under 1024px). From 1024px the card is as tall as its tab needs and sits in a slot of fixed height (.sb-slot), so
   switching tabs never moves the page; under 1024px every panel is the same fixed height instead.
   Colours: the site's tokens (--navy-800, --blue-600, --blue-50, --line, --ink, --muted). */
.home .sb-slot { position: relative; z-index: 3; margin-top: calc(16.2 * var(--u)); }
.home .sb {
  --sb-box-line: #d9e0e8; --sb-chip-line: #c9d1db; --sb-off: #a3adba; --sb-off-line: #d5dbe3;
  --sb-blue: var(--blue-600); --sb-tint: var(--blue-50); --sb-navy: var(--navy-800);
  --sb-panel-h: auto;
  position: relative; color: var(--ink); text-align: left;
  background: #fff; border-radius: 16px; box-shadow: 0 14px 44px rgba(7, 26, 51, .22), 0 2px 6px rgba(7, 26, 51, .08);
  font-family: var(--font);
}
.home .hero-with-budget { overflow: visible; z-index: 2; }
.home .hero-with-budget .hero-inner { display: block; }
.sb *, .sb *::before, .sb *::after { box-sizing: border-box; }
.sb [hidden] { display: none !important; }
.sb button, .sb select, .sb input { font-family: inherit; }
.sb :focus-visible { outline: 3px solid var(--sb-blue); outline-offset: 2px; }

/* ---- the tabs: six equal columns ---- */
.sb-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; padding: 16px 24px 0; }
.sb-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; height: 76px; padding: 8px 6px 10px; border-radius: 12px; color: var(--ink); font-size: 15px; line-height: 1.25; font-weight: 500; text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.sb-tab .sb-tab-icon { color: var(--sb-navy); }
.sb-tab:hover { background: var(--bg-soft); }
.sb-tab[aria-current="page"], .sb-tab[aria-selected="true"] { background: var(--sb-tint); color: var(--sb-blue); font-weight: 600; }
.sb-tab[aria-current="page"] .sb-tab-icon, .sb-tab[aria-selected="true"] .sb-tab-icon { color: var(--sb-blue); }
.sb-tab[aria-current="page"]::after, .sb-tab[aria-selected="true"]::after { content: ''; position: absolute; left: 13%; right: 13%; bottom: 0; height: 3px; border-radius: 2px; background: var(--sb-blue); }
.sb-js .sb-tab[aria-selected="false"] { background: transparent; color: var(--ink); font-weight: 500; }
.sb-js .sb-tab[aria-selected="false"]:hover { background: var(--bg-soft); }
.sb-js .sb-tab[aria-selected="false"] .sb-tab-icon { color: var(--sb-navy); }
.sb-js .sb-tab[aria-selected="false"]::after { content: none; }
.sb-tab-icon { width: 28px; height: 28px; flex: none; }
.sb-tab:focus-visible { outline-offset: -3px; }

/* ---- the panels ---- */
.sb-panels { padding: 14px 16px 16px; }
.sb-panel { height: var(--sb-panel-h); }
.sb-panel:empty::before { content: ''; display: block; height: 58px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--sb-box-line); }
/* a tab's panel while it loads: about as tall as most panels (a row of options over the fields), so little moves */
@media (min-width: 1024px) { .sb-panel:empty { min-height: 114px; } }
.sb-form { display: flex; flex-direction: column; gap: 12px; height: 100%; margin: 0; }

/* ---- the fields: separate bordered boxes ---- */
.sb-bar { position: relative; display: flex; align-items: stretch; gap: 12px; height: 58px; flex: none; }
.sb-seg { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 16px; flex: 1 1 0; background: #fff; border: 1px solid var(--sb-box-line); border-radius: 10px; }
.sb-seg:hover { border-color: var(--sb-chip-line); }
.sb-seg-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.sb-label { font-size: 12.5px; line-height: 1.25; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-label-quiet { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sb-value, .sb-input, .sb-select { font-size: 16px; line-height: 1.35; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; }
.sb-input::placeholder { color: #7a8799; opacity: 1; font-weight: 400; }
.sb-select { width: 100%; padding: 0 22px 0 0; border: 0; outline: 0; background: transparent no-repeat right 0 center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230b2545' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); -webkit-appearance: none; appearance: none; cursor: pointer; }
.sb-ico { width: 22px; height: 22px; flex: none; color: var(--sb-navy); }
.sb-chev { width: 16px; height: 16px; flex: none; color: var(--sb-navy); }
.sb-seg:focus-within:not(.sb-pop-wrap) { border-color: var(--sb-blue); box-shadow: 0 0 0 1px var(--sb-blue); }
.sb-seg :focus-visible { outline: 0; }
.sb-form-stays .sb-seg-dest { flex: 0 0 32%; }
.sb-form-stays .sb-seg-dates { flex: 0 0 28.7%; }
.sb-form-stays .sb-seg-trav { flex: 1 1 0; }

/* A field that opens a panel (a <details>: the native toggle without the script); the <details> stays unpositioned so
   the panel can be placed against the whole row */
.sb-pop-wrap { position: static; display: block; padding: 0; }
.sb-pop-wrap > summary { list-style: none; }
.sb-pop-wrap > summary::-webkit-details-marker { display: none; }
.sb-seg-btn { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; height: 100%; padding: 0 16px; cursor: pointer; border-radius: 9px; -webkit-tap-highlight-color: transparent; }
.sb-seg-btn:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--sb-blue); }
.sb-pop-wrap[open] { border-color: var(--sb-blue); box-shadow: 0 0 0 1px var(--sb-blue); }
.sb-pop-wrap[open] .sb-chev { transform: rotate(180deg); }

.sb-search { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; min-width: 150px; margin: 0; padding: 0 30px; border: 0; border-radius: 10px; background: var(--sb-navy); color: #fff; font-size: 17px; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; }
.sb-search .sb-ico { width: 20px; height: 20px; color: #fff; }
.sb-search:hover { background: var(--navy-700); color: #fff; }
.sb-search[aria-busy="true"] { cursor: progress; opacity: .85; }

.sb-row { display: flex; align-items: center; gap: 8px 24px; min-height: 44px; flex-wrap: wrap; }
.sb-check { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.sb-check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--sb-blue); }
.sb-note { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.sb-note-amber { padding: 9px 14px; background: #fff8e8; border: 1px solid #ecd9a8; border-radius: 10px; color: #6b4e14; }
.sb-note .sb-ico { width: 20px; height: 20px; color: #8a6414; }
.sb-fine { margin: -4px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.sb-badge { display: inline-flex; align-items: center; flex: none; padding: 4px 10px; border-radius: 12px; background: var(--sb-tint); color: var(--sb-blue); font-size: 13px; line-height: 1.2; font-weight: 600; white-space: nowrap; }
.sb-pill-select { height: 44px; padding: 0 38px 0 14px; border: 1px solid var(--sb-box-line); border-radius: 10px; background: #fff no-repeat right 14px center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230b2545' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); color: var(--ink); font-size: 15px; font-weight: 500; -webkit-appearance: none; appearance: none; cursor: pointer; }

/* "Add a flight to Bundle & Save" sends nothing: its (i) shows the plain note, which stays shown while it is ticked */
.sb-add-row { position: relative; gap: 0 8px; }
.sb-tip-btn { display: grid; place-items: center; width: 32px; height: 32px; margin-left: -4px; padding: 0; border: 0; border-radius: 16px; background: transparent; color: #8592a3; cursor: help; }
.sb-tip-btn .sb-ico { width: 18px; height: 18px; color: currentColor; }
.sb-tip-btn:hover { color: var(--sb-navy); }
.sb-tip { display: none; }
.sb-tip-btn:hover + .sb-tip, .sb-tip-btn:focus-visible + .sb-tip { display: block; position: absolute; z-index: 30; left: 0; top: calc(100% + 2px); width: 420px; max-width: calc(100vw - 48px); padding: 12px 14px; border-radius: 10px; background: var(--sb-navy); color: #fff; font-size: 13.5px; line-height: 1.45; box-shadow: var(--shadow); }
.sb-add-row:has([data-sb-add-flight]:checked) .sb-tip, .sb-add-row.is-on .sb-tip { display: block; position: static; flex-basis: 100%; width: auto; max-width: none; margin: -4px 0 0; padding: 0; background: none; box-shadow: none; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* ---- hotels off ---- */
.sb-off { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.sb-off-title { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.sb-off-text { margin: 0 0 8px; font-size: 15px; color: var(--muted); }
.sb-off-link { margin: 0; }

/* ---- the COMING SOON tabs ---- */
.sb-head { display: flex; align-items: center; gap: 12px; min-height: 44px; flex: none; }
.sb-head-title { font-size: 17px; font-weight: 700; color: var(--ink); }
.sb-head-chip { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 1px solid var(--sb-blue); border-radius: 10px; background: var(--sb-tint); font-size: 15px; font-weight: 600; color: var(--sb-blue); }
.sb-head .sb-note { margin-left: auto; }
.sb-form-soon .sb-seg-count { flex: 0 1 190px; }
.sb-form-packages .sb-seg-dates { flex: 0 1 290px; }
.sb-form-things .sb-seg-dates { flex: 0 1 340px; }
.sb-form-cars .sb-seg-time { flex: 0 1 170px; }
.sb-form-cars .sb-seg-dropoff { display: none; }
.sb-form-cars:has([data-sb-dropoff]:checked) .sb-seg-dropoff, .sb-form-cars.is-dropoff .sb-seg-dropoff { display: flex; }
.sb-form-cruises .sb-seg-month { flex: 0 1 260px; }
.sb-inline-select { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }

/* ---- flights ---- */
.sb-opts { display: flex; align-items: center; gap: 12px; min-height: 44px; flex: none; flex-wrap: wrap; }
.sb-opts .sb-note { margin-left: auto; }
.sb-trip { display: flex; gap: 4px; margin: 0; padding: 3px; border: 1px solid var(--sb-box-line); border-radius: 10px; background: #fff; min-width: 0; }
.sb-trip-choice { position: relative; display: flex; }
.sb-trip-choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sb-trip-choice span { display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.sb-trip-choice input:checked + span { background: var(--sb-tint); border-color: var(--sb-blue); color: var(--sb-blue); font-weight: 600; }
.sb-trip-choice input:focus-visible + span { outline: 3px solid var(--sb-blue); outline-offset: 2px; }
.sb-check-sm, .sb-opts .sb-check { font-size: 15px; }
.sb-bar-flights { padding: 0; }
.sb-fl-single { display: flex; gap: 12px; flex: 1 1 0; min-width: 0; }
.sb-fl-single .sb-seg-from, .sb-fl-single .sb-seg-to { flex: 1 1 0; }
.sb-fl-single .sb-seg-to { padding-left: 24px; }
.sb-fl-single .sb-seg-dates { flex: 0 0 30%; }
.sb-swap { align-self: center; flex: none; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; margin: 0 -24px; padding: 0; border: 1px solid var(--sb-box-line); border-radius: 18px; background: #fff; color: var(--sb-navy); cursor: pointer; box-shadow: var(--shadow-sm); }
.sb-swap .sb-ico { width: 18px; height: 18px; }
/* A 44px touch target round the drawn 36px (40px on a phone) circle: the area grows, the button looks the same. */
.sb-swap { position: relative; }
.sb-swap::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
.sb:not(.sb-js) .sb-swap { visibility: hidden; }
.sb:not(.sb-js) .sb-add-leg, .sb:not(.sb-js) .sb-leg-remove { display: none; }
.sb-fl-end { position: relative; display: flex; align-items: stretch; gap: 12px; flex: none; min-width: 0; }
.sb-fl-end .sb-seg-trav { flex: 0 0 190px; }
/* The flight travelers field (Flights, Flight + Hotel): "2 Adults · 2 Children · 1 Infant" on one line where it fits,
   else on two (or three), wrapping only between the counts (each .sb-pp is unbroken). */
.sb-fl-end .sb-seg-people, .sb-form-flighthotel .sb-seg-people { flex: 0 0 250px; }
.sb-seg-people .sb-value { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; font-size: 15px; line-height: 1.2; }
.sb-pp { white-space: nowrap; }
.sb-form-flighthotel .sb-seg-dates { flex: 1.25 1 0; }
@media (min-width: 1200px) { .sb-fl-single .sb-seg-dates { min-width: 206px; } }
.sb-fl-multi { display: none; }
/* Multi-city: up to four flights, two a row, each its own box; the travellers and Search beside them */
.sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-fl-single { display: none; }
.sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-bar-flights { height: auto; }
.sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-fl-multi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-auto-rows: 58px; gap: 16px 12px; flex: 1 1 auto; min-width: 0; padding-top: 4px; }
.sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-fl-end { flex: 0 0 230px; flex-direction: column; padding-top: 4px; }
.sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-fl-end .sb-seg-trav { flex: none; height: 58px; }
.sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-fl-end .sb-search { width: 100%; }
.sb-leg { position: relative; display: flex; align-items: stretch; min-width: 0; margin: 0; padding: 0; border: 1px solid var(--sb-box-line); border-radius: 10px; background: #fff; }
.sb-leg[data-sb-folded] { display: none; }
.sb-leg-n { position: absolute; top: -9px; left: 14px; z-index: 1; margin: 0; padding: 0 6px; border-radius: 6px; background: #fff; font-size: 11px; line-height: 16px; font-weight: 700; color: var(--muted); }
.sb-optional { font-weight: 500; }
.sb-leg .sb-seg { padding: 0 12px; gap: 10px; border: 0; border-radius: 0; background: transparent; }
.sb-leg .sb-seg:first-of-type { border-radius: 10px 0 0 10px; }
.sb-leg .sb-seg + .sb-seg::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: var(--sb-box-line); }
.sb-leg .sb-seg:focus-within:not(.sb-pop-wrap) { box-shadow: inset 0 0 0 2px var(--sb-blue); }
.sb-leg .sb-pop-wrap[open] { box-shadow: inset 0 0 0 2px var(--sb-blue); }
.sb-leg .sb-seg-from .sb-ico, .sb-leg .sb-seg-to .sb-ico { display: none; }
.sb-leg .sb-seg-btn { padding: 0 12px; gap: 8px; border-radius: 0 9px 9px 0; }
.sb-leg .sb-seg-leg-date { flex: 0 0 168px; }
.sb-leg .sb-ico { width: 20px; height: 20px; }
.sb-leg .sb-value, .sb-leg .sb-input { font-size: 15px; }
.sb-leg-remove { position: absolute; top: -12px; right: 8px; z-index: 2; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid var(--sb-chip-line); border-radius: 50%; background: #fff; color: var(--sb-navy); cursor: pointer; }
.sb-leg-remove::after { content: ''; position: absolute; inset: -8px; }
.sb-leg-remove .sb-ico { width: 14px; height: 14px; }
.sb-add-leg { display: none; align-items: center; justify-content: center; height: 58px; border: 1.5px dashed var(--sb-chip-line); border-radius: 10px; background: transparent; color: var(--sb-blue); font-size: 16px; font-weight: 600; cursor: pointer; }
.sb-form-flights[data-trip="multi"] .sb-add-leg { display: flex; }
.sb-form-flights[data-trip="multi"] .sb-add-leg[hidden] { display: none; }
/* Without the script the chosen trip type still decides what shows (:has), and every multi-city row is open */
.sb:not(.sb-js) .sb-leg[data-sb-folded] { display: flex; }
.sb:not(.sb-js) .sb-form-flights:has([data-sb-trip][value="oneway"]:checked) [data-sb-date="end"], .sb:not(.sb-js) .sb-form-flights:has([data-sb-trip][value="oneway"]:checked) [data-sb-date="end"] + * { display: none; }

/* ---- the panels the fields open ---- */
.sb-pop:focus { outline: 0; }
.sb-pop { position: absolute; top: calc(100% + 6px); z-index: 20; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 48px rgba(11, 37, 69, .2); color: var(--ink); cursor: auto; }
/* the calendar: from the dates box to the card's right edge */
.sb-pop-dates { right: 0; width: 790px; max-width: calc(100vw - 32px); overflow: hidden; }
.sb-form-stays .sb-pop-dates { left: calc(32% + 12px); width: auto; }
.sb-leg .sb-pop-dates { right: auto; left: 0; width: 790px; }
.sb-leg:nth-of-type(even) .sb-pop-dates { left: auto; right: 0; }
.sb-pop-trav { right: 162px; width: 400px; max-height: 600px; overflow-y: auto; padding: 22px 24px 20px; }
.sb-form-flights .sb-pop-trav { right: 0; }
.sb-sheet-head { display: none; }
.sb-pop-body { display: flex; flex-direction: column; gap: 18px; }

/* the dates panel */
.sb-native { display: flex; gap: 14px; padding: 18px 22px; }
.sb-native-f { display: flex; flex-direction: column; gap: 6px; flex: 1; font-size: 13px; font-weight: 600; color: var(--text); }
.sb-native-f input { height: 48px; padding: 0 12px; border: 1px solid var(--sb-chip-line); border-radius: 10px; background: #fff; font-size: 16px; color: var(--ink); }
.sb-js .sb-native { display: none; }
.sb:not(.sb-js) .sb-pop-dates .sb-pop-foot, .sb:not(.sb-js) .sb-done, .sb:not(.sb-js) .sb-flex-msg { display: none; }
.sb:not(.sb-js) .sb-pop-dates { width: 460px; }
.sb:not(.sb-js) .sb-form-stays .sb-pop-dates { width: 460px; right: auto; }
.sb-cal { display: flex; gap: 0; padding: 14px 4px 4px; }
.sb-cal:empty { display: none; }
.sb-month { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 0 20px; }
.sb-month + .sb-month { border-left: 1px solid var(--line); }
.sb-month-head { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.sb-month-title { margin: 0; flex: 1; text-align: center; font-size: 17px; font-weight: 700; color: var(--ink); }
.sb-nav-btn { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 20px; background: transparent; color: var(--sb-navy); font-size: 22px; line-height: 1; cursor: pointer; }
.sb-nav-btn:hover:not(:disabled) { background: var(--bg-soft); }
.sb-nav-btn:disabled { opacity: .3; cursor: default; }
.sb-nav-btn.is-gone { visibility: hidden; }
.sb-wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); padding: 4px 0 2px; text-align: center; font-size: 12px; font-weight: 500; color: var(--muted); }
.sb-wk abbr { text-decoration: none; }
.sb-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: repeat(6, 36px); row-gap: 2px; }
.sb-day-cell { display: flex; justify-content: center; align-items: center; }
.sb-day-cell.in-range { background: var(--sb-tint); }
.sb-day-cell.is-start { background: linear-gradient(90deg, transparent 50%, var(--sb-tint) 50%); }
.sb-day-cell.is-end { background: linear-gradient(90deg, var(--sb-tint) 50%, transparent 50%); }
.sb-day-cell.is-start.is-end { background: none; }
.sb-day { width: 38px; height: 36px; padding: 0; border: 0; border-radius: 18px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; }
.sb-day:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--sb-blue); }
.sb-day.is-today { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.sb-day:disabled { color: #b3bcc8; cursor: default; }
.sb-day-out { display: flex; justify-content: center; align-items: center; color: #c3cad4; font-size: 14px; }
.sb-day[aria-pressed="true"] { background: var(--sb-blue); color: #fff; font-weight: 700; text-decoration: none; box-shadow: none; }
.sb-day:focus-visible { outline: 3px solid var(--sb-blue); outline-offset: 1px; }
.sb-flex-msg { margin: 0 24px; padding: 8px 12px; border-radius: 8px; background: var(--sb-tint); font-size: 14px; line-height: 1.4; color: var(--ink); }
.sb-flex-msg:empty { display: none; }
.sb-pop-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 18px 16px; }
.sb-chips { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.sb-chip { flex: none; height: 38px; padding: 0 16px; border: 1px solid var(--sb-chip-line); border-radius: 19px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.sb-chip[aria-pressed="true"] { border-color: var(--sb-blue); background: var(--sb-tint); color: var(--sb-blue); font-weight: 600; }
.sb-chip[aria-disabled="true"]:hover { background: var(--bg-soft); }
.sb-pop-end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.sb-nights { margin: 0; font-size: 14px; color: var(--muted); white-space: nowrap; }
.sb-done { flex: none; height: 40px; padding: 0 30px; border: 0; border-radius: 20px; background: var(--sb-navy); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.sb-done:hover:not(:disabled) { background: var(--navy-700); }
.sb-done:disabled { opacity: .5; cursor: not-allowed; }
.sb-msg { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--danger); }
.sb-msg:empty { display: none; }
.sb-form-msg { margin-top: 10px; }
.sb-seg.is-invalid, .sb-pop-wrap.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.sb-pop-foot .sb-msg { flex-basis: 100%; }

/* the travellers panel */
.sb-room { display: flex; flex-direction: column; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sb-room-title { margin: 0; font-size: 17px; font-weight: 700; }
.sb-room-title:focus { outline: none; }
.sb-room-title:focus-visible { outline: 2px solid var(--sb-blue); outline-offset: 2px; }
.sb-rooms { display: flex; flex-direction: column; gap: 18px; }
.sb-room-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sb-room-head .sb-link-btn { min-height: 32px; font-size: 15px; }
.sb:not(.sb-js) .sb-room-tools { display: none; }
.sb-count { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sb-count-label { display: flex; flex-direction: column; gap: 2px; }
.sb-count-label label { font-size: 16px; font-weight: 600; color: var(--ink); }
.sb-count-label small { font-size: 13px; color: var(--muted); }
.sb-stepper { display: flex; align-items: center; gap: 14px; }
.sb-step { width: 44px; height: 44px; padding: 0; border: 1.5px solid var(--sb-blue); border-radius: 22px; background: #fff; color: var(--sb-blue); font-size: 22px; line-height: 1; font-weight: 500; cursor: pointer; }
.sb-step:hover:not(:disabled) { background: var(--sb-tint); }
.sb-step:disabled { border-color: var(--sb-off-line); color: var(--sb-off); cursor: default; }
.sb-count-n { min-width: 22px; text-align: center; font-size: 18px; font-weight: 600; }
.sb-count-select { height: 44px; min-width: 76px; padding: 0 12px; border: 1px solid var(--sb-chip-line); border-radius: 10px; background: #fff; font-size: 16px; color: var(--ink); }
.sb:not(.sb-js) .sb-step, .sb:not(.sb-js) .sb-count-n { display: none; }
.sb-js .sb-count-select { display: none; }
.sb-ages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sb-age { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); }
.sb-age select { height: 48px; padding: 0 12px; border: 1px solid var(--sb-chip-line); border-radius: 10px; background: #fff; font-size: 16px; font-weight: 500; color: var(--ink); }
.sb-age select[aria-invalid="true"] { border: 2px solid var(--danger); }
.sb-js .sb-age.is-off { display: none; }
.sb-room-tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.sb-link-btn { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--sb-blue); font-size: 16px; font-weight: 600; cursor: pointer; }
.sb-link-btn:disabled { color: var(--sb-off); cursor: not-allowed; }
.sb-pop-note { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.sb-pop-trav .sb-pop-foot { justify-content: space-between; padding: 0; border: 0; }
.sb-group { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: var(--sb-blue); }

/* the travelers field on its own in another page's form (.sb-lone: /hotels, server/views/hotels.js guestsField): the
   box's colors, as tall as the page's other fields, its panel under it from the left */
.sb-lone {
  --sb-box-line: #d9e0e8; --sb-chip-line: #c9d1db; --sb-off: #a3adba; --sb-off-line: #d5dbe3;
  --sb-blue: var(--blue-600); --sb-tint: var(--blue-50); --sb-navy: var(--navy-800);
  position: relative; color: var(--ink); text-align: left; }
.sb-lone .sb-seg-trav { flex: none; height: 48px; padding: 0; }
.sb-lone .sb-pop-trav { left: 0; right: auto; max-width: calc(100vw - 32px); }
/* Inside a card (site.css .card p: muted, 17px) the panel's lines keep their own look. */
.sb-lone .sb-room-title, .sb-lone .sb-sheet-title { color: var(--ink); }
.sb-lone .sb-sheet-title { font-size: 18px; }
.sb-lone .sb-pop-note { font-size: 13px; color: var(--muted); }
.sb-lone .sb-msg { font-size: 14px; color: var(--danger); }

/* ---- a product page's own search (views/searchBox.js productSearch, 2026-10-23: /hotels and its results, /flights,
   /cars, /trips/search, /things-to-do, /cruises): one tab's panel without the tabs, in the page's own card, with the
   box's fields, sizes, calendar and travellers ---- */
.sb-solo { --sb-box-line: #d9e0e8; --sb-chip-line: #c9d1db; --sb-off: #a3adba; --sb-off-line: #d5dbe3; --sb-blue: var(--blue-600); --sb-tint: var(--blue-50); --sb-navy: var(--navy-800); --sb-panel-h: auto; position: relative; color: var(--ink); text-align: left; font-family: var(--font); font-size: 16px; line-height: 1.5; }
/* A field's words never widen the page: a picked date or a long place is cut with an ellipsis inside its field, even
   where the box sits in a grid (the landing cards, the results' band) that would size itself to them at 320px */
.sb-solo .sb-seg-text { contain: inline-size; }
/* Inside a card (site.css .card p: muted, 17px) the box's own lines keep their look. */
.sb-solo .sb-month-title, .sb-solo .sb-room-title, .sb-solo .sb-sheet-title, .sb-solo .sb-flex-msg { color: var(--ink); }
.sb-solo .sb-month-title, .sb-solo .sb-room-title { font-size: 17px; }
.sb-solo .sb-sheet-title { font-size: 18px; }
.sb-solo .sb-msg { font-size: 14px; color: var(--danger); }
.sb-solo .sb-pop-note { font-size: 13px; color: var(--muted); }
.sb-solo .sb-note, .sb-solo .sb-nights, .sb-solo .sb-flex-msg { font-size: 14px; }
.sb-solo .sb-note, .sb-solo .sb-nights { color: var(--muted); }
/* Stays: the page's Search button says more than the homepage's ("Search sandbox hotels"), so the destination and the
   dates give the travelers room; the calendar and the travelers panel open under their own fields */
.sb-solo .sb-form-stays .sb-seg-dest { flex-basis: 28%; }
.sb-solo .sb-form-stays .sb-seg-dates { flex-basis: 27%; }
.sb-solo .sb-form-stays .sb-pop-dates { left: calc(28% + 12px); }
.sb-solo .sb-form-stays .sb-pop-trav { right: auto; left: calc(55% + 24px); }
/* Flights: a round trip's two dates ("Sun, Nov 8 – Sun, Nov 15") whole in their field */
.sb-solo .sb-fl-single .sb-seg-dates { flex-basis: 36%; }
/* a refused search: the server's words under the fields, each named by its field (aria-describedby) */
.sb-errs { display: grid; gap: 4px; }
.sb-solo .sb-errs .field-error { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--danger); }
.sb-solo .sb-seg-text-field.is-invalid, .sb-solo .sb-seg-select.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.sb-solo .sb-age select[aria-invalid="true"], .sb-solo .sb-pill-select[aria-invalid="true"] { border: 2px solid var(--danger); }

/* while a product page's panel is open, the page's layers around the box are lifted (search-box.js raise): over the
   Concierge's button (40, 41), under the sticky site header (50); a phone's sheet over the header too */
html.sb-pop-open .sb-raise { z-index: 45; }
html.sb-lock .sb-raise { z-index: 1100; }

/* the destination and airport suggestions (public/js/flights.js setupPlaces) */
.sb .fl-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sb .fl-suggest { position: absolute; z-index: 25; top: calc(100% + 6px); left: 0; width: 520px; max-width: calc(100vw - 32px); max-height: 420px; overflow: auto; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.sb .fl-suggest li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; align-items: center; min-height: 56px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.sb .fl-suggest li > b, .sb .fl-suggest li > i { grid-row: 1 / span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 18px; background: var(--sb-tint); color: var(--sb-blue); font-size: 11px; font-weight: 700; letter-spacing: .02em; font-style: normal; }
.sb .fl-suggest li > i { background: var(--sb-tint) no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668c7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.sb .fl-suggest li > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; font-weight: 600; color: var(--ink); }
.sb .fl-suggest li > small { font-size: 13px; color: var(--muted); }
.sb .fl-suggest li:hover { background: var(--bg-soft); }
.sb .fl-suggest li[aria-selected="true"] { background: var(--sb-tint); box-shadow: inset 0 0 0 2px var(--sb-blue); }
.sb .fl-suggest li.fl-suggest-head { display: block; min-height: 0; padding: 8px 12px 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); cursor: default; }
.sb .fl-suggest li.fl-suggest-head:hover, .sb .fl-suggest li.fl-suggest-state:hover, .sb .fl-suggest li.fl-suggest-note:hover { background: transparent; }
.sb .fl-suggest li.fl-suggest-state { display: block; min-height: 0; padding: 12px; font-size: 15px; color: var(--muted); cursor: default; }
.sb .fl-suggest li.fl-suggest-loading { position: relative; padding-left: 40px; }
.sb .fl-suggest li.fl-suggest-loading::before { content: ''; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid var(--line); border-top-color: var(--sb-blue); border-radius: 50%; animation: sb-spin .8s linear infinite; }
.sb .fl-suggest li.fl-suggest-error { color: #8a3b12; }
.sb .fl-suggest li.fl-suggest-empty { color: var(--ink); }
.sb .fl-suggest li.fl-suggest-hint { color: var(--muted, #4b5563); }
.sb .fl-suggest li.fl-suggest-note { display: block; min-height: 0; margin-top: 4px; padding: 8px 12px 4px; border-top: 1px solid var(--line); border-radius: 0; font-size: 12px; color: var(--muted); cursor: default; }
@keyframes sb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sb .fl-suggest li.fl-suggest-loading::before { animation: none; } }

/* ---- Plan with AI (the AI Travel Agent on): the card's last row, right; on Stays the right end of the Add a flight row ---- */
.sb-ai { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 16px; min-height: 44px; margin-top: -4px; padding: 0 16px 16px; font-size: 14px; color: var(--muted); }
.sb-ai-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 1px solid var(--sb-box-line); border-radius: 20px; background: #fff; color: var(--sb-navy); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sb-ai-btn:hover { border-color: var(--sb-chip-line); background: var(--bg-soft); }
.sb-ai-btn .sb-ico { width: 18px; height: 18px; color: var(--sb-blue); }
.sb-ai-links { order: -1; margin: 0; white-space: nowrap; }
.sb-ai-links a { font-weight: 500; color: var(--text); text-decoration: underline; text-decoration-color: var(--sb-chip-line); text-underline-offset: 3px; }
.sb-ai-links a:hover { color: var(--sb-blue); text-decoration-color: currentColor; }

/* ---- 1024px and up: the card as tall as its tab needs, in a slot as tall as the tallest (multi-city), so a tab
   never moves the page ---- */
@media (min-width: 1024px) {
  .home .sb-slot { height: var(--sb-slot-h); --sb-slot-h: 314px; width: calc(795 * var(--u)); margin-left: auto; margin-right: auto; }
  .home .sb-slot:has(.sb-ai) { --sb-slot-h: 370px; }
  /* as in the target at 1440: 64px tiles in six equal columns, 55px fields, the calendar 264px tall */
  .sb-tabs { gap: 2px; padding: 12px 18px 0; }
  .sb-tab { height: 64px; gap: 6px; padding: 7px 6px 9px; }
  .sb-tab-icon { width: 26px; height: 26px; }
  .sb-panels { padding: 12px 16px 12px; }
  .sb-bar, .sb-search { height: 55px; }
  .sb-pop { top: calc(100% + 5px); }
  .sb-cal { padding: 6px 4px 0; }
  .sb-month-head { height: 36px; }
  .sb-nav-btn { width: 34px; height: 34px; border-radius: 17px; }
  .sb-wk { padding: 2px 0 4px; }
  .sb-days { grid-template-rows: repeat(6, 24px); row-gap: 0; }
  .sb-day { width: 40px; height: 24px; border-radius: 12px; }
  .sb-pop-foot { padding: 6px 16px 10px; }
  .sb-chip { height: 34px; border-radius: 17px; }
  .sb-done { height: 34px; padding: 0 38px; border-radius: 17px; }
  /* the target's type sizes at 1440 */
  .sb-tab { font-size: 13.5px; }
  .sb-label { font-size: 11px; }
  .sb-value, .sb-input, .sb-select { font-size: 14.5px; }
  .sb-search { font-size: 15px; }
  .sb-check { gap: 11px; font-size: 13.5px; }
  .sb-month-title { font-size: 15px; }
  .sb-solo .sb-month-title { font-size: 15px; }
  .sb-wk { font-size: 11px; }
  .sb-day, .sb-day-out { font-size: 12.5px; }
  .sb-chip { padding: 0 16px; font-size: 12px; }
  .sb-done { font-size: 12.5px; }
  /* an open field keeps its grey edge and its chevron, as in the target (the panel below says it is open) */
  .sb-pop-wrap[open] { border-color: var(--sb-box-line); box-shadow: none; }
  .sb-pop-wrap[open] .sb-chev { transform: none; }
  /* the (i) of Bundle & Save: a small grey disc with a white i */
  .sb-tip-btn .sb-ico { width: 15px; height: 15px; transform: rotate(180deg); }
  .sb-tip-btn .sb-ico circle { fill: currentColor; }
  .sb-tip-btn .sb-ico path { stroke: #fff; }
  /* the footer is the five choices and Done: the nights stay for screen readers only (aria-live) */
  .sb-nights { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* Plan with AI: quiet, at the right of the Bundle & Save row */
  .sb[data-sb-open="stays"] .sb-ai { position: absolute; right: 0; top: calc(12px + 64px + 12px + 55px + 12px); padding: 0 16px; margin: 0; }
  .sb-ai { gap: 4px 14px; min-height: 44px; font-size: 13px; }
  .sb-ai-btn { min-height: 44px; padding: 0 2px; gap: 6px; border: 0; border-radius: 6px; background: none; color: var(--sb-blue); font-size: 14px; font-weight: 600; }
  .sb-ai-btn:hover { background: none; text-decoration: underline; text-underline-offset: 3px; }
  .sb-ai-btn .sb-ico { width: 16px; height: 16px; }
  .sb-ai-links a { font-weight: 400; color: var(--muted); }
}

/* From 1440px the narrower card's multi-city form is up to 400px tall; the slot is that tall with Plan with AI or
   without, and the hero ends at the same place (the target's), 875px down */
@media (min-width: 1440px) {
  .home .sb-slot, .home .sb-slot:has(.sb-ai) { --sb-slot-h: 400px; }
}
/* Under 1440px the card takes the container's width (the target's narrower card needs its 1440px) */
@media (min-width: 1024px) and (max-width: 1439.98px) {
  .home .sb-slot { width: auto; }
}
/* Under 1366px the flight options and the soon notes take a second row */
@media (min-width: 1024px) and (max-width: 1365.98px) {
  .home .sb-slot { --sb-slot-h: 366px; }
  .home .sb-slot:has(.sb-ai) { --sb-slot-h: 422px; }
  .sb-opts .sb-note, .sb-head .sb-note { margin-left: 0; flex-basis: 100%; }
  .sb-head { flex-wrap: wrap; row-gap: 10px; }
  .sb-form-stays .sb-seg-dest { flex-basis: 27%; }
  .sb-form-stays .sb-pop-dates { left: calc(27% + 12px); }
  .sb-fl-single .sb-seg-dates { flex-basis: 36%; }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .sb-tabs { gap: 4px; padding: 14px 16px 0; }
  .sb-value, .sb-input, .sb-select { font-size: 14px; }
  .sb-seg:not(.sb-pop-wrap), .sb-seg-btn { padding-left: 12px; padding-right: 12px; gap: 10px; }
  .sb-fl-single .sb-seg-to { padding-left: 22px; }
  .sb-search { min-width: 0; padding: 0 20px; }
  .sb-fl-end .sb-seg-trav { flex-basis: 150px; }
  .sb-fl-end .sb-seg-people, .sb-form-flighthotel .sb-seg-people { flex-basis: 196px; }
  .sb-seg-people .sb-value { font-size: 14px; }
  .sb-form-flighthotel .sb-bar .sb-seg .sb-ico:not(.sb-chev) { display: none; }
  .sb-bar-flights .sb-seg .sb-ico:not(.sb-chev) { display: none; }
  .sb-pop-trav { right: 140px; }
  .sb-form-cars .sb-seg-time { flex-basis: 132px; }
  .sb-form-cars .sb-seg-time .sb-ico { display: none; }
  .sb-form-packages .sb-seg-dates { flex-basis: 236px; }
  .sb-form-soon .sb-seg-count { flex-basis: 150px; }
}

/* ---- under 1024px: fields stacked at 60px, full-width Search, the panels as full-screen sheets ---- */
@media (max-width: 1023.98px) {
  .home .sb-slot { order: 1; width: 100%; }
  .home .sb { --sb-panel-h: 524px; border-radius: 16px; width: 100%; }
  .home .hero-with-budget .hero-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .home .hero-with-budget .hero-head { display: contents; }
  .home .hero-with-budget .hero-panel { order: 2; margin-top: 20px; }
  .sb-tabs { gap: 4px; padding: 10px 10px 0; }
  .sb-tab { min-width: 0; height: 66px; padding: 8px 4px 9px; gap: 4px; font-size: 14px; }
  .sb-tab-icon { width: 24px; height: 24px; }
  .sb-panels { padding: 14px 16px 16px; }
  .sb-form { gap: 10px; }
  .sb-bar, .sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-bar-flights { flex-direction: column; height: auto; gap: 10px; }
  .sb-seg, .sb-leg .sb-seg, .sb-leg .sb-seg:first-of-type { flex: none; height: 60px; padding: 0 14px; gap: 12px; background: #fff; border: 1px solid var(--sb-box-line); border-radius: 10px; }
  .sb .sb-panel .sb-seg { flex: none; }
  .sb-pop-wrap, .sb-leg .sb-pop-wrap { padding: 0; }
  .sb-seg-btn, .sb-leg .sb-seg-btn { padding: 0 14px; gap: 12px; border-radius: 9px; }
  .sb-leg .sb-seg + .sb-seg::before { display: none; }
  .sb-leg .sb-seg:focus-within:not(.sb-pop-wrap) { box-shadow: 0 0 0 1px var(--sb-blue); border-color: var(--sb-blue); }
  .sb-label { font-size: 11.5px; }
  .sb .fl-suggest { top: calc(100% + 6px); right: 0; width: auto; max-width: none; max-height: 340px; padding: 6px; }
  .sb-value, .sb-input, .sb-select { font-size: 16px; }
  .sb-search, .sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-fl-end .sb-search { width: 100%; height: 54px; flex: none; font-size: 17px; }
  .sb-row { gap: 6px 20px; }
  .sb-check { font-size: 15px; }
  .sb-note { font-size: 14px; }
  .sb-tip-btn:hover + .sb-tip, .sb-tip-btn:focus-visible + .sb-tip { width: auto; right: 0; }
  .sb-off-link { width: 100%; }
  /* flights */
  .sb-opts { gap: 10px; column-gap: 14px; }
  .sb-trip { width: 100%; }
  .sb-trip-choice { flex: 1 1 0; }
  .sb-trip-choice span { width: 100%; height: 40px; padding: 0 8px; }
  .sb-opts .sb-note { margin-left: 0; flex-basis: 100%; }
  .sb-cabin { flex: 0 1 auto; min-width: 0; }
  .sb-cabin .sb-pill-select { width: 100%; max-width: 148px; padding-left: 12px; padding-right: 34px; font-size: 15px; text-overflow: ellipsis; }
  .sb-opts .sb-check { gap: 10px; font-size: 14px; white-space: nowrap; }
  .sb-fl-single { position: relative; flex-direction: column; gap: 10px; flex: none; }
  /* multi-city: the flights scroll inside the panel, the travellers and Search stay under them */
  .sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-fl-main { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  .sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-bar-flights { flex: 1 1 auto; min-height: 0; }
  .sb-fl-single .sb-seg-to { padding-left: 14px; }
  .sb-fl-single .sb-seg-from, .sb-fl-single .sb-seg-to { padding-right: 60px; }
  .sb-swap { position: absolute; right: 12px; top: 47px; width: 40px; height: 40px; margin: 0; border-radius: 20px; }
  .sb-fl-end, .sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-fl-end { flex-direction: column; flex: none; gap: 10px; padding-top: 0; }
  .sb-fl-end .sb-seg-trav, .sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-fl-end .sb-seg-trav { flex: none; height: 60px; }
  .sb-fl-end .sb-seg-people, .sb-form-flighthotel .sb-seg-people, .sb-form-flighthotel .sb-seg-dates { flex: none; }
  .sb-seg-people .sb-value { font-size: 16px; -webkit-line-clamp: 2; line-clamp: 2; }
  .sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-fl-multi { display: flex; flex-direction: column; gap: 22px; flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-top: 10px; }
  .sb-leg { flex-direction: column; gap: 10px; flex: none; border: 0; background: none; border-radius: 0; }
  .sb-leg-n { top: -10px; left: 12px; }
  .sb-leg .sb-seg-leg-date { flex: none; }
  .sb-leg .sb-seg-from .sb-ico, .sb-leg .sb-seg-to .sb-ico { display: block; }
  .sb-leg-remove { top: -14px; right: 4px; width: 44px; height: 44px; border-radius: 22px; }
  .sb-leg-remove::after { display: none; }
  .sb-add-leg, .sb-form-flights:is([data-trip="multi"], .sb:not(.sb-js) :has([data-sb-trip][value="multi"]:checked)) .sb-add-leg { flex: none; height: 52px; }
  /* the COMING SOON tabs */
  .sb-head { flex-wrap: wrap; row-gap: 10px; }
  .sb-head .sb-note { margin-left: 0; flex-basis: 100%; }
  .sb-form-soon .sb-seg-count, .sb-form-cars .sb-seg-time, .sb-form-cruises .sb-seg-month { flex: none; }
  .sb-inline-select { margin-left: 0; }
  .sb-form-cars .sb-row { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; }
  /* the two times side by side */
  .sb-form-cars .sb-bar { flex-direction: row; flex-wrap: wrap; }
  .sb .sb-panel .sb-form-cars .sb-bar > * { flex: 1 1 100%; }
  .sb .sb-panel .sb-form-cars .sb-seg-time { flex: 1 1 calc(50% - 5px); min-width: 0; }
  /* Plan with AI */
  .sb-ai { justify-content: flex-start; margin-top: 0; padding: 0 16px 16px; }
  .sb-ai-links { order: 0; }
}
/* the tabs three a row on phones */
@media (max-width: 640px) {
  .home .hero-with-budget .hero-inner { padding-bottom: 36px; }
  .home .sb-slot { margin-top: 24px; }
  .sb-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 389.98px) {
  .home .sb { --sb-panel-h: 600px; }
  .sb-trip-choice span { font-size: 13px; padding: 0 4px; }
  .sb-cabin .sb-pill-select { max-width: 128px; }
}

/* The full-screen sheets (the script on, under 1024px): a close button, the content scrolling, a sticky Done bar */
@media (max-width: 1023.98px) {
  .sb:not(.sb-js) .sb-pop { left: 0; right: 0; width: auto; max-width: none; }
  .sb.sb-js .sb-pop { position: fixed; inset: 0; z-index: 1100; width: auto; max-width: none; max-height: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; overflow: hidden; }
  .sb.sb-js .sb-sheet-head { display: flex; align-items: center; gap: 12px; flex: none; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .sb-x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 22px; background: transparent; color: var(--sb-navy); cursor: pointer; }
  .sb-x .sb-ico { width: 24px; height: 24px; }
  .sb-sheet-title { margin: 0; font-size: 18px; font-weight: 700; }
  .sb.sb-js .sb-cal { flex: 1 1 auto; min-height: 0; flex-direction: column; gap: 16px; padding: 0 16px 12px; overflow-y: auto; overscroll-behavior: contain; }
  .sb.sb-js .sb-cal .sb-wk { position: sticky; top: 0; z-index: 1; padding: 14px 0 6px; background: #fff; font-size: 12px; font-weight: 600; }
  .sb.sb-js .sb-month { flex: none; padding: 0; }
  .sb.sb-js .sb-month + .sb-month { border-left: 0; }
  .sb.sb-js .sb-month-head { height: auto; margin: 6px 0 4px; }
  .sb.sb-js .sb-month-title { font-size: 16px; text-align: left; }
  .sb.sb-js.sb-solo .sb-month-title { font-size: 16px; }
  .sb.sb-js.sb-solo .sb-nights { color: var(--text); }
  .sb.sb-js .sb-days { grid-template-rows: none; grid-auto-rows: 44px; row-gap: 4px; }
  .sb.sb-js .sb-day { width: 44px; height: 44px; border-radius: 22px; font-size: 15px; }
  .sb.sb-js .sb-flex-msg { flex: none; margin: 8px 16px 0; }
  .sb.sb-js .sb-pop-dates .sb-pop-foot { flex: none; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; padding: 12px 16px 20px; border-top: 1px solid var(--line); background: #fff; }
  .sb.sb-js .sb-pop-dates .sb-pop-foot > * { min-width: 0; }
  .sb.sb-js .sb-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .sb.sb-js .sb-chip { height: 44px; border-radius: 22px; }
  .sb.sb-js .sb-pop-end { justify-content: space-between; margin-left: 0; }
  .sb.sb-js .sb-nights { color: var(--text); white-space: normal; }
  .sb.sb-js .sb-done { height: 48px; border-radius: 24px; }
  .sb.sb-js .sb-pop-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 0; }
  .sb.sb-js .sb-pop-trav .sb-pop-foot { position: sticky; bottom: 0; margin: auto -16px 0; padding: 12px 16px 20px; border-top: 1px solid var(--line); background: #fff; }
}
html.sb-lock, html.sb-lock body { overflow: hidden; }
/* an open panel (the calendar, the travellers) sits above the Concierge's button and welcome (z-index 40 and 41,
   public/css/concierge.css), still under the sticky site header (50) */
html.sb-pop-open .home .hero-with-budget { z-index: 45; }
/* an open sheet (phones) sits above the sticky site header too: the hero is the box's stacking context */
html.sb-lock .home .hero-with-budget { z-index: 1100; }

/* The Concierge's button and welcome never sit over the box: while the box passes under their corner of the screen
   (public/js/search-box.js sets html.sb-under), they move out of the way, below the screen's edge. */
html.sb-under .txc-launch, html.sb-under .txc-bubble { transform: translateY(calc(100% + 160px)); visibility: hidden; }

@media (forced-colors: active) {
  .home .sb, .sb-seg, .sb-pop, .sb-leg { border: 1px solid CanvasText; }
  .sb-tab[aria-current="page"], .sb-tab[aria-selected="true"], .sb-day[aria-pressed="true"], .sb-trip-choice input:checked + span, .sb-chip[aria-pressed="true"] { outline: 2px solid Highlight; }
}

/* =========================================================================================
   The homepage hero around the box (views/home.js heroSection; 2026-10-21, the owner's target screenshot): the
   photo (the catalog's Santorini, else the coast photo), his title in a serif, the plane and its trail, POWERED BY
   AI., the lead, the glass panel of three ways in at the right, the box across the bottom over a curved white edge,
   then the strip of four lines. Sizes on the company pages' --u scale from 1024px.
   ========================================================================================= */
.home .hero-with-budget { --hero-serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Times New Roman', Times, 'Liberation Serif', serif; }
.home .hero-photo { position: absolute; inset: 0; z-index: -2; width: auto; height: auto; aspect-ratio: auto; border-radius: 0; background: #0b3a66; overflow: hidden; container-type: normal; }
.home .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.home .hero-photo .tx-img-credit { z-index: 4; }
.home .hero-photo.tx-img--tile { display: none; }
/* the coast photo stays behind only as the fallback: while the catalog's photo shows, it is never fetched */
.home .hero-photo:not(.tx-img--tile) + .hero-media { background-image: none; }
.home .hero-with-budget { --hero-floor: #f8f9fb; }
/* The tint, as in the target: a deep blue over the sky and the sea, darkest behind the copy at the left, and a
   turquoise lift low down. Over whichever photo views/home.js HERO_IMAGE names (or the coast photo). */
.home .hero-with-budget::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 72, 140, .42) 0%, rgba(0, 78, 146, .16) 34%, rgba(0, 90, 150, 0) 52%, rgba(0, 165, 196, 0) 60%, rgba(0, 165, 196, .16) 82%, rgba(0, 172, 204, .2) 100%),
    linear-gradient(90deg, rgba(0, 58, 116, .86) 0%, rgba(0, 64, 122, .74) 28%, rgba(0, 76, 136, .42) 50%, rgba(4, 92, 152, .12) 70%, rgba(4, 92, 152, 0) 84%); }
/* the white wave the strip sits on: a broad arc, highest right of the middle */
.home .hero-with-budget::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1; height: calc(28.4 * var(--u)); background: radial-gradient(54.5% 100% at 54% 100%, var(--hero-floor) 99.4%, rgba(248, 249, 251, 0) 100%); pointer-events: none; }
.home .hero-with-budget .hero-inner { padding-bottom: calc(60.3 * var(--u)); }
/* from 1440px the slot is 30px taller (above), so the hero ends where the target's does */
@media (min-width: 1440px) { .home .hero-with-budget .hero-inner { padding-bottom: calc(60.3 * var(--u) - 30px); } }
.home .hero-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.home .hero-with-budget .hero-copy { position: relative; flex: 0 1 auto; }
.home .hero-with-budget .hero-title { margin: 0; font-family: var(--hero-serif); font-weight: 700; letter-spacing: -0.01em; color: #fff; text-shadow: 0 2px 18px rgba(2, 30, 52, .35); }
.home .hero-line { display: block; }
.home .hero-with-budget .hero-title .accent { color: #a6d8ff; background: linear-gradient(180deg, #e2f3ff 0%, #b4ddff 45%, #86c6fb 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; filter: drop-shadow(0 2px 14px rgba(2, 30, 52, .3)); }
.home .hero-plane { position: absolute; pointer-events: none; }
.home .hero-kicker { margin: 0; color: #fff; font-weight: 500; text-transform: uppercase; letter-spacing: .5em; text-shadow: 0 1px 10px rgba(2, 30, 52, .35); }
.home .hero-with-budget .hero-lead { margin: 0; color: rgba(255, 255, 255, .96); text-shadow: 0 1px 10px rgba(2, 30, 52, .3); }
.home .hero-panel { flex: none; border: 1px solid rgba(255, 255, 255, .34); border-radius: 14px; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 10px 30px rgba(2, 30, 52, .18); }
.home .hero-panel ul { margin: 0; padding: 6px 0; list-style: none; }
.home .hero-panel-row { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px 10px 20px; color: #fff; text-decoration: none; }
.home .hero-panel li + li .hero-panel-row { border-top: 1px solid rgba(255, 255, 255, .16); }
.home .hero-panel-row:hover { background: rgba(255, 255, 255, .1); }
.home .hero-panel-row:focus-visible { outline: 3px solid #fff; outline-offset: -3px; border-radius: 12px; }
.home .hero-panel-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; color: #e8f4ff; }
.home .hero-panel-icon svg { width: 100%; height: 100%; }
.home .hero-panel-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.home .hero-panel-text b { font-size: 16px; font-weight: 600; line-height: 1.25; }
.home .hero-panel-text span { font-size: 14px; line-height: 1.35; color: rgba(255, 255, 255, .9); }
.home .hero-panel-go { flex: none; width: 18px; height: 18px; color: rgba(255, 255, 255, .9); }

.feature-strip { position: relative; z-index: 1; background: #f8f9fb; }
.feature-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 0; margin-bottom: 0; padding: 10px 0 34px; list-style: none; }
.feature-item { display: flex; align-items: center; gap: 16px; min-width: 0; }
.feature-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; color: var(--blue-600); }
.feature-icon svg { width: 100%; height: 100%; }
.feature-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.feature-copy b { color: var(--navy-800); font-size: 17px; font-weight: 700; line-height: 1.3; }
.feature-copy span { color: var(--muted); font-size: 15px; line-height: 1.4; }

@media (min-width: 1024px) {
  .home .hero-with-budget .hero-inner { padding-top: calc(36 * var(--u)); }
  .home .hero-head { width: calc(864 * var(--u)); margin-left: auto; margin-right: auto; }
  .home .hero-with-budget .hero-title { font-size: calc(72 * var(--u)); line-height: .9; }
  .home .hero-plane { left: calc(337.6 * var(--u)); top: calc(15.9 * var(--u)); width: calc(248.9 * var(--u)); height: calc(106.7 * var(--u)); }
  .home .hero-kicker { margin-top: calc(2 * var(--u)); font-size: calc(16 * var(--u)); line-height: 1.2; letter-spacing: .46em; }
  .home .hero-with-budget .hero-lead { max-width: calc(380 * var(--u)); margin-top: calc(9 * var(--u)); font-size: calc(13.4 * var(--u)); line-height: 1.5; }
  .home .hero-panel { width: calc(215 * var(--u)); margin-top: calc(1 * var(--u)); }
  .home .hero-panel ul { padding: calc(3 * var(--u)) 0; }
  .home .hero-panel-row { gap: calc(12 * var(--u)); min-height: calc(44 * var(--u)); padding: calc(6 * var(--u)) calc(10 * var(--u)) calc(6 * var(--u)) calc(16.4 * var(--u)); }
  .home .hero-panel-text { margin-left: calc(3.6 * var(--u)); }
  .home .hero-panel-icon { width: calc(19 * var(--u)); height: calc(19 * var(--u)); }
  .home .hero-panel-text { gap: calc(1.5 * var(--u)); }
  .home .hero-panel-text b { font-size: calc(10.4 * var(--u)); }
  .home .hero-panel-text span { font-size: calc(9.2 * var(--u)); }
  .home .hero-panel-go { width: calc(12 * var(--u)); height: calc(12 * var(--u)); }
  /* the strip: four columns of 219 units from 137px at 1440, each item from its column's left */
  .home .feature-strip .feature-list { width: calc(872 * var(--u)); margin-left: calc(50% - 414.6 * var(--u)); gap: 0; padding: calc(2 * var(--u)) 0 calc(24 * var(--u)); }
  .feature-item { gap: calc(10.7 * var(--u)); justify-content: flex-start; }
  .feature-icon { width: calc(29 * var(--u)); height: calc(29 * var(--u)); }
  .feature-copy { gap: calc(2 * var(--u)); }
  .feature-copy b { font-size: calc(11.2 * var(--u)); font-weight: 600; }
  .feature-copy span { font-size: calc(10.2 * var(--u)); }
  /* the Concierge's button, round as on a phone, in the corner right of the strip and the calendar */
  .home .txc-launch { min-height: 52px; width: 52px; padding: 0; justify-content: center; }
  .home .txc-launch-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1023.98px) {
  .home .hero-with-budget .hero-inner { padding-top: 36px; padding-bottom: 52px; }
  .home .hero-with-budget::after { height: 28px; }
  .home .hero-with-budget .hero-title { font-size: clamp(44px, 9vw, 72px); line-height: .92; }
  .home .hero-plane { right: 0; top: -18px; width: min(34vw, 240px); height: auto; aspect-ratio: 420 / 200; }
  .home .hero-kicker { margin-top: 14px; font-size: 15px; letter-spacing: .42em; }
  .home .hero-with-budget .hero-lead { max-width: 560px; margin-top: 12px; font-size: 17px; line-height: 1.45; }
  .home .hero-panel { width: 100%; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 0 32px; }
}
@media (max-width: 640px) {
  .home .hero-with-budget .hero-inner { padding-top: 28px; }
  .home .hero-plane { display: none; }
  .home .hero-with-budget .hero-lead { font-size: 16px; }
  .feature-list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 1023.98px) {
  .home .hero-with-budget::before { background: linear-gradient(180deg, rgba(0, 58, 116, .86) 0%, rgba(0, 64, 122, .76) 45%, rgba(0, 76, 136, .5) 75%, rgba(0, 120, 170, .3) 100%); }
}
@media (forced-colors: active) {
  .home .hero-panel { border: 1px solid CanvasText; }
  .home .hero-with-budget .hero-title .accent { background: none; -webkit-text-fill-color: currentColor; filter: none; }
}
/* The airport boxes' dropdown: countries with their flags, then airports grouped by country and city. */
.sb .fl-flag { flex: none; display: inline-block; width: 20px; height: 15px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(11, 37, 69, .12); }
.sb .fl-suggest li > small { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb .fl-suggest li.fl-suggest-group { display: flex; align-items: center; gap: 10px; min-height: 0; padding: 12px 12px 4px; font-size: 14px; font-weight: 700; color: var(--ink); cursor: default; }
.sb .fl-suggest li.fl-suggest-group:hover, .sb .fl-suggest li.fl-suggest-city:hover { background: transparent; }
.sb .fl-suggest li.fl-suggest-city { display: block; min-height: 0; padding: 6px 12px 2px 62px; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: default; }
.sb .fl-suggest li.fl-suggest-country { grid-template-columns: 36px minmax(0, 1fr) 12px; }
.sb .fl-suggest li > i.fl-suggest-flag { background: var(--sb-tint); }
.sb .fl-suggest li > i.fl-suggest-flag .fl-flag { width: 22px; height: 16px; }
.sb .fl-suggest li > .fl-suggest-go { grid-column: 3; grid-row: 1 / span 2; width: 8px; height: 8px; border: solid var(--muted); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.sb .fl-suggest li > i.fl-suggest-arrow { width: 36px; height: 36px; background: var(--sb-tint) no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668c7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 18l-6-6 6-6'/%3E%3C/svg%3E"); }
.sb .fl-suggest li.fl-suggest-back { min-height: 48px; }
.sb .fl-suggest li.fl-suggest-back > span { font-size: 15px; color: var(--sb-blue); }
