/* Tour booking presentation layer. Engine price, quote and checkout rules stay untouched. */
.thv3 .thtour-booking {
	--thtour-accent: #0b806f;
	--thtour-accent-dark: #08685c;
	--thtour-line: #dce5eb;
	--thtour-field: #f7f9fb;
	background: #fff;
	border: 1px solid #dce5eb;
	border-radius: 16px;
	box-shadow: 0 14px 36px rgb(15 41 64 / 8%);
	padding: 22px;
}
.thv3 .thtour-booking__head {
	border-block-end: 1px solid #e8edf1;
	margin-block-end: 20px;
	padding-block-end: 16px;
}
.thv3 .thtour-booking__title {
	color: #18324b;
	font-family: inherit;
	font-size: 1.25rem;
	font-weight: 700;
}
.thv3 .thtour-booking__facts { margin-block-start: 10px; }
.thv3 .thtour-booking__facts li {
	background: #f2f7f6;
	border: 1px solid #e1efec;
	border-radius: 7px;
	font-size: .76rem;
	font-weight: 600;
	padding: 5px 9px;
}
.thv3 .thtour-booking__form { gap: 14px; }
.thv3 .thtour-booking__fields {
	align-items: start;
	column-gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.thv3 .thtour-booking__fields > :is(.thtx-booking-step, .thtour-party, .thtour-extras, .thtour-qms-options) {
	grid-column: 1 / -1;
}
.thv3 .thtour-booking__fields > .thtour-field--wide { grid-column: auto; }
.thv3 .thtx-booking-step {
	border-block-start: 1px solid #e8edf1;
	color: #18324b;
	font-size: .92rem;
	font-weight: 700;
	grid-column: 1 / -1;
	margin: 3px 0 0;
	padding-block-start: 15px;
}
.thv3 .thtour-booking__fields > .thtx-booking-step:first-child {
	border-block-start: 0;
	margin-block-start: 0;
	padding-block-start: 0;
}
.thv3 .thtour-party,
.thv3 .thtour-extras { gap: 9px; }
.thv3 .thtour-party__grid { grid-template-columns: repeat(auto-fit, minmax(86px, 1fr)); }
.thv3 .thtour-booking :is(input[type="date"], input[type="number"], select) {
	background-color: #f8fafb;
	border-color: #d8e2e9;
	border-radius: 9px;
	min-block-size: 48px;
}
.thv3 .thtour-booking :is(input, select):focus-visible {
	border-color: #0b806f;
	box-shadow: 0 0 0 3px rgb(11 128 111 / 14%);
	outline: 2px solid #0b806f;
	outline-offset: 1px;
}
.thv3 .thtour-quote {
	background: #f6f8fa;
	border-color: #e1e8ee;
	border-radius: 10px;
}
.thv3 .thtour-booking__actions { gap: 9px; }
.thv3 .thtour-button {
	border-radius: 9px;
	font-size: .96rem;
	min-block-size: 50px;
}
.thv3 .thtour-button--quote,
.thv3 .thtour-button--book {
	background: #0b806f;
	border-color: #0b806f;
}
.thv3 .thtour-button--quote:hover:not(:disabled),
.thv3 .thtour-button--book:hover:not(:disabled) {
	background: #08685c;
	border-color: #08685c;
}
.thv3 .thtour-button--whatsapp {
	background: #fff;
	border: 1px solid #cbded9;
	color: #08685c;
	font-size: .9rem;
}
.thv3 .thtour-button--whatsapp:hover { background: #f2f8f6; border-color: #0b806f; }
.thv3 .thtour-booking__trust {
	border-block-start: 1px solid #e8edf1;
	gap: 6px 12px;
	padding-block-start: 12px;
}
.thv3 .thtour-booking__trust li { font-size: .74rem; }
.thv3 .thtour-booking__larger {
	border-block-start: 0;
	margin-block-start: 8px;
	padding-block-start: 0;
}
@media (max-width: 767px) {
	.thv3 .thtour-booking { border-radius: 12px; padding: 18px 16px; }
	.thv3 .thtour-booking__fields { column-gap: 9px; }
	.thv3 .thtour-booking__fields > .thtour-field--wide { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
	.thv3 .thtour-button { transition: none; }
}
.thv3 .thtour-booking{border:1px solid #cbdfe0;border-top:5px solid #107c82;border-radius:18px;padding:24px;box-shadow:0 12px 32px rgb(14 42 51 / 7%)}
.thv3 .thtour-booking__title{font-size:23px;color:#0e2a33;line-height:1.2;margin-block:12px}
.thv3 .thtour-booking__facts{gap:8px}.thv3 .thtour-booking__facts li{background:#edf6f5;color:#0e5960;border:0}
.thv3 .thtour-booking label,.thv3 .thtour-booking legend{font-size:13px;line-height:1.4;font-weight:650;color:#29474e}
.thv3 .thtour-booking :is(input[type=date],input[type=number],select){background:white;border-color:#c5d8da;font-size:15px;padding:12px;min-height:48px;width:100%;box-sizing:border-box}
.thv3 .thtour-party__grid{gap:10px}.thv3 .thtour-party__note{font-size:12px;line-height:1.5}
.thv3 .thtx-booking-step{font-size:13px;color:#107c82;line-height:1.5;padding-top:16px}
.thv3 .thtour-quote{background:#edf6f5;border:0;padding:16px;color:#0e2a33;line-height:1.5;font-size:14px}
.thv3 .thtour-button--quote,.thv3 .thtour-button--book{background:#f5a623;border-color:#f5a623;color:#0e2a33;font-weight:750}
.thv3 .thtour-button--quote:hover:not(:disabled),.thv3 .thtour-button--book:hover:not(:disabled){background:#e49a17;border-color:#e49a17;color:#0e2a33}
.thv3 .thtour-button--whatsapp{color:#107c82;border-color:#107c82;background:white}
.thv3 .thtour-booking__trust{line-height:1.5}
@media(max-width:767px){.thv3 .thtour-booking{padding:20px;border-radius:16px}.thv3 .thtour-booking__fields{grid-template-columns:1fr}.thv3 .thtour-booking__title{font-size:22px}}
/* Booking card redesign: compact editorial header, clear grouped fields. */
.thv3 .thtour-booking{padding:0;border:1px solid #d8e3e5;border-top:0;border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 14px 40px rgb(14 42 51 / 9%)}
.thv3 .thtour-booking__head{background:#0e2a33;padding:24px;margin:0;border:0;color:white}
.thv3 .thtour-booking__head :is(p,h2,span,strong){color:#fff}
.thv3 .thtour-booking__from{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;margin:0;font-size:13px}
.thv3 .thtour-booking__amount{font-size:34px!important;line-height:1.15;font-weight:750;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.thv3 .thtour-booking__basis{font-size:13px;opacity:.85}.thv3 .thtour-booking__title{font-size:20px;margin:14px 0 10px}
.thv3 .thtour-booking__facts li{background:#23434a;color:#fff;border-radius:5px;padding:4px 8px;font-size:12px}
.thv3 .thtour-booking__form{padding:22px;gap:18px}.thv3 .thtour-booking__fields{display:grid;grid-template-columns:1fr;gap:16px}
.thv3 .thtour-booking__fields>.thtour-field--wide{grid-column:1/-1}.thv3 .thtour-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.thv3 .thtx-booking-step{margin:0;padding:0;border:0;font-size:12px;font-weight:700;letter-spacing:.025em}.thv3 .thtx-booking-step--second{border-top:1px solid #e4ecec;padding-top:18px}
.thv3 .thtour-party__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:10px}
.thv3 .thtour-booking :is(input[type=date],input[type=number],select){border:1px solid #ccdadd;border-radius:8px;background:#fafcfc;min-height:48px;font-size:15px;color:#18343b}
.thv3 .thtour-booking__actions{display:grid;gap:10px}.thv3 .thtour-button{width:100%;min-height:50px;border-radius:8px;font-size:15px;line-height:1.4;white-space:normal;justify-content:center}
.thv3 .thtour-booking__trust{margin:0;padding:16px 22px;border-top:1px solid #e4ecec}.thv3 .thtour-booking__larger{padding:0 22px 18px;margin:0}
.thv3 .thtour-quote{border-radius:8px;padding:14px;background:#edf5f4}.thv3 .thtour-field__note{font-size:12px;line-height:1.5;color:#63777e}
/* Compact field typography; override engine span sizing without affecting controls. */
.thv3 .thtour-booking .thtour-field>span,.thv3 .thtour-booking .thtour-party legend,.thv3 .thtour-booking .thtour-party__title{font-size:12px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0;color:#405b63}
.thv3 .thtour-booking .thtour-field{gap:6px}.thv3 .thtour-booking__fields{gap:14px}
.thv3 .thtour-booking :is(input[type=date],input[type=number],select){height:44px!important;min-height:44px;max-height:none;padding:10px 12px!important;line-height:22px!important;font-size:14px!important;font-weight:400!important;box-sizing:border-box}
.thv3 .thtour-booking select{padding-inline-end:32px!important}.thv3 .thtour-party__grid{gap:9px}
.thv3 .thtour-booking .thtour-quote,.thv3 .thtour-booking .thtour-quote :is(span,p,strong){font-size:13px!important;line-height:1.5!important}
.thv3 .thtour-booking .thtour-quote strong{font-weight:650}.thv3 .thtour-booking__form{padding:20px;gap:14px}
.thv3 .thtx-booking-step{font-size:11px;line-height:1.5}.thv3 .thtour-booking .thtour-field__note{font-size:11px;line-height:1.5}
.thv3 .thtour-booking__title{font-size:19px}.thv3 .thtour-booking__head{padding:22px}
/* One booking surface: remove the redundant theme card only when a widget exists. */
.thv3 .thv3__rail>.thv3__card:has(.thtour-booking){background:transparent;border:0;border-radius:0;box-shadow:none;padding:0}
.thv3 .thv3__rail .thtour-booking{margin:0;box-shadow:none}
.thv3 .thv3__rail .thtour-quote{background:transparent;border-radius:0;border-top:1px solid #e0e8e9;border-bottom:1px solid #e0e8e9;padding:14px 0}
.thv3 .thv3__rail .thtour-booking :is(input[type=date],input[type=number],select){background:#fff}
/* Owner refinement: quiet booking typography, logo teal and no related-tour rail copy. */
.thv3 #thv3-related,.thv3 .thv3__card-horizon{display:none!important}
.thv3 .thtour-booking__head{background:#107c82}
.thv3 .thtour-booking__facts li{background:rgba(255,255,255,.14);font-size:11px}
.thv3 .thtour-booking__head .thtour-booking__title{font-size:17px!important;line-height:1.35;margin-block:10px}
.thv3 .thtour-booking__head .thtour-booking__amount{font-size:28px!important;letter-spacing:-.5px}
.thv3 .thtour-booking__head .thtour-booking__from-lead,.thv3 .thtour-booking__head .thtour-booking__basis{font-size:12px!important}
.thv3 .thtour-booking .thtour-button{font-size:13px;min-height:46px}
/* Owner refinement: quieter related cards and teal booking header. */
.thv3 .thv3__card-horizon{display:none}
.thv3 .thv3__related .th-card__title,.thv3 .thv3__related .th-card__title a,.thv3 .thv3__related h3{font-size:16px!important;line-height:1.45!important;font-weight:600!important;letter-spacing:0}
.thv3 .thv3__related .th-card__body{padding:16px}
.thv3 .thv3__related :is(.th-card__badge,.th-card__category,.th-card__location,.th-card__destination){font-size:11px!important;line-height:1.4}
.thv3 .thv3__related .th-card__meta{font-size:12px!important}
.thv3 .thv3__related .th-card__price{font-size:14px!important}
.thv3 .thv3__related .th-card__price strong{font-size:20px!important}
.thv3 .thv3__related .th-card__link{font-size:12px!important}
.thv3 .thtour-booking__head{background:#107c82}
.thv3 .thtour-booking__facts li{background:#09646b;color:#fff}
.thv3 .thv3__related .th-card__context{font-size:12px;gap:7px}.thv3 .thv3__related :is(.th-chip,.th-card__place){font-size:11px!important;font-weight:500;line-height:1.4}.thv3 .thv3__related .th-card__price-amount{font-size:20px!important;font-weight:700}.thv3 .thv3__related :is(.th-card__price-from,.th-card__price-unit,.th-card__cue){font-size:12px!important}.thv3 #thv3-h-related{font-size:23px}
/* A confirmed quote has one primary action; changing inputs restores the quote action. */
.thv3 .thtour-booking[data-thtour-state="priced"] .thtour-button--quote{display:none!important}
.thv3 .thtour-booking .thtour-button[hidden]{display:none!important}
.thv3 .thtour-booking .thtour-button:disabled{cursor:not-allowed;opacity:.55}
