/**
 * Tripthis Experience
 *
 * A single tour page for one `experience` post, modelled on the tripthis.eu
 * tour page. Colours follow the site's Elementor globals (primary #02819E,
 * secondary #31CEC3, text #051839) with the same fallbacks the other TripThis
 * plugins use; corners match the offer card (20px panels, 30px shells).
 */

.tte {
	--tte-primary: var(--e-global-color-primary, #02819E);
	--tte-secondary: var(--e-global-color-secondary, #31CEC3);
	--tte-ink: #232323;
	--tte-text: #5E6D77;
	--tte-line: #E9EDEF;
	--tte-panel: #F7F9FB;
	--tte-tint: rgba(2, 129, 158, 0.08);
	--tte-accent: #C3A283;
	--tte-ok: #1E9E5A;
	--tte-radius: 20px;
	--tte-shadow: 0 6px 24px rgba(16, 44, 53, 0.08);
	/* Height of the fixed site header (tripthis-top-navigation), which the
	   sticky section nav, sidebar and anchor jumps must clear. */
	--tte-sticky-top: 64px;
	/* Section card border — Elementor's "Border Light" global, as on the offer card. */
	--tte-border: var(--e-global-color-e6eb376, #C3A2836B);
	--tte-shell-radius: 30px;

	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 16px 40px;
	color: var(--tte-text);
	font-family: var(--e-global-typography-primary-font-family, "Poppins"), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

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

/* Neutralise the Elementor kit's global `button` look (teal fill, padding,
   pill radius); each component below restyles its own buttons with a
   `.tte .tte-…` selector so it outranks both this reset and the kit. */
.tte button {
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
}

.tte-svg {
	display: block;
	flex: 0 0 auto;
}

.tte .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Breadcrumbs + header
   ═══════════════════════════════════════════════════════════════════════════ */

.tte-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	padding: 18px 0;
	font-size: 14px;
}

.tte-crumbs a {
	color: var(--tte-primary);
	font-weight: 500;
	text-decoration: none;
}

.tte-crumbs a:hover {
	text-decoration: underline;
}

.tte-crumbs__sep {
	color: #B5BEC4;
}

.tte-crumbs__current {
	color: var(--tte-text);
}

.tte-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.tte .tte-head__title {
	margin: 0 0 8px;
	color: var(--tte-ink);
	font-family: inherit;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 700;
	line-height: 1.25;
}

.tte-head__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.tte-head__meta li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
}

.tte-head__meta .tte-svg {
	color: var(--tte-primary);
	font-size: 17px;
}

.tte-flag {
	display: block;
	width: 20px;
	height: auto;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.tte .tte-icon-btn {
	position: relative;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--tte-line);
	border-radius: 50%;
	background: #fff;
	color: var(--tte-ink) !important;
	font-size: 18px;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.tte .tte-icon-btn:hover {
	border-color: var(--tte-primary);
	background: #fff;
	color: var(--tte-primary) !important;
}

.tte-icon-btn__toast {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	padding: 6px 12px;
	border-radius: 8px;
	background: var(--tte-ink);
	color: #fff;
	font-size: 12px;
	white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Photo mosaic
   ═══════════════════════════════════════════════════════════════════════════ */

.tte-gallery {
	position: relative;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 8px;
	height: clamp(280px, 38vw, 480px);
	overflow: hidden;
	border-radius: var(--tte-radius);
}

.tte .tte-gallery__item {
	position: relative;
	display: block;
	min-width: 0;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	overflow: hidden;
	background: var(--tte-panel);
	cursor: zoom-in;
}

.tte .tte-gallery__item:first-child {
	grid-row: 1 / span 2;
}

.tte-gallery__img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

/* Fewer photos — collapse the mosaic. */
.tte-gallery--1 {
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
}

.tte-gallery--2 {
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr;
}

.tte-gallery--2 .tte-gallery__item:first-child {
	grid-row: auto;
}

.tte-gallery--3 {
	grid-template-columns: 2fr 1fr;
}

.tte-gallery--4 {
	grid-template-columns: 2fr 1fr 1fr;
}

.tte-gallery--4 .tte-gallery__item:last-of-type {
	grid-column: 2 / span 2;
}

.tte .tte-gallery__all {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--tte-ink) !important;
	font-size: 14px !important;
	font-weight: 600;
	cursor: pointer;
	box-shadow: var(--tte-shadow);
}

.tte .tte-gallery__all:hover {
	background: #fff;
	color: var(--tte-primary) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Section nav
   ═══════════════════════════════════════════════════════════════════════════ */

.tte-tabs {
	position: sticky;
	top: var(--tte-sticky-top);
	z-index: 20;
	display: flex;
	gap: 4px;
	margin: 24px 0 0;
	padding: 8px 0;
	overflow-x: auto;
	border-bottom: 1px solid var(--tte-line);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	scrollbar-width: none;
}

.tte-tabs::-webkit-scrollbar {
	display: none;
}

.tte-tabs__link {
	flex: 0 0 auto;
	padding: 8px 16px;
	border-radius: 999px;
	color: var(--tte-text);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.tte-tabs__link:hover,
.tte-tabs__link.is-active {
	background: var(--tte-tint);
	color: var(--tte-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Two-column layout
   ═══════════════════════════════════════════════════════════════════════════ */

.tte-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 40px;
	align-items: start;
	margin-top: 28px;
}

.tte-main {
	min-width: 0;
}

.tte-aside {
	position: sticky;
	top: calc(var(--tte-sticky-top) + 72px);
	min-width: 0;
}

/* ── Key-facts strip ────────────────────────────────────────────────────── */

.tte-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
}

.tte-strip__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 16px;
	border: 1px solid var(--tte-line);
	border-radius: 16px;
	background: #fff;
}

.tte-strip__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--tte-tint);
	color: var(--tte-primary);
	font-size: 20px;
}

.tte-strip__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.tte-strip__label {
	color: var(--tte-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.tte-strip__value {
	font-size: 13px;
	line-height: 1.45;
}

/* ── Sections ───────────────────────────────────────────────────────────── */

/* Each section is its own rounded card. */
.tte-section {
	margin-top: 20px;
	padding: 28px;
	border: 1px solid var(--tte-border);
	border-radius: var(--tte-shell-radius);
	background: #fff;
	scroll-margin-top: calc(var(--tte-sticky-top) + 60px);
}

.tte-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.tte .tte-section__title {
	margin: 0 0 18px;
	color: var(--tte-ink);
	font-family: inherit;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}

.tte .tte-link-btn {
	padding: 0;
	border: 0;
	background: none !important;
	color: var(--tte-primary) !important;
	font-size: 14px !important;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.tte .tte-link-btn:hover {
	text-decoration: underline;
}

.tte-prose {
	color: var(--tte-text);
}

.tte-prose > :first-child {
	margin-top: 0;
}

.tte-prose > :last-child {
	margin-bottom: 0;
}

.tte-prose p {
	margin: 0 0 12px;
}

.tte-prose strong {
	color: var(--tte-ink);
	font-weight: 600;
}

.tte-prose h3,
.tte-prose h4 {
	margin: 18px 0 8px;
	color: var(--tte-ink);
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
}

.tte-prose ul,
.tte-prose ol {
	margin: 0 0 12px;
	padding-left: 20px;
}

/* ── Package prices ─────────────────────────────────────────────────────── */

.tte-packages {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
	margin-top: 20px;
}

.tte-package {
	padding: 16px 18px;
	border-radius: 16px;
	background: var(--tte-panel);
}

.tte-package__label {
	display: block;
	font-size: 13px;
	font-weight: 500;
}

.tte-package__price {
	display: block;
	color: var(--tte-primary);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

.tte-package__note {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.5;
}

/* ── Facts list ─────────────────────────────────────────────────────────── */

.tte-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 24px;
	margin: 20px 0 0;
}

.tte-facts__row {
	padding: 12px 0;
	border-bottom: 1px dashed var(--tte-line);
}

.tte-facts dt {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--tte-ink);
	font-size: 14px;
	font-weight: 600;
}

.tte-facts dt .tte-svg {
	color: var(--tte-primary);
	font-size: 17px;
}

.tte-facts dd {
	margin: 2px 0 0 25px;
	font-size: 14px;
}

/* ── Itinerary ──────────────────────────────────────────────────────────── */

.tte-route {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: tte-route;
}

.tte-route__item {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0 0 16px 40px;
	counter-increment: tte-route;
}

/* Numbered dot + connecting line. */
.tte-route__item::before {
	content: counter(tte-route);
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--tte-tint);
	color: var(--tte-primary);
	font-size: 12px;
	font-weight: 700;
}

.tte-route__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 30px;
	bottom: 4px;
	left: 12px;
	width: 2px;
	background: var(--tte-line);
}

.tte-route__name {
	color: var(--tte-ink);
	font-weight: 500;
	line-height: 26px;
}

.tte-route__note {
	font-size: 14px;
}

/* ── Programme accordion ────────────────────────────────────────────────── */

.tte-days {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 4px;
}

.tte-day {
	border: 1px solid var(--tte-line);
	border-radius: 16px;
	background: #fff;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tte-day[open] {
	border-color: transparent;
	box-shadow: var(--tte-shadow);
}

.tte-day__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	cursor: pointer;
	list-style: none;
}

.tte-day__head::-webkit-details-marker {
	display: none;
}

.tte-day__num {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--tte-tint);
	color: var(--tte-primary);
	font-size: 14px;
	font-weight: 700;
	transition: background 0.2s ease, color 0.2s ease;
}

.tte-day[open] .tte-day__num {
	background: var(--tte-primary);
	color: #fff;
}

.tte-day__titles {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
}

.tte-day__title {
	color: var(--tte-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.tte-day__subtitle {
	font-size: 14px;
	line-height: 1.45;
}

.tte-day__chevron {
	flex: 0 0 auto;
	color: var(--tte-text);
	font-size: 22px;
	transition: transform 0.2s ease;
}

.tte-day[open] .tte-day__chevron {
	transform: rotate(180deg);
}

.tte-day__body {
	padding: 0 18px 18px 68px;
}

/* ── Included / extras / services lists ─────────────────────────────────── */

.tte-incl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.tte-incl__col {
	padding: 20px;
	border-radius: var(--tte-radius);
	background: var(--tte-panel);
}

.tte .tte-incl__title {
	margin: 0 0 12px;
	color: var(--tte-ink);
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
}

.tte-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tte-list__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

.tte-list__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--tte-ok);
	color: #fff;
	font-size: 14px;
}

.tte-incl__col--extra .tte-list__icon,
.tte-list--boxed .tte-list__icon {
	background: var(--tte-accent);
}

.tte-list__text {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--tte-ink);
}

.tte-list__text small {
	display: block;
	color: var(--tte-text);
	font-size: 13px;
}

.tte-list__price {
	flex: 0 0 auto;
	color: var(--tte-primary);
	font-weight: 700;
	white-space: nowrap;
}

.tte-list--boxed {
	gap: 0;
	border: 1px solid var(--tte-line);
	border-radius: 16px;
	overflow: hidden;
}

.tte-list--boxed .tte-list__item {
	align-items: center;
	padding: 12px 16px;
}

.tte-list--boxed .tte-list__item + .tte-list__item {
	border-top: 1px solid var(--tte-line);
}

/* ── Departures table ───────────────────────────────────────────────────── */

.tte-dates {
	border: 1px solid var(--tte-line);
	border-radius: 16px;
	overflow: hidden;
}

.tte-dates__row {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 0.9fr) auto;
	gap: 12px;
	align-items: center;
	padding: 12px 16px;
	transition: background 0.15s ease;
}

.tte-dates__row + .tte-dates__row {
	border-top: 1px solid var(--tte-line);
}

.tte-dates__row--head {
	background: var(--tte-panel);
	color: var(--tte-ink);
	font-size: 13px;
	font-weight: 600;
}

.tte-dates__row.is-selected {
	background: var(--tte-tint);
}

/* Rows past the first few stay hidden until "Rādīt visus datumus" — except
   the one picked in the booking card. */
.tte-dates:not(.is-expanded) .tte-dates__row.is-more:not(.is-selected) {
	display: none;
}

.tte .tte-dates__more {
	margin-top: 14px;
}

.tte-dates__range {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--tte-ink);
	font-weight: 500;
}

.tte-dates__range .tte-svg {
	color: var(--tte-primary);
}

.tte-dates__duration {
	font-size: 14px;
}

.tte-dates__price {
	color: var(--tte-primary);
	font-weight: 700;
}

/* ── Map ────────────────────────────────────────────────────────────────── */

.tte-map__label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: -6px 0 14px;
}

.tte-map__label .tte-svg {
	color: var(--tte-primary);
}

.tte-map {
	overflow: hidden;
	border-radius: var(--tte-radius);
	background: var(--tte-panel);
	aspect-ratio: 16 / 8;
}

.tte-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════════════════ */

.tte .tte-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 30px;
	font-family: inherit;
	font-size: 15px !important;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tte .tte-btn--primary {
	background: var(--tte-primary);
	color: #fff !important;
}

.tte .tte-btn--primary:hover {
	background: var(--tte-secondary);
	color: #fff !important;
}

.tte .tte-btn--ghost {
	padding: 8px 16px;
	border-color: var(--tte-primary);
	background: transparent !important;
	color: var(--tte-primary) !important;
	font-size: 13px !important;
}

.tte .tte-btn--ghost:hover,
.tte .is-selected .tte-btn--ghost {
	background: var(--tte-primary) !important;
	color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Booking card
   ═══════════════════════════════════════════════════════════════════════════ */

.tte-book {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--tte-border);
	border-radius: var(--tte-shell-radius);
	background: #fff;
	box-shadow: var(--tte-shadow);
}

.tte-book__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
}

.tte-book__from {
	font-size: 14px;
}

.tte-book__amount {
	color: var(--tte-ink);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
}

.tte-book__amount--ask {
	font-size: 20px;
}

.tte-book__per {
	font-size: 13px;
}

.tte-book__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.tte-book__label {
	display: block;
	color: var(--tte-text);
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tte-select {
	position: relative;
	display: block;
}

.tte-select select {
	width: 100%;
	height: 46px;
	padding: 0 40px 0 14px;
	border: 1px solid var(--tte-line);
	border-radius: 12px;
	background: var(--tte-panel);
	color: var(--tte-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	appearance: none;
	cursor: pointer;
}

.tte-select select:focus {
	border-color: var(--tte-primary);
	outline: none;
}

.tte-select .tte-svg {
	position: absolute;
	top: 50%;
	right: 12px;
	font-size: 20px;
	transform: translateY(-50%);
	pointer-events: none;
}

.tte-book__rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tte-book__rows li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--tte-ink);
	font-size: 14px;
}

.tte-book__rows .tte-svg {
	color: var(--tte-primary);
	font-size: 18px;
}

.tte .tte-book__cta {
	width: 100%;
	padding: 14px 22px;
	font-size: 16px !important;
}

.tte-book__provider {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--tte-line);
}

.tte-book__provider strong {
	color: var(--tte-ink);
	font-weight: 600;
}

.tte-book__avatar {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--tte-secondary);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}

.tte-book__note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
}

.tte-book__note .tte-svg {
	color: var(--tte-ok);
	font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Similar tours
   ═══════════════════════════════════════════════════════════════════════════ */

.tte-similar {
	margin-top: 32px;
	padding: 28px;
	border: 1px solid var(--tte-border);
	border-radius: var(--tte-shell-radius);
	background: #fff;
}

.tte .tte-similar .tte-section__title {
	font-size: 28px;
	font-weight: 700;
}

.tte-similar__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}

.tte-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--tte-line);
	border-radius: var(--tte-radius);
	background: #fff;
	color: inherit !important;
	text-decoration: none !important;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tte-card:hover {
	box-shadow: var(--tte-shadow);
	transform: translateY(-2px);
}

.tte-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--tte-panel);
}

.tte-card__img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.tte-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px 16px;
}

.tte-card__country {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
}

.tte-card__title {
	color: var(--tte-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.tte-card__date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
}

.tte-card__date .tte-svg {
	color: var(--tte-primary);
}

.tte-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 8px;
}

.tte-card__price {
	color: var(--tte-primary);
	font-size: 18px;
	font-weight: 700;
}

.tte-card__price small {
	color: var(--tte-text);
	font-size: 12px;
	font-weight: 500;
}

.tte-card__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-left: auto;
	border-radius: 50%;
	background: var(--tte-tint);
	color: var(--tte-primary);
	font-size: 18px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Lightbox
   ═══════════════════════════════════════════════════════════════════════════ */

.tte-lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(9, 20, 28, 0.94);
	color: #fff;
}

.tte-lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.tte-lightbox::backdrop {
	background: rgba(9, 20, 28, 0.94);
}

.tte-lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: calc(100vw - 140px);
	margin: 0;
}

.tte-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 110px);
	border-radius: 12px;
	object-fit: contain;
}

.tte-lightbox__count {
	font-size: 14px;
	opacity: 0.8;
}

.tte .tte-lightbox__close,
.tte .tte-lightbox__nav {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12) !important;
	color: #fff !important;
	font-size: 26px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.tte .tte-lightbox__close:hover,
.tte .tte-lightbox__nav:hover {
	background: rgba(255, 255, 255, 0.24) !important;
}

.tte .tte-lightbox__close {
	top: 20px;
	right: 20px;
}

.tte-lightbox__nav--prev {
	left: 20px;
}

.tte-lightbox__nav--next {
	right: 20px;
}

.tte-lightbox--single .tte-lightbox__nav {
	display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Mobile booking bar (shown when the sidebar stacks)
   ═══════════════════════════════════════════════════════════════════════════ */

.tte-mbar {
	display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {

	.tte-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.tte-aside {
		position: static;
		order: -1;
		margin-bottom: 20px;
	}

	.tte-mbar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--tte-line);
		background: #fff;
		box-shadow: 0 -6px 24px rgba(16, 44, 53, 0.08);
	}

	.tte-mbar__price {
		display: flex;
		align-items: baseline;
		gap: 6px;
	}

	.tte-mbar__price strong {
		color: var(--tte-ink);
		font-size: 20px;
		font-weight: 700;
	}

	.tte {
		padding-bottom: 96px;
	}
}

@media (max-width: 767px) {

	.tte-gallery {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 2fr 1fr;
		height: 340px;
		margin: 0 -16px;
		border-radius: 0;
	}

	.tte .tte-gallery__item:first-child {
		grid-column: 1 / span 2;
		grid-row: auto;
	}

	.tte .tte-gallery__item:nth-child(n + 4) {
		display: none;
	}

	.tte-gallery--1 {
		grid-template-columns: 1fr;
		grid-template-rows: 1fr;
		height: 260px;
	}

	.tte-gallery--1 .tte-gallery__item:first-child {
		grid-column: auto;
	}

	.tte-gallery--2 {
		grid-template-rows: 1fr;
	}

	.tte-gallery--2 .tte-gallery__item:first-child {
		grid-column: auto;
	}

	.tte-gallery--4 .tte-gallery__item:last-of-type {
		grid-column: auto;
	}

	.tte-facts {
		grid-template-columns: minmax(0, 1fr);
	}

	.tte-section,
	.tte-similar {
		padding: 20px 16px;
		border-radius: var(--tte-radius);
	}

	.tte .tte-section__title {
		font-size: 21px;
	}

	.tte-day__body {
		padding-left: 18px;
	}

	.tte-dates__row {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 4px 12px;
	}

	.tte-dates__row--head {
		display: none;
	}

	.tte-dates__range {
		grid-column: 1;
	}

	.tte-dates__duration {
		grid-column: 1;
		grid-row: 2;
	}

	.tte-dates__price {
		grid-column: 2;
		grid-row: 1;
		text-align: right;
	}

	.tte-dates__row > :last-child {
		grid-column: 2;
		grid-row: 2;
	}

	.tte-map {
		aspect-ratio: 4 / 3;
	}

	.tte-lightbox__figure {
		max-width: 100vw;
	}

	.tte .tte-lightbox__nav {
		top: auto;
		bottom: 20px;
	}
}
