/**
 * Chauffeur booking UI - homepage search widget only (.chbs-widget).
 *
 * Split out of the old chauffeur-luxury-main.css on 2026-07-26 - kept
 * exactly as-is (owner explicitly wants the homepage widget untouched by
 * the reservation-flow redesign; see booking-form-base.css and
 * reservation-flow.css for the other two pieces). Split was verified
 * lossless before deploying.
 *
 * @package Versatours
 * @author Yiannis Makrakis Digital Services
 */

body.home.theme-versatours .chbs-main.chbs-widget {
	width: min(100% - 32px, 920px) !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-layout-column-left {
	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 26px 32px;
	width: 100% !important;
	max-width: none !important;
	min-width: 100% !important;
	float: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-layout-column-left > .chbs-tab,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-nav {
	display: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel {
	display: grid !important;
	grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
	gap: 26px 32px;
	padding: 0 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-pickup-date-time {
	display: contents !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-layout-100,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-layout-50x50,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-layout-33x33x33 {
	display: grid !important;
	grid-template-columns: 1fr !important;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	float: none !important;
	margin: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-location-autocomplete {
	grid-column: span 3;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-pickup-location {
	order: 3;
	grid-column: 1 / 4;
	grid-row: 2;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-dropoff-location {
	order: 4;
	grid-column: 4 / 7;
	grid-row: 2;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"]) {
	order: 1;
	grid-column: 1 / 4;
	grid-row: 1;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_time"]) {
	order: 2;
	grid-column: 4 / 7;
	grid-row: 1;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(select[name*="passenger_adult"]) {
	order: 5;
	grid-column: 1 / 4;
	grid-row: 3;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel > .chbs-layout-100:has(select[name*="passenger_adult"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel > .chbs-layout-50x50:has(select[name*="passenger_adult"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel > .chbs-layout-33x33x33:has(select[name*="passenger_adult"]) {
	order: 5;
	grid-column: 1 / 4;
	grid-row: 3;
	justify-self: stretch;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(select[name*="passenger_adult"]) {
	justify-self: stretch;
	align-self: start;
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel > .chbs-layout-33x33x33:has(select[name*="passenger_adult"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel > .chbs-layout-50x50:has(select[name*="passenger_adult"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel > .chbs-layout-100:has(select[name*="passenger_adult"]) {
	display: grid !important;
	grid-template-columns: 1fr !important;
	align-items: start;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel > .chbs-layout-33x33x33:has(select[name*="passenger_adult"]) > [class*="chbs-layout-column"],
body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel > .chbs-layout-50x50:has(select[name*="passenger_adult"]) > [class*="chbs-layout-column"],
body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel > .chbs-layout-100:has(select[name*="passenger_adult"]) > [class*="chbs-layout-column"] {
	grid-column: 1 / -1;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(select[name*="passenger_adult"]) .ui-selectmenu-button {
	display: flex !important;
	width: 100% !important;
	max-width: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-transfer-type {
	order: 6;
	grid-column: 4 / 7;
	grid-row: 3;
}

body.home.theme-versatours .chbs-main.chbs-widget .vt-duplicate-field {
	display: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-transfer-type,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="return_date"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="return_time"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="suitcase"]) {
	display: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget input[type="text"],
body.home.theme-versatours .chbs-main.chbs-widget textarea,
body.home.theme-versatours .chbs-main.chbs-widget .ui-selectmenu-button {
	border: 0 !important;
	border-bottom: 2px solid var(--vt-booking-line) !important;
	background: transparent !important;
	box-shadow: none !important;
	padding-left: 0 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-meta-icon,
body.home.theme-versatours .chbs-main.chbs-widget [class^="chbs-meta-icon-"],
body.home.theme-versatours .chbs-main.chbs-widget [class*=" chbs-meta-icon-"],
body.home.theme-versatours .chbs-main.chbs-widget [class^="chbs-icon-"],
body.home.theme-versatours .chbs-main.chbs-widget [class*=" chbs-icon-"],
body.home.theme-versatours .chbs-main.chbs-widget .chbs-tooltip,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-tooltip,
body.home.theme-versatours .chbs-main.chbs-widget .qtip {
	display: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-button-widget-submit {
	width: 100%;
	margin-top: 8px;
	font-size: 26px !important;
	text-transform: uppercase !important;
}

@media (max-width: 760px) {
body.home.theme-versatours .chbs-main.chbs-widget .chbs-layout-column-left,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel,
	body.theme-versatours .chbs-main-content-step-1 .chbs-layout-33x33x33,
	body.theme-versatours .chbs-main-content-step-1 .chbs-layout-50x50,
	body.theme-versatours .chbs-main-content-step-1 .chbs-layout-100,
	body.theme-versatours .chbs-main-content-step-3 .chbs-layout-50x50,
	body.theme-versatours .chbs-payment,
	body.theme-versatours .chbs-booking-extra-list > ul,
	body.theme-versatours .chbs-vehicle {
		grid-template-columns: 1fr !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-location-autocomplete,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-pickup-location,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-dropoff-location,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"]),
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_time"]),
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(select[name*="passenger_adult"]) {
		grid-column: 1 / -1;
		grid-row: auto;
	}
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-passenger {
	order: 5 !important;
	grid-column: 1 / 4 !important;
	grid-row: 3 !important;
	display: grid !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-passenger > .chbs-form-field,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-passenger .ui-selectmenu-button {
	width: 100% !important;
	min-width: 0 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-passenger .ui-selectmenu-text {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	text-align: left !important;
}

@media (max-width: 767px) {
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-passenger {
		grid-column: 1 / -1 !important;
		grid-row: auto !important;
	}
}

body.home.theme-versatours .chbs-main.chbs-widget {
	width: min(100%, 64rem) !important;
	margin-inline: auto !important;
	padding: var(--vt-space-8) !important;
	border: 1px solid var(--vt-border) !important;
	border-radius: var(--vt-radius-lg) !important;
	background: var(--vt-surface) !important;
	box-shadow: var(--vt-shadow) !important;
	color: var(--vt-text) !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: var(--vt-space-6) var(--vt-space-8) !important;
	align-items: end !important;
	padding: 0 !important;
	background: transparent !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-layout-100,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-layout-50x50,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-layout-33x33x33,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-pickup-date-time {
	display: contents !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-location-autocomplete,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-pickup-location,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-dropoff-location,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_time"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(select[name*="passenger_adult"]) {
	display: grid !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_time"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"]) {	max-width: 150px !important;}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(select[name*="passenger_adult"]) {	max-width: 140px !important;}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-transfer-type,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="return_date"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="return_time"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="suitcase"]) {
	display: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-button-widget-submit {
	grid-column: 1 / -1 !important;
	justify-self: end !important;
	width: auto !important;
	min-width: 14rem !important;
	margin: var(--vt-space-2) 0 0 auto !important;
	background: var(--vt-primary) !important;
	border-color: var(--vt-primary) !important;
	border-radius: var(--vt-radius) !important;
	color: var(--vt-on-primary) !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-button-widget-submit:hover {
	background: var(--vt-primary-hover) !important;
	border-color: var(--vt-primary-hover) !important;
}

@media (max-width: 48em) {
body.theme-versatours .chbs-main .chbs-main-content-navigation-button .chbs-button,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-button-widget-submit {
		width: 100% !important;
		min-width: 0 !important;
	}
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-main-content-step-1::before {
	color: var(--vt-text) !important;
	font-family: var(--vt-heading-font-family) !important;
	font-size: var(--vt-heading-size) !important;
	font-weight: 850 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget input[type="text"],
body.home.theme-versatours .chbs-main.chbs-widget input[type="email"],
body.home.theme-versatours .chbs-main.chbs-widget input[type="tel"],
body.home.theme-versatours .chbs-main.chbs-widget input[type="number"],
body.home.theme-versatours .chbs-main.chbs-widget .ui-selectmenu-button {
	width: 100% !important;
	min-height: var(--vt-control-height) !important;
	padding: .875rem 3.125rem .875rem 1rem !important;
	border: 1px solid var(--vt-border) !important;
	border-radius: var(--vt-radius) !important;
	background: var(--vt-surface) !important;
	color: var(--vt-text) !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	box-shadow: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-button-widget-submit,
body.home.theme-versatours .chbs-main.chbs-widget a.chbs-button-widget-submit {
	display: inline-flex !important;
	width: auto !important;
	min-width: 5rem !important;
	min-height: var(--vt-button-height) !important;
	padding: .75rem 1.5rem !important;
	border-radius: var(--vt-radius) !important;
	background: var(--vt-primary) !important;
	color: var(--vt-on-primary) !important;
	font-size: .875rem !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
}

@media (max-width: 48em) {
body.home.theme-versatours .chbs-main.chbs-widget {
		padding: var(--vt-space-5) !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-main-content-step-1::before {
		margin-bottom: var(--vt-space-5) !important;
		font-size: 1.75rem !important;
		line-height: 1.15 !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel {
		gap: var(--vt-space-4) !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget label,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > label {
		font-size: .6875rem !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget input[type="text"],
	body.home.theme-versatours .chbs-main.chbs-widget input[type="email"],
	body.home.theme-versatours .chbs-main.chbs-widget input[type="tel"],
	body.home.theme-versatours .chbs-main.chbs-widget input[type="number"],
	body.home.theme-versatours .chbs-main.chbs-widget .ui-selectmenu-button {
		min-height: 3rem !important;
		font-size: .9375rem !important;
	}
}

/* --------------------------------------------------------------------------
 * Homepage widget: single-row search-bar layout, keep at EOF.
 * Reuses the exact same icon glyphs/SVGs already used on the reservations
 * page (see .chbs-form-field::after, ~line 509) via a matching ::before on
 * each field, just as a larger leading icon instead of a small trailing one.
 * Visual order (pickup, drop-off, passengers, date, time) is set purely via
 * flex `order`, independent of DOM/source order, so no plugin markup or JS
 * is touched.
 *
 * The submit button lives outside the fields markup (a sibling ".chbs-
 * clear-fix" of the ".chbs-layout-100" fields wrapper, both children of
 * ".chbs-main-content-step-1"), so it's flattened into the same flex row
 * as the fields via display:contents on its wrapper, matched with :has()
 * since both wrappers share the plain ".chbs-clear-fix" class.
 * -------------------------------------------------------------------------- */

body.home.theme-versatours .chbs-main.chbs-widget .chbs-main-content-step-1::before {
	display: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget {
	width: min(100%, 1400px) !important;
	padding: 20px 5px !important;
	margin: 0 !important;
	border-radius: 20px !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-main-content-step-1 {
	display: flex !important;
	align-items: center !important;
	gap: .5rem !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-main-content-step-1 > .chbs-clear-fix:has(.chbs-button-widget-submit) {
	display: contents !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-layout-column-left {
	flex: 1 1 auto !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: .5rem !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-passenger {
	display: contents !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-my-location-link {
	display: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field {
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) !important;
	grid-template-rows: auto auto !important;
	column-gap: .625rem !important;
	align-items: center !important;
	flex: 1 1 0 !important;
	min-width: 0 !important;
	padding: .35rem .625rem !important;
	border: 1px solid var(--vt-border) !important;
	border-radius: .675rem !important;
}

/* The generic rule above also matches the transfer-type/return-date/
   return-time/suitcase fields (they share the base .chbs-form-field
   class), overriding their earlier display:none with display:grid.
   Re-assert hidden here, after it, so it wins by source order. */

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-transfer-type,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="return_date"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="return_time"]),
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="suitcase"]) {
	display: none !important;
}

/* The unscoped .chbs-form-field::after rule (~line 509) also renders a
   trailing icon for every field regardless of .chbs-widget; suppress it
   here so it doesn't double up with the new leading ::before icon. */

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field::after {
	content: none !important;
	display: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field::before {
	grid-column: 1 !important;
	grid-row: 1 / 3 !important;
	color: var(--vt-accent) !important;
	font-size: 22px !important;
	line-height: 1 !important;
	pointer-events: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-pickup-location::before {
	content: "↧" !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-dropoff-location::before {
	content: "↥" !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"])::before {
	content: "" !important;
	width: 22px !important;
	height: 22px !important;
	background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 3V6M17 3V6M4.5 9H19.5M6 5H18C19.1046 5 20 5.89543 20 7V18C20 19.1046 19.1046 20 18 20H6C4.89543 20 4 19.1046 4 18V7C4 5.89543 4.89543 5 6 5Z' stroke='%23163A40' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_time"])::before {
	content: "◷" !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(select[name*="passenger_adult"])::before {
	content: "" !important;
	width: 22px !important;
	height: 22px !important;
	background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 12C14.2091 12 16 10.2091 16 8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8C8 10.2091 9.79086 12 12 12Z' stroke='%23163A40' stroke-width='1.8'/%3E%3Cpath d='M5 20C5.8 16.8 8.3 15 12 15C15.7 15 18.2 16.8 19 20' stroke='%23163A40' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-pickup-location {
	order: 1 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-dropoff-location {
	order: 2 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"]) {
	order: 3 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_time"]) {
	order: 4 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(select[name*="passenger_adult"]) {
	order: 5 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > label {
	grid-column: 2 !important;
	grid-row: 1 !important;
	margin: 0 !important;
	color: var(--vt-muted) !important;
	font-size: 10.5px !important;
	font-weight: 500 !important;
	letter-spacing: .0em !important;
	padding: 0
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > input[type="text"],
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > select,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field .ui-selectmenu-button {
	grid-column: 2 !important;
	grid-row: 2 !important;
	width: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--vt-text) !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	box-shadow: none !important;
	line-height: 1.4 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field .ui-selectmenu-button {
	display: flex !important;
	justify-content: flex-start !important;
	padding-right: 0 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-button-widget-submit {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	flex: 0 0 auto !important;
	grid-column: unset !important;
	width: auto !important;
	min-width: 5rem !important;
	margin: 0 !important;
	padding: .875rem .5rem .875rem 1.5rem !important;
	border-radius: 999px !important;
	gap: .75rem !important;
}

/*
body.home.theme-versatours .chbs-main.chbs-widget .chbs-button-widget-submit::after {
	content: "→" !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2.25rem !important;
	height: 2.25rem !important;
	border-radius: 50% !important;
	background: var(--vt-on-primary) !important;
	color: #fff !important;
	font-size: 1rem !important;
	line-height: 1 !important;
}
*/

/* Let the label/value/select text actually shrink and truncate instead of
   forcing the flex row wider than its container. flex-item min-width
   defaults to the content's own intrinsic width (not 0), so a <input>/
   <select> with a long value can hold the whole row open even though the
   grid cell around it has min-width:0 - this is what was pushing the
   page into horizontal scroll at ~1024px, a width where 5 fields + the
   button no longer comfortably fit at the roomier desktop sizing below. */

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > label,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > input[type="text"],
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > select,
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field .ui-selectmenu-button {
	min-width: 0 !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

/* Tighten padding/icon/gap sizing so the single-row layout still fits
   without wrapping down to ~1024px (iPad landscape/portrait width),
   where the roomier desktop sizing above was wide enough to overflow
   and trigger page-level horizontal scroll. The flex-wrap breakpoint
   below (62em = 992px) still switches to the stacked/wrapped layout for
   narrower screens; this block only compresses the existing single-row
   look, it doesn't change it. */

@media (max-width: 1024px) {
body.home.theme-versatours .chbs-main.chbs-widget .chbs-main-content-step-1 {
		gap: .3rem !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel {
		gap: .3rem !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field {
		padding: .3rem .45rem !important;
		column-gap: .4rem !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field::before {
		font-size: 16px !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"])::before,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(select[name*="passenger_adult"])::before {
		width: 16px !important;
		height: 16px !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > label {
		font-size: 9px !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > input[type="text"],
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > select,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field .ui-selectmenu-button {
		font-size: 12px !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-button-widget-submit {
		min-width: 3.5rem !important;
		padding: .7rem .45rem .7rem 1rem !important;
		gap: .5rem !important;
	}
}

@media (max-width: 62em) {
body.home.theme-versatours .chbs-main.chbs-widget {
		border-radius: var(--vt-radius-lg) !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-main-content-step-1 {
		flex-wrap: wrap !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-layout-column-left {
		flex: 1 1 100% !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel {
		flex-wrap: wrap !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field {
		flex: 1 1 30%;
		min-width: 11rem;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-button-widget-submit {
		flex: 1 1 100% !important;
		width: 100% !important;
		min-width: 0 !important;
		justify-content: center !important;
	}
}

@media (max-width: 40em) {
body.home.theme-versatours .chbs-main.chbs-widget {
		padding: .75rem !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel {
		flex-direction: row !important;
		flex-wrap: wrap !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field {
		flex: 1 1 auto !important;
		width: 100% !important;
		min-width: 0 !important;
	}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"]),
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_time"]) {
		flex: 1 1 calc(50% - .15rem) !important;
		width: calc(50% - .15rem) !important;
	}
}

/* V2 compact passenger control. The native Chauffeur select remains the source of truth. */
body.home.theme-versatours .chbs-main.chbs-widget .vt-passenger-stepper {
	display: grid !important;
	grid-template-columns: 26px minmax(24px, 1fr) 26px !important;
	grid-column: 2 !important;
	grid-row: 2 !important;
	gap: 4px !important;
	width: 100% !important;
	min-width: 0 !important;
	align-items: center !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .vt-passenger-stepper .ui-selectmenu-button {
	display: flex !important;
	width: auto !important;
	min-width: 0 !important;
	height: 28px !important;
	min-height: 28px !important;
	padding: 0 !important;
	align-items: center !important;
	justify-content: center !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .vt-passenger-stepper .ui-selectmenu-text {
	padding: 0 !important;
	text-align: center !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .vt-passenger-stepper-button {
	display: grid !important;
	width: 26px !important;
	min-width: 26px !important;
	height: 26px !important;
	min-height: 26px !important;
	margin: 0 !important;
	padding: 0 !important;
	place-items: center !important;
	border: 1px solid var(--vt-border) !important;
	border-radius: 50% !important;
	background: var(--vt-surface) !important;
	color: var(--vt-text) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .vt-passenger-stepper-button:hover {
	border-color: var(--vt-primary) !important;
	background: var(--vt-primary-soft) !important;
}

/* Keep editable widget controls at iOS Safari's no-zoom font threshold. */
@media (max-width: 767px) {
	body.home.theme-versatours .chbs-main.chbs-widget input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
	body.home.theme-versatours .chbs-main.chbs-widget textarea,
	body.home.theme-versatours .chbs-main.chbs-widget select,
	body.home.theme-versatours .chbs-main.chbs-widget .ui-selectmenu-button,
	body.home.theme-versatours .chbs-main.chbs-widget .ui-selectmenu-text {
		font-size: 16px !important;
		touch-action: manipulation;
	}

	body.home.theme-versatours.theme-versatours .chbs-main.chbs-widget .chbs-form-field-passenger .ui-selectmenu-button,
	body.home.theme-versatours.theme-versatours .chbs-main.chbs-widget .chbs-form-field-passenger .ui-selectmenu-text {
		font-size: 16px !important;
	}
}

/* Homepage widget: keep the shared reverse control between the two locations. */
body.home.theme-versatours .chbs-main.chbs-widget .vt-location-swap {
	position: static !important;
	z-index: 2 !important;
	order: 2 !important;
	display: grid !important;
	flex: 0 0 42px !important;
	width: 42px !important;
	height: 42px !important;
	min-width: 42px !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
	place-items: center !important;
	align-self: center !important;
	border: 1px solid var(--vt-border) !important;
	border-radius: 50% !important;
	background: var(--vt-surface) !important;
	box-shadow: var(--vt-shadow-soft) !important;
	color: var(--vt-text) !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .vt-location-swap svg {
	display: block !important;
	width: 18px !important;
	height: 18px !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-dropoff-location {
	order: 3 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"]) {
	order: 4 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_time"]) {
	order: 5 !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(select[name*="passenger_adult"]) {
	order: 6 !important;
}

/* The native select remains the submitted value. Hide only Chauffeur's
   duplicate visual selectmenu after our custom stepper has been created. */
body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-passenger .vt-passenger-stepper ~ .ui-selectmenu-button {
	display: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field-passenger .chbs-form-field:has(select[name*="passenger_adult"]) .ui-selectmenu-button[hidden] {
	display: none !important;
}

body.home.theme-versatours .chbs-main.chbs-widget .vt-passenger-stepper-value {
	display: block !important;
	min-width: 24px !important;
	color: var(--vt-text) !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-align: center !important;
}

@media (max-width: 40em) {
	body.home.theme-versatours .chbs-main.chbs-widget .vt-location-swap {
		margin: -.1rem auto !important;
	}
}

/* Mobile widget sizing: mirror the reservation Step 1 control scale while
   preserving the widget's existing field order and color treatment. */
@media (max-width: 40em) {
	body.home.theme-versatours .chbs-main.chbs-widget {
		padding: 1rem !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .chbs-main-content-step-1,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-tab > .ui-tabs-panel {
		gap: .875rem !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: none !important;
		min-height: 70px !important;
		padding: .75rem 1rem !important;
		column-gap: .75rem !important;
		border-radius: .875rem !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"]),
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_time"]) {
		flex: 1 1 calc(50% - .4375rem) !important;
		width: calc(50% - .4375rem) !important;
		max-width: none !important;
		padding-right: .625rem !important;
		padding-left: .625rem !important;
		column-gap: .375rem !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(select[name*="passenger_adult"]) {
		flex: 1 1 100% !important;
		width: 100% !important;
		max-width: none !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field::before {
		font-size: 22px !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"])::before,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(select[name*="passenger_adult"])::before {
		width: 22px !important;
		height: 22px !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"])::before {
		width: 18px !important;
		height: 18px !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_time"])::before {
		font-size: 18px !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > label {
		font-size: 13px !important;
		font-weight: 600 !important;
		line-height: 1.25 !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_date"]) > label,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field:has(input[name*="pickup_time"]) > label {
		font-size: 12px !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > input[type="text"],
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field > select,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field .ui-selectmenu-button,
	body.home.theme-versatours .chbs-main.chbs-widget .chbs-form-field .ui-selectmenu-text {
		font-size: 18px !important;
		font-weight: 600 !important;
		line-height: 1.35 !important;
	}

	/* Win over the earlier iOS no-zoom selector, which carries five :not()
	   attributes and otherwise holds native text inputs at exactly 16px. */
	body.home.theme-versatours.theme-versatours .chbs-main.chbs-widget .chbs-form-field > input[type="text"]:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]) {
		font-size: 18px !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .vt-location-swap {
		width: 48px !important;
		height: 48px !important;
		min-width: 48px !important;
		flex-basis: 48px !important;
		margin: -.4375rem auto !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .vt-location-swap svg {
		width: 20px !important;
		height: 20px !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .vt-passenger-stepper {
		grid-template-columns: 44px minmax(44px, 1fr) 44px !important;
		gap: .5rem !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .vt-passenger-stepper-button {
		width: 44px !important;
		min-width: 44px !important;
		height: 44px !important;
		min-height: 44px !important;
		font-size: 20px !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .vt-passenger-stepper-value {
		font-size: 18px !important;
	}

	body.home.theme-versatours .chbs-main.chbs-widget .chbs-button-widget-submit,
	body.home.theme-versatours .chbs-main.chbs-widget a.chbs-button-widget-submit {
		min-height: 60px !important;
		margin-top: .125rem !important;
		font-size: 18px !important;
		font-weight: 700 !important;
	}
}
