/**
 * RideGrowth Booking — front end.
 * Every colour, radius and font comes from a custom property so the Design
 * screen and Elementor can retheme the whole widget without touching this file.
 */

.tpb {
	--tpb-accent: #f5b301;
	--tpb-accent-soft: #ffd45c;
	--tpb-accent-ink: var(--tpb-accent);
	--tpb-on-accent: #0b1b2b;
	--tpb-bg: #0b1b2b;
	--tpb-surface: #10243a;
	--tpb-surface-2: #16304b;
	--tpb-text: #f4f6f9;
	--tpb-muted: #9fb0c3;
	--tpb-border: #22405f;
	--tpb-success: #22c55e;
	--tpb-radius: 16px;
	--tpb-radius-sm: 8px;
	--tpb-shadow: 0 18px 40px -24px rgba(0, 0, 0, .55);
	--tpb-font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
	--tpb-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--tpb-scale: 1;
	--tpb-max: 1080px;

	max-width: var(--tpb-max);
	margin: 0 auto;
	color: var(--tpb-text);
	font-family: var(--tpb-font-body);
	font-size: calc(16px * var(--tpb-scale));
	line-height: 1.55;
	box-sizing: border-box;
}

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

.tpb--card .tpb-app {
	background: var(--tpb-bg);
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius);
	box-shadow: var(--tpb-shadow);
	padding: clamp(18px, 4vw, 36px);
}

.tpb-app-title {
	font-family: var(--tpb-font-heading);
	font-size: calc(2.1rem * var(--tpb-scale));
	font-weight: 600;
	letter-spacing: -.01em;
	margin: 0 0 .3em;
	color: var(--tpb-text);
}

.tpb-app-intro {
	color: var(--tpb-muted);
	margin: 0 0 1.4em;
	max-width: 62ch;
}

.tpb-skeleton {
	height: 340px;
	border-radius: var(--tpb-radius);
	background: linear-gradient(100deg, var(--tpb-surface) 30%, var(--tpb-surface-2) 50%, var(--tpb-surface) 70%);
	background-size: 220% 100%;
	animation: tpb-shimmer 1.4s linear infinite;
}

@keyframes tpb-shimmer {
	to { background-position: -220% 0; }
}

/* ------------------------------------------------------------ mode chooser */

.tpb-chooser {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tpb-choice {
	display: grid;
	gap: 6px;
	justify-items: start;
	text-align: left;
	padding: 22px;
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius);
	background: var(--tpb-surface);
	color: inherit;
	cursor: pointer;
	font: inherit;
	transition: border-color .15s, background .15s;
}

.tpb-choice:hover,
.tpb-choice:focus-visible { border-color: var(--tpb-accent-ink); }

.tpb-choice strong {
	font-family: var(--tpb-font-heading);
	font-size: 1.4rem;
	font-weight: 600;
}

.tpb-choice span { color: var(--tpb-muted); font-size: .92rem; }

.tpb-choice-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tpb-surface-2);
	color: var(--tpb-accent-ink);
	margin-bottom: 4px;
}

/* --------------------------------------------------------------- progress */

.tpb-progress {
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	counter-reset: none;
}

.tpb-progress li {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: var(--tpb-muted);
	font-size: .86rem;
}

.tpb-progress li::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--tpb-border);
}

.tpb-progress li:last-child::after { display: none; }

.tpb-progress-dot {
	flex: none;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--tpb-border);
	background: var(--tpb-surface);
	font-variant-numeric: tabular-nums;
	font-size: .85rem;
}

.tpb-progress-label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tpb-progress .is-current { color: var(--tpb-text); }
.tpb-progress .is-current .tpb-progress-dot {
	border-color: var(--tpb-accent-ink);
	color: var(--tpb-accent-ink);
}

.tpb-progress .is-done .tpb-progress-dot {
	background: var(--tpb-accent);
	border-color: var(--tpb-accent);
	color: var(--tpb-on-accent);
}

@media (max-width: 620px) {
	.tpb-progress-label { display: none; }
	.tpb-progress li::after { display: block; }
}

/* ------------------------------------------------------------------ forms */

.tpb-step { display: grid; gap: 18px; }

.tpb-lead { color: var(--tpb-muted); margin: 0; max-width: 62ch; }

.tpb-field-row {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tpb-field { position: relative; display: grid; gap: 6px; min-width: 0; }

.tpb-field label {
	font-size: .82rem;
	color: var(--tpb-muted);
	letter-spacing: .01em;
}

.tpb input[type="text"],
.tpb input[type="email"],
.tpb input[type="tel"],
.tpb input[type="url"],
.tpb input[type="date"],
.tpb input[type="number"],
.tpb select,
.tpb textarea {
	width: 100%;
	padding: 13px 14px;
	background: var(--tpb-surface-2);
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius-sm);
	color: var(--tpb-text);
	font: inherit;
	font-size: .95rem;
	appearance: none;
}

.tpb textarea { resize: vertical; min-height: 90px; }

.tpb input:focus,
.tpb select:focus,
.tpb textarea:focus {
	outline: 2px solid var(--tpb-accent-ink);
	outline-offset: 1px;
	border-color: var(--tpb-accent-ink);
}

.tpb ::placeholder { color: var(--tpb-muted); opacity: .75; }

.tpb-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------------------- trip cards */

.tpb-trip {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tpb-trip-card {
	display: grid;
	gap: 3px;
	text-align: left;
	padding: 16px 18px;
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius-sm);
	background: var(--tpb-surface);
	color: inherit;
	font: inherit;
	cursor: pointer;
	transition: border-color .15s;
}

.tpb-trip-card strong { font-size: 1rem; }
.tpb-trip-card span { color: var(--tpb-muted); font-size: .84rem; }
.tpb-trip-card.is-on {
	border-color: var(--tpb-accent-ink);
	box-shadow: inset 0 0 0 1px var(--tpb-accent-ink);
}

/* ----------------------------------------------------------- autocomplete */

.tpb-ac-list {
	position: absolute;
	z-index: 40;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 4px;
	background: var(--tpb-surface);
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius-sm);
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
	overflow: hidden;
	max-height: 300px;
	overflow-y: auto;
}

.tpb-ac-item {
	display: flex;
	gap: 12px;
	align-items: center;
	width: 100%;
	padding: 11px 14px;
	background: none;
	border: 0;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.tpb-ac-item:hover,
.tpb-ac-item.is-active { background: var(--tpb-surface-2); }
.tpb-ac-item strong { display: block; font-size: .93rem; font-weight: 500; }
.tpb-ac-item em { display: block; font-style: normal; font-size: .78rem; color: var(--tpb-muted); }
.tpb-ac-icon { color: var(--tpb-accent-ink); display: grid; place-items: center; }

/* ------------------------------------------------------------ route panel */

.tpb-route-result {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	padding: 16px 18px;
	background: var(--tpb-surface);
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius-sm);
}

.tpb-route-result div { display: grid; gap: 2px; }
.tpb-route-result span { font-size: .78rem; color: var(--tpb-muted); }
.tpb-route-result strong { font-size: 1.05rem; font-weight: 600; }
.tpb-route-result.is-loading { display: flex; align-items: center; gap: 10px; color: var(--tpb-muted); }
.tpb-route-result.is-error { display: block; border-color: #b45309; color: var(--tpb-text); }

.tpb-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid var(--tpb-border);
	border-top-color: var(--tpb-accent-ink);
	border-radius: 50%;
	animation: tpb-spin .7s linear infinite;
}

@keyframes tpb-spin { to { transform: rotate(360deg); } }

.tpb-route-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	background: var(--tpb-surface);
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius-sm);
	font-size: .95rem;
}

.tpb-route-strip svg { color: var(--tpb-accent-ink); }
.tpb-route-strip span { width: 100%; color: var(--tpb-muted); font-size: .82rem; }

/* ------------------------------------------------------------- badges row */

.tpb-badges {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}

.tpb-badges li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .84rem;
	color: var(--tpb-muted);
}

.tpb-badges svg { color: var(--tpb-accent-ink); flex: none; }

/* ----------------------------------------------------------- vehicle grid */

.tpb-vgrid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.tpb-vcard {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius);
	background: var(--tpb-surface);
	overflow: hidden;
	cursor: pointer;
	transition: border-color .15s, transform .15s;
}

.tpb-vcard:focus-visible { outline: 2px solid var(--tpb-accent-ink); outline-offset: 2px; }
.tpb-vcard.is-on { border-color: var(--tpb-accent-ink); box-shadow: inset 0 0 0 1px var(--tpb-accent-ink); }

.tpb-vcard-media { position: relative; aspect-ratio: 16 / 9; background: var(--tpb-surface-2); }
.tpb-vcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpb-vcard-blank { width: 100%; height: 100%; }

.tpb-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 100px;
	font-size: .72rem;
	letter-spacing: .04em;
	font-weight: 600;
	background: var(--tpb-accent);
	color: var(--tpb-on-accent);
}

.tpb-badge--green { background: #34d399; color: #04231a; }
.tpb-badge--gray { background: #94a3b8; color: var(--tpb-on-accent); }
.tpb-badge--blue { background: #60a5fa; color: #08172e; }
.tpb-badge--plum { background: #c084fc; color: #23083a; }

.tpb-vcard-body { padding: 16px 18px; display: grid; gap: 6px; flex: 1; }
.tpb-vcard-body h3 {
	margin: 0;
	font-family: var(--tpb-font-heading);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--tpb-text);
}
.tpb-vcard-cat { margin: 0; color: var(--tpb-muted); font-size: .85rem; }
.tpb-vcard-meta { margin: 4px 0 0; display: flex; gap: 16px; align-items: center; font-size: .85rem; color: var(--tpb-muted); }
.tpb-vcard-meta span { display: flex; gap: 6px; align-items: center; }
.tpb-vcard-meta svg { color: var(--tpb-accent-ink); }

.tpb-features { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.tpb-features li { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--tpb-muted); }
.tpb-features svg { color: var(--tpb-accent-ink); flex: none; margin-top: 1px; }

.tpb-vcard-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 10px;
	padding: 14px 18px;
	border-top: 1px solid var(--tpb-border);
	background: var(--tpb-surface-2);
}

.tpb-price-meta { font-size: .76rem; color: var(--tpb-muted); letter-spacing: .02em; min-width: 0; }
.tpb-price-value { white-space: nowrap; margin-left: auto; letter-spacing: -.01em; }
.tpb-price-value {
	font-family: var(--tpb-font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--tpb-accent-ink);
}

.tpb-selected {
	display: flex;
	gap: 8px;
	align-items: center;
	color: var(--tpb-accent-ink);
	font-weight: 600;
}

/* ---------------------------------------------------------------- summary */

.tpb-summary {
	display: grid;
	gap: 10px;
	padding: 18px;
	background: var(--tpb-surface);
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius-sm);
}

.tpb-summary h3 {
	margin: 0 0 4px;
	font-family: var(--tpb-font-heading);
	font-size: 1.25rem;
	font-weight: 600;
}

.tpb-summary div { display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; }
.tpb-summary span { color: var(--tpb-muted); }
.tpb-summary strong { font-weight: 500; text-align: right; }

/* ---------------------------------------------------------------- payment */

.tpb-total {
	display: grid;
	gap: 4px;
	justify-items: center;
	text-align: center;
	padding: 26px 18px;
	background: var(--tpb-surface);
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius);
}

.tpb-total span { color: var(--tpb-muted); font-size: .82rem; }
.tpb-total strong {
	font-family: var(--tpb-font-heading);
	font-size: clamp(2.2rem, 7vw, 3.1rem);
	font-weight: 600;
	color: var(--tpb-accent-ink);
	line-height: 1.1;
}
.tpb-total em { font-style: normal; color: var(--tpb-muted); font-size: .85rem; }

.tpb-pays { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.tpb-pay {
	display: grid;
	gap: 4px;
	text-align: left;
	padding: 18px;
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius-sm);
	background: var(--tpb-surface);
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.tpb-pay.is-on { border-color: var(--tpb-accent-ink); box-shadow: inset 0 0 0 1px var(--tpb-accent-ink); }
.tpb-pay span { color: var(--tpb-muted); font-size: .85rem; }
.tpb-cards { font-size: .74rem !important; letter-spacing: .02em; }

.tpb-stripe { padding: 18px; background: var(--tpb-surface); border: 1px solid var(--tpb-border); border-radius: var(--tpb-radius-sm); }
.tpb-terms { margin: 0; color: var(--tpb-muted); font-size: .8rem; }

/* ---------------------------------------------------------------- buttons */

.tpb-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }

.tpb-cta {
	padding: 15px 30px;
	border: 0;
	border-radius: var(--tpb-radius-sm);
	background: var(--tpb-accent);
	color: var(--tpb-on-accent);
	font: inherit;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: filter .15s;
}

.tpb-cta:hover { filter: brightness(1.08); }
.tpb-cta:disabled { opacity: .6; cursor: progress; }
.tpb-step > .tpb-cta { justify-self: stretch; width: 100%; }

.tpb-ghost {
	padding: 14px 24px;
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius-sm);
	background: transparent;
	color: var(--tpb-text);
	font: inherit;
	cursor: pointer;
}

.tpb-ghost:hover { border-color: var(--tpb-accent-ink); }

.tpb-link {
	margin-top: 8px;
	background: none;
	border: 0;
	padding: 0;
	color: var(--tpb-accent-ink);
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

.tpb-error {
	padding: 12px 16px;
	border-radius: var(--tpb-radius-sm);
	background: rgba(220, 38, 38, .12);
	border: 1px solid rgba(220, 38, 38, .45);
	color: var(--tpb-text);
	font-size: .9rem;
}

/* ------------------------------------------------------------------- done */

.tpb-done {
	display: grid;
	gap: 14px;
	justify-items: center;
	text-align: center;
	padding: 40px 20px;
}

.tpb-done-mark {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--tpb-accent);
	color: var(--tpb-on-accent);
}

.tpb-done-mark svg { width: 30px; height: 30px; }

.tpb-done h2 {
	margin: 0;
	font-family: var(--tpb-font-heading);
	font-size: clamp(1.7rem, 5vw, 2.4rem);
	font-weight: 600;
}

.tpb-done p { margin: 0; color: var(--tpb-muted); max-width: 46ch; }

.tpb-ref {
	display: grid;
	gap: 2px;
	padding: 14px 26px;
	border: 1px dashed var(--tpb-border);
	border-radius: var(--tpb-radius-sm);
}

.tpb-ref span { font-size: .76rem; color: var(--tpb-muted); }
.tpb-ref strong { font-size: 1.25rem; letter-spacing: .06em; }
.tpb-done-price { font-family: var(--tpb-font-heading); font-size: 1.8rem; color: var(--tpb-accent-ink); }

/* -------------------------------------------------------- fleet, coverage */

.tpb-fleet {
	--tpb-cols: 3;
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(var(--tpb-cols), minmax(0, 1fr));
}

.tpb-fleet-card {
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius);
	background: var(--tpb-surface);
	overflow: hidden;
}

.tpb-fleet-media { position: relative; aspect-ratio: 16 / 10; background: var(--tpb-surface-2); }
.tpb-fleet-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpb-fleet-placeholder { width: 100%; height: 100%; }
.tpb-fleet-body { padding: 18px; }
.tpb-fleet-body h3 { margin: 0 0 4px; font-family: var(--tpb-font-heading); font-size: 1.4rem; font-weight: 600; }
.tpb-muted { color: var(--tpb-muted); margin: 0 0 4px; font-size: .88rem; }
.tpb-meta { color: var(--tpb-muted); margin: 0 0 8px; font-size: .84rem; }

.tpb-coverage {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tpb-coverage-card {
	padding: 20px;
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius);
	background: var(--tpb-surface);
}

.tpb-coverage-flag { font-size: 2rem; line-height: 1; }
.tpb-coverage-card h3 { margin: 8px 0 4px; font-family: var(--tpb-font-heading); font-size: 1.3rem; font-weight: 600; }

@media (max-width: 900px) {
	.tpb-fleet { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* ------------------------------------------------------------- whatsapp */

.tpb-wa {
	position: fixed;
	right: calc(20px + env(safe-area-inset-right));
	bottom: calc(20px + env(safe-area-inset-bottom));
	z-index: 9999;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .5);
	text-decoration: none;
}

.tpb-wa:hover { filter: brightness(1.05); }

@media (prefers-reduced-motion: reduce) {
	.tpb *, .tpb *::before, .tpb *::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
	}
}

/* ------------------------------------------------------------------ map */

.tpb .tpb-map-wrap {
	margin-top: 14px;
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius-sm);
	overflow: hidden;
	background: var(--tpb-surface-2);
	position: relative;
}

.tpb .tpb-map {
	width: 100%;
	height: var(--tpb-map-h, 260px);
	min-height: 180px;
}

.tpb .tpb-map.is-unavailable {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	color: var(--tpb-muted);
	font-size: calc(13px * var(--tpb-scale));
}

/* MapLibre paints its own light chrome; tone it down to match the palette. */
.tpb .maplibregl-ctrl-group {
	background: var(--tpb-surface);
	border: 1px solid var(--tpb-border);
	box-shadow: none;
}

.tpb .maplibregl-ctrl-group button + button {
	border-top: 1px solid var(--tpb-border);
}

.tpb .maplibregl-ctrl-group button .maplibregl-ctrl-icon {
	filter: invert(var(--tpb-map-invert, 0));
}

.tpb .maplibregl-ctrl-attrib {
	background: color-mix(in srgb, var(--tpb-surface) 88%, transparent);
	font-size: 10px;
}

.tpb .maplibregl-ctrl-attrib a {
	color: var(--tpb-muted);
}

/* Route end markers. */
.tpb .tpb-marker {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--tpb-accent);
	border: 3px solid var(--tpb-bg);
	box-shadow: 0 0 0 2px var(--tpb-accent);
	cursor: default;
}

.tpb .tpb-marker.is-end {
	background: var(--tpb-bg);
	box-shadow: 0 0 0 2px var(--tpb-accent);
}

@media (max-width: 640px) {
	.tpb .tpb-map {
		height: 200px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tpb .maplibregl-map * {
		transition: none !important;
	}
}

/* --------------------------------------------- inherited typography mode */

/* When the Design screen is set to inherit, the form must not assert a font
   or a base size of its own — Elementor's global typography cascades in. */
.tpb--fonts-inherit {
	font-family: inherit;
	font-size: calc(1em * var(--tpb-scale));
}

.tpb--fonts-inherit h1,
.tpb--fonts-inherit h2,
.tpb--fonts-inherit h3,
.tpb--fonts-inherit h4,
.tpb--fonts-inherit .tpb-app-title,
.tpb--fonts-inherit .tpb-step-title {
	font-family: inherit;
}

.tpb--fonts-inherit input,
.tpb--fonts-inherit select,
.tpb--fonts-inherit textarea,
.tpb--fonts-inherit button {
	font-family: inherit;
}

/* ------------------------------------------------------------- captcha */

.tpb .tpb-captcha {
	margin: 16px 0 4px;
	min-height: 78px;
}

.tpb .tpb-captcha:empty {
	min-height: 0;
	margin: 0;
}

/* The vendor iframe has a fixed width; let it scroll rather than overflow
   the card on a narrow phone. */
.tpb .tpb-captcha > div {
	max-width: 100%;
	overflow-x: auto;
}

.tpb .tpb-captcha-note {
	margin: 8px 0 0;
	font-size: calc(11px * var(--tpb-scale));
	line-height: 1.5;
	color: var(--tpb-muted);
}

.tpb .tpb-captcha-note a {
	color: var(--tpb-muted);
	text-decoration: underline;
}

/* ------------------------------------------------- services (2.0) */

.tpb [hidden] { display: none !important; }

.tpb-services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 5px;
	margin-bottom: 18px;
	background: var(--tpb-surface-2);
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius-sm);
}

.tpb-service {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid transparent;
	border-radius: calc(var(--tpb-radius-sm) - 2px);
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: background-color .15s, border-color .15s;
}

.tpb-service > span:last-child { display: grid; gap: 2px; min-width: 0; }
.tpb-service strong { font-size: 1rem; }
.tpb-service em { font-style: normal; color: var(--tpb-muted); font-size: .82rem; }
.tpb-service-icon { display: inline-flex; color: var(--tpb-muted); }
.tpb-service.is-on { background: var(--tpb-surface); border-color: var(--tpb-accent-ink); }
.tpb-service.is-on .tpb-service-icon { color: var(--tpb-accent-ink); }
.tpb-service:focus-visible,
.tpb-seg button:focus-visible { outline: 2px solid var(--tpb-accent-ink); outline-offset: 2px; }

.tpb-seg {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	background: var(--tpb-surface-2);
	border: 1px solid var(--tpb-border);
	border-radius: var(--tpb-radius-sm);
}

.tpb-seg button {
	padding: 9px 10px;
	border: 0;
	border-radius: calc(var(--tpb-radius-sm) - 3px);
	background: transparent;
	color: var(--tpb-muted);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.tpb-seg button.is-on { background: var(--tpb-accent); color: var(--tpb-on-accent); }

.tpb-help { display: block; margin-top: 6px; color: var(--tpb-muted); font-size: .8rem; }

.tpb-note {
	margin: 0 0 16px;
	padding: 10px 14px;
	border-left: 3px solid var(--tpb-accent-ink);
	background: var(--tpb-surface-2);
	border-radius: 0 var(--tpb-radius-sm) var(--tpb-radius-sm) 0;
	color: var(--tpb-muted);
	font-size: .86rem;
	line-height: 1.5;
}

.tpb-breakdown { margin: -8px 0 18px; padding: 0 4px; text-align: left; font-size: .86rem; }
.tpb-breakdown summary { cursor: pointer; color: var(--tpb-muted); }
.tpb-breakdown ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.tpb-breakdown li { display: flex; justify-content: space-between; gap: 16px; }
.tpb-breakdown li span { color: var(--tpb-muted); }

.tpb-credit { margin: 10px 0 0; text-align: center; font-size: .75rem; opacity: .7; }
.tpb-credit a { color: inherit; }

@media (max-width: 560px) {
	.tpb-services { grid-template-columns: 1fr; }
}

/* ------------------------------------------------ 2.3: boxed fields, tabs, rows */

.tpb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tpb-si { flex: none; }

/* Field box: leading icon, small label inside, borderless control. */
.tpb-box {
	display: block;
	position: relative;
	gap: 0;
	background: var(--tpb-surface);
	border: 1px solid var(--tpb-border);
	border-radius: calc(var(--tpb-radius) - 2px);
	transition: border-color .15s, box-shadow .15s;
}
.tpb-box:hover { border-color: color-mix(in srgb, var(--tpb-border) 55%, var(--tpb-text)); }
.tpb-box:focus-within { border-color: var(--tpb-accent-ink); box-shadow: 0 0 0 3px var(--tpb-accent-tint, rgba(245, 179, 1, .14)); }
.tpb-box-ic {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	color: var(--tpb-accent-ink);
	pointer-events: none;
}
.tpb-box label {
	position: absolute;
	top: 9px;
	left: 52px;
	right: 14px;
	font-size: .75rem;
	line-height: 1.2;
	color: var(--tpb-muted);
	pointer-events: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tpb .tpb-box input,
.tpb .tpb-box select {
	display: block;
	height: 58px;
	padding: 24px 14px 8px 52px;
	background: transparent;
	border: 0;
	border-radius: inherit;
	color: var(--tpb-text);
	font-size: .98rem;
	font-weight: 500;
}
.tpb .tpb-box input:focus,
.tpb .tpb-box select:focus { outline: none; }
.tpb .tpb-box select {
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	cursor: pointer;
}
.tpb .tpb-box input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.tpb-box.tpb-ac .tpb-ac-list { margin-top: 6px; }
.tpb-field-stack { display: grid; gap: 6px; min-width: 0; }

/* Service tabs: icon + label, amber outline and tint when chosen. */
.tpb-services { padding: 0; gap: 12px; background: transparent; border: 0; }
.tpb-service {
	justify-content: center;
	gap: 12px;
	min-height: 60px;
	padding: 12px 18px;
	border: 1px solid var(--tpb-border);
	border-radius: calc(var(--tpb-radius) - 2px);
	background: var(--tpb-surface);
}
.tpb-service:hover { border-color: color-mix(in srgb, var(--tpb-border) 50%, var(--tpb-accent)); }
.tpb-service .tpb-service-icon { color: var(--tpb-text); }
.tpb-service strong { font-weight: 600; font-size: 1.02rem; }
.tpb-service.is-on {
	background: var(--tpb-accent-tint, rgba(245, 179, 1, .1));
	border-color: var(--tpb-accent);
	box-shadow: inset 0 0 0 1px var(--tpb-accent);
}
.tpb-service.is-on .tpb-service-icon { color: var(--tpb-text); }

/* One way / round trip: compact pills. */
.tpb-trip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tpb-trip-card {
	grid-template-columns: 20px 1fr;
	column-gap: 12px;
	align-items: center;
	padding: 12px 16px;
	border-radius: calc(var(--tpb-radius) - 2px);
}
.tpb-trip-card::before {
	content: "";
	grid-row: span 2;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid var(--tpb-border);
	background: var(--tpb-surface);
}
.tpb-trip-card.is-on { background: var(--tpb-accent-tint, transparent); border-color: var(--tpb-accent); box-shadow: inset 0 0 0 1px var(--tpb-accent); }
.tpb-trip-card.is-on::before { border: 6px solid var(--tpb-accent); }
.tpb-trip-card:focus-visible { outline: 2px solid var(--tpb-accent-ink); outline-offset: 2px; }

/* Primary button: amber pill with an arrow. */
.tpb-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	padding: 14px 32px;
	border-radius: 999px;
	font-family: var(--tpb-font-heading);
	font-weight: 700;
	font-size: 1.08rem;
	box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--tpb-accent) 80%, transparent);
}
.tpb-cta[data-next]::after,
.tpb-cta[data-submit]::after {
	content: "";
	width: 22px;
	height: 22px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .15s;
}
.tpb-cta:hover::after { transform: translateX(3px); }
.tpb-cta:focus-visible { outline: 3px solid var(--tpb-text); outline-offset: 3px; }
.tpb-ghost { border-radius: 999px; min-height: 56px; }

/* Trust points: icon over a title and a short line. */
.tpb-badges { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 8px; }
.tpb-badges li {
	flex-direction: column;
	gap: 6px;
	padding: 6px 8px;
	text-align: center;
	color: var(--tpb-text);
}
.tpb-badge-ic {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--tpb-accent-tint, transparent);
	color: var(--tpb-text);
}
.tpb-badge-ic .tpb-si { width: 26px; height: 26px; }
.tpb-badge-text { display: grid; gap: 1px; }
.tpb-badge-text strong { font-family: var(--tpb-font-heading); font-size: .95rem; font-weight: 700; }
.tpb-badge-text small { color: var(--tpb-muted); font-size: .8rem; }

/* Vehicle rows */
.tpb-vlist { display: grid; gap: 12px; }
.tpb-vrow {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr) auto auto 30px;
	align-items: center;
	gap: 18px;
	padding: 12px 18px 12px 12px;
	background: var(--tpb-surface);
	border: 1px solid var(--tpb-border);
	border-radius: calc(var(--tpb-radius) - 2px);
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.tpb-vrow:hover { border-color: color-mix(in srgb, var(--tpb-border) 45%, var(--tpb-accent)); }
.tpb-vrow:focus-visible { outline: 2px solid var(--tpb-accent-ink); outline-offset: 2px; }
.tpb-vrow.is-on { background: var(--tpb-accent-tint, transparent); border-color: var(--tpb-accent); box-shadow: inset 0 0 0 1px var(--tpb-accent); }
.tpb-vrow-media {
	display: grid;
	place-items: center;
	height: 76px;
	border-radius: calc(var(--tpb-radius-sm) + 2px);
	background: var(--tpb-surface-2);
	color: var(--tpb-muted);
	overflow: hidden;
}
.tpb-vrow-media img { width: 100%; height: 100%; object-fit: contain; }
.tpb-vrow-media .tpb-si { width: 40px; height: 40px; stroke-width: 1.3; }
.tpb-vrow-body { min-width: 0; }
.tpb-vrow-body h3 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 2px;
	font-family: var(--tpb-font-heading);
	font-size: 1.08rem;
	font-weight: 700;
	color: var(--tpb-text);
}
.tpb-vrow-body p { margin: 0; color: var(--tpb-muted); font-size: .88rem; }
.tpb-vrow-body .tpb-vrow-feat { margin-top: 3px; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpb-tag { padding: 2px 8px; border-radius: 999px; font-family: var(--tpb-font-body); font-size: .68rem; font-weight: 700; letter-spacing: .03em; background: var(--tpb-accent); color: var(--tpb-on-accent); }
.tpb-vrow-meta { display: flex; gap: 16px; color: var(--tpb-text); font-weight: 600; font-size: .95rem; }
.tpb-vrow-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.tpb-vrow-meta .tpb-si { width: 20px; height: 20px; color: var(--tpb-text); }
.tpb-vrow-price { display: grid; justify-items: end; text-align: right; }
.tpb-vrow-price .tpb-price-value { margin: 0; font-size: 1.3rem; font-weight: 700; }
.tpb-vrow-price .tpb-price-meta { font-size: .72rem; }
.tpb-vrow-check {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid var(--tpb-border);
	color: transparent;
}
.tpb-vrow-check .tpb-si { width: 18px; height: 18px; stroke-width: 3; }
.tpb-vrow.is-on .tpb-vrow-check { background: var(--tpb-accent); border-color: var(--tpb-accent); color: var(--tpb-on-accent); }

@media (max-width: 640px) {
	.tpb-vrow {
		position: relative;
		grid-template-columns: 72px minmax(0, 1fr) auto;
		grid-template-areas: "media body body" "meta meta price";
		gap: 10px 12px;
		padding: 12px;
	}
	.tpb-vrow-media { grid-area: media; height: 56px; align-self: start; }
	.tpb-vrow-body { grid-area: body; padding-right: 30px; }
	.tpb-vrow-meta { grid-area: meta; gap: 14px; font-size: .88rem; align-self: center; }
	.tpb-vrow-price { grid-area: price; }
	.tpb-vrow-price .tpb-price-meta { display: none; }
	.tpb-vrow-check { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; }
	.tpb-actions .tpb-cta { flex: 1; padding: 14px 20px; }
	.tpb-vrow-body .tpb-vrow-feat { display: none; }
	.tpb-trip { grid-template-columns: 1fr 1fr; }
	.tpb-trip-card span { display: none; }
	.tpb .tpb-services { grid-template-columns: 1fr 1fr; gap: 8px; }
	.tpb-service { gap: 8px; padding: 10px; min-height: 54px; }
	.tpb-service em { display: none; }
	.tpb-service strong { font-size: .95rem; }
	.tpb-badges { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.tpb-badges:has(> li:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tpb-badge-text small { display: none; }
	.tpb-badge-text strong { font-size: .85rem; }
}
.tpb-tag.tpb-badge--green { background: #34d399; color: #04231a; }
.tpb-tag.tpb-badge--gray { background: #94a3b8; color: #0b1b2b; }
.tpb-tag.tpb-badge--blue { background: #60a5fa; color: #08172e; }
.tpb-tag.tpb-badge--plum { background: #c084fc; color: #23083a; }
.tpb-box-ic { color: var(--tpb-text); }
.tpb-ac .tpb-box-ic { color: var(--tpb-accent); }

/* ------------------------------------------------ 2.4: easy filling, minimal form */

/* 16px or more stops iPhones zooming into a field when it is tapped. */
.tpb input,
.tpb select,
.tpb textarea,
.tpb .tpb-box input,
.tpb .tpb-box select { font-size: max(16px, .98rem); }
.tpb button,
.tpb [role="radio"],
.tpb label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.tpb .tpb-box input { scroll-margin-top: 16px; }

.tpb-req { color: var(--tpb-accent-ink); }

/* Progress: dots on wide screens, "Step 2 of 3 · Vehicle" on phones. */
.tpb-progress-wrap { margin: 0 0 22px; }
.tpb-progress-wrap .tpb-progress { margin: 0; }
.tpb-progress-text { display: none; margin: 10px 0 0; font-size: .9rem; color: var(--tpb-muted); }
.tpb-progress-text strong { color: var(--tpb-text); font-weight: 700; }

/* Quick dates and the return switch. */
.tpb-quick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: -6px; }
.tpb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tpb-chip {
	min-height: 40px;
	padding: 8px 16px;
	border: 1px solid var(--tpb-border);
	border-radius: 999px;
	background: var(--tpb-surface);
	color: var(--tpb-text);
	font: inherit;
	font-size: .9rem;
	font-weight: 600;
	cursor: pointer;
}
.tpb-chip:hover { border-color: var(--tpb-accent); }
.tpb-chip.is-on { background: var(--tpb-accent-tint, transparent); border-color: var(--tpb-accent); box-shadow: inset 0 0 0 1px var(--tpb-accent); }
.tpb-chip:focus-visible { outline: 2px solid var(--tpb-accent-ink); outline-offset: 2px; }

.tpb-switch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 600; font-size: .95rem; cursor: pointer; }
.tpb-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tpb-switch-ui {
	position: relative;
	flex: none;
	width: 46px;
	height: 28px;
	border-radius: 999px;
	background: var(--tpb-border);
	transition: background-color .15s;
}
.tpb-switch-ui::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	transition: transform .15s;
}
.tpb-switch input:checked + .tpb-switch-ui { background: var(--tpb-accent); }
.tpb-switch input:checked + .tpb-switch-ui::after { transform: translateX(18px); }
.tpb-switch input:focus-visible + .tpb-switch-ui { outline: 2px solid var(--tpb-accent-ink); outline-offset: 2px; }

/* Passenger and bag steppers. */
.tpb-count { display: flex; align-items: center; min-height: 58px; padding: 6px 8px 6px 52px; }
.tpb-count-label { flex: 1; font-weight: 500; font-size: .98rem; }
.tpb-count-ctl { display: inline-flex; align-items: center; gap: 4px; }
.tpb-count-ctl button {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--tpb-border);
	border-radius: 50%;
	background: var(--tpb-surface-2);
	color: var(--tpb-text);
	cursor: pointer;
	transition: border-color .15s, background-color .15s;
}
.tpb-count-ctl button:hover:not(:disabled) { border-color: var(--tpb-accent); }
.tpb-count-ctl button:disabled { opacity: .35; cursor: not-allowed; }
.tpb-count-ctl button:focus-visible { outline: 2px solid var(--tpb-accent-ink); outline-offset: 2px; }
.tpb-count-ctl output { min-width: 34px; text-align: center; font-family: var(--tpb-font-heading); font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }

/* Minimal form: "2 passengers · 2 bags  Change". */
.tpb-more {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 52px;
	padding: 10px 16px;
	border: 1px dashed var(--tpb-border);
	border-radius: calc(var(--tpb-radius) - 2px);
	background: transparent;
	color: var(--tpb-text);
	font: inherit;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
}
.tpb-more span { flex: 1; }
.tpb-more em { font-style: normal; font-weight: 700; color: var(--tpb-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.tpb-more:hover { border-color: var(--tpb-accent); }
.tpb-more:focus-visible { outline: 2px solid var(--tpb-accent-ink); outline-offset: 2px; }
.tpb-more-panel { display: grid; }

/* Field-level errors. */
.tpb-field.is-invalid,
.tpb-box.is-invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .14); }
.tpb-box.is-invalid .tpb-box-ic { color: #dc2626; }
.tpb-field-error {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: -10px 0 0;
	color: #c81e1e;
	font-size: .86rem;
	font-weight: 600;
}
.tpb-field-row > .tpb-field-error { margin: 0; grid-column: 1 / -1; }
.tpb-field-error::before { content: "!"; display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #dc2626; color: #fff; font-size: .72rem; font-weight: 800; }

/* Contact step extras. */
.tpb-link.tpb-add-note { display: inline-flex; align-items: center; gap: 8px; margin: -4px 0 0; justify-self: start; min-height: 40px; font-weight: 600; text-decoration: none; color: var(--tpb-text); }
.tpb-link.tpb-add-note .tpb-si { width: 20px; height: 20px; color: var(--tpb-accent-ink); }
.tpb-link.tpb-add-note:hover { text-decoration: underline; }
.tpb-notes label { font-size: .82rem; color: var(--tpb-muted); }

/* Minimal confirm step. */
.tpb-trip-sum {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 16px;
	background: var(--tpb-surface-2);
	border: 1px solid var(--tpb-border);
	border-radius: calc(var(--tpb-radius) - 2px);
}
.tpb-trip-sum-main { min-width: 0; }
.tpb-trip-sum p { margin: 0; }
.tpb-trip-sum-route { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 700; }
.tpb-trip-sum-route .tpb-arrow { color: var(--tpb-muted); display: inline-flex; }
.tpb-trip-sum-route .tpb-si { width: 16px; height: 16px; transform: rotate(90deg); }
.tpb-trip-sum-meta { margin-top: 4px !important; color: var(--tpb-muted); font-size: .88rem; }
.tpb-trip-sum .tpb-link { margin: 0; flex: none; font-weight: 700; min-height: 32px; }
.tpb-paybox { margin: 0; padding: 0; border: 0; min-width: 0; }
.tpb-paybox legend { padding: 0; margin: 0 0 10px; font-weight: 700; font-size: .95rem; }
.tpb-confirm .tpb-total { grid-template-columns: 1fr auto; justify-items: start; text-align: left; padding: 16px 18px; gap: 0 12px; }
.tpb-confirm .tpb-total span { grid-column: 1; }
.tpb-confirm .tpb-total strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: clamp(1.6rem, 6vw, 2.1rem); }
.tpb-confirm .tpb-total em { grid-column: 1; }

/* Vehicle step: the chosen car and price stay in view with the button. */
.tpb-pick-sum { display: none; }
.tpb-pick-sum em { display: block; font-style: normal; font-size: .8rem; color: var(--tpb-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpb-pick-sum strong { display: block; font-family: var(--tpb-font-heading); font-size: 1.1rem; }

.tpb-app--minimal .tpb-step { gap: 16px; }

@media (max-width: 640px) {
	.tpb--card .tpb-app { padding: 18px 14px; border-radius: calc(var(--tpb-radius) + 2px); }
	.tpb-progress-text { display: block; }
	.tpb-progress-dot { width: 26px; height: 26px; font-size: .78rem; }
	.tpb-field-row { grid-template-columns: 1fr; gap: 12px; }
	.tpb-quick { margin-top: -4px; }
	.tpb-step > .tpb-cta { min-height: 58px; }

	/* Sticky bar on the vehicle list: back, chosen price, continue. */
	.tpb-actions--sticky {
		position: sticky;
		bottom: 0;
		z-index: 6;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		align-items: center;
		gap: 8px 10px;
		margin: 0;
		padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
		background: var(--tpb-bg);
		border-top: 1px solid var(--tpb-border);
		box-shadow: 0 -12px 24px -18px rgba(11, 27, 43, .35);
		border-radius: 0 0 calc(var(--tpb-radius) + 2px) calc(var(--tpb-radius) + 2px);
	}
	.tpb--card .tpb-actions--sticky { margin: 0 -14px -18px; padding-left: 14px; padding-right: 14px; }
	.tpb--bare .tpb-actions--sticky { border-radius: 0; }
	body:has(.tpb-actions--sticky) .tpb-wa { bottom: calc(96px + env(safe-area-inset-bottom)); }
	.tpb-actions--sticky .tpb-ghost { min-height: 48px; padding: 10px 16px; }
	.tpb-actions--sticky .tpb-cta { min-height: 50px; padding: 12px 18px; font-size: 1rem; }
	.tpb-actions--sticky .tpb-pick-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; grid-column: 1 / -1; grid-row: 1; min-width: 0; }
	.tpb-actions--sticky .tpb-pick-sum:empty { display: none; }
	.tpb-actions--sticky .tpb-pick-sum em { font-size: .88rem; }
	.tpb-cta { white-space: nowrap; }
	.tpb-actions .tpb-cta { font-size: 1rem; padding: 12px 18px; }
	.tpb-app--minimal .tpb-route-result { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 14px; }
	.tpb-app--minimal .tpb-route-result > div { display: grid; gap: 0; }
	.tpb-app--minimal .tpb-route-result strong { font-size: .95rem; }
	.tpb-actions:not(.tpb-actions--sticky) { display: grid; grid-template-columns: auto 1fr; }
	.tpb-actions:not(.tpb-actions--sticky) > span:empty { display: none; }
	.tpb-trip-sum { padding: 12px 14px; }
	.tpb-count { padding-right: 6px; }
	.tpb-chip { min-height: 44px; }
	.tpb-ac-item { min-height: 52px; }
	.tpb-pays { grid-template-columns: 1fr; }
	.tpb-pay { padding: 14px 16px; }
}
@media (max-width: 360px) {
	.tpb-actions--sticky .tpb-pick-sum em { display: none; }
	.tpb-count-ctl button { width: 40px; height: 40px; }
}

/* ------------------------------------------------ 2.5: inline form, swap, extras */

/* Swap pickup and drop-off. */
.tpb-route-row { position: relative; }
.tpb-swap {
	position: absolute;
	z-index: 3;
	left: 50%;
	top: 29px;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--tpb-border);
	border-radius: 50%;
	background: var(--tpb-surface);
	color: var(--tpb-text);
	box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .35);
	cursor: pointer;
	transition: border-color .15s;
}
.tpb-swap .tpb-si { width: 18px; height: 18px; transform: rotate(90deg); }
/* Keep typed text clear of the swap button. */
.tpb .tpb-route-row .tpb-box:first-child input,
.tpb .tpb-cell--place:first-child input { padding-right: 26px; }
.tpb .tpb-cell--drop input { padding-left: 52px; }
.tpb-swap:hover { border-color: var(--tpb-accent); }
.tpb-swap:focus-visible { outline: 2px solid var(--tpb-accent-ink); outline-offset: 2px; }
.tpb-swap.is-spun .tpb-si { animation: tpb-swap .35s ease; }
@keyframes tpb-swap { from { transform: rotate(90deg); } to { transform: rotate(270deg); } }

/* Inline form: one row for a hero banner. */
.tpb--inline { --tpb-max: 1240px; }
.tpb--inline.tpb--card .tpb-app.tpb-app--inline { padding: 14px; }
.tpb-inline { gap: 10px; }
.tpb-services.tpb-services--compact { display: inline-flex; justify-self: start; gap: 6px; margin: 0; padding: 4px; border: 1px solid var(--tpb-border); border-radius: 999px; background: var(--tpb-surface-2); }
.tpb-services--compact .tpb-service { min-height: 38px; padding: 6px 16px; border: 0; border-radius: 999px; box-shadow: none; background: transparent; }
.tpb-services--compact .tpb-service.is-on { background: var(--tpb-accent); color: var(--tpb-on-accent); box-shadow: none; }
.tpb-services--compact .tpb-service.is-on .tpb-service-icon { color: var(--tpb-on-accent); }
.tpb-services--compact .tpb-service em { display: none; }
.tpb-services--compact .tpb-service strong { font-size: .92rem; }
.tpb-services--compact .tpb-si { width: 18px; height: 18px; }
.tpb-inline-row {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .85fr) auto;
	gap: 10px;
	align-items: start;
}
.tpb-cell { position: relative; display: grid; gap: 6px; min-width: 0; }
.tpb-cell .tpb-field-error { margin: 0; font-size: .8rem; }
.tpb-cell--drop .tpb-swap { left: -5px; top: 29px; }
.tpb-cell--go .tpb-cta { width: 100%; min-height: 58px; padding: 12px 26px; white-space: nowrap; }
.tpb-inline .tpb-route-result:not([hidden]) { margin-top: 2px; }
.tpb-app.is-expanded { animation: tpb-open .25s ease; }
@keyframes tpb-open { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 1020px) {
	.tpb-inline-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.tpb-cell--go { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.tpb-inline-row { grid-template-columns: 1fr; }
	.tpb--inline.tpb--card .tpb-app.tpb-app--inline { padding: 12px; }
	.tpb-services.tpb-services--compact { display: grid; grid-template-columns: 1fr 1fr; justify-self: stretch; }
	.tpb-swap,
	.tpb-cell--drop .tpb-swap { left: auto; right: 14px; top: -6px; transform: translateY(-50%); }
	.tpb-route-row .tpb-swap { top: 50%; }
	.tpb .tpb-route-row .tpb-box input,
	.tpb .tpb-inline .tpb-cell--place input { padding-right: 52px; }
}

/* Remember my details. */
.tpb-remember { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin-top: -4px; }
.tpb-check-line { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: .92rem; cursor: pointer; }
.tpb-check-line input { width: 20px; height: 20px; margin: 0; accent-color: var(--tpb-accent); appearance: auto; padding: 0; }
.tpb-remember .tpb-link { margin: 0; font-size: .88rem; min-height: 40px; }

/* After booking: calendar and WhatsApp. */
.tpb-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.tpb-btn-icon { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 20px; text-decoration: none; color: var(--tpb-text); border-radius: 999px; }
.tpb-btn-icon .tpb-si { width: 20px; height: 20px; }
.tpb-btn-wa { border-color: #25d366 !important; }
.tpb-btn-wa svg { color: #25d366; }
.tpb-done .tpb-link { margin-top: 4px; }

/* ------------------------------------------------ 2.6: two-step minimal form */

.tpb-block { display: grid; gap: 10px; }
.tpb-block-title { margin: 4px 0 0; font-family: var(--tpb-font-heading); font-size: 1rem; font-weight: 700; color: var(--tpb-text); }
.tpb-vlist--compact { gap: 8px; }
.tpb-vlist--compact .tpb-vrow { grid-template-columns: 88px minmax(0, 1fr) auto auto 26px; gap: 14px; padding: 8px 14px 8px 8px; }
.tpb-vlist--compact .tpb-vrow-media { height: 56px; }
.tpb-vlist--compact .tpb-vrow-body .tpb-vrow-feat { display: none; }
.tpb-vlist--compact .tpb-vrow-check { width: 26px; height: 26px; }
.tpb-vlist--compact .tpb-vrow-price .tpb-price-value { font-size: 1.15rem; white-space: nowrap; }
.tpb-total strong, .tpb-price-value { white-space: nowrap; }

@media (max-width: 640px) {
	/* Date and time side by side: one row less to scroll past. */
	.tpb .tpb-field-row.tpb-when { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 8px; }
	.tpb-when .tpb-box-ic { left: 12px; }
	.tpb-when .tpb-box label { left: 42px; }
	.tpb .tpb-when .tpb-box input,
	.tpb .tpb-when .tpb-box select { padding-left: 42px; padding-right: 8px; }
	.tpb .tpb-when .tpb-box select { padding-right: 28px; background-position: right 8px center; }
	.tpb .tpb-when input[type="date"]::-webkit-calendar-picker-indicator { display: none; }

	/* The promises take a screen of their own on a phone; the short form skips them. */
	.tpb-app--minimal .tpb-badges,
	.tpb-app--inline .tpb-badges { display: none; }

	.tpb-vlist--compact .tpb-vrow {
		grid-template-columns: 60px minmax(0, 1fr) auto;
		grid-template-areas: "media body price" "media meta price";
		gap: 2px 12px;
		padding: 10px 12px 10px 10px;
	}
	.tpb-vlist--compact .tpb-vrow-media { grid-area: media; height: 48px; align-self: center; }
	.tpb-vlist--compact .tpb-vrow-body { grid-area: body; padding-right: 0; }
	.tpb-vlist--compact .tpb-vrow-body h3 { font-size: 1rem; }
	.tpb-vlist--compact .tpb-vrow-body p:not(.tpb-vrow-feat) { display: none; }
	.tpb-vlist--compact .tpb-vrow-meta { grid-area: meta; gap: 12px; font-size: .85rem; }
	.tpb-vlist--compact .tpb-vrow-meta .tpb-si { width: 16px; height: 16px; }
	.tpb-vlist--compact .tpb-vrow-price { grid-area: price; align-self: center; }
	.tpb-vlist--compact .tpb-vrow-price .tpb-price-value { font-size: 1rem; }
	.tpb-vlist--compact .tpb-vrow-check { display: none; }
	.tpb-vlist--compact .tpb-tag { display: none; }
	.tpb-confirm .tpb-total strong { font-size: 1.5rem; }
}
@media (max-width: 340px) {
	.tpb .tpb-field-row.tpb-when { grid-template-columns: 1fr; }
}

/* ------------------------------------------------ 2.7: theme shield and polish */

/*
 * Many themes (Hello Elementor, Astra, Kadence, GeneratePress…) colour every
 * button:hover and button:focus. Inside the form that turned option cards pink
 * or painted their titles white on a pale card. These rules are more specific
 * than any theme's and give each button its own colours back.
 */
.tpb .tpb-app button { text-transform: none; letter-spacing: normal; text-shadow: none; }
.tpb .tpb-app :is(button, [type="button"], [type="submit"]):is(:hover, :focus, :active) { text-decoration: none; }
.tpb .tpb-app :is(.tpb-choice, .tpb-trip-card, .tpb-pay, .tpb-chip, .tpb-service, .tpb-swap):is(:hover, :focus, :active) {
	background-color: var(--tpb-surface);
	color: var(--tpb-text);
}
.tpb .tpb-app :is(.tpb-ghost, .tpb-more, .tpb-seg button):is(:hover, :focus, :active) {
	background-color: transparent;
	color: var(--tpb-text);
}
.tpb .tpb-app .tpb-link:is(:hover, :focus, :active) { background-color: transparent; color: var(--tpb-accent-ink); }
.tpb .tpb-app .tpb-link.tpb-add-note:is(:hover, :focus, :active) { color: var(--tpb-text); }
.tpb .tpb-app :is(.tpb-ac-item, .tpb-count-ctl button):is(:hover, :focus, :active) { background-color: var(--tpb-surface-2); color: var(--tpb-text); }
.tpb .tpb-app .tpb-cta:is(:hover, :focus, :active) { background-color: var(--tpb-accent); color: var(--tpb-on-accent); }
/* Chosen states keep their tint whatever the pointer does. */
.tpb .tpb-app :is(.tpb-chip, .tpb-trip-card, .tpb-service, .tpb-vrow).is-on { background-color: var(--tpb-accent-tint, var(--tpb-surface)); color: var(--tpb-text); }
.tpb .tpb-app :is(.tpb-seg button, .tpb-services--compact .tpb-service).is-on { background-color: var(--tpb-accent); color: var(--tpb-on-accent); }
.tpb .tpb-app .tpb-service :is(strong, .tpb-service-icon) { color: inherit; }
.tpb .tpb-app .tpb-service em { color: var(--tpb-muted); }

/* Keyboard users see where they are; mouse users do not get a ring on click. */
.tpb .tpb-app :is(button, [role="radio"], a):focus:not(:focus-visible) { outline: none; }
.tpb .tpb-app :is(.tpb-service, .tpb-trip-card, .tpb-chip, .tpb-more, .tpb-pay, .tpb-ghost, .tpb-link):focus-visible {
	outline: 2px solid var(--tpb-accent-ink);
	outline-offset: 2px;
}

/* A vehicle you only hover over must not look chosen. */
.tpb .tpb-vrow:not(.is-on):hover { border-color: color-mix(in srgb, var(--tpb-border) 70%, var(--tpb-accent)); box-shadow: 0 6px 18px -14px rgba(0, 0, 0, .45); }

/* "Prefer a personal quote?" under the main button. */
.tpb-alt { margin: -4px 0 0; text-align: center; font-size: .92rem; color: var(--tpb-muted); }
.tpb-alt .tpb-link { display: inline; min-height: 0; margin: 0; padding: 0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Route summary sits right above the button: a calm, bordered strip. */
.tpb-step > .tpb-route-result:not([hidden]) { margin-top: 2px; }
.tpb-step > .tpb-map-wrap { margin-top: 0; }

/* Prices: one line, tabular digits, never orphan the currency sign. */
.tpb :is(.tpb-price-value, .tpb-total strong, .tpb-pick-sum strong) { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }

/* Inline bar: suggestions get room to show the whole place name. */
.tpb-inline .tpb-ac-list { min-width: min(380px, calc(100vw - 32px)); }
.tpb-inline .tpb-cell--drop .tpb-ac-list { left: 0; }

/* Thumbs: 44px targets on touch screens only, mouse users keep the dense layout. */
@media (pointer: coarse) {
	.tpb .tpb-app :is(.tpb-chip, .tpb-link, .tpb-ghost, .tpb-more, .tpb-swap, .tpb-count-ctl button, .tpb-check-line) { min-height: 44px; }
	.tpb .tpb-app .tpb-swap { min-width: 44px; }
	.tpb .tpb-app .tpb-count-ctl button { min-width: 44px; }
	.tpb .tpb-alt .tpb-link { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
	.tpb .tpb-app *, .tpb .tpb-app *::after { transition: none !important; animation: none !important; }
}

/*
 * The form sizes itself to the box it sits in, not to the screen. In a
 * narrow column (a sidebar, a card beside contact details) nothing spills
 * out sideways any more.
 */
.tpb { container-type: inline-size; container-name: tpb; width: 100%; }
.tpb-step { grid-template-columns: minmax(0, 1fr); }
.tpb-step > * { min-width: 0; }
.tpb-field-row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.tpb-service { min-width: 0; }
.tpb-service strong { overflow-wrap: anywhere; }

@container tpb (max-width: 520px) {
	.tpb-field-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.tpb .tpb-field-row.tpb-when { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 8px; }
	.tpb-service { gap: 8px; padding: 10px 12px; }
	.tpb-service em { display: none; }
	.tpb-badges { display: none; }
	.tpb-services--compact .tpb-service { gap: 6px; padding: 6px 10px; }
	.tpb-services--compact .tpb-service strong { font-size: .86rem; white-space: nowrap; }
	.tpb-services--compact .tpb-si { width: 16px; height: 16px; }
}
@container tpb (max-width: 330px) {
	.tpb-services:not(.tpb-services--compact) { grid-template-columns: minmax(0, 1fr); }
	.tpb .tpb-field-row.tpb-when { grid-template-columns: minmax(0, 1fr); }
}
