/* ==========================================================================
   Tour (product) page — shared layout + skins for design A (.tr--a) and C (.tr--c).
   Tokens come from landing-a.css / landing-c.css.
   ========================================================================== */

/* ---------- breadcrumb ---------- */
.tr-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 16px; font-size: 13px; font-weight: 600; }
.tr-crumbs a { opacity: .8; transition: opacity .2s; }
.tr-crumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.tr-crumbs > span:last-child { opacity: .6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40ch; }
.tr-crumbs__sep { width: 12px; height: 12px; transform: rotate(-90deg); opacity: .5; }

/* ---------- gallery (shared) ---------- */
.tr-stage { position: relative; overflow: hidden; }
.tr-slide { position: absolute; inset: 0; margin: 0; visibility: hidden; }
.tr-slide.is-active { visibility: visible; }
.tr-slide img { width: 100%; height: 100%; object-fit: cover; }
.tr-thumb {
	position: relative; overflow: hidden; flex: none; padding: 0; border-radius: 12px;
	border: 2px solid transparent; opacity: .65; transition: opacity .3s, border-color .3s, transform .3s var(--ease);
}
.tr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tr-thumb:hover { opacity: 1; transform: translateY(-2px); }
.tr-thumb.is-active { opacity: 1; border-color: var(--gold); }
.tr-stage__count { font: 700 12.5px var(--font-body); letter-spacing: .14em; }

.tr-title { margin: 0 0 14px; text-wrap: wrap; }
.tr-lead { max-width: 58ch; margin: 0; }

/* ---------- design A hero: cinematic, title over the photo ---------- */
.tr-hero--a {
	position: relative; isolation: isolate; overflow: hidden;
	height: clamp(470px, calc(100svh - 150px), 760px); border-radius: 30px; color: #fff; background: #06110c;
}
.tr-hero--a .tr-stage { position: absolute; inset: -24px; z-index: -2; }
.tr-hero__shade {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, rgb(5 14 10 / 45%) 0%, transparent 28%, transparent 40%, rgb(5 14 10 / 90%) 100%), linear-gradient(90deg, rgb(5 14 10 / 60%), transparent 70%);
}
.tr-hero--a .tr-hero__content { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 2; max-width: 760px; padding: 0 clamp(24px, 3.4vw, 48px); }
.tr-hero--a .tr-crumbs { color: #fff; }
.tr-hero--a .tr-title { color: #fff; font-size: clamp(36px, min(calc(var(--col) * .062), 9vh), 80px); line-height: .95; letter-spacing: -.045em; font-weight: 800; }
.tr-hero--a .tr-lead { color: rgb(255 255 255 / 85%); font-size: clamp(15px, 1.2vw, 17px); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tr-hero--a .tr-thumbs {
	position: absolute; left: clamp(24px, 3.4vw, 48px); right: clamp(24px, 3.4vw, 48px); bottom: 22px; z-index: 3;
	display: flex; align-items: center; gap: 10px;
}
.tr-hero--a .tr-thumb { width: 74px; height: 50px; }
.tr-hero--a .tr-stage__count { margin-left: auto; color: rgb(255 255 255 / 75%); }

/* ---------- design C hero: bento (title tile + photo + thumbs) ---------- */
.tr-hero--c {
	display: grid; gap: 14px;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr) auto;
	height: clamp(480px, calc(100svh - 150px), 680px);
}
.tr-hero--c .tr-hero__main {
	position: relative; overflow: hidden; grid-row: 1 / 3;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: clamp(22px, 3vw, 44px); border-radius: 32px; color: #fff;
	background:
		radial-gradient(120% 80% at 100% 0%, rgb(242 205 31 / 26%), transparent 55%),
		radial-gradient(90% 70% at 0% 100%, rgb(200 16 46 / 32%), transparent 60%),
		var(--green-deep);
}
.tr-hero--c .tr-crumbs { position: absolute; top: clamp(20px, 2.6vw, 34px); left: clamp(22px, 3vw, 44px); right: 20px; color: #fff; }
.tr-hero--c .cx-pill { margin-bottom: 16px; }
.tr-hero--c .tr-title { color: #fff; font-size: clamp(28px, min(calc(var(--col) * .048), 7.6vh), 56px); line-height: 1.02; letter-spacing: -.05em; font-weight: 800; }
.tr-hero--c .tr-lead { color: rgb(255 255 255 / 82%); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tr-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.tr-hero__price .jt-price { color: rgb(255 255 255 / 75%); }
.tr-hero__price .jt-price strong { color: #fff; font-size: 24px; }
.tr-hero--c .tr-stage { border-radius: 32px; }
.tr-hero--c .tr-stage__count {
	position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
	background: var(--gold); color: var(--ink-strong);
}
.tr-hero--c .tr-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tr-hero--c .tr-thumb { aspect-ratio: 4 / 3; border-radius: 16px; }
.tr-hero--c .tr-thumb.is-active { border-color: var(--primary); }

/* ---------- facts ---------- */
.tr-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.tr-facts li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.tr-facts .jt-icon { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; }
.tr-facts small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tr-facts strong { display: block; font-size: 15px; line-height: 1.25; color: var(--ink-strong); }
.tr--a .tr-facts .jt-icon { background: rgb(245 194 76 / 12%); color: var(--gold); }
.tr--c .tr-facts li { background: var(--sb-bg); border-color: transparent; }
.tr--c .tr-facts .jt-icon { background: #fff; color: var(--primary); box-shadow: 0 6px 16px -10px rgb(0 0 0 / 30%); }

/* ---------- body: content + sticky booking card ---------- */
.tr-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: clamp(20px, 2.6vw, 36px); align-items: start; padding-block: clamp(30px, 4vw, 56px); }

/* tabs */
.tr-tabs__bar {
	position: sticky; top: 16px; z-index: 5;
	display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
	padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
	box-shadow: 0 10px 30px -18px rgb(0 0 0 / 40%);
}
.tr-tabs__bar::-webkit-scrollbar { display: none; }
.tr-tab {
	position: relative; z-index: 1; flex: none; padding: 10px 16px; border-radius: 999px;
	font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--muted); transition: color .3s;
}
.tr-tab:hover { color: var(--ink-strong); }
.tr-tab[aria-selected="true"] { color: var(--tab-active-fg, #fff); }
.tr-tabs__ink { position: absolute; z-index: 0; top: 6px; left: 0; height: calc(100% - 12px); width: 0; border-radius: 999px; background: var(--tab-ink, var(--primary)); pointer-events: none; }
.tr--a { --tab-ink: var(--primary); }
.tr--c { --tab-ink: var(--ink-strong); }
.tr--c .tr-tabs__bar { background: var(--sb-bg); border-color: transparent; box-shadow: none; }
.tr-panel { padding: clamp(22px, 3vw, 34px) 4px 0; }
.tr-panel:focus-visible { outline-offset: 6px; }
.tr-panel__intro { color: var(--muted); }

/* rich text from the original tour pages */
.tr-prose { font-size: 16.5px; line-height: 1.75; color: var(--ink); }
.tr-prose h3 { margin: 1.6em 0 .5em; font-size: clamp(20px, 1.8vw, 26px); }
.tr-prose h3:first-child { margin-top: 0; }
.tr-prose h4 { margin: 1.3em 0 .4em; font-size: 18px; }
.tr-prose p { margin: 0 0 1em; }
.tr-prose ul, .tr-prose ol { margin: 0 0 1.2em; padding-left: 1.2em; list-style: disc; }
.tr-prose li { margin-bottom: .35em; }
.tr-prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
/* everything the WordPress editor can produce, spaced like in the editor */
.tr-prose h1, .tr-prose h2 { margin: 1.6em 0 .5em; font-size: clamp(22px, 2vw, 30px); line-height: 1.25; }
.tr-prose h5, .tr-prose h6 { margin: 1.2em 0 .4em; font-size: 16.5px; }
.tr-prose > :first-child { margin-top: 0; }
.tr-prose ol { list-style: decimal; }
.tr-prose li > ul, .tr-prose li > ol { margin: .35em 0 0; }
.tr-prose strong, .tr-prose b { font-weight: 700; color: var(--brand-ink, var(--ink)); }
.tr-prose blockquote { margin: 0 0 1.2em; padding: 4px 0 4px 18px; border-left: 4px solid var(--gold); font-style: italic; }
.tr-prose hr { margin: 1.6em 0; border: 0; border-top: 1px solid var(--line); }
.tr-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.tr-prose figure { margin: 0 0 1.2em; }
.tr-prose figcaption { margin-top: 6px; font-size: 14px; color: var(--muted); }
.tr-prose table { width: 100%; margin: 0 0 1.2em; border-collapse: collapse; font-size: 15px; }
.tr-prose th, .tr-prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.tr-prose .alignleft { float: left; max-width: 45%; margin: 4px 22px 14px 0; }
.tr-prose .alignright { float: right; max-width: 45%; margin: 4px 0 14px 22px; }
.tr-prose .aligncenter, .tr-prose .has-text-align-center { margin-inline: auto; text-align: center; }
.tr-prose .has-text-align-right { text-align: right; }
.tr-prose::after { content: ""; display: table; clear: both; }
.tr-prose .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; margin: 0 0 1.2em; }
.tr-prose .wp-block-column { flex: 1 1 240px; min-width: 0; }
.tr-prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.2em; }
.tr-prose .wp-block-button__link { display: inline-flex; padding: 12px 22px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 700; text-decoration: none; }
.tr-prose .wp-block-spacer { height: auto !important; min-height: 12px; }
@media (max-width: 640px) { .tr-prose .alignleft, .tr-prose .alignright { float: none; max-width: 100%; margin: 0 0 14px; } }
.tr--a .tr-prose a { color: var(--gold); }
.tr-video {
	position: relative; display: block; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; margin: 6px 0 22px;
	overflow: hidden; border-radius: 18px; background: #000;
}
.tr-video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .8s var(--ease), opacity .3s; }
.tr-video:hover img { transform: scale(1.05); opacity: 1; }
.tr-video__play {
	position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px;
	border-radius: 50%; background: var(--primary); color: #fff; box-shadow: 0 0 0 10px rgb(255 255 255 / 18%);
	transition: transform .35s var(--ease);
}
.tr-video:hover .tr-video__play { transform: scale(1.1); }
.tr-video iframe { width: 100%; height: 100%; border: 0; }

/* timeline */
.tr-timeline { position: relative; display: grid; gap: 4px; }
.tr-timeline::before { content: ""; position: absolute; left: 39px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.tr-timeline li { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 18px; padding: 12px 0; }
.tr-timeline__time {
	position: relative; z-index: 1; justify-self: center; align-self: start;
	padding: 6px 10px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; font-size: 13.5px; white-space: nowrap;
}
.tr-timeline h3 { margin: 4px 0 4px; font-size: 18px; letter-spacing: -.02em; }
.tr-timeline p { margin: 0; color: var(--muted); }
.tr--c .tr-timeline__time { background: var(--green-deep); color: var(--gold); }

/* checklist */
.tr-checklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.tr-checklist li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.tr-checklist .jt-icon { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent); color: #fff; }
.tr--c .tr-checklist li { background: var(--sb-bg); border-color: transparent; }

/* departure dates */
.tr-dates { display: grid; gap: 8px; margin-bottom: 8px; }
.tr-dates li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.tr-dates time { display: grid; justify-items: center; width: 58px; padding: 6px 0; border-radius: 12px; background: var(--nav-hover); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.2; }
.tr-dates time strong { font: 800 22px var(--font-head); color: var(--primary); }
.tr-dates div strong { display: block; color: var(--ink-strong); }
.tr-dates div span { font-size: 13.5px; color: var(--accent); font-weight: 700; }

/* contact form */
.tr-ask { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tr-ask label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-strong); }
.tr-ask__wide { grid-column: 1 / -1; }
.tr-ask__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* shared form controls */
.tr input[type="text"], .tr input[type="email"], .tr input[type="tel"], .tr input[type="number"], .tr select, .tr textarea {
	width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 14px;
	border: 1.5px solid var(--line); background: var(--input-bg, var(--surface)); color: var(--ink-strong);
	font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.tr textarea { resize: vertical; min-height: 96px; }
.tr input:focus, .tr select:focus, .tr textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.tr select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.tr--a { --input-bg: rgb(255 255 255 / 5%); }

/* ---------- booking card ---------- */
.tr-book {
	position: sticky; top: 16px; display: grid; gap: 16px;
	padding: 22px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line);
	box-shadow: 0 30px 60px -30px rgb(0 0 0 / 45%);
}
.tr--a .tr-book { background: linear-gradient(160deg, #143024, #0d2018); }
.tr--c .tr-book { border: 2px solid var(--ink-strong); box-shadow: 8px 8px 0 var(--gold); }
.tr-book__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.tr-book__head small { font-size: 13px; color: var(--muted); }
.tr-book__head strong { font: 800 36px/1 var(--font-head); letter-spacing: -.04em; color: var(--ink-strong); }
.tr-book__head span { font-size: 13px; color: var(--muted); }
.tr-book__request { font-size: 26px !important; }
.tr-form { display: grid; gap: 14px; }
.tr-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-strong); }
.tr-field > span { display: inline-flex; align-items: center; gap: 6px; }
.tr-field .jt-icon { width: 16px; height: 16px; color: var(--primary); }
.tr--a .tr-field .jt-icon { color: var(--gold); }
.tr-stepper { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--input-bg, var(--surface)); }
.tr-stepper button { height: 48px; font-size: 22px; font-weight: 700; color: var(--ink-strong); transition: background .2s, color .2s; }
.tr-stepper button:hover { background: var(--primary); color: #fff; }
.tr .tr-stepper input { min-height: 48px; border: 0; border-radius: 0; text-align: center; font-weight: 800; font-size: 17px; background: transparent; box-shadow: none; -moz-appearance: textfield; }
.tr-stepper input::-webkit-outer-spin-button, .tr-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.tr-notes summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--ink-strong); list-style: none; }
.tr-notes summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--nav-hover); }
.tr-notes[open] summary::before { content: "–"; }
.tr-notes textarea { margin-top: 10px; }
.tr-total { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--nav-hover); }
.tr-total span { font-weight: 700; color: var(--ink-strong); }
.tr-total small { font-weight: 500; color: var(--muted); }
.tr-total strong { font: 800 26px var(--font-head); letter-spacing: -.03em; color: var(--ink-strong); }
.tr-book__submit { width: 100%; min-height: 54px; font-size: 16px; }
.tr-book__note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-align: center; }
.tr-book__wa {
	display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
	background: color-mix(in srgb, var(--wa) 14%, transparent); color: var(--ink-strong); font-size: 13px; line-height: 1.35;
	transition: background .25s;
}
.tr-book__wa:hover { background: color-mix(in srgb, var(--wa) 24%, transparent); }
.tr-book__wa .jt-icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--wa); color: #fff; }
.tr-book__wa strong { display: block; font-size: 14px; }
.tr-book__trust { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.tr-book__trust li { display: flex; align-items: center; gap: 8px; }
.tr-book__trust .jt-icon { width: 16px; height: 16px; color: var(--accent); }
.tr--a .tr-book__trust .jt-icon { color: var(--gold); }
.tr-incart { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 16%, transparent); font-size: 13.5px; font-weight: 700; color: var(--ink-strong); }
.tr-incart span { display: inline-flex; align-items: center; gap: 6px; }
.tr-incart { white-space: nowrap; transition: background .2s; }
.tr-incart:hover { background: color-mix(in srgb, var(--accent) 26%, transparent); }
.tr-incart b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12px; }
.tr-incart b[hidden] { display: none; }
.tr-incart .jt-icon { width: 16px; height: 16px; }
.tr-incart__go { color: var(--primary); }
.tr--a .tr-incart__go { color: var(--gold); }

/* WooCommerce notices inside the card */
.tr-notices:empty { display: none; }
.tr-notices ul, .tr-notices .woocommerce-message, .tr-notices .woocommerce-error, .tr-notices .woocommerce-info { margin: 0; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; list-style: none; }
.tr-notices .woocommerce-message { background: color-mix(in srgb, var(--wa) 16%, transparent); color: var(--ink-strong); }
.tr-notices .woocommerce-message .button { display: none; }
.tr-notices .woocommerce-error { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--ink-strong); }
.tr-notices .woocommerce-error li { margin: 0; }
.tr-field.is-invalid input { border-color: var(--primary); animation: tr-shake .4s; }
@keyframes tr-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ---------- date picker (flatpickr) in the site style ---------- */
.flatpickr-calendar {
	border-radius: 18px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 24px 60px -20px rgb(0 0 0 / 50%);
	font-family: var(--font-body); width: 320px; padding: 6px;
}
.flatpickr-calendar.arrowTop::before, .flatpickr-calendar.arrowTop::after { display: none; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month .flatpickr-monthDropdown-months, .flatpickr-current-month input.cur-year { color: var(--ink-strong); fill: var(--ink-strong); font-weight: 800; }
.flatpickr-current-month { font-size: 15px; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { fill: var(--ink-strong); padding: 10px 14px; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--primary); }
span.flatpickr-weekday { color: var(--muted); font-weight: 700; font-size: 12px; }
.flatpickr-day { border-radius: 12px; color: var(--ink-strong); font-weight: 600; max-width: none; height: 40px; line-height: 40px; }
.flatpickr-day:hover { background: var(--nav-hover); border-color: transparent; }
.flatpickr-day.today { border-color: var(--gold); }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: var(--muted); opacity: .4; }
.flatpickr-day.jt-guaranteed:not(.selected) { background: color-mix(in srgb, var(--wa) 18%, transparent); }
.flatpickr-day.jt-guaranteed::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--wa); }
.flatpickr-day { position: relative; }
.flatpickr-innerContainer, .flatpickr-rContainer, .dayContainer, .flatpickr-days { width: 100% !important; max-width: none; min-width: 0; }
.jt-cal-legend { display: flex; align-items: center; gap: 8px; padding: 8px 10px 6px; font-size: 12px; color: var(--muted); }
.jt-cal-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); }

/* ---------- related ---------- */
.tr-related { margin-bottom: 0; }
.tr--c .tr-related { margin-top: 0; }

/* ---------- mobile booking bar ---------- */
.tr-mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
	.tr-body { grid-template-columns: minmax(0, 1fr) 320px; }
	.tr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
	.tr-body { grid-template-columns: minmax(0, 1fr); }
	.tr-book { position: relative; top: 0; order: -1; }
	.tr-hero--c { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 300px auto; height: auto; }
	.tr-hero--c .tr-hero__main { grid-row: auto; min-height: 380px; }
}
@media (max-width: 1023.98px) {
	.tr-hero--a { height: auto; min-height: 560px; }
	.tr-mbar {
		position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink-strong); color: #fff;
		box-shadow: 0 16px 40px -12px rgb(0 0 0 / 50%);
		transform: translateY(140%); transition: transform .4s var(--ease);
	}
	.tr-mbar.is-visible { transform: none; }
	.tr-mbar .jt-price { color: rgb(255 255 255 / 70%); }
	.tr-mbar .jt-price strong { color: #fff; }
	.tr--a ~ .tr-mbar, .jt--a .tr-mbar { background: #050e0a; border: 1px solid rgb(255 255 255 / 12%); }
	.jt-fab.is-visible { bottom: 84px; }
}
@media (max-width: 640px) {
	.tr-hero--a .tr-hero__content { bottom: 84px; }
	.tr-hero--a .tr-thumb { width: 54px; height: 40px; }
	.tr-hero--c .tr-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
	.tr-facts { grid-template-columns: 1fr 1fr; gap: 8px; }
	.tr-facts li { padding: 12px; gap: 8px; }
	.tr-facts .jt-icon { width: 34px; height: 34px; padding: 8px; }
	.tr-ask { grid-template-columns: 1fr; }
	.tr-timeline li { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
	.tr-timeline::before { left: 31px; }
	.tr-dates li { grid-template-columns: auto 1fr; }
	.tr-dates .jt-btn { grid-column: 1 / -1; }
	.flatpickr-calendar { width: calc(100vw - 32px); max-width: 340px; }
}

/* short laptop screens */
@media (min-width: 1024px) and (max-height: 820px) {
	.tr-hero--a { height: clamp(460px, calc(100svh - 110px), 760px); }
	.tr-hero--c { height: auto; }
	.tr-book { gap: 12px; padding: 18px; }
	.tr-book__head strong { font-size: 30px; }
	.tr-form { gap: 10px; }
	.tr input[type="text"], .tr input[type="number"], .tr select { min-height: 44px; padding-block: 10px; }
	.tr-stepper button { height: 44px; }
	.tr .tr-stepper input { min-height: 44px; }
	.tr-book__trust { display: none; }
}

/* ---------- price grid (from the original price paragraphs) ---------- */
.tr-prices { margin: 28px 0 8px; }
.tr-prices ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.tr-prices li { display: grid; align-content: start; gap: 4px; margin: 0; padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.tr-prices strong { font: 800 26px/1.1 var(--font-head); letter-spacing: -.03em; color: var(--ink-strong); }
.tr-prices span { font-size: 14px; line-height: 1.4; color: var(--ink); }
.tr-prices small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tr--a .tr-prices li:first-child { border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.tr--a .tr-prices li:first-child strong { color: var(--gold); }
.tr--c .tr-prices li { background: var(--sb-bg); border-color: transparent; }
.tr--c .tr-prices li:first-child { background: var(--gold); }
.tr--c .tr-prices li:first-child span, .tr--c .tr-prices li:first-child small { color: var(--ink-strong); }

/* scrollable tab bar: fade the cut-off edge */
.tr-tabs__bar.is-scrollable { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.tr-tabs__bar.is-scrollable.is-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%); mask-image: linear-gradient(90deg, transparent, #000 15%); }

/* long tour names ("Galibi (zeeschildpadden) en frans Guyana 2 of 3 dagen") */
.tr-title { overflow-wrap: anywhere; hyphens: auto; }
.tr-hero--a .tr-title--long { font-size: clamp(32px, min(calc(var(--col) * .046), 7vh), 60px); }
.tr-hero--c .tr-title--long { font-size: clamp(24px, min(calc(var(--col) * .034), 6vh), 42px); }

/* C thumbnails: one scrollable row, four visible */
.tr-hero--c .tr-thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 4); overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.tr-hero--c .tr-thumbs::-webkit-scrollbar { display: none; }

/* C bento hero keeps a fixed height only where it is side by side (stacked below 1181px) */
@media (min-width: 1181px) and (max-height: 820px) {
	.tr-hero--c { height: clamp(460px, calc(100svh - 110px), 680px); }
}

/* the drawer confirms a new booking: no second green message in the card */
.jt-js .tr-notices .woocommerce-message { display: none; }

/* WordPress admin bar (logged-in editors) */
.admin-bar .tr-tabs__bar { top: 48px; }

/* dark design A: native dropdown options readable (browsers draw them on a white sheet otherwise) */
.tr--a select option { background: #10241a; color: #e6ede4; }
.tr--a select option:checked { background: #1f6b47; color: #fff; }
