/* Transfer booking form (/shipping/<region>/): form on the left, trip summary on the right,
   one column on phones with the price bar pinned to the bottom of the screen. */
.tf {
	--tf-fg: #1D2A33;
	--tf-muted: #5F7180;
	--tf-line: #DCE3E8;
	--tf-soft: #F4F7F9;
	--tf-card: #FFFFFF;
	--tf-brand: #FFCB07;
	--tf-sky: #00ABDE;
	--tf-sky-soft: #E2F5FB;
	--tf-ok: #2E8B57;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 24px;
	align-items: start;
	margin: 8px 0 40px;
	color: var(--tf-fg);
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	line-height: 1.5;
}
.tf *, .tf *::before, .tf *::after { box-sizing: border-box; }
.tf-form, .tf-sum {
	background: var(--tf-card);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 1px 2px rgba(20, 40, 60, .06), 0 6px 24px rgba(20, 40, 60, .06);
	min-width: 0;
}
.tf-form { display: grid; gap: 28px; }
.tf-step { display: grid; gap: 12px; min-width: 0; }
.tf .tf-h { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--tf-fg); }
.tf-n { width: 26px; height: 26px; border-radius: 50%; background: var(--tf-sky-soft); color: var(--tf-sky); font-size: 13px; display: grid; place-items: center; flex: none; }

/* direction cards and pickup chips */
.tf-routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.tf-opt { position: relative; display: block; cursor: pointer; margin: 0; font-weight: 400; }
.tf-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tf-opt .tf-box { display: grid; gap: 2px; height: 100%; border: 1.5px solid var(--tf-line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, background .15s; }
.tf-opt .tf-box b { font-weight: 700; color: var(--tf-fg); }
.tf-opt .tf-box small { font-size: 12.5px; color: var(--tf-muted); }
.tf-opt:hover .tf-box { border-color: #9ED9EC; }
.tf-opt input:checked + .tf-box { border-color: var(--tf-sky); background: var(--tf-sky-soft); }
.tf-opt input:focus-visible + .tf-box { outline: 3px solid var(--tf-sky); outline-offset: 2px; }
.tf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tf-chips .tf-box { display: flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px; font-weight: 600; }
.tf-chips:empty { display: none; }
.tf-about { font-size: 14px; color: var(--tf-muted); }
.tf-about summary { cursor: pointer; color: var(--tf-sky); font-weight: 600; width: max-content; max-width: 100%; }
.tf-about[open] summary { margin-bottom: 8px; }
.tf-about img { display: block; max-width: 100%; height: auto; border-radius: 10px; margin: 0 0 10px; }

/* fields */
.tf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tf-field { display: grid; gap: 6px; min-width: 0; }
.tf-field[hidden] { display: none; }
.tf-field label { margin: 0; font-size: 13px; font-weight: 600; color: var(--tf-muted); }
.tf-field label i { font-weight: 400; font-style: normal; }
.tf-field small { font-size: 12.5px; color: var(--tf-muted); }
.tf .tf-input { width: 100%; min-height: 50px; border: 1.5px solid var(--tf-line); border-radius: 12px; background: var(--tf-card); color: var(--tf-fg); padding: 12px 14px; font: inherit; font-size: 16px; box-shadow: none; }
.tf .tf-input:focus { outline: none; border-color: var(--tf-sky); box-shadow: 0 0 0 3px var(--tf-sky-soft); }
.tf .tf-input.is-error { border-color: #E0533D; }
.tf .tf-date { cursor: pointer; background: var(--tf-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235F7180' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 44px; }

/* hotel search */
.tf-combo { position: relative; }
.tf-combo > svg { position: absolute; left: 14px; top: 16px; width: 18px; height: 18px; color: var(--tf-muted); pointer-events: none; }
.tf .tf-combo .tf-input { padding-left: 42px; }
.tf-list { position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 6px); max-height: 320px; overflow: auto; margin: 0; padding: 6px; list-style: none; background: var(--tf-card); border: 1px solid var(--tf-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(20, 40, 60, .18); }
.tf-list[hidden] { display: none; }
.tf-list li { display: grid; gap: 1px; padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.tf-list li b { font-weight: 600; }
.tf-list li small { font-size: 12.5px; color: var(--tf-muted); }
.tf-list li[aria-selected="true"], .tf-list li:hover { background: var(--tf-sky-soft); }
.tf-list li.tf-empty { cursor: default; color: var(--tf-muted); background: none; }
.tf-picked { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--tf-soft); font-size: 14px; }
.tf-picked[hidden] { display: none; }
.tf-picked svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--tf-sky); }

/* trip type */
.tf-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: var(--tf-soft); }
.tf-seg label { margin: 0; cursor: pointer; position: relative; }
.tf-seg input { position: absolute; opacity: 0; pointer-events: none; }
.tf-seg span { display: block; padding: 10px 6px; border-radius: 9px; text-align: center; font-size: 14px; font-weight: 600; color: var(--tf-muted); line-height: 1.25; }
.tf-seg input:checked + span { background: var(--tf-card); color: var(--tf-fg); box-shadow: 0 1px 3px rgba(20, 40, 60, .15); }
.tf-seg input:focus-visible + span { outline: 3px solid var(--tf-sky); }

/* passengers */
.tf-pax { display: grid; gap: 10px; }
.tf-pax-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; border: 1.5px solid var(--tf-line); border-radius: 12px; }
.tf-pax-row b { display: block; }
.tf-pax-row small { font-size: 12.5px; color: var(--tf-muted); }
.tf-stepper { display: flex; align-items: center; gap: 10px; }
.tf-stepper button { width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--tf-line); border-radius: 50%; background: var(--tf-card); color: var(--tf-fg); font: 600 20px/1 'Open Sans', sans-serif; cursor: pointer; padding: 0; }
.tf-stepper button:hover:not(:disabled) { border-color: var(--tf-sky); color: var(--tf-sky); }
.tf-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.tf-stepper output { min-width: 22px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.tf-ages { display: flex; flex-wrap: wrap; gap: 8px; }
.tf-ages:empty { display: none; }
.tf-ages label { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--tf-muted); font-weight: 400; }
.tf-ages select { border: 1.5px solid var(--tf-line); border-radius: 9px; padding: 6px 8px; background: var(--tf-card); color: var(--tf-fg); font: inherit; }
.tf-hint { margin: 0; font-size: 13px; color: var(--tf-muted); }
.tf-hint:empty { display: none; }

/* summary */
.tf-sum { position: sticky; top: 100px; display: grid; gap: 16px; }
.tf-sum-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.tf .tf-sum h3 { margin: 0; font-size: 18px; font-weight: 700; color: var(--tf-fg); }
.tf-tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--tf-soft); color: var(--tf-muted); font-size: 12.5px; font-weight: 600; }
.tf-legs { display: grid; gap: 16px; }
.tf-leg { position: relative; display: grid; gap: 6px; padding-left: 22px; }
.tf-leg::before { content: ""; position: absolute; left: 6px; top: 30px; bottom: 8px; border-left: 2px dashed var(--tf-line); }
.tf-leg-head { margin-left: -22px; display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--tf-muted); }
.tf-leg-head em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--tf-fg); text-align: right; }
.tf-pt { position: relative; font-size: 14px; }
.tf-pt::before { content: ""; position: absolute; left: -21px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--tf-card); border: 3px solid var(--tf-sky); }
.tf-pt.is-end::before { background: var(--tf-sky); }
.tf-pt small { display: block; font-size: 12.5px; color: var(--tf-muted); }
.tf-lines { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid var(--tf-line); font-size: 14px; }
.tf-lines:empty { display: none; }
.tf-lines div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.tf-lines .is-bonus { color: var(--tf-ok); }
.tf-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid var(--tf-line); }
.tf-total b { font-size: 28px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.tf .tf-btn { display: block; width: 100%; border: 0; border-radius: 50px; background: var(--tf-brand); color: #000; padding: 17px 20px; font: 700 15px/1 'Open Sans', sans-serif; letter-spacing: .03em; text-transform: uppercase; cursor: pointer; }
.tf .tf-btn:hover:not(:disabled) { background: var(--tf-sky); color: #fff; }
.tf .tf-btn:focus-visible { outline: 3px solid var(--tf-sky); outline-offset: 2px; }
.tf .tf-btn:disabled { opacity: .5; cursor: not-allowed; }
.tf-miss { margin: 0; text-align: center; font-size: 13px; color: var(--tf-muted); }
.tf-miss:empty { display: none; }
.tf-trust { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--tf-muted); }
.tf-trust li { position: relative; padding-left: 22px; }
.tf-trust li::before { content: ""; position: absolute; left: 3px; top: 4px; width: 10px; height: 6px; border-left: 2px solid var(--tf-ok); border-bottom: 2px solid var(--tf-ok); transform: rotate(-45deg); }
.tf-bar { display: none; }

@media (max-width: 991px) {
	.tf { grid-template-columns: minmax(0, 1fr); }
	.tf-sum { position: static; }
	.tf-sum .tf-btn { display: none; }
	.tf-bar {
		display: flex; align-items: center; gap: 14px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
		background: var(--tf-card); border-top: 1px solid var(--tf-line); box-shadow: 0 -6px 20px rgba(20, 40, 60, .1);
	}
	.tf-bar-p { flex: 1; min-width: 0; }
	.tf-bar-p small { display: block; font-size: 12px; color: var(--tf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.tf-bar-p b { font-size: 22px; font-weight: 800; line-height: 1.1; }
	.tf .tf-bar .tf-btn { width: auto; padding: 15px 22px; font-size: 14px; }
	.tf { margin-bottom: 100px; }
}
@media (max-width: 575px) {
	.tf-form, .tf-sum { padding: 18px 16px; border-radius: 14px; }
	.tf-row { grid-template-columns: minmax(0, 1fr); }
	.tf-seg span { font-size: 13px; padding: 9px 4px; }
}
@media (prefers-reduced-motion: reduce) { .tf * { transition: none !important; } }

/* Hide template H1 on shipping; real H1 is after the form / hub cards */
body.shipping-page > .container > h1.title.allTitles,
.container > h1.title.allTitles.shipping-h1-hide,
h1.title.allTitles.shipping-h1-hide {
	display: none !important;
}

.shipping-top-banner {
	margin: 0 0 20px;
}
.shipping-after-form {
	margin: 8px 0 28px;
}
.shipping-after-form__h1 {
	margin: 0 0 18px;
	font-family: 'Open Sans', sans-serif;
	font-size: clamp(22px, 4vw, 32px);
	font-weight: 800;
	line-height: 1.25;
	color: #1D2A33;
	letter-spacing: -0.01em;
}

/* Hotel → delivery discount banner */
.sh-bonus {
	--sh-fg: #1D2A33;
	--sh-muted: #5F7180;
	--sh-brand: #FFCB07;
	--sh-sky: #00ABDE;
	--sh-card: #FFFFFF;
	font-family: 'Open Sans', sans-serif;
	box-sizing: border-box;
}
.sh-bonus *, .sh-bonus *::before, .sh-bonus *::after { box-sizing: border-box; }

.sh-bonus--link {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 22px 26px;
	border-radius: 18px;
	text-decoration: none !important;
	color: #fff !important;
	background: #00ABDE;
	border: 2px solid #00ABDE;
	box-shadow: 0 10px 28px rgba(20, 40, 60, 0.1);
	transition: transform .15s ease, box-shadow .15s ease;
}
.sh-bonus--link:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(20, 40, 60, 0.14);
	color: #fff !important;
}
.sh-bonus__text {
	flex: 1 1 220px;
	min-width: 0;
	display: block;
	font-size: clamp(20px, 3.4vw, 28px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.015em;
}
.sh-bonus__main {
	display: inline;
}
.sh-bonus__amount {
	display: inline-block;
	margin-top: 4px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #FFCB07;
	color: #000;
	font-size: clamp(18px, 3vw, 26px);
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
	vertical-align: baseline;
}
.sh-bonus__go {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 999px;
	background: #FFCB07;
	border: 2px solid #FFCB07;
	color: #000;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.sh-bonus--hub {
	padding: 22px 22px 20px;
	border-radius: 18px;
	background: #00ABDE;
	border: 2px solid #00ABDE;
	box-shadow: 0 10px 28px rgba(20, 40, 60, 0.1);
}
.sh-bonus__lead {
	margin: 0 0 16px;
	font-size: clamp(20px, 3.4vw, 28px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.015em;
	color: #fff;
}
.sh-bonus__split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.sh-bonus__card {
	display: grid;
	gap: 6px;
	justify-items: center;
	align-content: center;
	text-align: center;
	padding: 20px 18px;
	min-height: 140px;
	border-radius: 14px;
	background: #fff;
	border: 1.5px solid rgba(29, 42, 51, 0.12);
	text-decoration: none !important;
	color: var(--sh-fg) !important;
	transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.sh-bonus__card:hover {
	border-color: var(--sh-sky);
	box-shadow: 0 8px 20px rgba(0, 171, 222, 0.15);
	transform: translateY(-1px);
	color: var(--sh-fg) !important;
}
.sh-bonus__place {
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 800;
	line-height: 1.2;
}
.sh-bonus__hint {
	font-size: 15px;
	color: var(--sh-muted);
	font-weight: 600;
}
.sh-bonus__card .sh-bonus__go {
	margin-top: 10px;
	justify-self: center;
	padding: 10px 16px;
	font-size: 13px;
	background: #FFCB07;
	border-color: #FFCB07;
	color: #000;
}

@media (max-width: 700px) {
	.sh-bonus--link {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		align-content: flex-start;
		justify-content: flex-start;
		gap: 8px;
		padding: 12px;
		border-radius: 14px;
		min-height: 0 !important;
		height: auto !important;
		text-align: center;
	}
	.sh-bonus--link .sh-bonus__text {
		flex: 0 0 auto !important;
		width: 100%;
		font-size: 16px;
		line-height: 1.25;
	}
	.sh-bonus--link .sh-bonus__amount {
		display: inline;
		margin-top: 0;
		padding: 1px 8px;
		font-size: 15px;
		white-space: nowrap;
	}
	.sh-bonus--link .sh-bonus__go {
		flex: 0 0 auto !important;
		width: 100%;
		margin-top: 0 !important;
		padding: 10px 12px;
		text-align: center;
		white-space: normal;
		line-height: 1.2;
	}
	.shipping-top-banner {
		margin: 0 0 12px;
	}
	.sh-bonus--hub {
		padding: 18px 14px 14px;
		border-radius: 14px;
	}
	.sh-bonus__split {
		grid-template-columns: minmax(0, 1fr);
	}
	.sh-bonus__card .sh-bonus__go {
		width: 100%;
		justify-self: stretch;
		text-align: center;
	}
	.shipping-after-form__h1 {
		font-size: 22px;
	}
}
