/* HTJ Booking Steps — modern booking form.
 * Brand: red #9F2422, ink #1C1B1A, Poppins (headings, buttons) + Montserrat (text).
 * Everything is scoped to body.htj-bs. Step hiding needs .htj-bs-ready (set by the JS only
 * after a successful start), so if the JS fails the customer still gets the full form. */

body.htj-bs form.variations_form {
	--htj-red: #9F2422;
	--htj-red-dark: #7E1B1A;
	--htj-red-soft: #FBF3F3;
	--htj-ink: #1C1B1A;
	--htj-text: #3B3835;
	--htj-muted: #5C5853;
	--htj-line: #C9C4BD;
	--htj-line-soft: #E4E1DC;
	--htj-bg: #F6F5F3;
	--htj-ok: #1E5B3A;
	--htj-ok-bg: #EAF4EE;
	--htj-err: #B3261E;
	font-family: Montserrat, Arial, sans-serif;
	color: var(--htj-ink);
}

/* ── Step header ───────────────────────────────────────────────────────────── */

body.htj-bs .htj-bs-head {
	margin: 0 0 22px;
	padding: 0 5px;
}
body.htj-bs .htj-bs-steps {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}
body.htj-bs .htj-bs-steps li { margin: 0; padding: 0; }
body.htj-bs .htj-bs-step {
	all: unset;
	box-sizing: border-box;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
	cursor: pointer;
	min-height: 44px;
}
body.htj-bs .htj-bs-step[disabled] { cursor: default; }
body.htj-bs .htj-bs-step:focus-visible { outline: 2px solid var(--htj-red); outline-offset: 3px; }
body.htj-bs .htj-bs-bar { display: block; height: 4px; background: var(--htj-line-soft); }
body.htj-bs .htj-bs-step-name {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #6B6762;
}
body.htj-bs .htj-bs-num {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 2px solid var(--htj-line);
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	line-height: 1;
}
body.htj-bs .htj-bs-step.is-done .htj-bs-bar,
body.htj-bs .htj-bs-step.is-current .htj-bs-bar { background: var(--htj-red); }
body.htj-bs .htj-bs-step.is-done .htj-bs-step-name { color: var(--htj-ink); }
body.htj-bs .htj-bs-step.is-done .htj-bs-num { background: var(--htj-red); border-color: var(--htj-red); color: #FFFFFF; }
body.htj-bs .htj-bs-step.is-current .htj-bs-step-name { color: var(--htj-red); font-weight: 700; }
body.htj-bs .htj-bs-step.is-current .htj-bs-num { border-color: var(--htj-red); color: var(--htj-red); }

body.htj-bs .htj-bs-title {
	margin: 0 0 4px;
	font-family: Poppins, Arial, sans-serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 1.25;
	color: var(--htj-ink);
}
body.htj-bs .htj-bs-sub { margin: 0; font-size: 14px; line-height: 1.5; color: var(--htj-muted); }

/* ── Step visibility (only when the JS started) ────────────────────────────── */

/* Off-screen, not display:none: other scripts use offsetParent to see what is "visible". */
body.htj-bs.htj-bs-ready .htj-bs-off {
	position: absolute !important;
	left: -10000px !important;
	top: 0 !important;
	width: 640px !important;
	visibility: hidden !important;
	pointer-events: none !important;
}
body.htj-bs .htj-bs-gone { display: none !important; }

/* ── Fields ────────────────────────────────────────────────────────────────── */

body.htj-bs form.variations_form .wcpa_row { margin: 0 !important; padding: 0 !important; }
body.htj-bs form.variations_form .wcpa_form_item {
	margin: 0 0 20px !important;
	padding: 0 5px !important;
	box-sizing: border-box;
}
body.htj-bs form.variations_form .wcpa_form_item > label,
body.htj-bs form.variations_form table.variations th.label label {
	display: block;
	margin: 0 0 8px !important;
	font-family: Montserrat, Arial, sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--htj-text) !important;
	line-height: 1.4;
}
body.htj-bs form.variations_form .required_ast { color: var(--htj-red) !important; }
/* The "?" help icon must not make one label taller than the others in the same row. */
body.htj-bs form.variations_form .wcpa_form_item > label .wcpa_tooltip_icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: none;
	position: relative;
	width: 16px !important;
	height: 16px !important;
	margin: 0 0 0 6px !important;
	vertical-align: -3px;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	letter-spacing: 0;
}

/* The theme pulls the form 30px up (under the product title box); that pushed the step bar out
   of the white card. */
body.htj-bs form.variations_form.cart,
body.htj-bs form.variations_form.cart.wvs-loaded { margin-top: 0 !important; } /* beats the theme's .cart.wvs-loaded rule */
body.htj-bs .htj-bs-head { padding-top: 6px; }

/* A hidden, empty theme field (vehicle copy) still added a 20px gap in step 1. */
body.htj-bs form.variations_form .vehicle_class_input_hide_parent { margin: 0 !important; padding: 0 !important; }
/* WCPA's wrapper margin and the hidden quantity box added ~40px of empty space above the buttons. */
body.htj-bs form.variations_form .wcpa_form_outer { margin-bottom: 0 !important; }
body.htj-bs form.variations_form .woocommerce-variation-add-to-cart .quantity { margin: 0 !important; }

body.htj-bs form.variations_form .wcpa_form_item input[type="text"],
body.htj-bs form.variations_form .wcpa_form_item input[type="number"],
body.htj-bs form.variations_form .wcpa_form_item input[type="email"],
body.htj-bs form.variations_form .wcpa_form_item input[type="tel"],
body.htj-bs form.variations_form .wcpa_form_item select,
body.htj-bs form.variations_form .wcpa_form_item textarea {
	width: 100% !important;
	min-height: 48px;
	box-sizing: border-box !important;
	padding: 10px 14px !important;
	border: 1px solid var(--htj-line) !important;
	border-radius: 0 !important;
	background: #FFFFFF !important;
	font-family: Montserrat, Arial, sans-serif !important;
	font-size: 15px !important;
	color: var(--htj-ink) !important;
	box-shadow: none !important;
	transition: border-color .15s ease;
}
body.htj-bs form.variations_form .wcpa_form_item textarea { min-height: 84px; line-height: 1.5; }
body.htj-bs form.variations_form .wcpa_form_item input:focus,
body.htj-bs form.variations_form .wcpa_form_item select:focus,
body.htj-bs form.variations_form .wcpa_form_item textarea:focus {
	border-color: var(--htj-red) !important;
	outline: 2px solid rgba(159, 36, 34, .15);
	outline-offset: 0;
}
body.htj-bs form.variations_form .wcpa_form_item input::placeholder,
body.htj-bs form.variations_form .wcpa_form_item textarea::placeholder { color: #8A8580; }

/* Radio groups → button tiles. */
body.htj-bs form.variations_form .wcpa_form_item .radio-group {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 10px;
}
body.htj-bs form.variations_form .wcpa_radio {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	float: none !important;
}
body.htj-bs form.variations_form .wcpa_radio input[type="radio"] {
	position: absolute !important;
	opacity: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
}
body.htj-bs form.variations_form .wcpa_radio label {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100% !important;
	min-height: 52px;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 10px 28px !important; /* room for the "?" icon in the top-right corner */
	border: 1px solid var(--htj-line) !important;
	border-radius: 0 !important;
	background: #FFFFFF !important;
	color: var(--htj-ink) !important;
	font-family: Montserrat, Arial, sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	text-align: center;
	text-transform: none !important;
	letter-spacing: 0 !important;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}
body.htj-bs form.variations_form .wcpa_radio label .wcpa_check { display: none !important; }
body.htj-bs form.variations_form .wcpa_radio label:hover { border-color: var(--htj-ink) !important; }
body.htj-bs form.variations_form .wcpa_radio input:checked + label {
	border: 2px solid var(--htj-red) !important;
	background: var(--htj-red-soft) !important;
	color: var(--htj-red) !important;
}
body.htj-bs form.variations_form .wcpa_radio input:focus-visible + label { outline: 2px solid var(--htj-red); outline-offset: 2px; }
body.htj-bs form.variations_form .wcpa_radio input:disabled + label { opacity: .45; cursor: not-allowed; }
body.htj-bs form.variations_form .wcpa_radio > .wcpa_tooltip_icon { position: absolute; top: 6px; right: 8px; }

/* Checkbox groups (surcharges are set by WCPA rules; keep them tidy). */
body.htj-bs form.variations_form .wcpa_checkbox label { font-size: 14px !important; text-transform: none !important; }

/* Vehicle swatches → cards. */
body.htj-bs form.variations_form table.variations,
body.htj-bs form.variations_form table.variations tbody,
body.htj-bs form.variations_form table.variations tr,
body.htj-bs form.variations_form table.variations th,
body.htj-bs form.variations_form table.variations td {
	display: block;
	width: 100%;
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
}
/* Rows carry their own step (area = 2, vehicle = 3), so the space sits on the rows, not the table. */
body.htj-bs form.variations_form table.variations { margin: 0 !important; padding: 0 5px !important; box-sizing: border-box; }
body.htj-bs form.variations_form table.variations tr { margin-bottom: 20px; }
body.htj-bs form.variations_form table.variations .woo-selected-variation-item-name { display: none; }
body.htj-bs form.variations_form ul.variable-items-wrapper {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
}
body.htj-bs form.variations_form ul.variable-items-wrapper li.variable-item {
	margin: 0 !important;
	width: auto !important;
	height: auto !important;
	min-height: 64px;
	padding: 14px 16px !important;
	border: 1px solid var(--htj-line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: #FFFFFF !important;
	justify-content: flex-start !important;
	text-align: left;
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}
/* The swatch plugin and theme fix the card width on phones (300px / 47.5% !important, 6-class
   selectors): this longer selector wins, so a card fills its grid cell. */
body.htj-bs form.variations_form.cart ul.variable-items-wrapper.wvs-style-squared li.variable-item.button-variable-item:not(.radio-variable-item) { width: auto !important; max-width: none !important; }
body.htj-bs form.variations_form ul.variable-items-wrapper li.variable-item:hover { border-color: var(--htj-ink) !important; }
body.htj-bs form.variations_form ul.variable-items-wrapper li.variable-item .variable-item-contents {
	width: 100% !important;
	min-width: 0 !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
}
/* The swatch plugin gives the label a fixed 300px width: let it wrap inside the card. */
body.htj-bs form.variations_form ul.variable-items-wrapper li.variable-item .variable-item-span {
	width: auto !important;
	max-width: 100% !important;
	min-width: 0 !important;
	overflow: visible !important;
	text-align: left !important;
	padding: 0 !important;
	white-space: normal !important;
	font-family: Montserrat, Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	color: var(--htj-ink) !important;
}
body.htj-bs form.variations_form ul.variable-items-wrapper li.variable-item.selected,
body.htj-bs form.variations_form ul.variable-items-wrapper li.variable-item[aria-checked="true"] {
	border: 2px solid var(--htj-red) !important;
	background: var(--htj-red-soft) !important;
}
body.htj-bs form.variations_form ul.variable-items-wrapper li.variable-item.disabled { opacity: .45; }
body.htj-bs form.variations_form .reset_variations { display: none !important; }
/* WooCommerce's "¥25,000 In stock" under the vehicles repeats the total in the nav bar. */
body.htj-bs form.variations_form .single_variation .woocommerce-variation-price,
body.htj-bs form.variations_form .single_variation .woocommerce-variation-availability { display: none !important; }

/* Google address search results (theme markup). */
body.htj-bs form.variations_form #search-results {
	margin: 6px 0 0 !important;
	padding: 0 !important;
	border: 1px solid var(--htj-line-soft) !important;
	box-shadow: 0 8px 24px rgba(28, 27, 26, .08);
	background: #FFFFFF;
}
body.htj-bs form.variations_form #search-results:empty { display: none !important; }
body.htj-bs form.variations_form #search-results li {
	padding: 12px 14px !important;
	border-top: 1px solid #EFECE8;
	font-size: 14px;
	font-weight: 600;
}
body.htj-bs form.variations_form #search-results li:first-child { border-top: 0; }
body.htj-bs form.variations_form #search-results li:hover { background: var(--htj-red-soft); }
body.htj-bs form.variations_form #map { margin: 0 5px 20px !important; border: 1px solid var(--htj-line-soft); }

/* Zone confirmation chip (added by the JS). */
body.htj-bs .htj-bs-zone {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: -8px 5px 20px;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--htj-ok);
	background: var(--htj-ok-bg);
}
body.htj-bs .htj-bs-zone[hidden] { display: none; }
body.htj-bs .htj-bs-hint {
	margin: -8px 5px 20px;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--htj-text);
	background: var(--htj-bg);
	border-left: 3px solid var(--htj-red);
}

/* Errors (added by the JS). */
/* Same specificity as the field rules above (form.variations_form …), so the red border wins. */
body.htj-bs form.variations_form .htj-bs-err input,
body.htj-bs form.variations_form .htj-bs-err select,
body.htj-bs form.variations_form .htj-bs-err textarea,
body.htj-bs form.variations_form .htj-bs-err .wcpa_radio label,
body.htj-bs form.variations_form .htj-bs-err ul.variable-items-wrapper li.variable-item { border-color: var(--htj-err) !important; }
body.htj-bs .htj-bs-msg {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--htj-err);
}
/* When the step shows its own message, the form's "Field is required" under it is a duplicate
   (and on phones the two sat side by side). */
body.htj-bs .wcpa_form_item.htj-bs-err > .wcpa_error_msg { display: none !important; }

/* ── Review card ───────────────────────────────────────────────────────────── */

body.htj-bs .htj-bs-review {
	margin: 0 5px 24px;
	padding: 22px;
	background: var(--htj-ink);
	color: #FFFFFF;
}
body.htj-bs .htj-bs-review h3 {
	margin: 0 0 14px;
	font-family: Poppins, Arial, sans-serif;
	font-size: 17px;
	font-weight: 600;
	color: #FFFFFF;
}
body.htj-bs .htj-bs-review dl { margin: 0; display: grid; gap: 12px; }
body.htj-bs .htj-bs-review .htj-bs-row { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 12px; font-size: 14px; line-height: 1.45; }
body.htj-bs .htj-bs-review dt { margin: 0; color: #BDB8B1; font-weight: 500; }
body.htj-bs .htj-bs-review dd { margin: 0; color: #FFFFFF; overflow-wrap: anywhere; }
body.htj-bs .htj-bs-review .htj-bs-edit {
	all: unset;
	padding: 0 !important;
	margin-top: 16px;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 13px;
	font-weight: 600;
	color: #F0C9C8;
	cursor: pointer;
	text-decoration: underline;
}

/* WCPA price summary on the review step. */
body.htj-bs form.variations_form .wcpa_price_summary {
	margin: 0 5px 20px !important;
	padding: 16px 18px !important;
	border: 1px solid var(--htj-line-soft) !important;
	background: #FFFFFF !important;
}
body.htj-bs form.variations_form .wcpa_price_summary ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
body.htj-bs form.variations_form .wcpa_price_summary li {
	display: flex;
	justify-content: space-between;
	padding: 6px 0 !important;
	font-size: 14px;
	color: var(--htj-text);
}
body.htj-bs form.variations_form .wcpa_price_summary li.wcpa_total {
	margin-top: 6px;
	padding-top: 10px !important;
	border-top: 1px solid var(--htj-line-soft);
	font-family: Poppins, Arial, sans-serif;
	font-size: 17px;
	font-weight: 600;
	color: var(--htj-ink);
}

/* ── Navigation bar ────────────────────────────────────────────────────────── */

body.htj-bs .htj-bs-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin: 8px 5px 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--htj-line-soft);
}
body.htj-bs .htj-bs-price { display: flex; flex-direction: column; gap: 2px; min-width: 120px; }
body.htj-bs .htj-bs-price-label { font-size: 12px; color: #6B6762; }
body.htj-bs .htj-bs-price-value { font-family: Poppins, Arial, sans-serif; font-size: 22px; font-weight: 600; color: var(--htj-ink); line-height: 1.2; }
body.htj-bs .htj-bs-price-note { font-size: 12px; color: var(--htj-muted); }
body.htj-bs .htj-bs-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-left: auto; }

body.htj-bs .htj-bs-btn,
body.htj-bs form.variations_form .htj-bs-actions .single_add_to_cart_button {
	min-height: 52px;
	padding: 0 28px !important;
	border-radius: 0 !important;
	font-family: Poppins, Arial, sans-serif !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
body.htj-bs .htj-bs-btn-back {
	border: 1px solid var(--htj-ink);
	background: #FFFFFF;
	color: var(--htj-ink);
}
body.htj-bs .htj-bs-btn-back:hover { background: var(--htj-ink); color: #FFFFFF; }
body.htj-bs .htj-bs-btn-next,
body.htj-bs form.variations_form .htj-bs-actions .single_add_to_cart_button {
	border: 0 !important;
	background: var(--htj-red) !important;
	color: #FFFFFF !important;
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}
body.htj-bs .htj-bs-btn-next:hover,
body.htj-bs form.variations_form .htj-bs-actions .single_add_to_cart_button:hover { background: var(--htj-red-dark) !important; }
body.htj-bs .htj-bs-btn:focus-visible,
body.htj-bs form.variations_form .htj-bs-actions .single_add_to_cart_button:focus-visible { outline: 2px solid var(--htj-ink); outline-offset: 2px; }
body.htj-bs .htj-bs-help { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; color: var(--htj-muted); }

/* ── Phone ─────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
	/* Step names do not fit 4 columns on a phone; the title below names the current step. */
	body.htj-bs .htj-bs-step-name .htj-bs-label { display: none; }
	body.htj-bs .htj-bs-title { font-size: 20px; }
	body.htj-bs form.variations_form .wcpa-col-2,
	body.htj-bs form.variations_form .wcpa-col-3 { width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
	body.htj-bs form.variations_form .wcpa_form_item .radio-group { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
	body.htj-bs form.variations_form .wcpa_radio label { min-height: 48px; padding: 10px 16px !important; font-size: 14px !important; line-height: 1.25 !important; }
	/* Tile help ("?" + hover tooltip, e.g. terminal airlines) does not work on touch and covered the
	   text: show the help as a caption inside the tile, tiles one per row. z-index 10 because the
	   theme gives the label z-index 9. pointer-events none: a tap on the caption selects the tile. */
	body.htj-bs form.variations_form .wcpa_form_item .radio-group:has(> .wcpa_radio > .wcpa_tooltip_icon) { grid-template-columns: 1fr !important; gap: 8px; }
	body.htj-bs form.variations_form .wcpa_radio:has(> .wcpa_tooltip_icon) label { padding-top: 10px !important; padding-bottom: 30px !important; }
	body.htj-bs form.variations_form .wcpa_radio > .wcpa_tooltip_icon {
		position: absolute !important;
		top: auto !important;
		right: 6px !important;
		bottom: 9px !important;
		left: 6px !important;
		z-index: 10;
		display: block !important;
		width: auto !important;
		height: auto !important;
		background: none !important;
		border-radius: 0 !important;
		font-size: 0 !important;
		color: transparent !important;
		transform: none !important;
		pointer-events: none;
	}
	body.htj-bs form.variations_form .wcpa_radio > .wcpa_tooltip_icon .wcpa_tooltip {
		position: static !important;
		inset: auto !important;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		transform: none !important;
		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: none !important;
		box-shadow: none !important;
		font-family: Montserrat, Arial, sans-serif !important;
		font-size: 11px !important;
		font-weight: 500 !important;
		line-height: 1.3 !important;
		color: #5C5853 !important;
		text-align: center !important;
		white-space: normal !important;
	}
	body.htj-bs form.variations_form .wcpa_radio > .wcpa_tooltip_icon .wcpa_tooltip::before,
	body.htj-bs form.variations_form .wcpa_radio > .wcpa_tooltip_icon .wcpa_tooltip::after { display: none !important; }

	/* ── Page around the form (theme template; only on pages where the steps are on) ──
	   Before: 660px of banner, theme progress and an empty switcher box before the first field. */
	/* Full width: the theme container's 20px gutter; the white card's own padding keeps 25px. */
	body.htj-bs #content > .ast-container { padding-left: 0 !important; padding-right: 0 !important; }
	body.htj-bs .elementor-inner-section:has(form.variations_form) { box-shadow: none !important; }
	/* "BOOKING INFORMATION" banner (the section right before the theme progress): slim. */
	body.htj-bs .elementor-top-section:has(+ .elementor-top-section .stepprocesscss) { padding: 14px 0 !important; }
	body.htj-bs .elementor-top-section:has(+ .elementor-top-section .stepprocesscss) .elementor-heading-title { font-size: 17px !important; letter-spacing: 2px !important; line-height: 1.2 !important; }
	/* Theme 3-step progress: two progress bars confuse; ours stays. */
	body.htj-bs .elementor-top-section:has(.stepprocesscss) { display: none !important; }
	/* Airport switcher: no empty columns, no invisible black-on-black price, no bottom gap. */
	body.htj-bs .elementor-top-section:has(.chooseairportcls) { padding-bottom: 0 !important; }
	body.htj-bs .elementor-inner-section:has(.chooseairportcls) { padding: 6px 20px !important; }
	body.htj-bs .elementor-inner-section:has(.chooseairportcls) .elementor-column:not(:has(.elementor-widget)),
	body.htj-bs .elementor-inner-section:has(.chooseairportcls) .elementor-column:has(p.price) { display: none !important; }

	/* Step header: thin bars + "STEP 1 OF 4" above the title (set by the JS), no circles. */
	body.htj-bs .htj-bs-step-name { display: none !important; }
	body.htj-bs .htj-bs-steps { gap: 6px; margin: 0 0 14px; }
	body.htj-bs .htj-bs-step { min-height: 20px; justify-content: center; gap: 0; }
	body.htj-bs .htj-bs-title::before {
		content: attr(data-eyebrow);
		display: block;
		margin: 0 0 6px;
		font-family: Montserrat, Arial, sans-serif;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 1.5px;
		text-transform: uppercase;
		color: var(--htj-red, #9F2422);
	}
	body.htj-bs form.variations_form ul.variable-items-wrapper { grid-template-columns: 1fr; }
	/* Review as a compact receipt: label | value, about 25% shorter than stacked rows. */
	body.htj-bs .htj-bs-review { padding: 18px 16px; }
	body.htj-bs .htj-bs-review dl { gap: 10px; }
	body.htj-bs .htj-bs-review .htj-bs-row { grid-template-columns: minmax(92px, 36%) 1fr; gap: 10px; font-size: 13px; }

	/* Sticky price + buttons at the bottom of the screen. */
	body.htj-bs .htj-bs-nav {
		position: sticky;
		bottom: 0;
		z-index: 50;
		width: 100%;
		box-sizing: border-box;
		margin: 8px 0 0;
		padding: 12px 14px calc(12px + env(safe-area-inset-bottom)) 5px; /* left 5px = field edge */
		background: #FFFFFF;
		box-shadow: 0 -6px 18px rgba(28, 27, 26, .08);
		flex-wrap: nowrap;
		gap: 10px;
	}
	/* One compact row on phones: no note, and no empty price block before a vehicle is chosen. */
	body.htj-bs .htj-bs-price { flex: 1 1 auto; min-width: 0; }
	body.htj-bs .htj-bs-price-note { display: none; }
	body.htj-bs .htj-bs-price-value { font-size: 19px; }
	body.htj-bs .htj-bs-nav.htj-bs-noprice .htj-bs-price { display: none; }
	body.htj-bs .htj-bs-actions { flex-wrap: nowrap; gap: 8px; flex: 0 0 auto; }
	body.htj-bs .htj-bs-nav.htj-bs-noprice .htj-bs-actions { flex: 1 1 auto; }
	body.htj-bs .htj-bs-nav.htj-bs-noprice .htj-bs-btn-next { flex: 1 1 auto; }
	body.htj-bs .htj-bs-btn,
	body.htj-bs form.variations_form .htj-bs-actions .single_add_to_cart_button { min-height: 48px; padding: 0 16px !important; font-size: 15px !important; white-space: nowrap; }
	body.htj-bs .htj-bs-btn-back { padding: 0 12px !important; }

	/* The site's chat bubble is fixed at the bottom right: keep the buttons out from under it. */
	body.htj-bs .htj-bs-nav { padding-right: 84px; }
	body.htj-bs .htj-bs-btn { display: inline-flex; align-items: center; justify-content: center; }
	body.htj-bs .htj-bs-btn-back { min-width: 48px; padding: 0 !important; }
	body.htj-bs .htj-bs-btn-back .htj-bs-btxt { display: none; }
	/* Step 4 shows the full price summary right above, so the bar keeps only Back + Book Now. */
	body.htj-bs .htj-bs-nav.htj-bs-last .htj-bs-price { display: none; }
	body.htj-bs .htj-bs-nav.htj-bs-last .htj-bs-actions { flex: 1 1 auto; }
	body.htj-bs form.variations_form .htj-bs-nav.htj-bs-last .htj-bs-actions .single_add_to_cart_button { flex: 1 1 auto; }
	body.htj-bs .htj-bs-nav:not(.htj-bs-last) .htj-bs-actions { flex: 1 1 auto; justify-content: flex-end; }
	body.htj-bs .htj-bs-nav .htj-bs-btn-next { flex: 1 1 auto; }
	/* With a price in the bar (up to ¥760,000 for a round trip) the row is tight next to the chat
	   bubble: the price keeps its full width and Continue drops its arrow, so nothing is cut off or
	   hidden under the bubble on a 360px screen. */
	body.htj-bs .htj-bs-nav { gap: 8px; }
	body.htj-bs .htj-bs-actions { gap: 6px; }
	body.htj-bs .htj-bs-nav:not(.htj-bs-noprice) .htj-bs-price { flex: 0 0 auto; }
	body.htj-bs .htj-bs-price-value { font-size: 16px; white-space: nowrap; }
	body.htj-bs .htj-bs-nav:not(.htj-bs-noprice) .htj-bs-btn-next { min-width: 0; padding: 0 8px !important; font-size: 14px !important; }
	body.htj-bs .htj-bs-nav:not(.htj-bs-noprice) .htj-bs-arr { display: none; }

	/* Product description (custom HTML in .htj): a "1fr" grid column does not shrink below its
	   longest word, so the hero text ran out of its box. Same problem without this plugin. */
	body.htj-bs .htj * { min-width: 0; }
	body.htj-bs .htj h1, body.htj-bs .htj h2, body.htj-bs .htj h3 { overflow-wrap: break-word; }
	body.htj-bs .htj [class*="grid"], body.htj-bs .htj [class*="layout"] { grid-template-columns: minmax(0, 1fr) !important; }
	body.htj-bs .htj table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (prefers-reduced-motion: reduce) {
	body.htj-bs * { transition: none !important; scroll-behavior: auto !important; }
}
