/* ==========================================================================
   Involved Holidays — Checkout (ihck)
   Built from Involved_Holidays_Checkout_Journey.html (Claude Design).
   Tokens live on the .ihck wrapper so nothing leaks sitewide.
   ========================================================================== */

.ihck {
	/* brand palette (from the design) */
	--ihck-blue-900: #12283f;
	--ihck-blue-800: #1b3f63;
	--ihck-blue-700: #275a92;
	--ihck-blue-600: #2f6ba9;
	--ihck-blue-500: #2595c6;
	--ihck-blue-200: #c7e5f2;
	--ihck-blue-100: #e6f2f9;
	--ihck-blue-050: #f3f9fc;
	--ihck-gold-600: #8f7c45;
	--ihck-gold-500: #ab8b44;
	--ihck-gold-200: #ecdcb4;
	--ihck-sand: #f6f2e9;
	--ihck-grey-800: #39434e;
	--ihck-grey-600: #6f7c8a;
	--ihck-grey-400: #b4bdc6;
	--ihck-grey-300: #d3dae0;
	--ihck-grey-200: #e6eaee;
	--ihck-grey-100: #f2f5f7;
	--ihck-success: #3d7a55;
	--ihck-success-soft: #e7f1eb;
	--ihck-danger: #a6362c;
	--ihck-danger-soft: #f8e9e7;

	--ihck-heading: var(--ihck-blue-700);
	--ihck-body: var(--ihck-grey-800);
	--ihck-muted: var(--ihck-grey-600);
	--ihck-link: var(--ihck-blue-500);
	--ihck-link-hover: var(--ihck-blue-700);
	--ihck-price: var(--ihck-blue-700);
	--ihck-border-subtle: var(--ihck-grey-200);
	--ihck-border-default: var(--ihck-grey-300);
	--ihck-surface-subtle: var(--ihck-blue-050);

	--ihck-font: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--ihck-radius: 10px;
	--ihck-radius-pill: 999px;
	--ihck-shadow-card: 0 2px 6px rgba(18, 40, 63, .08);
	--ihck-focus-ring: 0 0 0 3px rgba(37, 149, 198, .45);
	--ihck-ease: cubic-bezier(.4, 0, .2, 1);
	--ihck-transition: background-color 160ms var(--ihck-ease), color 160ms var(--ihck-ease), border-color 160ms var(--ihck-ease), box-shadow 160ms var(--ihck-ease);

	/* Offset for the sticky booking summary. Raise this if the site header
	   overlaps the summary when scrolling. */
	--ihck-sticky-top: 24px;

	display: flex;
	flex-direction: column;
	background: #fff;
	font-family: var(--ihck-font);
	color: var(--ihck-body);
	-webkit-font-smoothing: antialiased;
	scroll-margin-top: 150px;
}

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

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

.ihck a { color: var(--ihck-link); text-decoration: none; transition: color 160ms var(--ihck-ease); }
.ihck a:hover { color: var(--ihck-link-hover); text-decoration: underline; text-underline-offset: 3px; }

.ihck input,
.ihck select,
.ihck textarea,
.ihck button { font-family: var(--ihck-font); }

.ihck a:focus-visible,
.ihck button:focus-visible,
.ihck input:focus-visible,
.ihck select:focus-visible,
.ihck textarea:focus-visible { outline: none; box-shadow: var(--ihck-focus-ring); }

/* Theme headings are uppercase with a top margin and a strong colour — reset */
.ihck h1,
.ihck h2,
.ihck h3,
.ihck legend {
	margin-top: 0;
	text-transform: none;
	letter-spacing: 0;
	color: var(--ihck-heading) !important;
}

.ihck p { margin: 0; }

.ihck-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---------- layout ---------- */

.ihck-wrap {
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: 0 24px;
}
.ihck-wrap--rail { padding-top: clamp(22px, 3vw, 34px); }
.ihck-wrap--toggle { display: none; padding-top: 14px; }

.ihck-main {
	flex: 1;
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
	padding: clamp(24px, 3.5vw, 44px) 24px clamp(48px, 6vw, 80px);
}
.ihck-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(24px, 3vw, 44px);
	align-items: start;
}
.ihck-col {
	display: flex;
	flex-direction: column;
	gap: clamp(18px, 2.4vw, 26px);
	min-width: 0;
}

.ihck-stack { display: flex; flex-direction: column; gap: 18px; }
.ihck-stack--lg { gap: clamp(18px, 2.4vw, 26px); }
.ihck-stack--sm { gap: 12px; }

/* The old theme styles hide .step unless .current — keep that behaviour here */
.ihck .step { display: none; }
.ihck .step.current { display: block; }
.ihck .checkout-body { box-shadow: none !important; }
.ihck .checkout-body .steps { background: transparent; border-top: 0 !important; margin: 0; }
.ihck-form { margin: 0; padding: 0; }

/* ---------- breadcrumb ---------- */

.ihck-crumbs__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 22px 24px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font: 600 13px/1.4 var(--ihck-font);
	color: var(--ihck-muted);
}
.ihck .ihck-crumbs__link {
	padding: 5px 12px;
	border-radius: var(--ihck-radius-pill);
	background: var(--ihck-blue-050);
	color: var(--ihck-link);
	text-decoration: none;
	transition: var(--ihck-transition);
}
.ihck .ihck-crumbs__link:hover {
	background: var(--ihck-blue-100);
	color: var(--ihck-link-hover);
	text-decoration: none;
}
.ihck-crumbs__sep { color: var(--ihck-grey-400); }
.ihck-crumbs__current {
	padding: 5px 12px;
	border-radius: var(--ihck-radius-pill);
	background: var(--ihck-blue-700);
	color: #fff;
}

/* ---------- step rail ---------- */

.ihck-railcard {
	container: ihcrail / inline-size;
	border: 1px solid var(--ihck-border-subtle);
	border-radius: var(--ihck-radius);
	background: #fff;
	box-shadow: var(--ihck-shadow-card);
	padding: clamp(16px, 2vw, 20px) clamp(10px, 1.6vw, 18px);
}
.ihck-rail {
	display: flex;
	align-items: flex-start;
	list-style: none;
	margin: 0;
	padding: 0;
}
.ihck-rail__item {
	flex: 1;
	min-width: 0;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 0;
}
.ihck-rail__line {
	position: absolute;
	top: 19px;
	right: 50%;
	width: 100%;
	height: 2px;
	background: var(--ihck-grey-200);
	transition: background 160ms var(--ihck-ease);
}
.ihck-rail__item:first-child .ihck-rail__line { display: none; }
.ihck-rail__item.is-done .ihck-rail__line,
.ihck-rail__item.is-active .ihck-rail__line { background: var(--ihck-gold-500); }

.ihck .ihck-rail__dot {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: none;
	margin: 0;
	padding: 0;
	border-radius: var(--ihck-radius-pill);
	border: 2px solid var(--ihck-grey-300);
	background: #fff;
	color: var(--ihck-muted);
	font: 900 16px/1 var(--ihck-font);
	cursor: pointer;
	transition: var(--ihck-transition);
}
.ihck .ihck-rail__item.is-active .ihck-rail__dot {
	border-color: var(--ihck-blue-700);
	background: var(--ihck-blue-700);
	color: #fff;
	box-shadow: 0 0 0 5px rgba(37, 149, 198, .18);
}
.ihck .ihck-rail__item.is-done .ihck-rail__dot {
	border-color: var(--ihck-gold-500);
	background: var(--ihck-gold-500);
	color: #fff;
}
.ihck .ihck-rail__item:not(.is-active) .ihck-rail__dot:hover { border-color: var(--ihck-blue-700); }
.ihck .ihck-rail__item.is-done .ihck-rail__dot:hover { border-color: var(--ihck-gold-600); background: var(--ihck-gold-600); }
.ihck-rail__item.is-done .ihck-rail__num { display: none; }
.ihck-rail__item.is-done .ihck-rail__dot::before { content: "\2713"; }

.ihck-rail__label {
	display: block;
	text-align: center;
	max-width: 100%;
	font: 700 13px/1.35 var(--ihck-font);
	color: var(--ihck-muted);
	overflow-wrap: break-word;
	text-wrap: pretty;
}
.ihck-rail__item.is-active .ihck-rail__label { font-weight: 900; color: var(--ihck-heading); }
.ihck-rail__item.is-done .ihck-rail__label { color: var(--ihck-body); }

.ihck-rail__pill {
	display: none;
	width: fit-content;
	margin: 14px auto 0;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 9px 20px;
	border-radius: var(--ihck-radius-pill);
	background: #fff;
	border: 1px solid var(--ihck-border-subtle);
	text-align: center;
	box-shadow: 0 2px 6px rgba(18, 40, 63, .1);
}
.ihck-rail__count {
	font: 900 11px/1 var(--ihck-font);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ihck-gold-500);
}
.ihck-rail__current { font: 900 16px/1.25 var(--ihck-font); color: var(--ihck-heading); }

/* Narrow rail: smaller dots, no labels, "Step x of y" pill underneath */
@container ihcrail (max-width: 619px) {
	.ihck-rail__line { top: 14px; }
	.ihck .ihck-rail__dot { width: 30px; height: 30px; font-size: 13px; }
	.ihck-rail__label { display: none; }
	.ihck-rail__pill { display: flex; }
}

/* ---------- step header ---------- */

.ihck-eyebrow {
	display: block;
	color: var(--ihck-gold-500);
	font: 700 13px/1 var(--ihck-font);
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.ihck .ihck-title {
	margin: 0 0 10px;
	font: 900 clamp(28px, 4vw, 42px)/1.1 var(--ihck-font);
	text-wrap: pretty;
}
.ihck-intro {
	font: 300 clamp(16px, 1.4vw, 18px)/1.6 var(--ihck-font);
	color: var(--ihck-body);
	max-width: 58ch;
	text-wrap: pretty;
}

/* ---------- cards & type ---------- */

.ihck-card {
	background: #fff;
	border: 1px solid var(--ihck-border-subtle);
	border-radius: var(--ihck-radius);
	box-shadow: var(--ihck-shadow-card);
	padding: clamp(20px, 3vw, 28px);
	margin: 0;
}
.ihck-card--flush { padding: 0; overflow: hidden; }
.ihck-card--stack { display: flex; flex-direction: column; gap: 18px; }
.ihck-card--extra { padding: clamp(20px, 3vw, 26px); display: flex; flex-direction: column; gap: 12px; }
.ihck-card--extra p { font: 400 15px/1.6 var(--ihck-font); color: var(--ihck-body); }

.ihck-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}
.ihck-card__head > div { flex: 1 1 240px; min-width: 0; }
.ihck-card__head > .ihck-btn { flex: none; }
.ihck-card__head--center { margin-bottom: 20px; }
.ihck-card__head--flush { margin-bottom: 0; gap: 10px; flex-wrap: nowrap; }

.ihck .ihck-h2 { margin: 0 0 18px; font: 700 20px/1.3 var(--ihck-font); }
.ihck .ihck-h2--tight { margin-bottom: 6px; }
.ihck .ihck-h2:has(+ .ihck-sub) { margin-bottom: 4px; }
.ihck .ihck-h2--tight:has(+ .ihck-sub) { margin-bottom: 6px; }
.ihck .ihck-h2--sm { font-size: 19px; margin-bottom: 6px; }
.ihck .ihck-h2--flush { margin: 0; }
.ihck .ihck-card__head .ihck-h2 { margin-bottom: 4px; }
.ihck .ihck-card__head--center .ihck-h2,
.ihck .ihck-card__head--flush .ihck-h2 { margin: 0; }
.ihck .ihck-h3 { margin: 0 0 10px; font: 700 17px/1.3 var(--ihck-font); }

.ihck .ihck-sub { display: block; margin: 0 0 18px; font: 400 15px/1.6 var(--ihck-font); color: var(--ihck-muted); }
.ihck .ihck-card__head .ihck-h2 + .ihck-sub,
.ihck .ihck-sub.ihck-sub--tight { margin: 0; line-height: 1.5; }
.ihck .ihck-card .ihck-h2--tight + .ihck-sub { margin-bottom: 14px; }
.ihck-measure { max-width: 62ch; }

.ihck-small { font: 400 13px/1.6 var(--ihck-font); color: var(--ihck-muted); max-width: 66ch; }

.ihck-kicker {
	font: 700 12px/1 var(--ihck-font);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ihck-muted);
	margin-bottom: 6px;
}

.ihck-note {
	margin: 18px 0 0 !important;
	padding: 12px 16px;
	border-radius: var(--ihck-radius);
	background: var(--ihck-surface-subtle);
	font: 400 14px/1.6 var(--ihck-font);
	color: var(--ihck-body);
}

.ihck-divided { border-top: 1px solid var(--ihck-border-subtle); padding-top: 18px; }
.ihck-divided .ihck-small { margin-top: 12px; }

.ihck-pill {
	display: inline-block;
	padding: 7px 14px;
	border-radius: var(--ihck-radius-pill);
	font: 700 13px/1 var(--ihck-font);
	white-space: nowrap;
}
.ihck-card--extra .ihck-pill { padding: 6px 13px; }
.ihck-pill--success { background: var(--ihck-success-soft); color: var(--ihck-success); }
.ihck-pill--info { background: var(--ihck-blue-100); color: var(--ihck-blue-700); }

.ihck-link { font: 700 14px/1 var(--ihck-font); }

.ihck-alert { padding: 12px 16px; border-radius: var(--ihck-radius); font: 400 15px/1.5 var(--ihck-font); }
.ihck-alert--danger { background: var(--ihck-danger-soft); color: var(--ihck-danger); }

/* ---------- form controls ---------- */

.ihck-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
}
.ihck-fields--180 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.ihck-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; width: auto; }

.ihck .ihck-label {
	display: block;
	margin: 0;
	font: 700 13px/1.35 var(--ihck-font);
	color: var(--ihck-heading);
}

.ihck .ihck-input,
.ihck .ihck-select,
.ihck .ihck-textarea {
	width: 100%;
	min-height: 48px;
	height: auto;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--ihck-border-default);
	border-radius: var(--ihck-radius);
	background: #fff;
	font: 400 16px/1 var(--ihck-font);
	color: var(--ihck-body);
	box-shadow: none;
	transition: var(--ihck-transition);
}
.ihck .ihck-input { padding: 13px 14px; line-height: 1.4; }
.ihck .ihck-input:hover,
.ihck .ihck-input:focus { background-color: #fff !important; }
.ihck .ihck-input:focus,
.ihck .ihck-select:focus,
.ihck .ihck-textarea:focus { border-color: var(--ihck-blue-500); box-shadow: var(--ihck-focus-ring); outline: none !important; }
.ihck .ihck-input::placeholder,
.ihck .ihck-textarea::placeholder { color: var(--ihck-grey-400); }
.ihck .ihck-select { cursor: pointer; }
.ihck .ihck-select:disabled { background: var(--ihck-grey-100); cursor: progress; }
.ihck .ihck-textarea { padding: 14px; font-size: 16px; line-height: 1.6; resize: vertical; min-height: 140px; }

.ihck-fieldset { min-width: 0; }
.ihck .ihck-fieldset > legend { float: left; width: 100%; padding: 0; }
.ihck-fieldset > legend + * { clear: both; }

/* Checkbox (native input restyled to the design's square tick box) */
.ihck-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	min-height: 44px;
	padding: 6px 0;
	margin: 0;
	cursor: pointer;
}
.ihck input[type="checkbox"].ihck-check__box {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 auto;
	width: 22px !important;
	height: 22px !important;
	margin: 1px 0 0 !important;
	padding: 0;
	border: 2px solid var(--ihck-border-default);
	border-radius: 3px;
	background: #fff;
	display: inline-grid;
	place-content: center;
	cursor: pointer;
	transition: var(--ihck-transition);
}
.ihck input[type="checkbox"].ihck-check__box::after {
	content: "";
	width: 11px;
	height: 6px;
	border-left: 2.5px solid #fff;
	border-bottom: 2.5px solid #fff;
	transform: rotate(-45deg) translate(1px, -1px);
	opacity: 0;
}
.ihck input[type="checkbox"].ihck-check__box:checked { border-color: var(--ihck-blue-700); background: var(--ihck-blue-700); }
.ihck input[type="checkbox"].ihck-check__box:checked::after { opacity: 1; }
.ihck-check__label { font: 400 15px/1.6 var(--ihck-font); color: var(--ihck-body); }
.ihck-check__desc { display: block; margin-top: 2px; font: 400 13px/1.35 var(--ihck-font); color: var(--ihck-muted); }

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

.ihck .ihck-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	height: auto;
	margin: 0;
	padding: 14px 26px;
	border: 2px solid transparent;
	border-radius: var(--ihck-radius-pill);
	background: transparent;
	color: var(--ihck-blue-700);
	font: 700 15px/1 var(--ihck-font);
	letter-spacing: .01em;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: var(--ihck-transition), transform 80ms var(--ihck-ease);
	-webkit-tap-highlight-color: transparent;
}
.ihck .ihck-btn:active:not(:disabled) { transform: scale(.985); }
.ihck .ihck-btn--lg { padding: 17px 34px; font-size: 17px; }
.ihck .ihck-btn--sm { padding: 10px 18px; font-size: 13px; }
.ihck .ihck-btn--block { display: flex; width: 100%; }

.ihck .ihck-btn--primary { background: var(--ihck-blue-700); color: #fff; }
.ihck .ihck-btn--primary:hover { background: var(--ihck-blue-800); color: #fff; }
.ihck .ihck-btn--outline { border-color: var(--ihck-blue-700); }
.ihck .ihck-btn--outline:hover,
.ihck .ihck-btn--ghost:hover { background: rgba(39, 90, 146, .08); }

.ihck .ihck-btn--ghost:disabled,
.ihck .ihck-btn--ghost:disabled:hover { background: transparent !important; opacity: .55; }
.ihck .ihck-btn:disabled,
.ihck .ihck-btn:disabled:hover {
	background: var(--ihck-grey-100);
	border-color: transparent;
	color: var(--ihck-muted);
	cursor: not-allowed;
}

/* ---------- sign in ---------- */

.ihck-auth { padding: 0; overflow: hidden; }
.ihck-auth__tabs { display: flex; border-bottom: 1px solid var(--ihck-border-subtle); }
.ihck .ihck-auth__tab {
	flex: 1;
	min-height: 56px;
	margin: 0;
	padding: 18px 12px;
	border: none;
	border-radius: 0;
	background: var(--ihck-blue-050);
	color: var(--ihck-muted);
	font: 700 16px/1 var(--ihck-font);
	cursor: pointer;
	transition: var(--ihck-transition);
}
.ihck .ihck-auth__tab.is-active { background: #fff; color: var(--ihck-heading); box-shadow: inset 0 -3px 0 var(--ihck-gold-500); }
.ihck-auth__body { padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 18px; }
/* Password box with Show/Hide */
.ihck-pw { position: relative; }
.ihck .ihck-pw .ihck-input { padding-right: 76px; }
.ihck .ihck-pw__toggle {
	position: absolute;
	top: 50%;
	right: 6px;
	transform: translateY(-50%);
	min-width: 60px;
	min-height: 36px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-radius: var(--ihck-radius-pill);
	background: transparent;
	color: var(--ihck-blue-700);
	font: 700 14px/1 var(--ihck-font);
	cursor: pointer;
	transition: var(--ihck-transition);
}
.ihck .ihck-pw__toggle:hover { background: rgba(39, 90, 146, .08); }

/* Live password checklist (Create account) */
.ihck .ihck-pwrules {
	list-style: none;
	margin: 2px 0 0;
	padding: 0;
	display: grid;
	gap: 6px;
}
.ihck .ihck-pwrules li {
	position: relative;
	margin: 0;
	padding-left: 26px;
	font: 400 14px/1.4 var(--ihck-font);
	color: var(--ihck-muted);
	transition: color 160ms var(--ihck-ease);
}
.ihck .ihck-pwrules li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 18px;
	height: 18px;
	border-radius: var(--ihck-radius-pill);
	border: 2px solid var(--ihck-grey-300);
	background: #fff center / 10px no-repeat;
	transition: var(--ihck-transition);
}
.ihck .ihck-pwrules li.is-met { color: var(--ihck-success); font-weight: 700; }
.ihck .ihck-pwrules li.is-met::before {
	border-color: var(--ihck-success);
	background-color: var(--ihck-success);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3l2.4 2.4 5.2-5.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* reCAPTCHA: no panel styling. Only shrinks the Google widget (304px wide)
   on very small screens so it can't overflow the card. */
.ihck-captcha > div { transform-origin: top left; }
@media (max-width: 420px) {
	.ihck-captcha { height: 70px; overflow: hidden; }
	.ihck-captcha > div { transform: scale(.88); }
}
@media (max-width: 360px) {
	.ihck-captcha { height: 64px; }
	.ihck-captcha > div { transform: scale(.8); }
}
.ihck-auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ihck-auth__switch { font: 400 14px/1.6 var(--ihck-font); color: var(--ihck-muted); text-align: center; }
.ihck-auth__switch .ihck-link { font-size: inherit; line-height: inherit; margin-left: 4px; }

.ihck-or { display: flex; align-items: center; gap: 16px; }
.ihck-or span { flex: 1; height: 1px; background: var(--ihck-border-subtle); }
.ihck-or em {
	font: 700 13px/1 var(--ihck-font);
	font-style: normal;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ihck-muted);
}

.ihck-guest {
	background: var(--ihck-sand);
	border: 1px solid var(--ihck-gold-200);
	border-radius: var(--ihck-radius);
	padding: clamp(20px, 3vw, 28px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}
.ihck-guest__text { min-width: 220px; flex: 1; }
.ihck-guest__text p { font: 400 15px/1.6 var(--ihck-font); color: var(--ihck-body); max-width: 46ch; }

.ihck-legal { font: 400 13px/1.6 var(--ihck-font); color: var(--ihck-muted); max-width: 62ch; }

/* ---------- accommodation ---------- */

.ihck-pax { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.ihck-pax__field { min-width: 160px; }
.ihck-pax__status { font: 700 14px/48px var(--ihck-font); color: var(--ihck-muted); }

.ihck-rooms { display: flex; flex-direction: column; gap: 12px; }
.ihck-room {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	background: var(--ihck-surface-subtle);
	border: 1px solid var(--ihck-blue-100);
	border-radius: var(--ihck-radius);
	padding: 14px 16px;
	margin: 0;
}
.ihck-room__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: var(--ihck-radius-pill);
	background: var(--ihck-blue-700);
	color: #fff;
	font: 900 15px/1 var(--ihck-font);
}
.ihck .ihck-room__select { flex: 1; min-width: 180px; width: auto; min-height: 46px; }
.ihck-room__sup { font: 700 15px/1 var(--ihck-font); color: var(--ihck-price); white-space: nowrap; }
.ihck .ihck-room__remove {
	width: 36px;
	height: 36px;
	flex: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--ihck-border-subtle);
	border-radius: var(--ihck-radius-pill);
	background: #fff;
	color: var(--ihck-heading);
	font: 700 18px/1 var(--ihck-font);
	cursor: pointer;
	transition: var(--ihck-transition);
}
.ihck .ihck-room__remove:hover { background: var(--ihck-danger-soft); border-color: var(--ihck-danger); color: var(--ihck-danger); }

.ihck-rooms__status { margin-top: 12px !important; font: 400 14px/1.5 var(--ihck-font); color: var(--ihck-muted); }
.ihck-rooms__status:empty { display: none; }
.ihck-rooms__status.is-alert { color: var(--ihck-danger); font-weight: 700; }

/* ---------- travel ---------- */

.ihck-leg { border: 1px solid var(--ihck-border-subtle); border-radius: var(--ihck-radius); overflow: hidden; }
.ihck-leg__head {
	padding: 10px 18px;
	background: var(--ihck-surface-subtle);
	font: 700 12px/1 var(--ihck-font);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ihck-heading);
}
.ihck-leg__body {
	padding: 18px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 16px;
}
.ihck-leg__time { font: 900 20px/1.2 var(--ihck-font); color: var(--ihck-heading); }
.ihck-leg__place { font: 400 15px/1.4 var(--ihck-font); color: var(--ihck-body); }
.ihck-leg__carrier { font: 700 16px/1.4 var(--ihck-font); color: var(--ihck-body); }

/* ---------- transfers ---------- */

.ihck-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

/* ---------- summary & payment ---------- */

.ihck .ihck-coupon {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 12px;
	margin: 0;
	padding: clamp(18px, 2.4vw, 24px);
	background: var(--ihck-sand);
	border: 1px solid var(--ihck-gold-200);
	border-radius: var(--ihck-radius);
	box-shadow: none;
}
.ihck .ihck-coupon__field { min-width: 0; }
.ihck .ihck-coupon #discount--code {
	width: 100%;
	min-height: 48px;
	height: auto;
	margin: 0;
	padding: 13px 14px;
	box-shadow: none;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.ihck .ihck-coupon #discount--code::placeholder { text-transform: none; letter-spacing: 0; }
.ihck .ihck-coupon #apply--discount { min-height: 48px; padding: 0 28px; }

/* Message from the server after Apply. checkout-frontend.js adds
   is-success when a saving was applied, is-error when it wasn't. */
.ihck .ihck-coupon #coupon--result {
	grid-column: 1 / -1;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: auto;
	margin: 4px 0 0;
	padding: 12px 16px;
	border-radius: var(--ihck-radius);
	background: #fff;
	border: 1px solid var(--ihck-border-subtle);
	font: 700 15px/1.45 var(--ihck-font);
	color: var(--ihck-body);
}
.ihck .ihck-coupon #coupon--result:empty { display: none; }
.ihck .ihck-coupon #coupon--result::before {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: -1px;
	border-radius: var(--ihck-radius-pill);
	background: var(--ihck-blue-500) center / 12px no-repeat;
}
.ihck .ihck-coupon #coupon--result.is-success {
	background: var(--ihck-success-soft);
	border-color: rgba(61, 122, 85, .25);
	color: var(--ihck-success);
}
.ihck .ihck-coupon #coupon--result.is-success::before {
	background-color: var(--ihck-success);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3l2.4 2.4 5.2-5.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.ihck .ihck-coupon #coupon--result.is-error {
	background: var(--ihck-danger-soft);
	border-color: rgba(166, 54, 44, .25);
	color: var(--ihck-danger);
}
.ihck .ihck-coupon #coupon--result.is-error::before {
	background-color: var(--ihck-danger);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.8v4M6 9.2v.1' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

@media (max-width: 420px) {
	.ihck .ihck-coupon { grid-template-columns: 1fr; }
	.ihck .ihck-coupon #apply--discount { width: 100%; }
}

.ihck .other-referral-field { display: none; margin-top: 12px; } /* payment-form.js sets display:block when needed */
.ihck .other-referral-field .ihck-label { margin-bottom: 8px; }

.ihck .ihck-paygrid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	align-items: stretch;
	gap: 14px;
}
/* theme's old .payment-bundle rules (42% widths, 1.1rem labels) */
.ihck .ihck-paygrid > .ihck-paycard { width: auto; font-size: inherit; font-weight: inherit; }
.ihck .ihck-paycard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
	text-align: left;
	margin: 0;
	padding: 16px 18px;
	border: 2px solid var(--ihck-border-subtle);
	border-radius: var(--ihck-radius);
	background: #fff;
	color: var(--ihck-body);
	cursor: pointer;
	transition: var(--ihck-transition);
}
.ihck-paycard:hover { border-color: var(--ihck-grey-300); }
.ihck-paycard:has(.ihck-paycard__radio:checked) {
	border-color: var(--ihck-blue-700);
	background: var(--ihck-surface-subtle);
	color: var(--ihck-heading);
}
.ihck-paycard:has(.ihck-paycard__radio:focus-visible) { box-shadow: var(--ihck-focus-ring); }
.ihck-paycard.is-disabled { cursor: not-allowed; background: var(--ihck-grey-100); color: var(--ihck-muted); }
.ihck-paycard.is-disabled:hover { border-color: var(--ihck-border-subtle); }
.ihck input[type="radio"].ihck-paycard__radio {
	position: absolute !important;
	opacity: 0;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	pointer-events: none;
}
.ihck .ihck-paycard__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; width: 100%; }
.ihck .ihck-paycard__name { font: 700 16px/1.3 var(--ihck-font); }
.ihck .ihck-paycard__amount { white-space: nowrap; font: 900 20px/1 var(--ihck-font); }
.ihck .ihck-paycard__note { font: 400 13px/1.5 var(--ihck-font); color: var(--ihck-muted); }

.ihck-payfoot {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--ihck-border-subtle);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}
.ihck-payfoot .ihck-small { max-width: 52ch; }
.ihck-cards {
	font: 700 12px/1 var(--ihck-font);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ihck-muted);
}

.ihck-terms {
	background: var(--ihck-surface-subtle);
	border: 1px solid var(--ihck-blue-100);
	border-radius: var(--ihck-radius);
	padding: clamp(18px, 2.4vw, 24px);
}
.ihck .ihck-terms .ihck-h3 { margin-bottom: 12px; }

/* ---------- nav row ---------- */

.ihck-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 6px 0 0 !important;
	margin-top: clamp(18px, 2.4vw, 26px);
}
.ihck-nav > .next,
.ihck-nav > #payment-button,
.ihck-nav > #trade-button { margin-left: auto; }

/* Pay buttons injected by payment-form.js / trade-form.js */
.ihck #payment-button input[type="submit"],
.ihck #payment-button button,
.ihck #trade-button input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	height: auto;
	width: auto;
	margin: 0;
	padding: 17px 34px;
	border: 2px solid transparent;
	border-radius: var(--ihck-radius-pill);
	background: var(--ihck-blue-700);
	color: #fff;
	font: 700 17px/1 var(--ihck-font);
	cursor: pointer;
	transition: var(--ihck-transition);
}
.ihck #payment-button input[type="submit"]:hover,
.ihck #payment-button button:hover,
.ihck #trade-button input[type="submit"]:hover { background: var(--ihck-blue-800); box-shadow: none; }

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

.ihck-aside {
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 2vw, 22px);
	min-width: 0;
	position: sticky;
	top: var(--ihck-sticky-top);
}
.ihck-aside__head { display: none; }
.ihck-aside__body { display: contents; }

.ihck-aside__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ihck-aside__pad { padding: 18px 20px; }
.ihck-aside__pad .ihck-h2 { margin-bottom: 14px; text-wrap: pretty; }

.ihck-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 14px; }
.ihck-facts__val { font: 700 15px/1.3 var(--ihck-font); color: var(--ihck-body); }

.ihck-sumlist { display: flex; flex-direction: column; gap: 14px; }
.ihck-sum__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}
.ihck-sum__row > :last-child { text-align: right; }
.ihck-sum__row--muted { font: 400 14px/1.5 var(--ihck-font); color: var(--ihck-muted); }
.ihck-sum__row--top { align-items: flex-start; }
.ihck-sum__head { font: 700 15px/1.3 var(--ihck-font); color: var(--ihck-heading); }
.ihck-sum__head--muted { color: var(--ihck-muted); font-weight: 400; font-size: 14px; }
.ihck-sum__head--gap { margin-bottom: 4px; }
.ihck-sum__price { font-weight: 700; color: var(--ihck-price); }
.ihck-sum__price small { font-size: 12px; font-weight: 400; }
.ihck .passenger-price-was { margin-right: .35rem; color: var(--ihck-muted); font-weight: 400; }
.ihck-sum__rule { height: 1px; background: var(--ihck-gold-200); }
.ihck .rooms--count p,
.ihck .rooms--info p { margin: 0; }

.ihck-totals {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	gap: 10px 12px;
	background: var(--ihck-blue-700);
	color: #fff;
	padding: 18px 20px;
	font: 400 15px/1 var(--ihck-font);
}
.ihck-totals__val { text-align: right; }
.ihck-totals__val--strong { font-weight: 700; }
.ihck-totals__label--soft { color: rgba(255, 255, 255, .82); }
.ihck-totals__rule { grid-column: 1 / -1; height: 1px; background: var(--ihck-gold-500); }
.ihck-totals__total-label { font: 700 16px/1 var(--ihck-font); }
.ihck-totals__total { font: 900 22px/1 var(--ihck-font); text-align: right; }
.ihck .ihck-totals .coupon-hidden { display: none; }
.ihck .ihck-totals .offer--total { color: rgba(255, 255, 255, .82); font-weight: 400; }

.ihck-certs { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 4px 2px; }
.ihck-certs img { height: 32px; width: auto; display: block; }

/* ---------- drawer trigger (narrow) ---------- */

.ihck .ihck-summary-toggle {
	width: 100%;
	min-height: 54px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid var(--ihck-blue-200);
	border-radius: var(--ihck-radius);
	background: var(--ihck-surface-subtle);
	cursor: pointer;
	text-align: left;
	transition: var(--ihck-transition);
}
.ihck .ihck-summary-toggle:hover { background: var(--ihck-blue-100); }
.ihck-summary-toggle__text { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.ihck-summary-toggle__eyebrow {
	font: 900 10px/1 var(--ihck-font);
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ihck-gold-500);
}
.ihck-summary-toggle__title {
	font: 700 15px/1.2 var(--ihck-font);
	color: var(--ihck-heading);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}
.ihck-summary-toggle__right { display: flex; align-items: center; gap: 10px; flex: none; }
.ihck-summary-toggle__price { font: 900 18px/1 var(--ihck-font); color: var(--ihck-price); }
.ihck-summary-toggle__chev { font: 900 16px/1 var(--ihck-font); color: var(--ihck-blue-500); }

.ihck-scrim { display: none; }

@media (max-width: 680px) {
	.ihck-wrap--toggle { display: block; }

	.ihck-scrim {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 9998;
		background: rgba(18, 40, 63, .45);
		opacity: 0;
		pointer-events: none;
		transition: opacity 400ms var(--ihck-ease);
	}
	.ihck.is-summary-open .ihck-scrim { opacity: 1; pointer-events: auto; }

	.ihck-aside {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(380px, 88vw);
		z-index: 9999;
		gap: 14px;
		padding: 16px 18px 20px;
		background: #fff;
		overflow: hidden;
		box-shadow: -12px 0 36px rgba(18, 40, 63, .18);
		transform: translateX(101%);
		transition: transform 400ms var(--ihck-ease);
		visibility: hidden;
	}
	.ihck.is-summary-open .ihck-aside { transform: translateX(0); visibility: visible; }

	.ihck-aside__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 0 0 14px;
		margin-bottom: 2px;
		border-bottom: 1px solid var(--ihck-border-subtle);
		flex: none;
	}
	.ihck-aside__heading { font: 900 17px/1.2 var(--ihck-font); color: var(--ihck-heading); }
	.ihck .ihck-aside__close {
		min-width: 40px;
		min-height: 40px;
		margin: 0;
		padding: 0;
		border-radius: var(--ihck-radius-pill);
		border: 1px solid var(--ihck-border-subtle);
		background: #fff;
		font: 700 16px/1 var(--ihck-font);
		color: var(--ihck-heading);
		cursor: pointer;
	}
	.ihck .ihck-aside__close:hover { background: var(--ihck-surface-subtle); }
	.ihck-aside__body {
		display: grid;
		gap: 18px;
		align-content: start;
		grid-auto-rows: max-content;
		overflow-y: auto;
		flex: 1 1 auto;
		min-height: 0;
		padding-bottom: 8px;
	}

	/* Full-width buttons are easier to hit on phones */
	.ihck-nav { flex-wrap: nowrap; }
	.ihck-nav > .next,
	.ihck-nav > #payment-button,
	.ihck-nav > #trade-button { flex: 1 1 auto; }
	.ihck-nav > .next,
	.ihck #payment-button input[type="submit"],
	.ihck #payment-button button,
	.ihck #trade-button input[type="submit"] { width: 100%; }
	.ihck-guest > .ihck-btn { width: 100%; }
}

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