/* Tour Booking – front end
 * Brand tokens come from Settings → Design and are printed as CSS variables:
 * --tbk-bg, --tbk-text, --tbk-primary, --tbk-border, --tbk-radius, --tbk-font
 */

:root {
	--tbk-bg: #F8F6F3;
	--tbk-text: #142D36;
	--tbk-primary: #B54E15;
	--tbk-border: #E6E1DA;
	--tbk-radius: 14px;
	--tbk-font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.tbk {
	--tbk-muted: color-mix(in srgb, var(--tbk-text) 62%, transparent);
	--tbk-soft: color-mix(in srgb, var(--tbk-text) 5%, #fff);
	--tbk-primary-soft: color-mix(in srgb, var(--tbk-primary) 10%, #fff);
	--tbk-ok: #2F7D4F;
	--tbk-warn: #B7791F;
	--tbk-danger: #B42318;
	--tbk-shadow: 0 1px 2px rgba(20, 45, 54, .06), 0 8px 24px rgba(20, 45, 54, .08);
	font-family: var(--tbk-font);
	color: var(--tbk-text);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body.tbk-page { background: var(--tbk-bg); }
.tbk *, .tbk *::before, .tbk *::after { box-sizing: border-box; }
.tbk img { max-width: 100%; height: auto; display: block; }
.tbk a { color: inherit; }
.tbk [hidden] { display: none !important; }
.tbk-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.tbk-main { background: var(--tbk-bg); padding-bottom: 64px; }
.tbk-muted { color: var(--tbk-muted); }
.tbk-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--tbk-primary); }
.screen-reader-text, .tbk-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons ----------------------------------------------------------------- */
.tbk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px; border-radius: calc(var(--tbk-radius) - 4px);
	border: 1px solid transparent; font: 600 15px/1 var(--tbk-font); cursor: pointer;
	text-decoration: none; transition: background .15s, border-color .15s, transform .05s, opacity .15s;
}
.tbk-btn:active { transform: translateY(1px); }
.tbk-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--tbk-primary) 40%, transparent); outline-offset: 2px; }
.tbk-btn--primary { background: var(--tbk-primary); color: #fff !important; }
.tbk-btn--primary:hover { background: color-mix(in srgb, var(--tbk-primary) 88%, #000); }
.tbk-btn--primary:disabled { opacity: .45; cursor: not-allowed; }
.tbk-btn--ghost { background: #fff; color: var(--tbk-text); border-color: var(--tbk-border); }
.tbk-btn--ghost:hover { border-color: var(--tbk-text); }
.tbk-btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.tbk-btn--block { width: 100%; }
.tbk-btn.is-loading { pointer-events: none; opacity: .7; }
.tbk-link { background: none; border: 0; padding: 0; color: var(--tbk-primary); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Hero + search ------------------------------------------------------------ */
.tbk-hero {
	position: relative; isolation: isolate; overflow: hidden;
	padding: 96px 0 56px; margin-bottom: 32px; color: #fff;
	background: linear-gradient(135deg, var(--tbk-text), color-mix(in srgb, var(--tbk-text) 70%, var(--tbk-primary)));
}
.tbk-hero.has-image { padding-top: 160px; }
.tbk-hero__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; }
.tbk-hero.has-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 25, 30, .15) 0%, rgba(10, 25, 30, .65) 100%); }
.tbk-hero__title { margin: 0 0 8px; font-size: clamp(30px, 5vw, 52px); line-height: 1.1; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.tbk-hero__lead { margin: 0 0 28px; max-width: 620px; font-size: 17px; opacity: .92; }

.tbk-search {
	display: grid; grid-template-columns: 1.4fr 1fr .6fr auto; gap: 8px; align-items: end;
	background: #fff; color: var(--tbk-text); padding: 10px; border-radius: var(--tbk-radius); box-shadow: var(--tbk-shadow);
}
.tbk-search__field { display: flex; flex-direction: column; padding: 6px 12px; border-radius: calc(var(--tbk-radius) - 6px); }
.tbk-search__field + .tbk-search__field { border-left: 1px solid var(--tbk-border); }
.tbk-search__field label { font-size: 12px; font-weight: 600; color: var(--tbk-muted); margin-bottom: 2px; }
.tbk-search__field select, .tbk-search__field input {
	border: 0; padding: 4px 0; background: transparent; font: 500 16px/1.3 var(--tbk-font); color: var(--tbk-text); width: 100%; min-height: 32px; box-shadow: none;
}
.tbk-search__field select:focus, .tbk-search__field input:focus { outline: none; }
.tbk-search__field:focus-within { background: var(--tbk-soft); }
.tbk-search__submit { min-height: 54px; padding: 0 28px; }
.tbk-search--inline { box-shadow: none; border: 1px solid var(--tbk-border); }

/* Filters ----------------------------------------------------------------- */
.tbk-filters { margin-bottom: 24px; }
.tbk-filters__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.tbk-filters__count { margin: 0; font-weight: 600; }
.tbk-filters__toggle { display: none; }
.tbk-filters__form { display: flex; flex-wrap: wrap; gap: 12px; }
.tbk-filters__field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--tbk-muted); }
.tbk-filters__field select {
	min-width: 170px; min-height: 42px; padding: 0 12px; border: 1px solid var(--tbk-border); border-radius: calc(var(--tbk-radius) - 6px);
	background: #fff; font: 500 14px var(--tbk-font); color: var(--tbk-text);
}

/* Grid + cards ------------------------------------------------------------ */
.tbk-grid { display: grid; gap: 24px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.tbk-grid--1 { --cols: 1; } .tbk-grid--2 { --cols: 2; } .tbk-grid--3 { --cols: 3; } .tbk-grid--4 { --cols: 4; }
.tbk-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--tbk-border); border-radius: var(--tbk-radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.tbk-card:hover { box-shadow: var(--tbk-shadow); transform: translateY(-2px); }
.tbk-card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--tbk-soft); overflow: hidden; }
.tbk-card__media img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s; }
.tbk-card:hover .tbk-card__media img { transform: scale(1.03); }
.tbk-card__placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, var(--tbk-soft), var(--tbk-primary-soft)); }
.tbk-badge { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .94); color: var(--tbk-text); padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.tbk-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.tbk-card__title { margin: 0 0 8px; font-size: 18px; line-height: 1.35; font-weight: 650; }
.tbk-card__title a { text-decoration: none; }
.tbk-card__title a:hover { color: var(--tbk-primary); }
.tbk-card__meta { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; color: var(--tbk-muted); display: grid; gap: 2px; }
.tbk-card__few { color: var(--tbk-primary); font-weight: 600; }
.tbk-card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--tbk-border); }
.tbk-card__price { margin: 0; line-height: 1.2; }
.tbk-card__price small { display: inline-block; font-size: 12px; color: var(--tbk-muted); }
.tbk-card__price strong { display: block; font-size: 20px; color: var(--tbk-text); }
.tbk-card__price del { font-size: 13px; color: var(--tbk-muted); margin-right: 4px; }
.tbk-empty { padding: 48px 24px; text-align: center; background: #fff; border: 1px dashed var(--tbk-border); border-radius: var(--tbk-radius); }
.tbk-pagination { margin-top: 32px; display: flex; justify-content: center; gap: 6px; }
.tbk-pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--tbk-border); background: #fff; text-decoration: none; padding: 0 10px; }
.tbk-pagination .current { background: var(--tbk-text); color: #fff; border-color: var(--tbk-text); }

/* Tour header ------------------------------------------------------------- */
.tbk-tour__header { padding-top: 32px; }
.tbk-tour__title { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.tbk-tour__tagline { margin: 0 0 16px; font-size: 18px; color: var(--tbk-muted); }
.tbk-facts { list-style: none; margin: 12px 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.tbk-facts__item { display: flex; flex-direction: column; }
.tbk-facts__label { font-size: 12px; color: var(--tbk-muted); }
.tbk-facts__value { font-weight: 600; }

.tbk-gallery { position: relative; display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; border-radius: var(--tbk-radius); overflow: hidden; }
.tbk-gallery__item { position: relative; display: block; overflow: hidden; background: var(--tbk-soft); }
.tbk-gallery__item img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s; }
.tbk-gallery__item:hover img { transform: scale(1.03); }
.tbk-gallery__item:first-child { grid-row: span 2; }
.tbk-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 440px; }
.tbk-gallery--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 440px; }
.tbk-gallery--2 .tbk-gallery__item:first-child { grid-row: auto; }
.tbk-gallery--3 { grid-template-columns: 2fr 1fr; }
.tbk-gallery--4 .tbk-gallery__item:nth-child(4) { grid-column: span 2; }
.tbk-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 25, 30, .5); color: #fff; font-size: 24px; font-weight: 700; }
.tbk-gallery__all { position: absolute; right: 14px; bottom: 14px; background: #fff; border: 0; border-radius: 10px; padding: 9px 14px; font: 600 14px var(--tbk-font); color: var(--tbk-text); cursor: pointer; box-shadow: var(--tbk-shadow); }

.tbk-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(8, 18, 22, .94); display: flex; align-items: center; justify-content: center; }
.tbk-lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.tbk-lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.tbk-lightbox button:hover { background: rgba(255, 255, 255, .24); }
.tbk-lightbox__close { top: 16px; right: 16px; }
.tbk-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.tbk-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.tbk-lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; }

/* Body layout 65 / 35 ----------------------------------------------------- */
.tbk-tour__body { display: grid; grid-template-columns: minmax(0, 65fr) minmax(0, 35fr); gap: 40px; margin-top: 32px; align-items: start; }
.tbk-section { padding: 28px 0; border-bottom: 1px solid var(--tbk-border); scroll-margin-top: 90px; }
.tbk-section:first-child { padding-top: 0; }
.tbk-section:last-child { border-bottom: 0; }
.tbk-section__title { margin: 0 0 16px; font-size: 22px; font-weight: 700; line-height: 1.3; }
.tbk-prose > :first-child { margin-top: 0; }
.tbk-prose > :last-child { margin-bottom: 0; }
.tbk-prose p { margin: 0 0 12px; }

.tbk-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tbk-checklist li { position: relative; padding-left: 30px; }
.tbk-checklist li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
	background: var(--tbk-primary-soft) no-repeat center / 12px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='%23B54E15' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.tbk-checklist--highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.tbk-checklist--in li::before { background-color: color-mix(in srgb, var(--tbk-ok) 12%, #fff); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='%232F7D4F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tbk-checklist--out li::before { background-color: color-mix(in srgb, var(--tbk-danger) 10%, #fff); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3L3 9' fill='none' stroke='%23B42318' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.tbk-checklist--surcharge li::before { background-color: color-mix(in srgb, var(--tbk-warn) 12%, #fff); 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.5v7M2.5 6h7' fill='none' stroke='%23B7791F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }

.tbk-includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.tbk-includes__title { margin: 0 0 12px; font-size: 16px; font-weight: 650; }

.tbk-itinerary { position: relative; }
.tbk-itinerary__toggle { position: absolute; right: 0; top: -46px; font-size: 14px; }
.tbk-itinerary__list { list-style: none; margin: 0; padding: 0; position: relative; }
.tbk-itinerary__list::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--tbk-border); }
.tbk-itinerary__day { position: relative; margin: 0 0 10px; }
.tbk-itinerary__day details { background: #fff; border: 1px solid var(--tbk-border); border-radius: var(--tbk-radius); margin-left: 48px; }
.tbk-itinerary__day summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 44px 14px 16px; cursor: pointer; font-weight: 650; position: relative; }
.tbk-itinerary__day summary::-webkit-details-marker { display: none; }
.tbk-itinerary__day summary::after, .tbk-faq__item summary::after {
	content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; opacity: .6;
}
.tbk-itinerary__day details[open] summary::after, .tbk-faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.tbk-itinerary__num { position: absolute; left: -48px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--tbk-text); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }
.tbk-itinerary__day details[open] .tbk-itinerary__num { background: var(--tbk-primary); }
.tbk-itinerary__content { padding: 0 16px 16px; color: color-mix(in srgb, var(--tbk-text) 88%, transparent); }

.tbk-pickups { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tbk-pickups__item { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 12px 16px; background: #fff; border: 1px solid var(--tbk-border); border-radius: calc(var(--tbk-radius) - 4px); }
.tbk-pickups__time { font-weight: 700; color: var(--tbk-primary); font-variant-numeric: tabular-nums; }
.tbk-pickups__name { flex: 1; }
.tbk-pickups__price { font-size: 14px; color: var(--tbk-muted); }

.tbk-faq { display: grid; gap: 8px; }
.tbk-faq__item { background: #fff; border: 1px solid var(--tbk-border); border-radius: calc(var(--tbk-radius) - 4px); }
.tbk-faq__item summary { list-style: none; cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 600; position: relative; }
.tbk-faq__item summary::-webkit-details-marker { display: none; }
.tbk-faq__item .tbk-prose { padding: 0 16px 16px; }
.tbk-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--tbk-radius); overflow: hidden; background: #000; }
.tbk-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tbk-embed--map { background: var(--tbk-soft); aspect-ratio: 16 / 10; }

/* Booking card ------------------------------------------------------------ */
.tbk-tour__aside { position: relative; height: 100%; }
.tbk-booking.is-sticky .tbk-booking__card { position: sticky; top: calc(24px + var(--wp-admin--admin-bar--height, 0px)); }
.tbk-booking__card { background: #fff; border: 1px solid var(--tbk-border); border-radius: var(--tbk-radius); box-shadow: var(--tbk-shadow); padding: 22px; }
.tbk-booking__close, .tbk-booking__backdrop, .tbk-mobilebar { display: none; }
.tbk-booking__head { display: flex; flex-direction: column; margin-bottom: 16px; }
.tbk-booking__from { font-size: 13px; color: var(--tbk-muted); }
.tbk-booking__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tbk-booking__price strong { font-size: 28px; line-height: 1.15; }
.tbk-booking__price del { color: var(--tbk-muted); font-size: 15px; }
.tbk-booking__per { font-size: 14px; color: var(--tbk-muted); }

.tbk-segment { display: grid; grid-template-columns: 1fr 1fr; background: var(--tbk-soft); padding: 4px; border-radius: 12px; margin-bottom: 16px; }
.tbk-segment button { border: 0; background: transparent; padding: 10px; border-radius: 9px; font: 600 14px var(--tbk-font); color: var(--tbk-muted); cursor: pointer; }
.tbk-segment button.is-active { background: #fff; color: var(--tbk-text); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

.tbk-form__intro { margin: 0 0 14px; font-size: 14px; color: var(--tbk-muted); }
.tbk-step { padding: 14px 0; border-top: 1px solid var(--tbk-border); }
.tbk-step__title { display: block; margin: 0 0 10px; font-size: 14px; font-weight: 700; }

.tbk-cal__nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tbk-cal__month { font-weight: 650; text-transform: capitalize; }
.tbk-cal__arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--tbk-border); background: #fff; cursor: pointer; font-size: 18px; line-height: 1; color: var(--tbk-text); }
.tbk-cal__arrow:disabled { opacity: .35; cursor: default; }
.tbk-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.tbk-cal__dow { text-align: center; font-size: 11px; font-weight: 600; color: var(--tbk-muted); padding: 4px 0; text-transform: uppercase; }
.tbk-cal__day {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
	min-height: 48px; padding: 4px 0; border-radius: 10px; border: 1px solid transparent; background: transparent;
	font: 500 14px var(--tbk-font); color: color-mix(in srgb, var(--tbk-text) 35%, transparent);
}
.tbk-cal__day small { font-size: 10px; font-weight: 600; line-height: 1; }
.tbk-cal__day.is-available { cursor: pointer; color: var(--tbk-text); background: var(--tbk-soft); }
.tbk-cal__day.is-available small { color: var(--tbk-ok); }
.tbk-cal__day.is-few small { color: var(--tbk-primary); }
.tbk-cal__day.is-available:hover { border-color: var(--tbk-text); }
.tbk-cal__day.is-full, .tbk-cal__day.is-closed { color: color-mix(in srgb, var(--tbk-text) 35%, transparent); text-decoration: line-through; }
.tbk-cal__day.is-selected { background: var(--tbk-text); color: #fff; border-color: var(--tbk-text); }
.tbk-cal__day.is-selected small { color: #fff; }
.tbk-cal__day.is-today::after { content: ""; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.tbk-cal__empty { font-size: 14px; color: var(--tbk-muted); margin: 8px 0 0; }
.tbk-cal.is-loading .tbk-cal__grid { opacity: .5; }
.tbk-selected { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--tbk-primary-soft); font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.tbk-selected strong { font-weight: 650; }

.tbk-stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.tbk-stepper__label { display: flex; flex-direction: column; font-size: 15px; }
.tbk-stepper__price { color: var(--tbk-muted); font-size: 13px; }
.tbk-stepper__ctrl { display: flex; align-items: center; gap: 4px; }
.tbk-stepper__btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--tbk-border); background: #fff; color: var(--tbk-text); font-size: 18px; line-height: 1; cursor: pointer; }
.tbk-stepper__btn:hover:not(:disabled) { border-color: var(--tbk-text); }
.tbk-stepper__btn:disabled { opacity: .35; cursor: default; }
.tbk-stepper input { width: 40px; text-align: center; border: 0; background: transparent; font: 600 16px var(--tbk-font); color: var(--tbk-text); -moz-appearance: textfield; padding: 0; box-shadow: none; }
.tbk-stepper input::-webkit-outer-spin-button, .tbk-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.tbk-select, .tbk-input input, .tbk-input textarea, .tbk-input select {
	width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--tbk-border); border-radius: 10px;
	background: #fff; font: 400 15px/1.4 var(--tbk-font); color: var(--tbk-text); box-shadow: none;
}
.tbk-select:focus, .tbk-input input:focus, .tbk-input textarea:focus, .tbk-input select:focus { outline: none; border-color: var(--tbk-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tbk-text) 10%, transparent); }
.tbk-input { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; flex: 1; min-width: 0; }
.tbk-input label { font-size: 13px; font-weight: 600; }
.tbk-input.has-error input { border-color: var(--tbk-danger); }
.tbk-input-row { display: flex; gap: 10px; }

.tbk-extra { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 0; cursor: pointer; font-size: 15px; }
.tbk-extra input, .tbk-radio input { width: 18px; height: 18px; accent-color: var(--tbk-primary); margin: 0; }
.tbk-extra__price { font-size: 13px; color: var(--tbk-muted); }
.tbk-radio { display: flex; gap: 10px; align-items: center; padding: 6px 0; cursor: pointer; font-size: 15px; }

.tbk-summary { padding: 14px 0; border-top: 1px solid var(--tbk-border); font-size: 14px; }
.tbk-summary:empty { display: none; }
.tbk-summary__line { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: var(--tbk-muted); }
.tbk-summary__line span:last-child { color: var(--tbk-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbk-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; margin-top: 8px; border-top: 1px dashed var(--tbk-border); font-weight: 700; font-size: 17px; }
.tbk-summary__total span:last-child { font-size: 22px; }
.tbk-summary__due { display: flex; justify-content: space-between; padding-top: 4px; font-weight: 600; color: var(--tbk-primary); }
.tbk-message { margin: 10px 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; background: color-mix(in srgb, var(--tbk-danger) 8%, #fff); color: var(--tbk-danger); }
.tbk-message.is-success { background: color-mix(in srgb, var(--tbk-ok) 10%, #fff); color: var(--tbk-ok); }
.tbk-fineprint { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--tbk-muted); }

/* Departures table -------------------------------------------------------- */
.tbk-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--tbk-border); border-radius: var(--tbk-radius); overflow: hidden; font-size: 15px; }
.tbk-table th { text-align: left; font-size: 13px; color: var(--tbk-muted); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--tbk-border); background: var(--tbk-soft); }
.tbk-table td { padding: 12px 16px; border-bottom: 1px solid var(--tbk-border); vertical-align: middle; }
.tbk-table tr:last-child td { border-bottom: 0; }
.tbk-table tr.is-full, .tbk-table tr.is-closed { color: var(--tbk-muted); }
.tbk-table tr.is-few td:nth-child(3) { color: var(--tbk-primary); font-weight: 600; }

/* Confirmation / manage --------------------------------------------------- */
.tbk-confirm, .tbk-passengers, .tbk-notice { background: #fff; border: 1px solid var(--tbk-border); border-radius: var(--tbk-radius); padding: 24px; margin: 0 0 24px; }
.tbk-confirm__title { margin: 8px 0 6px; font-size: 24px; }
.tbk-confirm__head p { margin: 0; color: var(--tbk-muted); }
.tbk-confirm__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 20px 0; padding: 18px 0; border-block: 1px solid var(--tbk-border); }
.tbk-confirm__grid dt { font-size: 12px; color: var(--tbk-muted); margin: 0; }
.tbk-confirm__grid dd { margin: 2px 0 0; font-weight: 600; }
.tbk-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; letter-spacing: .04em; }
.tbk-confirm__meeting { background: var(--tbk-primary-soft); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.tbk-confirm__meeting h3 { margin: 0 0 6px; font-size: 16px; }
.tbk-status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--tbk-soft); }
.tbk-status--confirmed, .tbk-status--completed { background: color-mix(in srgb, var(--tbk-ok) 14%, #fff); color: var(--tbk-ok); }
.tbk-status--pending, .tbk-status--held, .tbk-status--quoted, .tbk-status--request { background: color-mix(in srgb, var(--tbk-warn) 15%, #fff); color: #8a5a12; }
.tbk-status--cancelled, .tbk-status--expired, .tbk-status--needs_review { background: color-mix(in srgb, var(--tbk-danger) 10%, #fff); color: var(--tbk-danger); }
.tbk-passengers h2 { margin-top: 0; }
.tbk-passenger { border: 1px solid var(--tbk-border); border-radius: 12px; padding: 14px 16px 6px; margin: 0 0 14px; }
.tbk-passenger legend { padding: 0 6px; font-weight: 650; }

/* Tablet ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.tbk-grid--3, .tbk-grid--4 { --cols: 2; }
	.tbk-tour__body { grid-template-columns: 1fr; }
	.tbk-search { grid-template-columns: 1fr 1fr; }
	.tbk-search__field + .tbk-search__field { border-left: 0; }
	.tbk-search__field--guests { border-left: 0; }
	.tbk-search__submit { grid-column: span 2; }

	/* Booking card becomes a bottom sheet with a fixed bar. */
	.tbk-booking.has-mobile-bar .tbk-booking__card {
		position: fixed !important; left: 0; right: 0; bottom: 0; top: auto !important; z-index: 99999;
		max-height: 88vh; overflow-y: auto; overscroll-behavior: contain; border-radius: 20px 20px 0 0;
		padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); transform: translateY(105%); transition: transform .28s ease; box-shadow: 0 -10px 40px rgba(0, 0, 0, .2);
	}
	.tbk-booking.has-mobile-bar.is-open .tbk-booking__card { transform: none; }
	.tbk-booking.has-mobile-bar .tbk-booking__close { display: block; position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--tbk-soft); font-size: 22px; cursor: pointer; color: var(--tbk-text); }
	.tbk-booking.has-mobile-bar .tbk-booking__backdrop { display: block; position: fixed; inset: 0; z-index: 99998; background: rgba(8, 18, 22, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
	.tbk-booking.has-mobile-bar.is-open .tbk-booking__backdrop { opacity: 1; pointer-events: auto; }
	.tbk-booking.has-mobile-bar .tbk-mobilebar {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99990; align-items: center; justify-content: space-between; gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--tbk-border); box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
	}
	.tbk-mobilebar__price { display: flex; flex-direction: column; line-height: 1.2; }
	.tbk-mobilebar__price small { font-size: 12px; color: var(--tbk-muted); }
	.tbk-mobilebar__price strong { font-size: 19px; }
	body.tbk-sheet-open { overflow: hidden; }
	.tbk-tour__aside { height: auto; }
	body.tbk-page .tbk-main { padding-bottom: 96px; }
}

/* Phone ------------------------------------------------------------------- */
@media (max-width: 640px) {
	.tbk-container { padding-inline: 16px; }
	.tbk-grid, .tbk-grid--2, .tbk-grid--3, .tbk-grid--4 { --cols: 1; gap: 18px; }
	.tbk-hero { padding: 56px 0 28px; }
	.tbk-hero.has-image { padding-top: 110px; }
	.tbk-search { grid-template-columns: 1fr; padding: 8px; }
	.tbk-search__submit { grid-column: auto; }
	.tbk-search__field + .tbk-search__field { border-top: 1px solid var(--tbk-border); }
	.tbk-filters__toggle { display: inline-flex; }
	.tbk-filters__form { display: none; padding: 14px; background: #fff; border: 1px solid var(--tbk-border); border-radius: var(--tbk-radius); }
	.tbk-filters.is-open .tbk-filters__form { display: grid; grid-template-columns: 1fr; }
	.tbk-filters__field select { width: 100%; }
	.tbk-gallery, .tbk-gallery--3, .tbk-gallery--4, .tbk-gallery--5 { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 110px; margin-inline: -16px; border-radius: 0; }
	.tbk-gallery__item:first-child { grid-column: span 2; grid-row: auto; }
	.tbk-gallery__item:nth-child(n+4) { display: none; }
	.tbk-gallery--1, .tbk-gallery--2 { grid-template-rows: 260px; }
	.tbk-checklist--highlights { grid-template-columns: 1fr; }
	.tbk-input-row { flex-direction: column; gap: 0; }
	.tbk-table thead { display: none; }
	.tbk-table, .tbk-table tbody, .tbk-table tr, .tbk-table td { display: block; width: 100%; }
	.tbk-table tr { padding: 12px 14px; border-bottom: 1px solid var(--tbk-border); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
	.tbk-table td { padding: 0; border: 0; }
	.tbk-table td:nth-child(4) { grid-row: 1 / span 3; grid-column: 2; align-self: center; }
	.tbk-itinerary__toggle { position: static; margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.tbk *, .tbk *::before, .tbk *::after { transition: none !important; }
}

/* Hotels & rooms ---------------------------------------------------------- */
.tbk-search--hotel { grid-template-columns: 1.3fr 1fr 1fr .6fr auto; }
.tbk-stars { color: #E0A21B; letter-spacing: 1px; font-size: .6em; vertical-align: middle; margin-left: 8px; white-space: nowrap; }
.tbk-badge.tbk-stars { font-size: 12px; margin: 0; color: #E0A21B; }

.tbk-rooms { display: grid; gap: 16px; }
.tbk-roomcard { display: grid; grid-template-columns: 240px minmax(0, 1fr); background: #fff; border: 1px solid var(--tbk-border); border-radius: var(--tbk-radius); overflow: hidden; }
.tbk-roomcard__media { position: relative; min-height: 180px; background: var(--tbk-soft); }
.tbk-roomcard__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.tbk-roomcard__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.tbk-roomcard__title { margin: 0; font-size: 18px; font-weight: 650; }
.tbk-roomcard__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--tbk-muted); }
.tbk-roomcard__desc { font-size: 14px; }
.tbk-roomcard__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--tbk-border); }
.tbk-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tbk-chips li { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--tbk-soft); }

.tbk-stay { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--tbk-primary); }
.tbk-optional { font-weight: 500; font-size: 12px; color: var(--tbk-muted); margin-left: 6px; }
.tbk-roomlist { display: grid; gap: 8px; }
.tbk-roomlist__hint { margin: 0; font-size: 14px; }
.tbk-room { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--tbk-border); border-radius: 12px; background: #fff; transition: border-color .15s, background .15s; }
.tbk-room.is-selected { border-color: var(--tbk-text); background: var(--tbk-soft); }
.tbk-room.is-soldout { opacity: .55; }
.tbk-room__img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--tbk-soft); display: block; }
.tbk-room__info { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.tbk-room__info strong { font-size: 14px; }
.tbk-room__info small { font-size: 12px; color: var(--tbk-muted); }
.tbk-room__price { font-size: 13px; font-weight: 650; margin-top: 2px; }
.tbk-room__price small { font-weight: 400; }
.tbk-room__left { color: var(--tbk-primary) !important; font-weight: 600; }
.tbk-room__beds { grid-column: 2 / -1; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; padding-top: 6px; border-top: 1px dashed var(--tbk-border); }
.tbk-room__beds small { color: var(--tbk-muted); }
.tbk-stepper--mini { padding: 0; }
.tbk-stepper--mini .tbk-stepper__btn { width: 30px; height: 30px; font-size: 16px; }
.tbk-stepper--mini input { width: 30px; font-size: 15px; }
.tbk-dates .tbk-input { margin-bottom: 0; }

@media (max-width: 1024px) {
	.tbk-search--hotel { grid-template-columns: 1fr 1fr; }
	.tbk-search--hotel .tbk-search__field:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
	.tbk-search--hotel { grid-template-columns: 1fr; }
	.tbk-search--hotel .tbk-search__field:first-child { grid-column: auto; }
	.tbk-roomcard { grid-template-columns: 1fr; }
	.tbk-roomcard__media { min-height: 190px; }
	.tbk-dates { flex-direction: row; gap: 8px; }
}
