/* Ted Shuttle Bookings — public styles */

.tsb-root {
	--tsb-ink: #161616;
	--tsb-ink-2: #3a3935;
	--tsb-muted: #6f6b62;
	--tsb-line: #e6e2d8;
	--tsb-cream: #faf9f4;
	--tsb-sand: #f3f1ea;
	--tsb-white: #ffffff;
	--tsb-accent: #710014;
	--tsb-accent-2: #8c0a22;
	--tsb-accent-soft: #f6e9eb;
	--tsb-ok: #1f7a4d;
	--tsb-warn: #a45b00;
	--tsb-danger: #b42318;
	--tsb-radius: 14px;
	--tsb-display: "Helios Ext", "Montserrat", system-ui, sans-serif;
	--tsb-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-family: var(--tsb-body);
	color: var(--tsb-ink);
	font-size: 15px;
	line-height: 1.5;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}
.tsb-root *, .tsb-root *::before, .tsb-root *::after { box-sizing: inherit; }
.tsb-root svg { width: 1em; height: 1em; flex: none; }
.tsb-root [hidden] { display: none !important; }
.tsb-root p { margin: 0; padding: 0; }
.tsb-root h2, .tsb-root h3 { margin: 0; padding: 0; letter-spacing: normal; text-transform: none; }
.tsb-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.tsb-admin-note { padding: 12px 16px; border: 1px dashed #c9a; border-radius: 8px; background: #fff7f8; font-size: 14px; }

/* ------------------------------------------------------------------ */
/* Buttons                                                            */
/* ------------------------------------------------------------------ */

.tsb-root .tsb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 15px 30px !important; margin: 0;
	border-radius: 50px !important; border: 1px solid transparent !important;
	font-family: var(--tsb-display) !important; font-size: 14px !important; font-weight: 700 !important;
	line-height: 1.2 !important; letter-spacing: 0 !important; text-transform: none !important; text-decoration: none !important;
	cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
	position: relative; white-space: nowrap; box-shadow: none !important;
}
.tsb-root .tsb-btn:focus-visible { outline: 2px solid var(--tsb-accent); outline-offset: 3px; }
.tsb-root .tsb-btn svg { width: 16px; height: 16px; }
.tsb-root .tsb-btn__label { display: inline-flex; align-items: center; gap: 10px; transition: opacity .15s; }
.tsb-root .tsb-btn--primary { background: var(--tsb-accent) !important; color: #fff !important; }
.tsb-root .tsb-btn--primary:hover { background: var(--tsb-accent-2) !important; transform: translateY(-1px); }
.tsb-root .tsb-btn--outline { background: transparent !important; color: var(--tsb-ink) !important; border-color: var(--tsb-ink) !important; }
.tsb-root .tsb-btn--outline:hover { background: var(--tsb-ink) !important; color: #fff !important; }
.tsb-root .tsb-btn--ghost { background: transparent !important; color: var(--tsb-ink) !important; }
.tsb-root .tsb-btn--ghost:hover { background: var(--tsb-sand) !important; }
.tsb-root .tsb-btn--lg { min-height: 60px; padding: 18px 40px !important; font-size: 15px !important; }
.tsb-root .tsb-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.tsb-root .tsb-btn.is-busy .tsb-btn__label, .tsb-root form.is-busy .tsb-btn--primary .tsb-btn__label { opacity: 0; }
.tsb-root .tsb-btn.is-busy::after, .tsb-root form.is-busy .tsb-btn--primary::after {
	content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: tsb-spin .7s linear infinite;
}
.tsb-root .tsb-link {
	background: none !important; border: 0 !important; padding: 0 !important; margin: 0; min-height: 0;
	font: 600 13px/1.4 var(--tsb-body) !important; color: var(--tsb-accent) !important; cursor: pointer;
	text-decoration: underline !important; text-underline-offset: 3px; box-shadow: none !important;
}
.tsb-root .tsb-back {
	display: inline-flex; align-items: center; gap: 4px; margin: 0 0 14px -4px; padding: 4px !important;
	background: none !important; border: 0 !important; box-shadow: none !important; min-height: 0;
	font: 600 13px/1 var(--tsb-body) !important; color: var(--tsb-muted) !important; cursor: pointer;
}
.tsb-root .tsb-back:hover { color: var(--tsb-ink) !important; }

@keyframes tsb-spin { to { transform: rotate(360deg); } }
.tsb-spinner { display: inline-block; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--tsb-line, #e6e2d8); border-top-color: var(--tsb-accent, #710014); animation: tsb-spin .75s linear infinite; }

/* ------------------------------------------------------------------ */
/* Fields                                                             */
/* ------------------------------------------------------------------ */

.tsb-root .tsb-field { position: relative; min-width: 0; display: flex; flex-direction: column; }
.tsb-root .tsb-field > label {
	display: block; margin: 0 0 8px; padding: 0;
	font-family: var(--tsb-display); font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none;
	color: var(--tsb-ink);
}
.tsb-root .tsb-optional { font-family: var(--tsb-body); font-weight: 500; color: var(--tsb-muted); font-size: 12px; margin-left: 4px; }
.tsb-root .tsb-input {
	-webkit-appearance: none; appearance: none; display: block; width: 100% !important; max-width: none;
	height: 48px !important; min-height: 0 !important; margin: 0 !important; padding: 0 14px !important;
	background: var(--tsb-white) !important; color: var(--tsb-ink) !important;
	border: 1px solid var(--tsb-line) !important; border-radius: 10px !important; box-shadow: none !important;
	font: 500 15px/1.3 var(--tsb-body) !important; letter-spacing: 0 !important; text-align: left;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.tsb-root .tsb-input::placeholder { color: #a39f95; opacity: 1; }
.tsb-root .tsb-input:hover { border-color: #cfcabd !important; }
.tsb-root .tsb-input:focus, .tsb-root .tsb-input[aria-expanded="true"] { outline: none; border-color: var(--tsb-ink) !important; box-shadow: 0 0 0 3px rgba(22,22,22,.08) !important; }
.tsb-root .tsb-textarea { height: auto !important; padding: 12px 14px !important; resize: vertical; min-height: 90px !important; }
.tsb-root .tsb-input--button { cursor: pointer; display: flex; align-items: center; }
.tsb-root .tsb-input--button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tsb-root .tsb-select { position: relative; }
.tsb-root .tsb-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--tsb-muted); border-bottom: 1.5px solid var(--tsb-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.tsb-root .tsb-field__error { display: none; margin-top: 6px; font-size: 12.5px; font-weight: 500; color: var(--tsb-danger); }
.tsb-root .tsb-field.has-error .tsb-field__error { display: block; }
.tsb-root .tsb-field.has-error .tsb-input { border-color: var(--tsb-danger) !important; }
.tsb-root .tsb-field.is-loading::after {
	content: ""; position: absolute; right: 12px; bottom: 15px; width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid rgba(128,128,128,.3); border-top-color: currentColor; animation: tsb-spin .7s linear infinite;
}

.tsb-root .tsb-check { display: inline-flex; align-items: center; gap: 12px; margin: 22px 0 0; cursor: pointer; font-size: 14px; font-weight: 500; user-select: none; }
.tsb-root .tsb-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tsb-root .tsb-check__box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #bdb8ac; display: grid; place-items: center; color: transparent; background: #fff; transition: all .15s; }
.tsb-root .tsb-check__box svg { width: 14px; height: 14px; }
.tsb-root .tsb-check input:checked + .tsb-check__box { background: var(--tsb-ink); border-color: var(--tsb-ink); color: #fff; }
.tsb-root .tsb-check input:focus-visible + .tsb-check__box { box-shadow: 0 0 0 3px rgba(113,0,20,.25); }

/* Popovers ---------------------------------------------------------- */

.tsb-root .tsb-pop {
	position: absolute; z-index: 60; top: calc(100% + 6px); left: 0;
	background: #fff; color: var(--tsb-ink); border-radius: 14px;
	box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 18px 48px -12px rgba(22,22,22,.28); border: 1px solid rgba(22,22,22,.06);
	text-align: left; font-family: var(--tsb-body);
}
.tsb-root .tsb-suggest { right: 0; min-width: 300px; max-height: 340px; overflow: auto; padding: 6px; }
.tsb-root .tsb-suggest__item {
	display: flex !important; align-items: flex-start; gap: 12px; width: 100%; padding: 10px 12px !important; margin: 0;
	background: none !important; border: 0 !important; border-radius: 10px !important; box-shadow: none !important;
	text-align: left; cursor: pointer; color: var(--tsb-ink) !important; font: inherit !important; min-height: 0; line-height: 1.35 !important;
}
.tsb-root .tsb-suggest__item svg { width: 18px; height: 18px; margin-top: 1px; color: #a39f95; }
.tsb-root .tsb-suggest__item strong { display: block; font-size: 14px; font-weight: 600; }
.tsb-root .tsb-suggest__item small { display: block; font-size: 12.5px; color: var(--tsb-muted); margin-top: 1px; }
.tsb-root .tsb-suggest__item:hover, .tsb-root .tsb-suggest__item.is-active { background: var(--tsb-sand) !important; }
.tsb-root .tsb-suggest__item--locate svg { color: var(--tsb-accent); }
.tsb-root .tsb-suggest__empty { padding: 14px; font-size: 13px; color: var(--tsb-muted); }
.tsb-root .tsb-suggest__brand { padding: 6px 12px 4px; font-size: 10.5px; color: #a39f95; text-align: right; }

.tsb-root .tsb-cal { width: 312px; padding: 14px; }
.tsb-root .tsb-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tsb-root .tsb-cal__head strong { font-family: var(--tsb-display); font-size: 14px; }
.tsb-root .tsb-cal__nav {
	width: 34px; height: 34px; min-height: 0; padding: 0 !important; display: grid; place-items: center;
	background: none !important; border: 1px solid var(--tsb-line) !important; border-radius: 50% !important; color: var(--tsb-ink) !important; cursor: pointer; box-shadow: none !important;
}
.tsb-root .tsb-cal__nav svg { width: 16px; height: 16px; }
.tsb-root .tsb-cal__nav:disabled { opacity: .3; cursor: default; }
.tsb-root .tsb-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.tsb-root .tsb-cal__dow { text-align: center; font-size: 11px; font-weight: 600; color: var(--tsb-muted); padding: 6px 0; }
.tsb-root .tsb-cal__day {
	aspect-ratio: 1; width: 100%; min-height: 0; padding: 0 !important; margin: 0;
	background: none !important; border: 0 !important; border-radius: 50% !important; box-shadow: none !important;
	font: 500 13.5px/1 var(--tsb-body) !important; color: var(--tsb-ink) !important; cursor: pointer;
}
.tsb-root .tsb-cal__day:hover:not(:disabled) { background: var(--tsb-sand) !important; }
.tsb-root .tsb-cal__day.is-today { box-shadow: inset 0 0 0 1px var(--tsb-line) !important; }
.tsb-root .tsb-cal__day.is-selected { background: var(--tsb-accent) !important; color: #fff !important; }
.tsb-root .tsb-cal__day:disabled { color: #cbc7bd !important; cursor: default; text-decoration: line-through; text-decoration-color: rgba(0,0,0,.12); }

.tsb-root .tsb-times { width: 100%; min-width: 180px; max-height: 280px; overflow: auto; padding: 6px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.tsb-root .tsb-times__slot {
	min-height: 0; padding: 10px 0 !important; margin: 0; background: none !important; border: 0 !important; border-radius: 8px !important; box-shadow: none !important;
	font: 500 13.5px/1 var(--tsb-body) !important; color: var(--tsb-ink) !important; cursor: pointer; font-variant-numeric: tabular-nums;
}
.tsb-root .tsb-times__slot:hover { background: var(--tsb-sand) !important; }
.tsb-root .tsb-times__slot.is-selected { background: var(--tsb-accent) !important; color: #fff !important; }
.tsb-root .tsb-times .tsb-suggest__empty { grid-column: 1 / -1; }

/* ------------------------------------------------------------------ */
/* Quote bar  [ted_quote] — matches the site's hero form 1:1          */
/* ------------------------------------------------------------------ */

/* Page builders (Elementor) shrink shortcode widgets to their content; make them full width. */
.elementor-widget-shortcode:has(.tsb-quote),
.elementor-widget-shortcode:has(.tsb-app),
.elementor-shortcode:has(.tsb-quote),
.elementor-shortcode:has(.tsb-app) { width: 100% !important; max-width: 100% !important; flex: 1 1 100% !important; align-self: stretch !important; }

.tsb-root.tsb-quote { display: block; width: 100%; min-width: 0; text-align: left; }

.tsb-root .tsb-quote__tab {
	position: relative; z-index: 0; display: block; box-sizing: border-box;
	width: 160px; max-width: 100%; height: 49px; margin: 0; padding: 20px 30px 0;
	border-radius: 12px 12px 0 0; background: #f3f1ed;
	color: #161616 !important; font-family: "Helios Ext", sans-serif !important; font-size: 14px !important; font-weight: 700 !important;
	line-height: 22px !important; letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap;
}

.tsb-root .tsb-quote__panel {
	position: relative; z-index: 1; margin: 0 !important; box-sizing: border-box;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 65px; row-gap: 20px; align-items: end;
	padding: 33px; border: 0; border-radius: 0 15px 15px 15px;
	background: rgba(0, 0, 0, .43); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 1px 0 rgba(255, 255, 255, .15);
}
.tsb-quote:not(:has(.tsb-quote__tab)) .tsb-quote__panel { border-radius: 15px; }

.tsb-root.tsb-quote .tsb-field { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.tsb-root.tsb-quote .tsb-field > label {
	display: block; margin: 0 !important; padding: 0 !important;
	color: #fff !important; font-family: "Montserrat", sans-serif !important; font-size: 14px !important; font-weight: 700 !important;
	line-height: 22px !important; letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap;
}
.tsb-root.tsb-quote .tsb-input {
	-webkit-appearance: none; appearance: none; display: flex; align-items: center; box-sizing: border-box;
	width: 100% !important; height: 53px !important; min-height: 53px !important; margin: 0 !important; padding: 14px 20px !important;
	background: transparent !important; color: #fff !important; box-shadow: none !important; outline: none;
	border: 0 !important; border-bottom: 1px solid #fff !important; border-radius: 0 !important;
	font-family: "Montserrat", sans-serif !important; font-size: 16px !important; font-weight: 400 !important; line-height: 24px !important;
	letter-spacing: 0 !important; text-transform: none !important; text-align: left !important; text-decoration: none !important;
}
.tsb-root.tsb-quote .tsb-input:hover,
.tsb-root.tsb-quote .tsb-input:focus,
.tsb-root.tsb-quote .tsb-input:active,
.tsb-root.tsb-quote .tsb-input[aria-expanded="true"] { background: transparent !important; color: #fff !important; border-bottom-color: #fff !important; box-shadow: 0 1px 0 0 #fff !important; }
.tsb-root.tsb-quote .tsb-input::placeholder { color: rgba(255, 255, 255, .6); }
.tsb-root.tsb-quote .tsb-input--button span { display: block; min-height: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tsb-root.tsb-quote .tsb-field.has-error .tsb-input { border-bottom-color: #ff9a9a !important; box-shadow: 0 1px 0 0 #ff9a9a !important; }
.tsb-root.tsb-quote .tsb-field__error { position: absolute; top: 100%; left: 0; margin-top: 4px; color: #ffb4b4; font-size: 12.5px; white-space: nowrap; }
.tsb-root.tsb-quote .tsb-field.is-loading::after { bottom: 18px; color: #fff; }

.tsb-root.tsb-quote .tsb-field--email { grid-column: 1 / span 3; }
.tsb-root.tsb-quote .tsb-quote__actions { display: flex; align-items: flex-end; margin: 0; }
.tsb-root.tsb-quote .tsb-quote__actions .tsb-btn {
	width: 100%; height: 46px; min-height: 46px; margin: 0; padding: 15px !important;
	background: #710014 !important; color: #fff !important; border: 1px solid #710014 !important; border-radius: 50px !important;
	font-family: "Helios Ext", sans-serif !important; font-size: 14px !important; font-weight: 700 !important; line-height: 14px !important;
	letter-spacing: 0 !important; text-transform: none !important; transform: none;
}
.tsb-root.tsb-quote .tsb-quote__actions .tsb-btn:hover,
.tsb-root.tsb-quote .tsb-quote__actions .tsb-btn:focus-visible { background: transparent !important; color: #fff !important; border-color: #710014 !important; transform: none; }
.tsb-root.tsb-quote .tsb-quote__actions .tsb-btn::after { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
.tsb-root.tsb-quote .tsb-quote__panel--no-email .tsb-quote__actions { grid-column: 4; }

.tsb-root .tsb-quote__message { grid-column: 1 / -1; display: none; margin: 0; padding: 12px 16px; border-radius: 10px; background: rgba(180, 35, 24, .35); color: #fff; font-size: 14px; }
.tsb-root .tsb-quote__message.is-visible { display: block; }
.tsb-root.tsb-quote .tsb-pop { top: calc(100% + 8px); z-index: 1000; }

/* Light variant for pale backgrounds. */
.tsb-quote--light .tsb-quote__panel { background: #fff; box-shadow: 0 0 0 1px var(--tsb-line); }
.tsb-root.tsb-quote.tsb-quote--light .tsb-field > label,
.tsb-root.tsb-quote.tsb-quote--light .tsb-input { color: var(--tsb-ink) !important; border-bottom-color: var(--tsb-ink) !important; }

/* Width classes are set by booking.js from the element's real width (works inside any builder column). */
.tsb-quote.tsb-w-md .tsb-quote__panel { column-gap: 32px; }
.tsb-quote.tsb-w-sm .tsb-quote__panel { grid-template-columns: minmax(0, 1fr); padding: 15px; row-gap: 20px; }
.tsb-root.tsb-quote.tsb-w-sm .tsb-field--email,
.tsb-root.tsb-quote.tsb-w-sm .tsb-quote__actions { grid-column: 1 / -1; }
.tsb-root.tsb-quote.tsb-w-sm .tsb-quote__actions { margin-top: 4px; }
/* Quote-bar popovers must remain anchored to their fields on phones.
   A backdrop-filter on .tsb-quote__panel creates a containing block for
   position:fixed descendants; a fixed autocomplete then lands at the bottom
   of the entire panel instead of under the input. */
@media (max-width: 560px) {
	.tsb-root.tsb-quote .tsb-field:focus-within { z-index: 1100; }
	.tsb-root.tsb-quote .tsb-suggest,
	.tsb-root.tsb-quote .tsb-cal,
	.tsb-root.tsb-quote .tsb-times {
		position: absolute;
		left: 0;
		right: 0;
		top: calc(100% + 6px);
		bottom: auto;
		width: 100%;
		min-width: 0;
		max-height: min(48vh, 340px);
		z-index: 1200;
	}
}

/* ------------------------------------------------------------------ */
/* Booking app  [ted_booking]                                         */
/* ------------------------------------------------------------------ */

.tsb-app { max-width: 1180px; margin: 0 auto; padding: 8px 0 40px; }
.tsb-app__loading { display: grid; place-items: center; min-height: 320px; }

.tsb-steps { display: flex; gap: 8px; list-style: none !important; margin: 0 0 28px !important; padding: 0 !important; counter-reset: none; }
.tsb-steps__item { flex: 1; display: flex; align-items: center; gap: 10px; margin: 0 !important; padding: 0 0 14px !important; border-bottom: 2px solid var(--tsb-line); color: var(--tsb-muted); font-size: 13px; font-weight: 600; list-style: none !important; }
.tsb-steps__item::before { display: none !important; }
.tsb-steps__num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--tsb-sand); color: var(--tsb-muted); font-size: 12px; font-weight: 700; flex: none; }
.tsb-steps__num svg { width: 15px; height: 15px; }
.tsb-steps__item.is-current { color: var(--tsb-ink); border-color: var(--tsb-accent); }
.tsb-steps__item.is-current .tsb-steps__num { background: var(--tsb-accent); color: #fff; }
.tsb-steps__item.is-done { color: var(--tsb-ink); border-color: var(--tsb-ink); }
.tsb-steps__item.is-done .tsb-steps__num { background: var(--tsb-ink); color: #fff; }

.tsb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.tsb-layout--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
.tsb-side { position: sticky; top: 110px; }

.tsb-card { background: #fff; border: 1px solid var(--tsb-line); border-radius: var(--tsb-radius); }
.tsb-card--pad { padding: 34px 36px; }
.tsb-head { margin-bottom: 26px; }
.tsb-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.tsb-root .tsb-title { font-family: var(--tsb-display); font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--tsb-ink); }
.tsb-root .tsb-sub { margin-top: 6px; color: var(--tsb-muted); font-size: 14.5px; }
.tsb-muted { color: var(--tsb-muted); }

.tsb-alert { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; padding: 12px 14px; border-radius: 10px; background: #fff4e5; color: #6b3d00; font-size: 14px; }
.tsb-alert svg { width: 18px; height: 18px; margin-top: 1px; }
.tsb-root .tsb-form__message { display: none; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #7a1d14; font-size: 14px; font-weight: 500; }
.tsb-root .tsb-form__message.is-visible { display: block; }

/* Trip form */
.tsb-trip { display: grid; gap: 18px; }
.tsb-trip__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tsb-trip__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.tsb-trip .tsb-cal { right: auto; }

/* Summary */
.tsb-summary { overflow: hidden; }
.tsb-root .tsb-summary__bar { display: none; }
.tsb-map { height: 220px; background: linear-gradient(135deg, #efece4, #e5e1d6); }
.tsb-map.is-unavailable { display: none; }
.tsb-summary__body { padding: 22px 24px 24px; }
.tsb-route { position: relative; display: grid; gap: 16px; }
.tsb-route::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 26px; border-left: 1.5px dashed #cfcabd; }
.tsb-route__stop { position: relative; display: flex; gap: 14px; }
.tsb-route__stop small, .tsb-facts dt, .tsb-summary__vehicle small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tsb-muted); }
.tsb-route__stop p { font-size: 14px; font-weight: 500; line-height: 1.4; margin-top: 2px; }
.tsb-route__dot { width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 700; color: #fff; background: var(--tsb-ink); position: relative; z-index: 1; }
.tsb-route__dot--b { background: var(--tsb-accent); }
.tsb-facts { display: grid; gap: 12px; margin: 20px 0 14px !important; padding: 16px 0 0 !important; border-top: 1px solid var(--tsb-line); }
.tsb-facts > div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.tsb-facts dt { display: flex; align-items: center; gap: 6px; }
.tsb-facts dt svg { width: 14px; height: 14px; }
.tsb-facts dd { margin: 0 !important; font-size: 14px; font-weight: 600; text-align: right; }
.tsb-summary__vehicle { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--tsb-line); }
.tsb-summary__vehicle p { font-weight: 600; margin-top: 2px; }
.tsb-summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: var(--tsb-cream); }
.tsb-summary__total span { font-weight: 600; font-size: 14px; }
.tsb-summary__total small { color: var(--tsb-muted); font-weight: 500; }
.tsb-summary__total strong { font-family: var(--tsb-display); font-size: 22px; font-variant-numeric: tabular-nums; }

.tsb-pin { width: 30px; height: 30px; border-radius: 50%; background: var(--tsb-ink, #161616); color: #fff; display: grid; place-items: center; font: 700 12px/1 "Montserrat", sans-serif; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.tsb-pin--b { background: #710014; }

/* Trip type (one way / return) */
.tsb-root .tsb-toggle { display: inline-flex; padding: 4px; border-radius: 40px; background: var(--tsb-sand); flex: none; }
.tsb-root .tsb-toggle button {
	min-height: 40px; padding: 0 22px !important; margin: 0; border: 0 !important; border-radius: 40px !important; background: transparent !important;
	box-shadow: none !important; cursor: pointer; color: var(--tsb-muted) !important;
	font-family: var(--tsb-display) !important; font-size: 13.5px !important; font-weight: 700 !important; line-height: 1 !important; text-transform: none !important;
	transition: background .15s, color .15s;
}
.tsb-root .tsb-toggle button:hover { color: var(--tsb-ink) !important; }
.tsb-root .tsb-toggle button.is-active { background: var(--tsb-ink) !important; color: #fff !important; }
.tsb-triptype { margin-bottom: 14px; }
.tsb-triptype__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tsb-root .tsb-triptype h3 { font-family: var(--tsb-display); font-size: 16px; font-weight: 700; }
.tsb-root .tsb-triptype p { margin-top: 2px; font-size: 13.5px; color: var(--tsb-muted); }
.tsb-triptype__when { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--tsb-line); }
.tsb-main.is-busy { opacity: .55; pointer-events: none; transition: opacity .15s; }
.tsb-trip .tsb-toggle { align-self: flex-start; }

/* Vehicles */
.tsb-vehicles { display: grid; gap: 14px; }
.tsb-vehicle {
	display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; gap: 26px; align-items: center;
	padding: 18px 26px 18px 18px; background: #fff; border: 1px solid var(--tsb-line); border-radius: var(--tsb-radius);
	transition: border-color .18s, box-shadow .18s, transform .18s;
}
.tsb-vehicle:hover { border-color: #cfcabd; box-shadow: 0 12px 32px -18px rgba(22,22,22,.35); }
.tsb-vehicle.is-selected { border-color: var(--tsb-accent); box-shadow: 0 0 0 1px var(--tsb-accent); }
.tsb-vehicle__media { aspect-ratio: 16 / 10; border-radius: 10px; background: var(--tsb-cream); display: grid; place-items: center; overflow: hidden; }
.tsb-vehicle__media img { width: 100%; height: 100%; object-fit: contain; margin: 0 !important; }
.tsb-root .tsb-vehicle h3 { font-family: var(--tsb-display); font-size: 18px; font-weight: 700; line-height: 1.25; }
.tsb-vehicle__similar { color: var(--tsb-muted); font-size: 13px; }
.tsb-vehicle__caps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none !important; margin: 14px 0 0 !important; padding: 0 !important; }
.tsb-vehicle__caps li { display: inline-flex; align-items: center; gap: 6px; margin: 0 !important; padding: 6px 11px !important; border-radius: 30px; background: var(--tsb-sand); font-size: 12.5px; font-weight: 600; list-style: none !important; }
.tsb-vehicle__caps li::before { display: none !important; }
.tsb-vehicle__caps svg { width: 14px; height: 14px; color: var(--tsb-muted); }
.tsb-vehicle__desc { margin-top: 10px !important; font-size: 13.5px; color: var(--tsb-muted); }
.tsb-vehicle__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; text-align: right; }
.tsb-vehicle__price strong { display: block; font-family: var(--tsb-display); font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tsb-vehicle__price small { display: block; color: var(--tsb-muted); font-size: 12px; margin-top: 2px; }
.tsb-vehicle__buy .tsb-btn { min-width: 140px; min-height: 46px; padding: 12px 26px !important; }
.tsb-empty h3 { font-family: var(--tsb-display); font-size: 18px; margin-bottom: 6px !important; }

/* Details */
.tsb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.tsb-field--full { grid-column: 1 / -1; }
.tsb-billing { margin-top: 20px; padding-top: 22px; border-top: 1px solid var(--tsb-line); }
.tsb-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; }
.tsb-actions--center { justify-content: center; flex-wrap: wrap; }

/* Review */
.tsb-review { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tsb-review__block { padding: 18px 20px; border-radius: 12px; background: var(--tsb-cream); border: 1px solid var(--tsb-line); }
.tsb-review__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tsb-root .tsb-review__head h3 { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tsb-muted); font-family: var(--tsb-body); }
.tsb-review__block p { font-size: 14px; line-height: 1.55; }
.tsb-review__block p + p { margin-top: 8px; }
.tsb-price { margin-top: 22px; border-top: 1px solid var(--tsb-line); }
.tsb-price__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--tsb-line); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.tsb-price__row--muted { color: var(--tsb-muted); }
.tsb-price__row--total { border-bottom: 0; padding-top: 16px; font-weight: 700; font-size: 16px; }
.tsb-price__row--total span:last-child { font-family: var(--tsb-display); font-size: 24px; }
.tsb-pay { margin-top: 24px; text-align: center; }
.tsb-pay .tsb-btn { width: 100%; }
.tsb-pay__note { margin: 14px auto 0 !important; max-width: 520px; font-size: 13px; color: var(--tsb-muted); }

/* Confirmation */
.tsb-confirm { text-align: center; }
.tsb-status { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--tsb-sand); color: var(--tsb-ink); }
.tsb-status svg { width: 30px; height: 30px; }
.tsb-status--ok { background: #e6f3ec; color: var(--tsb-ok); }
.tsb-status--warn { background: #fff1e0; color: var(--tsb-warn); }
.tsb-status--wait { background: transparent; }
.tsb-confirm .tsb-sub { max-width: 520px; margin-left: auto; margin-right: auto; }
.tsb-confirm__ref { display: inline-flex; flex-direction: column; gap: 2px; margin: 26px auto 8px; padding: 14px 28px; border-radius: 12px; background: var(--tsb-cream); border: 1px dashed #cfcabd; }
.tsb-confirm__ref span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tsb-muted); }
.tsb-confirm__ref strong { font-family: var(--tsb-display); font-size: 22px; letter-spacing: .02em; }
.tsb-confirm__list { margin: 22px 0 0 !important; padding: 0 !important; text-align: left; border-top: 1px solid var(--tsb-line); }
.tsb-confirm__list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--tsb-line); }
.tsb-confirm__list dt { font-size: 13px; color: var(--tsb-muted); font-weight: 500; }
.tsb-confirm__list dd { margin: 0 !important; font-size: 14.5px; font-weight: 500; }
.tsb-badge { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 700; vertical-align: 1px; }
.tsb-badge--ok { background: #e6f3ec; color: var(--tsb-ok); }
.tsb-badge--warn { background: #fff1e0; color: var(--tsb-warn); }

.tsb-app.tsb-w-md .tsb-layout { grid-template-columns: minmax(0, 1fr); }
.tsb-app.tsb-w-md .tsb-side { position: static; order: -1; }
.tsb-app.tsb-w-md .tsb-map { height: 180px; }

.tsb-root.tsb-app.tsb-w-sm .tsb-summary__bar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 0; padding: 14px 16px !important;
	background: #fff !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; color: var(--tsb-ink) !important;
	font: inherit !important; text-align: left; cursor: pointer; min-height: 0;
}
.tsb-app.tsb-w-sm .tsb-summary__bar-text { min-width: 0; }
.tsb-app.tsb-w-sm .tsb-summary__bar-text strong { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsb-app.tsb-w-sm .tsb-summary__bar-text small { display: block; font-size: 12.5px; color: var(--tsb-muted); }
.tsb-app.tsb-w-sm .tsb-summary__bar-total { display: inline-flex; align-items: center; gap: 6px; flex: none; font-family: var(--tsb-display); font-weight: 700; font-size: 15px; }
.tsb-app.tsb-w-sm .tsb-summary__bar-total svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
.tsb-app.tsb-w-sm .tsb-summary.is-open .tsb-summary__bar-total svg { transform: rotate(-90deg); }
.tsb-root.tsb-app.tsb-w-sm .tsb-summary.is-open .tsb-summary__bar { border-bottom: 1px solid var(--tsb-line) !important; }
/* Keep the route map visible on phones; only the extra trip details collapse. */
.tsb-app.tsb-w-sm .tsb-map { height: 210px; border-top: 1px solid var(--tsb-line); }
.tsb-app.tsb-w-sm .tsb-summary:not(.is-open) .tsb-summary__body { display: none; }
.tsb-app.tsb-w-sm .tsb-layout { gap: 16px; }
.tsb-app.tsb-w-sm .tsb-card--pad { padding: 24px 20px; }
.tsb-app.tsb-w-sm .tsb-steps__label { display: none; }
.tsb-app.tsb-w-sm .tsb-steps__item { justify-content: center; }
.tsb-root.tsb-app.tsb-w-sm .tsb-title { font-size: 21px; }
.tsb-app.tsb-w-sm .tsb-vehicle { grid-template-columns: 110px minmax(0, 1fr); gap: 14px 16px; padding: 14px; }
.tsb-app.tsb-w-sm .tsb-vehicle__buy { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; padding-top: 12px; border-top: 1px solid var(--tsb-line); }
.tsb-root.tsb-app.tsb-w-sm .tsb-vehicle h3 { font-size: 16px; }
.tsb-app.tsb-w-sm .tsb-vehicle__caps { margin-top: 8px !important; }
.tsb-app.tsb-w-sm .tsb-grid, .tsb-app.tsb-w-sm .tsb-review, .tsb-app.tsb-w-sm .tsb-trip__row { grid-template-columns: minmax(0, 1fr); }
.tsb-app.tsb-w-sm .tsb-actions .tsb-btn, .tsb-app.tsb-w-sm .tsb-trip__actions .tsb-btn { flex: 1; }
.tsb-app.tsb-w-sm .tsb-confirm__list > div { grid-template-columns: 1fr; gap: 2px; }
@media (max-width: 640px) {
	.tsb-app .tsb-cal { position: fixed; left: 12px; right: 12px; bottom: 12px; top: auto; width: auto; }
}

/* Fixed booking-confirmed page; reuses booking design without the JS app. */
.tsb-confirmation-page { width: 100%; max-width: 760px; margin: 0 auto; }
.tsb-confirmation-page .tsb-card { border: 1px solid var(--tsb-line); border-radius: var(--tsb-radius); background: #fff; }
.tsb-confirmation-page .tsb-card--pad { padding: 36px 40px; }
.tsb-confirmation-page .tsb-title { font-family: var(--tsb-display); font-weight: 750; font-size: 26px; }
.tsb-confirmation-page .tsb-sub { margin-top: 10px; font-size: 14px; color: var(--tsb-muted); }
@media (max-width: 640px) {
 .tsb-confirmation-page .tsb-card--pad { padding: 26px 20px; }
 .tsb-confirmation-page .tsb-confirm__list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
 .tsb-confirmation-page .tsb-title { font-size: 21px; }
}
