/*
 * Booking results page — "Vehicles & prices".
 *
 * Recreates the "Vehicles & Prices" design reference in the plugin's own
 * environment. Colours are `--nwtb-*` tokens valued by the active theme file
 * (public/themes/<slug>/theme.css). All markup is built by public/js/booking.js; class names are
 * BEM-style and scoped under .nwtb-booking.
 */
.nwtb-booking {
	font-family: var(--nwtb-font);
	color: var(--nwtb-fg);
	background: var(--nwtb-bg);
	font-variant-numeric: tabular-nums;
}

.nwtb-booking,
.nwtb-booking *,
.nwtb-booking *::before,
.nwtb-booking *::after {
	box-sizing: border-box;
}

.nwtb-booking button { font-family: inherit; cursor: pointer; }
.nwtb-booking input,
.nwtb-booking textarea { font-family: inherit; }
.nwtb-booking .nwtb-ico { display: block; flex-shrink: 0; }
.nwtb-num { font-variant-numeric: tabular-nums; }

/* ── Page frame ── */
.nwtb-page {
	max-width: 1180px;
	margin: 0 auto;
	padding: 40px 28px 110px;
	/* Subtle warm glow from the top-center, behind the whole page. */
	background: radial-gradient(70% 40% at 50% 0%, var(--nwtb-accent-soft), transparent 65%);
}
.nwtb-page__head {
	position: relative;
	margin-bottom: 44px;
	padding: 0 0 44px;
	border-bottom: 1px solid var(--nwtb-line);
}
.nwtb-page__title {
	/* Match the theme's hero heading (e.g. /sustainability/): Inter, medium
	   weight, the shared hero font-size token, line-height 1.1, no tracking. */
	font-size: var(--nwtb-font-size-hero);
	font-weight: 500;
	letter-spacing: normal;
	line-height: 1.1;
	margin: 0 0 20px;
	max-width: 20ch;
}
.nwtb-page__lead {
	font-size: 17px;
	color: var(--nwtb-dim);
	margin: 0;
	max-width: 540px;
	line-height: 1.5;
}

/* ── Loading / error ── */
.nwtb-booking__state {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 64px 0;
	color: var(--nwtb-muted);
}
.nwtb-spinner {
	width: 30px;
	height: 30px;
	border: 3px solid var(--nwtb-line-strong);
	border-top-color: var(--nwtb-accent);
	border-radius: 50%;
	animation: nwtb-spin 0.8s linear infinite;
}
@keyframes nwtb-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .nwtb-spinner { animation: none; } }
.nwtb-booking__error {
	background: var(--nwtb-accent-soft);
	border: 1px solid var(--nwtb-accent-line);
	color: var(--nwtb-fg);
	border-radius: 12px;
	padding: 14px 16px;
}

/* Off-screen but still announced — carries the re-quoted total to a screen
   reader. Not display:none, which would take it out of the a11y tree. */
.nwtb-sronly {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Re-quote in flight — dim the price-dependent areas, keep edits responsive. */
.nwtb-app[data-loading="1"] .nwtb-rides,
.nwtb-app[data-loading="1"] .nwtb-price {
	opacity: 0.55;
	pointer-events: none;
	transition: opacity 120ms;
}

/* ── Sections ── */
.nwtb-section { margin-bottom: 48px; }
.nwtb-section:last-child { margin-bottom: 0; }
.nwtb-sechead { margin-bottom: 24px; }
.nwtb-sechead__row {
	display: flex;
	align-items: center;
	gap: 14px;
}
.nwtb-sechead__num {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	border-radius: 50%;
	border: 1px solid var(--nwtb-accent-line);
	background: var(--nwtb-accent-soft);
	color: var(--nwtb-accent);
	display: grid;
	place-items: center;
	font-size: 15px;
	font-weight: 700;
}
.nwtb-sechead__title {
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin: 0;
}
.nwtb-sechead__sub {
	font-size: 14px;
	color: var(--nwtb-muted);
	margin: 10px 0 0 48px;
	max-width: 560px;
	line-height: 1.5;
}

/* ── Trip details card ── */
.nwtb-trip {
	background: var(--nwtb-card);
	border: 1px solid var(--nwtb-line);
	border-radius: 18px;
	padding: 8px;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 8px;
}
/* 8px here + the card's 8px gutter = 16px total inset, matching the other
   boxes' content padding (the route points and chips are filled sub-boxes). */
.nwtb-trip__main { padding: 8px; }

/* Route. */
.nwtb-route { display: flex; flex-direction: column; }
.nwtb-route__connector {
	width: 2px;
	height: 14px;
	background: var(--nwtb-line);
	margin-left: 21px;
}
.nwtb-point { position: relative; }
.nwtb-point__btn {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	width: 100%;
	text-align: left;
	padding: 12px 14px;
	border-radius: 11px;
	color: var(--nwtb-fg);
	border: 1px solid var(--nwtb-line);
	background: var(--nwtb-bg);
	transition: background 120ms, border-color 120ms;
}
.nwtb-point__btn:hover { background: var(--nwtb-hover); }
.nwtb-point__btn[aria-expanded="true"] {
	border-color: var(--nwtb-line-strong);
	background: var(--nwtb-elev);
}
.nwtb-point__marker {
	margin-top: 3px;
	flex-shrink: 0;
	width: 16px;
	display: grid;
	place-items: center;
}
.nwtb-point__text { flex: 1; min-width: 0; }
.nwtb-point__label {
	display: block;
	font-size: 10.5px;
	color: var(--nwtb-dim);
	font-weight: 500;
	letter-spacing: 0.04em;
	margin-bottom: 3px;
}
.nwtb-point__name {
	display: block;
	font-size: 15.5px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nwtb-point__sub {
	display: block;
	font-size: 12px;
	color: var(--nwtb-dim);
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nwtb-point__edit { margin-top: 3px; color: var(--nwtb-faint); }
.nwtb-point__btn[aria-expanded="true"] .nwtb-point__edit { color: var(--nwtb-accent); }

/* Stops. Same bordered-card language as an endpoint, but two rows: the location
   (with a remove button) over the driver's wait at that stop. */
.nwtb-stop { position: relative; }
.nwtb-stop__card {
	border: 1px solid var(--nwtb-line);
	background: var(--nwtb-bg);
	border-radius: 11px;
	transition: background 120ms, border-color 120ms;
}
.nwtb-stop__card:has(.nwtb-stop__btn[aria-expanded="true"]) {
	border-color: var(--nwtb-line-strong);
	background: var(--nwtb-elev);
}
.nwtb-stop__head { display: flex; align-items: flex-start; }
.nwtb-stop__btn {
	flex: 1;
	min-width: 0;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	text-align: left;
	padding: 12px 0 10px 14px;
	background: transparent;
	border: 0;
	color: var(--nwtb-fg);
}
.nwtb-stop__marker {
	margin-top: 3px;
	flex-shrink: 0;
	width: 16px;
	display: grid;
	place-items: center;
}
.nwtb-stop__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--nwtb-dim);
}
.nwtb-stop__remove {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid var(--nwtb-line-strong);
	background: var(--nwtb-elev);
	color: var(--nwtb-muted);
	display: grid;
	place-items: center;
	flex-shrink: 0;
	margin: 12px 12px 0 10px;
	transition: background 120ms, border-color 120ms, color 120ms;
}
.nwtb-stop__remove:hover {
	background: var(--nwtb-danger-soft);
	border-color: var(--nwtb-danger-line);
	color: var(--nwtb-danger);
}
/* Wait row. Left padding lines it up with the text column above it. */
.nwtb-stop__wait {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px 12px 42px;
	border-top: 1px solid var(--nwtb-line-soft);
	flex-wrap: wrap;
}
.nwtb-stop__waitlabel {
	font-size: 11px;
	color: var(--nwtb-dim);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
}
/* Fixed width: the value must never shift the row as it changes. */
.nwtb-stop__waitinput {
	width: 64px;
	flex-shrink: 0;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: var(--nwtb-fg);
	background: var(--nwtb-elev);
	padding: 7px 0;
	border-radius: 8px;
	border: 1px solid transparent;
	outline: none;
}
.nwtb-stop__waitinput:focus { border-color: var(--nwtb-accent-line); }
.nwtb-stop__waitecho { font-size: 12px; color: var(--nwtb-dim); white-space: nowrap; }

/* Add stop. Dashed pill, aligned with the connectors above and below it. */
.nwtb-addstop-wrap { position: relative; align-self: flex-start; margin-left: 21px; }
.nwtb-addstop {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 1px dashed var(--nwtb-line-strong);
	border-radius: 9px;
	padding: 8px 14px;
	color: var(--nwtb-muted);
	font-size: 12.5px;
	font-weight: 600;
	transition: border-color 120ms, color 120ms, background 120ms;
}
.nwtb-addstop:hover { border-color: var(--nwtb-accent-line); color: var(--nwtb-accent); }
.nwtb-addstop[aria-expanded="true"] {
	background: var(--nwtb-accent-soft);
	border-color: var(--nwtb-accent-line);
	color: var(--nwtb-accent);
}
/* Shown instead of the button once max_stops is reached. */
.nwtb-addstop__max {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	max-width: 420px;
	margin: 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--nwtb-dim);
}
.nwtb-addstop__max .nwtb-ico { margin-top: 2px; color: var(--nwtb-accent); }

/* Editable meta chips. */
.nwtb-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--nwtb-line);
}
.nwtb-chip-wrap { position: relative; }
.nwtb-chip {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 10px 14px;
	border-radius: 11px;
	border: 1px solid var(--nwtb-line);
	background: var(--nwtb-bg);
	color: var(--nwtb-fg);
	text-align: left;
	transition: background 120ms, border-color 120ms;
}
.nwtb-chip:hover { background: var(--nwtb-hover); }
.nwtb-chip[aria-expanded="true"] {
	border-color: var(--nwtb-line-strong);
	background: var(--nwtb-elev);
}
.nwtb-chip__ico { color: var(--nwtb-dim); }
.nwtb-chip__body { min-width: 0; }
.nwtb-chip__label {
	display: block;
	font-size: 10px;
	color: var(--nwtb-dim);
	letter-spacing: 0.04em;
}
.nwtb-chip__value {
	display: block;
	font-size: 14px;
	font-weight: 600;
}
.nwtb-chip__edit { margin-left: 2px; color: var(--nwtb-faint); }
.nwtb-chip[aria-expanded="true"] .nwtb-chip__edit { color: var(--nwtb-accent); }

/* ── Popover ── */
.nwtb-pop {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 50;
	background: var(--nwtb-card);
	border: 1px solid var(--nwtb-line-strong);
	border-radius: 12px;
	box-shadow: 0 24px 60px var(--nwtb-shadow), 0 2px 8px var(--nwtb-shadow-soft);
	overflow: hidden;
	animation: nwtb-pop 140ms ease-out;
	max-width: calc(100vw - 32px);
}
@keyframes nwtb-pop {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .nwtb-pop { animation: none; } }
/* Contextual header above a picker list (e.g. "Add stop 2"). */
.nwtb-pop__head {
	padding: 11px 14px 9px;
	font-size: 12px;
	font-weight: 600;
	color: var(--nwtb-muted);
	border-bottom: 1px solid var(--nwtb-line-soft);
}
.nwtb-pop--loc { width: 384px; }
.nwtb-pop--time { width: 360px; }
.nwtb-pop--pax { width: 320px; }

/* Location list. */
.nwtb-loc__search {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--nwtb-line-soft);
}
.nwtb-loc__search-ico { color: var(--nwtb-dim); }
.nwtb-loc__input {
	flex: 1;
	background: transparent;
	border: 0;
	outline: none;
	color: var(--nwtb-fg);
	font-size: 13px;
	min-width: 0;
}
.nwtb-loc__list {
	/* Fixed height + reserved scrollbar so the dropdown never resizes as
	   curated matches filter or async address suggestions arrive — that
	   resize is what made the list jump. */
	height: 320px;
	overflow-y: scroll;
	scrollbar-gutter: stable;
	padding: 6px;
}
.nwtb-loc__group { margin-bottom: 4px; }
.nwtb-loc__popular { padding: 10px 10px 0; }
.nwtb-loc__popular + .nwtb-loc__group .nwtb-loc__grouplabel { padding-top: 2px; }
.nwtb-loc__popular-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--nwtb-fg);
}
.nwtb-loc__grouplabel {
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nwtb-dim);
	padding: 10px 10px 6px;
	font-weight: 600;
}
.nwtb-loc__item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	text-align: left;
	padding: 10px;
	border: 0;
	background: transparent;
	border-radius: 8px;
	color: var(--nwtb-fg);
	transition: background 120ms;
}
.nwtb-loc__item:hover { background: var(--nwtb-elev); }
.nwtb-loc__item[aria-selected="true"] { background: var(--nwtb-accent-soft); }
.nwtb-loc__badge {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: var(--nwtb-elev);
	display: grid;
	place-items: center;
	flex-shrink: 0;
	color: var(--nwtb-muted);
}
.nwtb-loc__item[aria-selected="true"] .nwtb-loc__badge {
	background: var(--nwtb-accent);
	color: var(--nwtb-on-accent);
}
.nwtb-loc__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nwtb-loc__name,
.nwtb-loc__sub { display: block; }
.nwtb-loc__name {
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nwtb-loc__sub {
	font-size: 11px;
	color: var(--nwtb-dim);
	margin-top: 1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nwtb-loc__check { color: var(--nwtb-accent); }
.nwtb-loc__empty {
	padding: 24px 14px;
	color: var(--nwtb-dim);
	font-size: 13px;
	text-align: center;
}

/* Shown when a typed address can't be matched — no free-text, offer a quote. */
.nwtb-loc__notfound {
	padding: 24px 14px;
	text-align: center;
}
.nwtb-loc__notfound-title {
	color: var(--nwtb-fg);
	font-size: 13px;
	font-weight: 500;
}
.nwtb-loc__notfound-sub {
	color: var(--nwtb-dim);
	font-size: 12px;
	margin-top: 4px;
}
.nwtb-loc__notfound-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 14px;
	padding: 10px 18px;
	background: var(--nwtb-btn);
	color: var(--nwtb-on-btn);
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}
.nwtb-loc__notfound-cta:hover { background: var(--nwtb-btn-hover); }

/* Date/time picker. */
.nwtb-cal__head {
	padding: 12px 14px;
	border-bottom: 1px solid var(--nwtb-line-soft);
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.nwtb-cal__nav {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	border: 1px solid var(--nwtb-line);
	background: transparent;
	color: var(--nwtb-fg);
	font-size: 16px;
	line-height: 1;
	display: grid;
	place-items: center;
}
.nwtb-cal__nav:hover { background: var(--nwtb-elev); }
.nwtb-cal__month { font-size: 13px; font-weight: 600; }
.nwtb-cal__body { padding: 10px; }
.nwtb-cal__weekdays,
.nwtb-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}
.nwtb-cal__weekdays { margin-bottom: 4px; }
.nwtb-cal__wd {
	font-size: 10px;
	color: var(--nwtb-dim);
	text-align: center;
	padding: 4px 0;
	font-weight: 600;
	letter-spacing: 0.06em;
}
.nwtb-cal__day {
	aspect-ratio: 1;
	border: 0;
	background: transparent;
	color: var(--nwtb-fg);
	font-size: 12px;
	font-weight: 500;
	border-radius: 8px;
	position: relative;
}
.nwtb-cal__day[data-state="empty"] { opacity: 0; pointer-events: none; }
.nwtb-cal__day[data-state="past"] { color: var(--nwtb-faint); cursor: default; }
.nwtb-cal__day[data-state="normal"]:hover,
.nwtb-cal__day[data-state="today"]:hover { background: var(--nwtb-elev); }
.nwtb-cal__day[data-state="today"] { font-weight: 600; }
.nwtb-cal__day[data-state="today"]::after {
	content: "";
	position: absolute;
	bottom: 4px;
	left: 50%;
	transform: translateX(-50%);
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--nwtb-accent);
}
.nwtb-cal__day[data-state="picked"] {
	background: var(--nwtb-accent);
	color: var(--nwtb-on-accent);
	font-weight: 600;
}
.nwtb-cal__time {
	padding: 12px 14px;
	border-top: 1px solid var(--nwtb-line-soft);
	display: flex;
	align-items: center;
	gap: 10px;
}
.nwtb-cal__time-label {
	font-size: 11px;
	color: var(--nwtb-dim);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-weight: 600;
}
.nwtb-cal__time-ctrls {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 6px;
}
.nwtb-stepbtn {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--nwtb-line-strong);
	background: transparent;
	color: var(--nwtb-fg);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}
.nwtb-stepbtn:disabled { opacity: 0.4; cursor: default; }
.nwtb-cal__time-input {
	flex: 1;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: var(--nwtb-fg);
	background: var(--nwtb-bg);
	padding: 8px 0;
	border-radius: 8px;
	border: 1px solid transparent;
	outline: none;
	min-width: 0;
}
.nwtb-cal__time-input:focus { border-color: var(--nwtb-accent-line); }
.nwtb-cal__foot { padding: 14px; }
.nwtb-cal__set {
	width: 100%;
	padding: 11px 0;
	background: var(--nwtb-btn);
	color: var(--nwtb-on-btn);
	border: 0;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
}

/* Passenger picker. */
.nwtb-pax { padding: 6px; }
.nwtb-pax__row {
	display: flex;
	align-items: center;
	padding: 10px;
}
.nwtb-pax__info { flex: 1; }
.nwtb-pax__label { font-size: 13px; font-weight: 500; }
.nwtb-pax__sub { font-size: 11px; color: var(--nwtb-dim); margin-top: 1px; }
.nwtb-pax__ctrls { display: flex; align-items: center; gap: 12px; }
.nwtb-pax__count {
	width: 40px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: var(--nwtb-fg);
	background: var(--nwtb-bg);
	padding: 6px 0;
	border-radius: 8px;
	border: 1px solid transparent;
	outline: none;
}
.nwtb-pax__count:focus { border-color: var(--nwtb-accent-line); }

/* ── Route map preview ── */
.nwtb-map {
	position: relative;
	min-height: 260px;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--nwtb-line);
	background: var(--nwtb-bg-alt);
	background:
		radial-gradient(120% 90% at 80% 10%, color-mix(in srgb, var(--nwtb-accent) 6%, transparent), transparent 60%),
		repeating-linear-gradient(0deg, color-mix(in srgb, var(--nwtb-fg) 2.5%, transparent) 0 1px, transparent 1px 38px),
		repeating-linear-gradient(90deg, color-mix(in srgb, var(--nwtb-fg) 2.5%, transparent) 0 1px, transparent 1px 38px),
		var(--nwtb-bg-alt);
}
.nwtb-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nwtb-map__dot {
	position: absolute;
	left: 14%;
	top: 20%;
	transform: translate(-50%, -50%);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--nwtb-fg);
	border: 3px solid var(--nwtb-bg);
	box-shadow: 0 0 0 1px var(--nwtb-dim);
}
.nwtb-map__pin {
	position: absolute;
	left: 80%;
	top: 78%;
	transform: translate(-50%, -100%);
	color: var(--nwtb-accent);
	filter: drop-shadow(0 4px 8px var(--nwtb-shadow));
}
.nwtb-map__chip {
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: color-mix(in srgb, var(--nwtb-bg) 78%, transparent);
	backdrop-filter: blur(8px);
	border: 1px solid var(--nwtb-line-strong);
	border-radius: 10px;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 600;
}
.nwtb-map__chip-sep { width: 1px; height: 14px; background: var(--nwtb-line); }
.nwtb-map__chip-dur { display: inline-flex; align-items: center; gap: 6px; }
.nwtb-map__chip-dur .nwtb-ico { color: var(--nwtb-dim); }
.nwtb-map__caption {
	position: absolute;
	right: 12px;
	top: 12px;
	font-family: var(--nwtb-mono);
	font-size: 10px;
	letter-spacing: 0.04em;
	color: var(--nwtb-faint);
}

/* Interactive Google map variant: the canvas fills the card, decorative grid
   background is irrelevant (covered), and the chip/caption float above it. */
.nwtb-map__canvas { position: absolute; inset: 0; z-index: 0; }
.nwtb-map--live .nwtb-map__chip,
.nwtb-map--live .nwtb-map__caption { z-index: 2; pointer-events: none; }
/* Round off Google's default map controls to match the card. */
.nwtb-map--live .gm-style { font-family: inherit; }

/* ── Vehicle ride options ── */
.nwtb-rides { display: flex; flex-direction: column; gap: 12px; }
.nwtb-ride {
	position: relative;
	text-align: left;
	width: 100%;
	background: var(--nwtb-card);
	border: 1.5px solid var(--nwtb-line);
	border-radius: 16px;
	padding: 16px;
	color: var(--nwtb-fg);
	display: grid;
	grid-template-columns: 168px 1fr auto;
	gap: 18px;
	align-items: center;
	transition: background 130ms, border-color 130ms;
}
.nwtb-ride:hover { background: var(--nwtb-elev); }
.nwtb-ride--selected { border-color: var(--nwtb-accent); background: var(--nwtb-elev); }
.nwtb-ride--selected.nwtb-ride--premium {
	background: linear-gradient(135deg, color-mix(in srgb, var(--nwtb-accent) 10%, transparent), color-mix(in srgb, var(--nwtb-accent) 2%, transparent));
}
.nwtb-ride__imgcell { width: 168px; height: 104px; }
.nwtb-ride__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	background: var(--nwtb-elev);
}
.nwtb-ph {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	background: repeating-linear-gradient(135deg, var(--nwtb-elev) 0 10px, var(--nwtb-card) 10px 20px);
	border: 1px solid var(--nwtb-line);
	overflow: hidden;
	display: grid;
	place-items: center;
}
.nwtb-ph__label {
	font-family: var(--nwtb-mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: var(--nwtb-dim);
	background: var(--nwtb-bg);
	padding: 4px 9px;
	border-radius: 6px;
	border: 1px solid var(--nwtb-line);
	text-align: center;
}
.nwtb-ride__info { min-width: 0; }
.nwtb-ride__titlerow {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}
.nwtb-ride__name { font-size: 17px; font-weight: 600; }
.nwtb-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 100px;
	border: 1px solid var(--nwtb-line);
	color: var(--nwtb-dim);
}
.nwtb-pill--premium {
	color: var(--nwtb-accent);
	background: var(--nwtb-accent-soft);
	border-color: var(--nwtb-accent-line);
}
.nwtb-ride__desc {
	font-size: 13px;
	color: var(--nwtb-muted);
	line-height: 1.45;
	margin-bottom: 12px;
	max-width: 440px;
}
/* Tier-specific copy stacked directly under the generic description. */
.nwtb-ride__desc--tier {
	margin-top: -6px;
}
.nwtb-ride__premlabel {
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--nwtb-dim);
	margin-bottom: 9px;
}
.nwtb-ride__feats { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.nwtb-ride__feat {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	color: var(--nwtb-muted);
}
.nwtb-ride__feat .nwtb-ico { color: var(--nwtb-accent); }
/* Standard tier: neutral grey check (Premium keeps the accent). */
.nwtb-ride__feats--standard .nwtb-ride__feat .nwtb-ico { color: var(--nwtb-dim); }
.nwtb-ride__pricecell {
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	min-width: 92px;
}
.nwtb-ride__price {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.nwtb-ride--selected .nwtb-ride__price { color: var(--nwtb-accent); }
.nwtb-ride__radio {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid var(--nwtb-line-strong);
	display: grid;
	place-items: center;
	color: var(--nwtb-on-accent);
}
.nwtb-ride--selected .nwtb-ride__radio {
	border-color: var(--nwtb-accent);
	background: var(--nwtb-accent);
}
.nwtb-note {
	font-size: 12.5px;
	color: var(--nwtb-dim);
	margin: 14px 0 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* ── Out-of-area (online booking unavailable) ── */
.nwtb-unavail {
	background: var(--nwtb-card);
	border: 1px solid var(--nwtb-line);
	border-radius: 16px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.nwtb-unavail__text {
	margin: 0;
	font-size: 14px;
	color: var(--nwtb-fg);
	line-height: 1.5;
}
.nwtb-unavail__ask {
	background: var(--nwtb-btn);
	color: var(--nwtb-on-btn);
	border: 0;
	border-radius: 12px;
	padding: 13px 22px;
	font-size: 14.5px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	transition: filter 140ms;
}
.nwtb-unavail__ask:hover { filter: brightness(0.92); }

/* ── Price summary ── */
.nwtb-price {
	background: var(--nwtb-card);
	border: 1px solid var(--nwtb-line);
	border-radius: 18px;
	padding: 16px;
}
.nwtb-price__recap {
	padding-bottom: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--nwtb-line);
}
.nwtb-price__route {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 14.5px;
	font-weight: 600;
	margin-bottom: 6px;
	flex-wrap: wrap;
}
.nwtb-price__route .nwtb-ico { color: var(--nwtb-dim); }
.nwtb-price__recapmeta { font-size: 12.5px; color: var(--nwtb-dim); }
.nwtb-price__lines {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 18px;
}
.nwtb-price__line {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}
.nwtb-price__line-label { font-size: 13.5px; color: var(--nwtb-muted); }
.nwtb-price__line-value { font-size: 14px; font-weight: 600; }
.nwtb-price__line--accent .nwtb-price__line-value { color: var(--nwtb-accent); }
.nwtb-price__totalrow {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding-top: 18px;
	border-top: 1px solid var(--nwtb-line);
	margin-bottom: 6px;
}
.nwtb-price__totallabel { font-size: 15px; font-weight: 600; }
.nwtb-price__total {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.nwtb-price__vat {
	font-size: 12px;
	color: var(--nwtb-dim);
	margin-bottom: 22px;
	text-align: right;
}
.nwtb-price__ctas { display: flex; gap: 10px; }
.nwtb-price__book {
	flex: 1.6;
	background: var(--nwtb-btn);
	color: var(--nwtb-on-btn);
	border: 0;
	border-radius: 12px;
	padding: 15px 0;
	font-size: 15px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: background 140ms;
}
.nwtb-price__book:hover { background: var(--nwtb-btn-hover); }
.nwtb-price__book .nwtb-ico { color: var(--nwtb-on-btn); }
.nwtb-price__ask {
	flex: 1;
	background: transparent;
	color: var(--nwtb-fg);
	border: 1px solid var(--nwtb-line-strong);
	border-radius: 12px;
	padding: 14px 0;
	font-size: 14.5px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	text-decoration: none;
	transition: background 140ms, border-color 140ms;
}
.nwtb-price__ask:hover { background: var(--nwtb-elev); border-color: var(--nwtb-dim); }
.nwtb-price__reassure {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--nwtb-line);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
}
.nwtb-price__reassure-item {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 12.5px;
	color: var(--nwtb-muted);
}
.nwtb-price__reassure-item .nwtb-ico { color: var(--nwtb-accent); }

/* ── Promo code (sits between the VAT note and the CTAs) ── */
.nwtb-coupon { margin-bottom: 22px; }
.nwtb-coupon__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border: 0;
	padding: 0;
	color: var(--nwtb-muted);
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: color 140ms;
}
.nwtb-coupon__toggle:hover { color: var(--nwtb-fg); }
.nwtb-coupon__toggle .nwtb-ico { color: var(--nwtb-accent); }
.nwtb-coupon__form { display: flex; gap: 8px; }
.nwtb-coupon__input {
	flex: 1;
	min-width: 0;
	background: var(--nwtb-bg-alt);
	border: 1px solid var(--nwtb-line-strong);
	border-radius: 10px;
	padding: 12px 14px;
	color: var(--nwtb-fg);
	font-size: 14px;
	letter-spacing: 0.02em;
}
.nwtb-coupon__input::placeholder { color: var(--nwtb-dim); letter-spacing: normal; }
.nwtb-coupon__input:focus { outline: none; border-color: var(--nwtb-accent-line); }
.nwtb-coupon__apply {
	flex-shrink: 0;
	background: var(--nwtb-elev);
	color: var(--nwtb-fg);
	border: 1px solid var(--nwtb-line-strong);
	border-radius: 10px;
	padding: 0 18px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 140ms, border-color 140ms;
}
.nwtb-coupon__apply:hover { border-color: var(--nwtb-dim); }
.nwtb-coupon__apply:disabled { opacity: 0.6; cursor: default; }
.nwtb-coupon__msg {
	margin-top: 8px;
	font-size: 12.5px;
	color: var(--nwtb-accent);
}
.nwtb-coupon__applied {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 11px 14px;
	background: var(--nwtb-accent-soft);
	border: 1px solid var(--nwtb-accent-line);
	border-radius: 10px;
	font-size: 13.5px;
}
.nwtb-coupon__applied .nwtb-ico { color: var(--nwtb-accent); flex-shrink: 0; }
.nwtb-coupon__appliedcode { flex: 1; font-weight: 600; }
.nwtb-coupon__remove {
	flex-shrink: 0;
	background: transparent;
	border: 0;
	padding: 0;
	color: var(--nwtb-muted);
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}
.nwtb-coupon__remove:hover { color: var(--nwtb-fg); }

/* ── Share this trip (sits on the page background, no box) ── */
.nwtb-share__head {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--nwtb-muted);
	margin-bottom: 10px;
}
.nwtb-share__head .nwtb-ico { color: var(--nwtb-accent); }
.nwtb-share__row {
	display: flex;
	gap: 8px;
}
.nwtb-share__url {
	flex: 1;
	min-width: 0;
	background: var(--nwtb-bg);
	border: 1px solid var(--nwtb-line-strong);
	border-radius: 8px;
	padding: 11px 12px;
	font-size: 12.5px;
	color: var(--nwtb-muted);
	font-family: var(--nwtb-mono);
	text-overflow: ellipsis;
}
.nwtb-share__url:focus {
	outline: none;
	border-color: var(--nwtb-accent-line);
	color: var(--nwtb-fg);
}
.nwtb-share__copy {
	flex: 0 0 auto;
	background: transparent;
	color: var(--nwtb-fg);
	border: 1px solid var(--nwtb-line-strong);
	border-radius: 8px;
	padding: 0 16px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	cursor: pointer;
	transition: background 140ms, border-color 140ms, color 140ms;
}
.nwtb-share__copy:hover { background: var(--nwtb-elev); border-color: var(--nwtb-dim); }
.nwtb-share__copy.is-copied {
	color: var(--nwtb-accent);
	border-color: var(--nwtb-accent-line);
	background: var(--nwtb-accent-soft);
}

/* ── Responsive ── */
@media (max-width: 760px) {
	.nwtb-trip { grid-template-columns: 1fr; }
	.nwtb-map { min-height: 220px; }
	.nwtb-sechead__title { font-size: 23px; }
}
@media (max-width: 560px) {
	.nwtb-page { padding: 28px 18px 80px; }
	.nwtb-price__ctas { flex-direction: column; }
	.nwtb-price__book,
	.nwtb-price__ask { flex: 1 1 auto; }
}
@media (max-width: 520px) {
	.nwtb-ride { grid-template-columns: 1fr; }
	.nwtb-ride__imgcell { width: 100%; }
	.nwtb-ride__pricecell {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		min-width: 0;
	}
}

/* Locked quote link: the trip is a record of what was agreed, not a form. Same
   boxes as the editable page, minus every hover and focus affordance. */
.nwtb-point--locked {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	width: 100%;
	padding: 12px 14px;
	border-radius: 11px;
	color: var(--nwtb-fg);
	border: 1px solid var(--nwtb-line);
	background: var(--nwtb-bg);
}
.nwtb-point--locked.nwtb-point--stop { border-style: dashed; }
.nwtb-chip--locked { cursor: default; }
.nwtb-chip--locked:hover { background: var(--nwtb-bg); }
.nwtb-stop__waitrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px 12px;
}
.nwtb-stop__waitlabel { font-size: 12px; color: var(--nwtb-dim); }
/* No price cell here, so the card is two columns rather than three. */
.nwtb-ride--locked { cursor: default; grid-template-columns: 168px 1fr; }
.nwtb-ride--locked:hover { background: var(--nwtb-card); }
.nwtb-price__validity {
	font-size: 12px;
	color: var(--nwtb-dim);
	margin: -14px 0 22px;
	text-align: right;
}
