/* =====================================================================
   LLH Flights — search dock, results, flight detail, enquiry.

   Layout rule followed throughout: every CSS grid/flex child that can
   contain wide content (airline rails, tables, long airport names) gets
   min-width:0 / minmax(0,…). Without it the browser sizes the track to
   the content and the whole page overflows sideways.
   ===================================================================== */

.llh-dock-wrap,
.llh-sr,
.llh-detail,
.llh-thankyou {
	--llh-navy: var(--navy, #0c2c3a);
	--llh-navy-2: var(--navy-2, #103847);
	--llh-sand: var(--sand, #f7f2ea);
	--llh-sand-2: var(--sand-2, #efe6d8);
	--llh-cream: var(--cream, #fffdf9);
	--llh-ink: var(--ink, #15252c);
	--llh-ink-soft: var(--ink-soft, #4a5a60);
	--llh-coral: var(--coral, #ff6b5b);
	--llh-coral-d: var(--coral-d, #ef5544);
	--llh-gold: var(--gold, #c79a3f);
	--llh-teal: var(--teal, #1f8a78);
	--llh-line: var(--line, #e4dccd);
	--llh-r: var(--r, 14px);
	--llh-r-sm: var(--r-sm, 10px);
	--llh-shadow: var(--shadow, 0 18px 50px -20px rgba(12, 44, 58, .35));
	--llh-shadow-sm: var(--shadow-sm, 0 6px 24px -12px rgba(12, 44, 58, .28));
	--llh-ff: var(--ff-body, "Plus Jakarta Sans", system-ui, sans-serif);
	--llh-ff-display: var(--ff-display, "Fraunces", Georgia, serif);
	font-family: var(--llh-ff);
	color: var(--llh-ink);
	box-sizing: border-box;
	max-width: 100%;
}

.llh-dock-wrap *,
.llh-sr *,
.llh-detail *,
.llh-thankyou * { box-sizing: border-box; }

/* The page templates already provide the gutter; never exceed it. */
.llh-sr, .llh-detail, .llh-thankyou, .llh-dock-wrap { width: 100%; }

/* ---------- Buttons ---------- */
.llh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: 700 15px/1 var(--llh-ff);
	padding: 14px 24px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: .22s cubic-bezier(.22, .61, .36, 1);
}
.llh-btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.llh-btn-primary { background: var(--llh-coral); color: #fff; box-shadow: 0 10px 22px -12px rgba(255, 107, 91, .8); }
.llh-btn-primary:hover { background: var(--llh-coral-d); color: #fff; transform: translateY(-1px); }
.llh-btn-navy { background: var(--llh-navy); color: var(--llh-cream); }
.llh-btn-navy:hover { background: var(--llh-navy-2); color: var(--llh-cream); transform: translateY(-1px); }
.llh-btn-ghost { background: #fff; color: var(--llh-navy); border: 1.5px solid var(--llh-line); }
.llh-btn-ghost:hover { background: var(--llh-sand-2); color: var(--llh-navy); border-color: var(--llh-gold); }
.llh-btn-block { display: flex; width: 100%; }
.llh-btn-lg { padding: 16px 32px; font-size: 16px; }
.llh-btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.llh-linkbtn { background: none; border: 0; padding: 0; color: var(--llh-coral); font-weight: 700; cursor: pointer; text-decoration: underline; }

/* =====================================================================
   SEARCH DOCK
   ===================================================================== */

.llh-dock-heading {
	font-family: var(--llh-ff-display);
	font-size: clamp(21px, 2.6vw, 30px);
	line-height: 1.15;
	margin: 0 0 14px;
	color: var(--llh-navy);
}

.llh-dock {
	position: relative;
	z-index: 5;
	background: var(--llh-cream);
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r);
	box-shadow: var(--llh-shadow);
	padding: 12px;
	overflow: visible;
}
.llh-dock-wrap { overflow: visible; position: relative; z-index: 20; }

.llh-dock-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	padding: 2px 2px 12px;
}

.llh-seg { display: inline-flex; gap: 3px; background: var(--llh-sand); border-radius: 999px; padding: 4px; max-width: 100%; overflow-x: auto; }
.llh-seg button {
	border: 0;
	background: none;
	font: 700 13.5px/1 var(--llh-ff);
	color: var(--llh-ink-soft);
	padding: 10px 18px;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
	transition: .2s;
}
.llh-seg button.on { background: var(--llh-navy); color: var(--llh-cream); }

/* Traveller / cabin popover */
.llh-pax { position: relative; }
.llh-pax-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--llh-sand);
	border: 1px solid var(--llh-line);
	border-radius: 999px;
	padding: 11px 16px;
	font: 600 14px/1 var(--llh-ff);
	color: var(--llh-ink);
	cursor: pointer;
	max-width: 100%;
}
.llh-pax-btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.llh-pax-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.llh-pax-pop {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 40;
	width: 320px;
	max-width: calc(100vw - 32px);
	background: #fff;
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r-sm);
	box-shadow: var(--llh-shadow);
	padding: 16px;
}
.llh-pax-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.llh-pax-row .lbl { min-width: 0; }
.llh-pax-row .lbl b { display: block; font-size: 14px; }
.llh-pax-row .lbl small { color: var(--llh-ink-soft); font-size: 12px; }
.llh-stepper { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.llh-stepper button {
	width: 32px; height: 32px;
	border-radius: 50%;
	border: 1px solid var(--llh-line);
	background: var(--llh-sand);
	font: 700 16px/1 var(--llh-ff);
	color: var(--llh-navy);
	cursor: pointer;
}
.llh-stepper button:hover { background: var(--llh-navy); color: #fff; }
.llh-stepper span { min-width: 20px; text-align: center; font-weight: 700; }
.llh-pax-cabins { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; border-top: 1px solid var(--llh-line); padding-top: 12px; }
.llh-pax-cabins label { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; cursor: pointer; }
.llh-pax-done {
	width: 100%; margin-top: 12px; padding: 11px;
	border: 0; border-radius: 999px;
	background: var(--llh-navy); color: var(--llh-cream);
	font: 700 14px/1 var(--llh-ff); cursor: pointer;
}

/* Fields row — minmax(0,…) so long airport labels never widen the grid. */
.llh-dock-fields {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1.15fr) minmax(0, 1.45fr) auto;
	gap: 8px;
	align-items: stretch;
}
.llh-dock-fields[hidden], .llh-dock-multi[hidden] { display: none; }

.llh-field {
	position: relative;
	background: var(--llh-sand);
	border: 1px solid transparent;
	border-radius: var(--llh-r-sm);
	padding: 10px 14px;
	text-align: left;
	min-width: 0;
	overflow: visible;
	z-index: 1;
}
.llh-field:focus-within { border-color: var(--llh-gold); background: #fff; z-index: 30; }
.llh-field label {
	display: block;
	font: 700 11px/1.2 var(--llh-ff);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--llh-ink-soft);
	margin-bottom: 4px;
}
.llh-field input, .llh-field select {
	width: 100%;
	min-width: 0;
	border: 0;
	background: transparent;
	font: 600 15px/1.35 var(--llh-ff);
	color: var(--llh-ink);
	padding: 0;
	outline: none;
}
.llh-field input::placeholder { color: #9aa8ae; font-weight: 500; }
.llh-field .ico {
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 17px; height: 17px;
	color: var(--llh-gold);
	pointer-events: none;
	opacity: .8;
}
.llh-field--ico input { padding-right: 24px; }
.llh-field.is-disabled { opacity: .45; }

.llh-dock-dates { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; min-width: 0; }

.llh-swap {
	align-self: center;
	width: 38px; height: 38px;
	flex: 0 0 auto;
	border-radius: 50%;
	border: 1px solid var(--llh-line);
	background: #fff;
	color: var(--llh-navy);
	cursor: pointer;
	display: grid;
	place-items: center;
}
.llh-swap svg { width: 18px; height: 18px; }
.llh-swap:hover { background: var(--llh-navy); color: #fff; }

.llh-btn-search {
	background: var(--llh-coral);
	color: #fff;
	border-radius: var(--llh-r-sm);
	padding-inline: 26px;
	box-shadow: 0 10px 22px -14px rgba(255, 107, 91, .9);
}
.llh-btn-search:hover { background: var(--llh-coral-d); color: #fff; }
.is-searching .llh-btn-search { opacity: .7; pointer-events: none; }

/* Airport suggestions */
.llh-suggest {
	display: none;
	position: absolute;
	left: 0;
	top: calc(100% + 6px);
	z-index: 120;
	width: max(100%, 300px);
	max-width: min(420px, calc(100vw - 32px));
	max-height: 320px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r-sm);
	box-shadow: 0 18px 40px -16px rgba(12, 44, 58, .45), var(--llh-shadow);
}
.llh-suggest.is-open { display: block; }
.llh-suggest button {
	display: flex;
	align-items: center;
	gap: 11px;
	width: 100%;
	border: 0;
	background: none;
	text-align: left;
	padding: 10px 13px;
	cursor: pointer;
	border-bottom: 1px solid var(--llh-sand);
}
.llh-suggest button:last-child { border-bottom: 0; }
.llh-suggest button:hover, .llh-suggest button.is-active { background: var(--llh-sand); }
.llh-ap-code {
	flex: 0 0 auto;
	font: 700 12px/1 var(--llh-ff);
	background: var(--llh-navy);
	color: var(--llh-cream);
	padding: 7px 8px;
	border-radius: 6px;
	letter-spacing: .05em;
}
.llh-ap-text { display: flex; flex-direction: column; min-width: 0; }
.llh-ap-city { font-size: 14px; font-weight: 700; color: var(--llh-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.llh-ap-name { font-size: 12px; color: var(--llh-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Multi-city */
.llh-mc-row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px;
}
.llh-mc-num { font: 700 11px/1.2 var(--llh-ff); color: var(--llh-ink-soft); white-space: nowrap; text-transform: uppercase; letter-spacing: .06em; }
.llh-mc-remove {
	width: 32px; height: 32px;
	flex: 0 0 auto;
	border-radius: 50%;
	border: 1px solid var(--llh-line);
	background: #fff;
	color: var(--llh-ink-soft);
	font: 400 18px/1 var(--llh-ff);
	cursor: pointer;
}
.llh-mc-remove:hover { background: var(--llh-coral); color: #fff; border-color: var(--llh-coral); }
.llh-mc-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.llh-mc-add {
	background: none;
	border: 1.5px dashed var(--llh-line);
	border-radius: 999px;
	padding: 11px 20px;
	font: 700 14px/1 var(--llh-ff);
	color: var(--llh-navy);
	cursor: pointer;
}
.llh-mc-add:hover { border-color: var(--llh-gold); color: var(--llh-gold); }

.llh-dock-extras {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding: 14px 4px 2px;
	font-size: 13px;
	color: var(--llh-ink-soft);
}
.llh-dock-extras label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 600; }
.llh-dock-note { margin-left: auto; font-size: 12px; opacity: .8; }

.llh-dock-error {
	margin: 12px 4px 2px;
	padding: 11px 14px;
	border-radius: var(--llh-r-sm);
	background: #fdecea;
	color: #a3241a;
	font-size: 14px;
	font-weight: 600;
}

/* =====================================================================
   RESULTS
   ===================================================================== */

.llh-sr { padding-bottom: 8px; }

.llh-sr-empty { text-align: center; padding: 20px 0 40px; }
.llh-sr-empty h2 { font-family: var(--llh-ff-display); font-size: clamp(23px, 3.4vw, 34px); margin: 0 0 8px; }
.llh-sr-empty p { color: var(--llh-ink-soft); margin: 0 0 24px; }

.llh-sr-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	background: var(--llh-navy);
	color: var(--llh-cream);
	border-radius: var(--llh-r);
	padding: 18px 24px;
	box-shadow: var(--llh-shadow-sm);
}
.llh-sr-summary__route { min-width: 0; }
.llh-sr-summary__route strong { font-size: clamp(17px, 2vw, 21px); font-weight: 700; }
.llh-sr-summary__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-size: 13px; color: rgba(255, 253, 249, .72); }
.llh-sr-summary__meta span { position: relative; }
.llh-sr-summary__meta span + span::before { content: "·"; position: absolute; left: -9px; opacity: .5; }
.llh-sr-modify {
	flex: 0 0 auto;
	background: transparent;
	border: 1.5px solid rgba(255, 253, 249, .4);
	color: var(--llh-cream);
	border-radius: 999px;
	padding: 11px 22px;
	font: 700 14px/1 var(--llh-ff);
	cursor: pointer;
}
.llh-sr-modify:hover { background: rgba(255, 253, 249, .14); }

.llh-sr-modify-panel { margin-top: 14px; }

.llh-sr-disclaimer {
	margin: 16px 0;
	padding: 13px 18px;
	background: var(--llh-sand-2);
	border-left: 3px solid var(--llh-gold);
	border-radius: var(--llh-r-sm);
	font-size: 13px;
	color: var(--llh-ink-soft);
	line-height: 1.6;
}

.llh-notice {
	background: var(--llh-cream);
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r);
	padding: 28px;
	margin: 20px 0;
	text-align: center;
}
.llh-notice h2, .llh-notice h3 { font-family: var(--llh-ff-display); margin: 0 0 10px; }
.llh-notice p { color: var(--llh-ink-soft); margin: 0 0 12px; }
.llh-notice p:last-child { margin-bottom: 0; }
.llh-notice--warn { border-left: 4px solid var(--llh-coral); text-align: left; }
.llh-notice__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* min-width:0 on the results track is what stops the airline rail from
   forcing the whole page wider than the viewport. */
.llh-sr-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr) 240px;
	gap: 20px;
	align-items: start;
}

/* Filters */
.llh-sr-filters {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r);
	padding: 20px;
	position: sticky;
	top: 20px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	box-shadow: var(--llh-shadow-sm);
}
.llh-sr-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.llh-sr-filters__head h3 { font-family: var(--llh-ff-display); font-size: 19px; margin: 0; }
.llh-sr-reset { background: none; border: 0; color: var(--llh-coral); font: 700 13px/1 var(--llh-ff); cursor: pointer; }

.llh-filter-group { border-top: 1px solid var(--llh-line); padding-top: 15px; margin-top: 15px; }
.llh-filter-group:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.llh-filter-group h4 {
	font: 700 11px/1.2 var(--llh-ff);
	text-transform: uppercase;
	letter-spacing: .1em;
	color: var(--llh-ink-soft);
	margin: 0 0 10px;
}

.llh-check { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; min-width: 0; }
.llh-check > span:first-child { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; }
.llh-check > span:first-child input { flex: 0 0 auto; accent-color: var(--llh-coral); }
.llh-check .from { flex: 0 0 auto; font-size: 12px; color: var(--llh-ink-soft); white-space: nowrap; }

.llh-time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.llh-time-btn {
	border: 1px solid var(--llh-line);
	background: #fff;
	border-radius: var(--llh-r-sm);
	padding: 9px 6px;
	font: 600 13px/1 var(--llh-ff);
	color: var(--llh-ink-soft);
	cursor: pointer;
}
.llh-time-btn:hover { border-color: var(--llh-gold); }
.llh-time-btn.is-on { background: var(--llh-navy); color: var(--llh-cream); border-color: var(--llh-navy); }

/* Results column */
.llh-sr-results { min-width: 0; }

/* Right trust widgets */
.llh-sr-aside {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	position: sticky;
	top: 20px;
}
.llh-aside-call {
	background: var(--llh-navy);
	color: var(--llh-cream);
	border-radius: var(--llh-r);
	padding: 22px 18px;
	text-align: center;
}
.llh-aside-call__eyebrow {
	display: block;
	font: 700 11px/1.2 var(--llh-ff);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--llh-gold);
	margin-bottom: 10px;
}
.llh-aside-call p { font-size: 13.5px; line-height: 1.55; opacity: .88; margin: 0 0 16px; }
.llh-aside-trust {
	background: #fff;
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r);
	padding: 20px 18px;
	box-shadow: var(--llh-shadow-sm);
}
.llh-aside-trust h4 { font-family: var(--llh-ff-display); font-size: 17px; margin: 0 0 12px; color: var(--llh-navy); }
.llh-aside-trust ul { margin: 0; padding: 0; list-style: none; }
.llh-aside-trust li {
	position: relative;
	padding: 7px 0 7px 22px;
	font-size: 13.5px;
	color: var(--llh-ink-soft);
	line-height: 1.4;
	border-bottom: 1px solid var(--llh-sand-2);
}
.llh-aside-trust li:last-child { border-bottom: 0; }
.llh-aside-trust li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 7px;
	color: var(--llh-teal);
	font-weight: 700;
	font-size: 13px;
}

.llh-sr-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.llh-sr-count { font-size: 15px; color: var(--llh-ink-soft); }
.llh-sr-count strong { color: var(--llh-ink); font-size: 18px; }
.llh-sr-toolbar__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.llh-filters-open { display: none; }
.llh-sort { font-size: 13px; color: var(--llh-ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.llh-sort select {
	border: 1px solid var(--llh-line);
	background: #fff;
	border-radius: 999px;
	padding: 9px 14px;
	font: 600 13px/1 var(--llh-ff);
	color: var(--llh-ink);
	cursor: pointer;
}

/* Airline rail — scrolls inside its own track, never widens the page. */
.llh-airline-rail {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
	padding-bottom: 8px;
	margin-bottom: 14px;
	max-width: 100%;
}
.llh-airline-chip {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 118px;
	min-height: 82px;
	background: #fff;
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r-sm);
	padding: 10px 8px;
	cursor: pointer;
	transition: .18s;
}
.llh-airline-chip:hover { border-color: var(--llh-gold); }
.llh-airline-chip.is-on { border-color: var(--llh-navy); box-shadow: inset 0 0 0 1px var(--llh-navy); }
.llh-airline-chip img { height: 20px; width: auto; max-width: 76px; object-fit: contain; }
.llh-airline-chip .name {
	font-size: 11px; font-weight: 600; color: var(--llh-ink-soft);
	line-height: 1.25; text-align: center;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden; max-width: 100%;
}
.llh-airline-chip .price { font-size: 14px; font-weight: 700; color: var(--llh-navy); }

.llh-sr-callbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	background: var(--llh-navy-2);
	color: var(--llh-cream);
	border-radius: var(--llh-r-sm);
	padding: 14px 20px;
	margin-bottom: 16px;
	font-size: 14px;
}
.llh-sr-callbar a { color: var(--llh-gold); font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }

/* ---------- Result card ---------- */
.llh-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r);
	margin-bottom: 14px;
	overflow: hidden;
	box-shadow: 0 4px 18px -12px rgba(12, 44, 58, .22);
	transition: box-shadow .2s, border-color .2s, transform .2s;
}
.llh-card:hover { box-shadow: var(--llh-shadow-sm); border-color: #d6cbb6; transform: translateY(-1px); }
.llh-card[hidden] { display: none; }

.llh-card-flag {
	position: absolute;
	top: 0; left: 0;
	font: 700 10.5px/1 var(--llh-ff);
	letter-spacing: .09em;
	text-transform: uppercase;
	padding: 6px 12px;
	border-bottom-right-radius: var(--llh-r-sm);
	color: #fff;
	z-index: 2;
}
.llh-card-flag--best { background: var(--llh-teal); }
.llh-card-flag--fast { background: var(--llh-gold); }

.llh-card__body { display: grid; grid-template-columns: minmax(0, 1fr) 210px; }
.llh-card__main { min-width: 0; padding: 22px; }
.llh-card--flagged .llh-card__main { padding-top: 32px; }

.llh-card__airline { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; min-width: 0; }
.llh-card__airline img { height: 24px; width: auto; max-width: 66px; object-fit: contain; flex: 0 0 auto; }
.llh-card__airline > div { min-width: 0; }
.llh-card__airline strong { display: block; font-size: 15px; line-height: 1.3; }
.llh-card__airline small { font-size: 12px; color: var(--llh-ink-soft); }

/* Leg row: times either side, duration + stops in the middle. */
.llh-leg {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(90px, 1.5fr) minmax(0, 1fr);
	gap: 10px;
	align-items: center;
	padding: 13px 0;
	border-top: 1px dashed var(--llh-line);
}
.llh-leg:first-of-type { border-top: 0; padding-top: 0; }
.llh-leg__end { min-width: 0; }
.llh-leg__end .time { font-size: clamp(18px, 2vw, 22px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.llh-leg__end .code { font-size: 13px; font-weight: 700; color: var(--llh-ink-soft); letter-spacing: .06em; }
.llh-leg__end .date { font-size: 12px; color: var(--llh-ink-soft); white-space: nowrap; }
.llh-leg__end.is-arr { text-align: right; }
.llh-leg__mid { text-align: center; min-width: 0; }
.llh-leg__mid .dur { font-size: 12px; font-weight: 600; color: var(--llh-ink-soft); white-space: nowrap; }
.llh-leg__mid .line { position: relative; height: 2px; background: var(--llh-line); margin: 8px 0; border-radius: 2px; }
.llh-leg__mid .line span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 7px; height: 7px; border-radius: 50%; background: var(--llh-gold); }
.llh-leg__mid .stops { font-size: 12px; font-weight: 700; color: var(--llh-teal); white-space: nowrap; }

.llh-card__meta {
	display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap;
	margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--llh-sand-2);
	font-size: 12px; color: var(--llh-ink-soft);
}
.llh-meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
}
.llh-meta-pill svg { width: 14px; height: 14px; color: var(--llh-gold); flex: 0 0 auto; }
.llh-details-toggle { background: none; border: 0; color: var(--llh-coral); font: 700 13px/1 var(--llh-ff); cursor: pointer; text-decoration: underline; padding: 0; margin-left: auto; }

.llh-card__price {
	background: linear-gradient(180deg, var(--llh-sand) 0%, #fff 100%);
	border-left: 1px solid var(--llh-line);
	padding: 22px 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	min-width: 0;
}
.llh-card__price .amt { font-family: var(--llh-ff-display); font-size: clamp(26px, 2.6vw, 32px); font-weight: 700; color: var(--llh-navy); line-height: 1.05; }
.llh-card__price .lbl { font-size: 11px; color: var(--llh-ink-soft); margin-top: 5px; line-height: 1.45; }
.llh-card__actions { display: flex; flex-direction: column; gap: 7px; margin-top: 14px; }
.llh-card__actions .llh-btn { padding: 12px 14px; font-size: 14px; }
.llh-card__call { font-size: 11px; color: var(--llh-ink-soft); margin-top: 10px; }
.llh-card__call a { color: var(--llh-navy); font-weight: 700; white-space: nowrap; }

/* ---------- Itinerary panel ---------- */
.llh-itin { background: var(--llh-sand); border-top: 1px solid var(--llh-line); padding: 20px 22px; }
.llh-itin__block { margin-bottom: 16px; }
.llh-itin__block:last-of-type { margin-bottom: 0; }
.llh-itin__label { font: 700 11px/1.2 var(--llh-ff); letter-spacing: .09em; text-transform: uppercase; color: var(--llh-gold); margin-bottom: 10px; }

/* Flex, not fixed-column grid: segments reflow instead of crushing the
   times into a one-character-per-line column. */
.llh-itin__seg {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
	background: #fff;
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r-sm);
	padding: 14px 16px;
	margin-bottom: 8px;
}
.llh-itin__carrier { display: flex; gap: 10px; align-items: flex-start; flex: 1 1 180px; min-width: 0; }
.llh-itin__carrier img { width: 30px; height: 30px; object-fit: contain; flex: 0 0 auto; }
.llh-itin__carrier > div { min-width: 0; }
.llh-itin__carrier strong { display: block; font-size: 14px; line-height: 1.3; }
.llh-itin__carrier small { display: block; font-size: 11.5px; color: var(--llh-ink-soft); line-height: 1.5; }

.llh-itin__times { flex: 2 1 260px; min-width: 0; }
.llh-itin__times .row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	padding: 4px 0;
	font-size: 13px;
	min-width: 0;
}
.llh-itin__times .t { font-weight: 700; flex: 0 0 auto; min-width: 58px; }
.llh-itin__times .d { color: var(--llh-ink-soft); font-size: 12px; flex: 0 0 auto; min-width: 74px; }
.llh-itin__times .a { color: var(--llh-ink-soft); font-size: 12px; flex: 1 1 140px; min-width: 0; }

.llh-itin__cabin { flex: 0 1 140px; text-align: right; font-size: 12px; min-width: 0; }
.llh-itin__cabin strong { display: block; color: var(--llh-navy); }
.llh-itin__cabin span { color: var(--llh-ink-soft); }

.llh-itin__layover { font-size: 12px; font-weight: 600; color: var(--llh-gold); padding: 6px 0 6px 14px; border-left: 2px dotted var(--llh-gold); margin-left: 16px; }
.llh-itin__total { font-size: 13px; color: var(--llh-ink-soft); padding-top: 4px; }
.llh-itin__bar { display: flex; justify-content: flex-end; padding-top: 8px; }

.llh-sr-none { text-align: center; padding: 40px 0; color: var(--llh-ink-soft); }

/* =====================================================================
   FLIGHT DETAIL
   ===================================================================== */

.llh-detail { padding-bottom: 8px; }
.llh-back { display: inline-block; margin-bottom: 14px; font-weight: 700; font-size: 14px; color: var(--llh-navy); text-decoration: none; }
.llh-back:hover { color: var(--llh-coral); }

.llh-detail__hero {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	background: #fff;
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r);
	padding: 22px 26px;
	margin-bottom: 14px;
	box-shadow: var(--llh-shadow-sm);
}
.llh-detail__hero-main { min-width: 0; flex: 1 1 280px; }
.llh-detail__route {
	font-family: var(--llh-ff-display);
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.15;
	margin: 0;
	color: var(--llh-navy);
}
.llh-detail__route-sep { display: inline-block; margin: 0 .35em; color: var(--llh-gold); font-weight: 400; }
.llh-detail__hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 8px 0 0;
	font-size: 13.5px;
	color: var(--llh-ink-soft);
}
.llh-detail__hero-meta span { position: relative; }
.llh-detail__hero-meta span + span::before { content: "·"; position: absolute; left: -9px; opacity: .45; }
.llh-detail__hero-price {
	flex: 0 0 auto;
	text-align: right;
	padding: 4px 0;
}
.llh-detail__hero-label {
	display: block;
	font: 700 11px/1.2 var(--llh-ff);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--llh-ink-soft);
	margin-bottom: 4px;
}
.llh-detail__hero-price strong {
	display: block;
	font-family: var(--llh-ff-display);
	font-size: clamp(26px, 3vw, 34px);
	color: var(--llh-navy);
	line-height: 1.05;
}
.llh-detail__hero-price small {
	display: block;
	margin-top: 4px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--llh-teal);
}

.llh-info-banner {
	margin-bottom: 18px;
	padding: 13px 18px;
	background: #eef6f8;
	border: 1px solid #d5e6eb;
	border-radius: var(--llh-r-sm);
	font-size: 13.5px;
	color: var(--llh-ink-soft);
	line-height: 1.55;
}
.llh-info-banner strong { color: var(--llh-navy); }

.llh-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.llh-detail__main {
	min-width: 0;
	background: #fff;
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r);
	padding: 26px;
	box-shadow: var(--llh-shadow-sm);
}
.llh-detail__head { border-bottom: 1px solid var(--llh-line); padding-bottom: 18px; margin-bottom: 20px; }
.llh-detail__airline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-width: 0; }
.llh-detail__airline img { height: 30px; width: auto; max-width: 80px; object-fit: contain; flex: 0 0 auto; }
.llh-detail__airline > div { min-width: 0; }
.llh-detail__airline h3 { font-family: var(--llh-ff-display); font-size: clamp(20px, 2.4vw, 26px); margin: 0; line-height: 1.15; }
.llh-detail__airline p { margin: 4px 0 0; font-size: 13px; color: var(--llh-ink-soft); }
.llh-detail__main .llh-itin__seg { background: var(--llh-sand); }

.llh-detail__notes { border-top: 1px solid var(--llh-line); padding-top: 18px; margin-top: 10px; }
.llh-detail__notes h3 { font-family: var(--llh-ff-display); font-size: 19px; margin: 0 0 10px; }
.llh-detail__notes ul { margin: 0; padding-left: 20px; color: var(--llh-ink-soft); font-size: 14px; line-height: 1.75; }

.llh-detail__side { min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.llh-price-box {
	min-width: 0;
	background: var(--llh-navy);
	color: var(--llh-cream);
	border-radius: var(--llh-r);
	padding: 26px 22px;
	position: sticky;
	top: 20px;
	text-align: center;
	box-shadow: var(--llh-shadow);
}
.llh-price-box__amt { font-family: var(--llh-ff-display); font-size: clamp(30px, 3.6vw, 40px); font-weight: 700; line-height: 1.05; }
.llh-price-box__amt small { display: block; font: 600 11px/1.3 var(--llh-ff); opacity: .7; letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.llh-price-box__pp { font-size: 14px; color: var(--llh-gold); font-weight: 700; margin-top: 10px; }
.llh-price-box__meta { font-size: 12px; opacity: .7; margin: 8px 0 18px; line-height: 1.5; }
.llh-price-box .llh-btn + .llh-btn { margin-top: 9px; }
.llh-price-box .llh-btn-ghost { background: transparent; color: var(--llh-cream); border-color: rgba(255, 253, 249, .4); }
.llh-price-box .llh-btn-ghost:hover { background: rgba(255, 253, 249, .14); color: var(--llh-cream); border-color: rgba(255, 253, 249, .7); }
.llh-price-box__note { font-size: 11px; opacity: .6; margin: 16px 0 0; line-height: 1.55; }

.llh-need-help {
	background: #fff;
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r);
	padding: 18px 20px;
	text-align: center;
	box-shadow: var(--llh-shadow-sm);
}
.llh-need-help h4 { font-family: var(--llh-ff-display); font-size: 17px; margin: 0 0 6px; color: var(--llh-navy); }
.llh-need-help p { font-size: 13px; color: var(--llh-ink-soft); margin: 0 0 10px; line-height: 1.5; }
.llh-need-help a { font-weight: 700; font-size: 17px; color: var(--llh-coral); text-decoration: none; }

.llh-important {
	background: #fff;
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r);
	padding: 22px 26px;
	margin-top: 18px;
	box-shadow: var(--llh-shadow-sm);
}
.llh-important h3 { font-family: var(--llh-ff-display); font-size: 19px; margin: 0 0 10px; color: var(--llh-navy); }
.llh-important ul { margin: 0; padding-left: 18px; color: var(--llh-ink-soft); font-size: 13.5px; line-height: 1.7; }
.llh-important li + li { margin-top: 6px; }

/* =====================================================================
   ENQUIRY FORM
   ===================================================================== */

.llh-enquiry {
	background: #fff;
	border: 1px solid var(--llh-line);
	border-radius: var(--llh-r);
	padding: 30px;
	margin-top: 22px;
	scroll-margin-top: 90px;
	box-shadow: var(--llh-shadow-sm);
}
.llh-enquiry h2 { font-family: var(--llh-ff-display); font-size: clamp(22px, 3vw, 29px); margin: 0 0 6px; }
.llh-enquiry__intro { color: var(--llh-ink-soft); font-size: 15px; margin: 0 0 22px; }

.llh-fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.llh-fieldset legend {
	font: 700 11px/1.2 var(--llh-ff);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--llh-gold);
	padding: 0;
	margin-bottom: 14px;
}

.llh-pax-block { background: var(--llh-sand); border-radius: var(--llh-r-sm); padding: 18px; margin-bottom: 12px; }
.llh-pax-block h4 { font: 700 14px/1.3 var(--llh-ff); margin: 0 0 12px; }

.llh-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 12px; }
.llh-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 12px; }
.llh-grid-4 { display: grid; grid-template-columns: 96px repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 12px; }

.llh-input { display: block; min-width: 0; }
.llh-input > span { display: block; font: 700 12px/1.3 var(--llh-ff); color: var(--llh-ink-soft); margin-bottom: 5px; }
.llh-input > span em { color: var(--llh-coral); font-style: normal; margin-left: 2px; }
.llh-input input, .llh-input select, .llh-input textarea {
	width: 100%;
	min-width: 0;
	border: 1px solid var(--llh-line);
	background: #fff;
	border-radius: var(--llh-r-sm);
	padding: 11px 13px;
	font: 500 15px/1.4 var(--llh-ff);
	color: var(--llh-ink);
}
.llh-input input:focus, .llh-input select:focus, .llh-input textarea:focus { outline: none; border-color: var(--llh-gold); box-shadow: 0 0 0 3px rgba(199, 154, 63, .16); }
.llh-input textarea { resize: vertical; }

.llh-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--llh-ink-soft); margin-bottom: 20px; line-height: 1.55; }
.llh-consent input { margin-top: 3px; flex: 0 0 auto; }
.llh-consent a { color: var(--llh-coral); font-weight: 600; }

.llh-enquiry__submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.llh-enquiry__note { font-size: 13px; color: var(--llh-ink-soft); }

/* Honeypot — off-screen, never focusable by design. */
.llh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.llh-form-error {
	background: #fdecea;
	color: #a3241a;
	border-radius: var(--llh-r-sm);
	padding: 14px 18px;
	margin-bottom: 18px;
	font-size: 14px;
	font-weight: 600;
}

/* =====================================================================
   THANK YOU
   ===================================================================== */

.llh-thankyou { max-width: 760px; margin: 0 auto; padding: 30px 0 40px; text-align: center; }
.llh-thankyou__mark { width: 64px; height: 64px; margin: 0 auto 20px; color: var(--llh-teal); }
.llh-thankyou__mark svg { width: 100%; height: 100%; }
.llh-thankyou h1, .llh-thankyou h2 { font-family: var(--llh-ff-display); font-size: clamp(25px, 4vw, 38px); margin: 0 0 16px; line-height: 1.15; }
.llh-thankyou__ref { display: inline-block; background: var(--llh-sand-2); border-radius: var(--llh-r-sm); padding: 12px 26px; margin-bottom: 18px; }
.llh-thankyou__ref span { display: block; font: 700 11px/1.3 var(--llh-ff); letter-spacing: .1em; text-transform: uppercase; color: var(--llh-ink-soft); }
.llh-thankyou__ref strong { font-size: 21px; color: var(--llh-navy); }
.llh-thankyou__lead { font-size: 17px; color: var(--llh-ink-soft); line-height: 1.7; }
.llh-thankyou__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 40px; }
.llh-thankyou__next { border-top: 1px solid var(--llh-line); padding-top: 32px; text-align: left; }
.llh-thankyou__next h2 { font-family: var(--llh-ff-display); font-size: 23px; margin: 0 0 16px; text-align: center; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

@media (max-width: 1180px) {
	.llh-dock-fields { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 1.4fr); }
	.llh-dock-fields .llh-btn-search { grid-column: 1 / -1; }
	.llh-sr-layout { grid-template-columns: 240px minmax(0, 1fr); }
	.llh-sr-aside { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); position: static; }
}

@media (max-width: 1080px) {
	/* Filters become a toggleable drawer above the results. */
	.llh-sr-layout { grid-template-columns: minmax(0, 1fr); }
	.llh-sr-filters { position: static; display: none; max-height: none; order: -1; }
	.llh-sr-filters.is-open { display: block; }
	.llh-filters-open {
		display: inline-flex;
		align-items: center;
		background: var(--llh-navy);
		color: var(--llh-cream);
		border: 0;
		border-radius: 999px;
		padding: 10px 20px;
		font: 700 13px/1 var(--llh-ff);
		cursor: pointer;
	}
	.llh-detail__grid { grid-template-columns: minmax(0, 1fr); }
	.llh-price-box { position: static; }
	.llh-price-box .llh-btn { max-width: 420px; margin-inline: auto; }
	.llh-detail__hero-price { text-align: left; width: 100%; padding-top: 12px; border-top: 1px solid var(--llh-line); }
}

@media (max-width: 900px) {
	.llh-dock-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.llh-swap { display: none; }
	.llh-dock-dates { grid-column: 1 / -1; }
	.llh-dock-note { margin-left: 0; flex-basis: 100%; }

	.llh-mc-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); position: relative; padding-top: 6px; }
	.llh-mc-num { grid-column: 1 / -1; }
	.llh-mc-remove { position: absolute; right: 0; top: 0; }

	.llh-itin__cabin { flex-basis: 100%; text-align: left; }
	.llh-card__body { grid-template-columns: minmax(0, 1fr) 190px; }
}

@media (max-width: 700px) {
	.llh-card__body { grid-template-columns: minmax(0, 1fr); }
	.llh-card__price {
		border-left: 0;
		border-top: 1px solid var(--llh-line);
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		text-align: left;
		gap: 12px;
		padding: 16px 20px;
	}
	.llh-card__price .amt { font-size: 27px; }
	.llh-card__price .lbl { margin-top: 2px; }
	.llh-card__actions { flex-direction: row; margin-top: 0; flex: 1 1 220px; }
	.llh-card__actions .llh-btn { flex: 1; }
	.llh-card__call { flex-basis: 100%; margin-top: 0; }

	.llh-sr-summary { flex-direction: column; align-items: stretch; padding: 16px 18px; }
	.llh-sr-modify { width: 100%; }
	.llh-details-toggle { margin-left: 0; }
	.llh-enquiry, .llh-detail__main { padding: 20px 18px; }
	.llh-itin { padding: 16px; }
	.llh-itin__seg { padding: 13px; }
}

@media (max-width: 560px) {
	.llh-dock { padding: 10px; }
	.llh-dock-fields { grid-template-columns: minmax(0, 1fr); }
	.llh-dock-dates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.llh-seg { width: 100%; }
	.llh-seg button { flex: 1; padding-inline: 10px; font-size: 13px; }
	.llh-pax { width: 100%; }
	.llh-pax-btn { width: 100%; justify-content: space-between; }
	.llh-pax-pop { right: auto; left: 0; width: 100%; }

	.llh-leg { grid-template-columns: minmax(0, 1fr) minmax(74px, .9fr) minmax(0, 1fr); gap: 6px; }
	.llh-leg__end .time { font-size: 17px; }
	.llh-leg__end .date { font-size: 11px; white-space: normal; }
	.llh-leg__mid .dur, .llh-leg__mid .stops { font-size: 11px; }

	.llh-grid-2, .llh-grid-3, .llh-grid-4 { grid-template-columns: minmax(0, 1fr); }
	.llh-enquiry__submit .llh-btn { width: 100%; }

	/* iOS zooms any input under 16px on focus. */
	.llh-field input, .llh-input input, .llh-input select, .llh-input textarea { font-size: 16px; }
}
