/**
 * TripThis Search
 * Styling matched to the `.search-form.st-border-radius` bar on tripthis.eu:
 * white rounded (8px) horizontal bar, 16px/500 labels (#232323), muted input
 * text (#5e6d77), deep-teal icons (#02819e) and a #31cec1 search button.
 */

.tts-search {
	--tts-primary: #02819e;
	--tts-accent: #31cec1;
	--tts-accent-dark: #24b3a7;
	--tts-text: #232323;
	--tts-muted: #5e6d77;
	--tts-border: #e9edef;
	--tts-radius: 30px;
	--tts-shadow: 0 6px 24px rgba(16, 44, 53, 0.1);

	position: relative;
	width: 100%;
	font-size: 14px;
	color: var(--tts-text);
}

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

.tts-search button {
	font: inherit;
	background: none;
	border: 0;
	cursor: pointer;
	color: inherit;
}

/* ------------------------------------------------------------------ pills */

.tts-pills {
	display: inline-flex;
	gap: 4px;
	padding: 9px;
	margin-bottom: 12px;
	background: rgba(255, 255, 255, 0.9);
	border-radius: 999px;
	box-shadow: var(--tts-shadow);
        border: 1px solid #DEDEDE !important;
}

.tts-pill {
	padding: 7px 16px !important;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tts-muted);
	transition: background 0.15s ease, color 0.15s ease;
}

.tts-pill:hover {
	color: var(--tts-primary);
}

.tts-pill.is-active {
	background: var(--tts-primary);
	color: #fff;
}

/* -------------------------------------------------------------------- bar */

.tts-bar.search-form.st-border-radius {
	background: #fff;
	border-radius: var(--tts-radius);
	box-shadow: var(--tts-shadow);
        border: 1px solid #DEDEDE !important;
}

.tts-bar-inner {
	display: flex;
	align-items: stretch;
	min-height: 82px;
	padding: 10px;
	gap: 0;
}

.tts-field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 20px;
	min-width: 0;
}

/* 30px divider centered between adjacent fields. */
.tts-field + .tts-field::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 30px;
	background: var(--tts-border);
}

.tts-field-dest {
	flex: 1 1 40%;
}

.tts-field-dates {
	flex: 0 0 auto;
	min-width: 400px;
}

.tts-field-guests {
	flex: 0 0 auto;
}

/* Packages & Latvija: all fields share the bar width equally. */
.tts-form-packages .tts-field,
.tts-form-latvija .tts-field {
	flex: 1 1 0;
	min-width: 0;
}

.tts-field-icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: var(--tts-primary);
}

.tts-icon-location,
.tts-icon-calendar,
.tts-icon-guests,
.tts-icon-tag {
	background-color: currentColor;
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
}

.tts-icon-location {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.tts-icon-calendar {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}

.tts-icon-guests {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.tts-icon-tag {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.83z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.83z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E");
}

.tts-field-body {
	flex: 1 1 auto;
	min-width: 0;
	padding: 8px 0;
}

.tts-field-body > label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 500;
	color: var(--tts-text);
	line-height: 1.3;
}

/* ----------------------------------------------------- destination + chips */

.tts-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.tts-search input[type="text"] {
	border-radius: 20px !important;
	font-size: 16px !important;
}

.tts-chips input {
	flex: 1 1 120px;
	min-width: 100px;
	border: 0;
	outline: none;
	background: transparent;
	padding: 2px 0;
	color: var(--tts-muted);
}

.tts-chips input::placeholder {
	color: var(--tts-muted);
	opacity: 0.8;
}

.tts-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 6px 2px 10px;
	background: rgba(49, 206, 193, 0.14);
	border-radius: 999px;
	font-size: 13px;
	color: var(--tts-primary);
	white-space: nowrap;
}

.tts-chip-x {
	padding: 0 !important;
	background: none !important;
	font-size: 12px;
	line-height: 1;
	color: var(--tts-primary) !important;
	opacity: 0.7;
	display: inline-flex;
	align-items: center;
}

.tts-chip-x:hover {
	opacity: 1;
}

/* -------------------------------------------------------------- categories */

.tts-field-cats {
	flex: 1 1 28%;
	min-width: 220px;
}

.tts-cat-trigger {
	cursor: pointer;
	display: block;
        width: 100%;
        background: none !important;
        padding: 8px 15px 8px 15px !important;
        border-radius: 20px !important;
        border: 1px solid var(--e-global-color-ea47fe3) !important;
        text-align: left;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 2em !important;
        color: var(--tts-muted) !important;
        text-transform: none !important;
        white-space: nowrap;
        
        
}

.tts-cat-placeholder {
	padding: 2px 0;
	font-size: 16px;
	color: var(--tts-muted);
	opacity: 0.8;
	white-space: nowrap;
}

.tts-cat-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	min-width: 280px;
	z-index: 10000;
	background: #fff;
	border-radius: var(--tts-radius);
	box-shadow: var(--tts-shadow);
	padding: 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tts-cat-menu[hidden] {
	display: none;
}

.tts-cat-option {
	padding: 7px 16px !important;
	border: 1px solid var(--tts-border) !important;
	border-radius: 999px !important;
	background: #fff !important;
	font-size: 13px;
	font-weight: 500;
	color: var(--tts-text) !important;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tts-cat-option:hover {
	border-color: var(--tts-accent) !important;
	color: var(--tts-primary) !important;
}

.tts-cat-option.is-selected {
	background: var(--tts-accent) !important;
	border-color: var(--tts-accent) !important;
	color: #fff !important;
}

/* ------------------------------------------------------------- suggestions */

.tts-suggest {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 10000;
	background: #fff;
	border-radius: var(--tts-radius);
	box-shadow: var(--tts-shadow);
	overflow: hidden;
}

.tts-suggest ul {
	list-style: none;
	margin: 0;
	padding: 6px 0;
	max-height: 280px;
	overflow-y: auto;
}

.tts-suggest li {
	margin: 0;
}

.tts-suggest li > button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 9px 16px;
	text-align: left;
	background: none !important;
}

.tts-suggest li > button:hover {
	background: none !important;
}

.tts-sug-main {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.tts-sug-flag {
	width: 20px;
	height: 20px;
}

.tts-sug-flag[hidden] {
	display: none;
}

.tts-sug-name {
	font-size: 14px;
	color: var(--tts-text);
}

.tts-sug-tax {
	font-style: normal;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--tts-primary);
	background: rgba(2, 129, 158, 0.08);
	padding: 2px 8px;
	border-radius: 999px;
}

.tts-suggest-empty {
	margin: 0;
	padding: 12px 16px;
	font-size: 13px;
	color: var(--tts-muted);
}

/* ---------------------------------------------------------------- calendar */

.tts-date-display {
	display: block;
	width: 100%;
	background: none !important;
	padding: 8px 15px 8px 15px !important;
	border-radius: 20px !important;
	border: 1px solid var(--e-global-color-ea47fe3) !important;
	text-align: left;
	font-size: 16px  !important;
        font-weight: 500 !important;
        line-height: 2em !important;
	color: var(--tts-muted) !important;
        text-transform: none  !important;;
	white-space: nowrap;
}

.tts-cal {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 10000;
	background: #fff;
	border-radius: var(--tts-radius);
	box-shadow: var(--tts-shadow);
	padding: 16px;
	width: 580px;
	max-width: calc(100vw - 32px);
}

.tts-cal-nav {
	position: absolute;
	top: 16px;
	left: 16px;
	right: 16px;
	display: flex;
	justify-content: space-between;
	z-index: 1;
	pointer-events: none;
}

.tts-cal-nav button {
	pointer-events: auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	line-height: 1;
	color: var(--tts-text);
	background: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tts-cal-nav button i {
	font-size: 30px;
	line-height: 1;
}

.tts-cal-nav button:hover:not(:disabled) {
	background: rgba(2, 129, 158, 0.16) !important;
}

.tts-cal-nav button:disabled {
	opacity: 0.35;
	cursor: default;
}

.tts-cal-months {
	display: flex;
	gap: 24px;
}

.tts-cal-month {
	flex: 1 1 50%;
}

.tts-cal-title {
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: var(--tts-text);
	margin-bottom: 10px;
	line-height: 30px;
}

.tts-cal-week {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	margin-bottom: 4px;
}

.tts-cal-week span {
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	color: var(--tts-muted);
	padding: 4px 0;
}

.tts-cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 2px;
}

.tts-cal-day {
	aspect-ratio: 1;
	padding: 0 !important;
	border-radius: 50% !important;
	font-size: 13px;
	background: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tts-cal-day:not(:disabled):not(.is-selected) {
	color: var(--tts-text) !important;
}

.tts-cal-day:hover:not(:disabled):not(.is-empty) {
	background: rgba(49, 206, 193, 0.18) !important;
}

.tts-cal-day:disabled {
	color: #c3ccd1;
	cursor: default;
}

.tts-cal-day.is-empty {
	visibility: hidden;
}

.tts-cal-day.in-range {
	background: rgba(49, 206, 193, 0.16) !important;
}

.tts-cal-day.is-selected {
	background: var(--tts-accent) !important;
	color: #fff;
	font-weight: 600;
}

/* ---------------------------------------------------- calendar quick-picks */

.tts-cal-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--tts-border);
}

.tts-cal-quick-btn {
	padding: 7px 16px !important;
	border: 1px solid var(--tts-border) !important;
	border-radius: 999px !important;
	background: #fff !important;
	font-size: 13px;
	font-weight: 500;
	color: var(--tts-text) !important;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tts-cal-quick-btn:hover {
	border-color: var(--tts-accent) !important;
	color: var(--tts-primary) !important;
}

/* ------------------------------------------------------------------ guests */

/* Same bordered box as the date / destination fields (matched height). */
.tts-guests {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 8px 15px !important;
	border: 1px solid var(--e-global-color-ea47fe3) !important;
	border-radius: 20px !important;
	background: none !important;
	line-height: 2em;
}

.tts-guest-group {
	display: flex;
	align-items: center;
	gap: 6px;
}

.tts-guest-label {
	font-size: 16px;
	color: var(--tts-muted);
	white-space: nowrap;
}

.tts-guests select {
	border: 0 !important;
	background: none !important;
	padding: 0 4px !important;
	font-size: 16px;
	font-weight: 500;
	color: var(--tts-text);
	cursor: pointer;
}

/* ------------------------------------------------------------------ submit */

.tts-submit.btn-search {
	flex: 0 0 auto;
	align-self: center;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 12px;
	padding: 15px 35px;
	min-height: 60px;
	background: var(--tts-accent);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	border-radius: var(--tts-radius);
	transition: background 0.15s ease;
}

.tts-submit.btn-search:hover {
	background: var(--tts-accent-dark);
}

.tts-submit.is-loading {
	opacity: 0.7;
	pointer-events: none;
}

/* ----------------------------------------------------------- results popup */

.tts-results {
	position: absolute;
	top: calc(100% + 14px);
	left: 50%;
	z-index: 9999;
	width: 100vw;
	background: #fff;
	box-shadow: 0 18px 40px rgba(16, 44, 53, 0.18);
	display: flex;
	flex-direction: column;
	transform: translateX(-50%) translateY(10px);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
}

.tts-results.is-open {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
	visibility: visible;
	background: #e6eff1e8;
       -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
}

.tts-results-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid var(--tts-border);
}

.tts-results-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--tts-text);
}

.tts-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--tts-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.tts-close {
	background: none !important;
	padding: 0 !important;
	line-height: 1;
	color: var(--tts-primary) !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tts-close i {
	font-size: 30px;
	line-height: 1;
}

.tts-close:hover {
	color: #026a82;
}

.tts-results-body {
	position: relative;
	padding: 20px 24px;
}

.tts-results-scroll {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	padding-bottom: 8px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* legacy Edge/IE */
	cursor: grab;
}

.tts-results-scroll.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.tts-results-scroll::-webkit-scrollbar {
	display: none; /* Chrome / Safari */
}

.tts-results-scroll[hidden] {
	display: none;
}

/* --------------------------------------------------- loading skeletons */

.tts-skel-row {
	overflow-x: hidden;
}

.tts-skel {
	pointer-events: none;
}

.tts-skel-lines {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tts-skel-line {
	display: block;
	width: 100%;
	height: 14px;
	border-radius: 7px;
}

.tts-skel-line + .tts-skel-line {
	width: 65%;
}

.tts-skel-btn {
	display: block;
	width: 118px;
	height: 34px;
	border-radius: 6px;
}

.tts-shimmer {
	position: relative;
	overflow: hidden;
	background: #eef2f4;
}

.tts-shimmer::after {
	content: "";
	position: absolute;
	inset: 0;
	transform: translateX(-100%);
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.7),
		transparent
	);
	animation: tts-shimmer 1.4s ease-in-out infinite;
}

@keyframes tts-shimmer {
	100% {
		transform: translateX(100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tts-shimmer::after {
		animation: none;
	}
}

/* --------------------------------------------------------- scroll chevrons */

.tts-scroll-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 60px  !important;
	height: 60px  !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.45) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 4px 16px rgba(16, 44, 53, 0.2) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--e-global-color-6f8eb46) !important;
	padding: 0 !important;
}

/* The bound `hidden` attribute must beat the display:flex above. */
.tts-scroll-btn[hidden] {
	display: none !important;
}

.tts-scroll-btn:hover {
	background: rgba(255, 255, 255, 0.75) !important;
}

.tts-scroll-btn i {
	font-size: 26px;
	line-height: 1;
}

.tts-scroll-left {
	left: 34px;
}

.tts-scroll-right {
	right: 34px;
}

.tts-empty {
	margin: 8px 0;
	font-size: 14px;
	color: var(--tts-muted);
}

/* ------------------------------------------------------------------- cards */

.tts-card {
	position: relative;
	flex: 0 0 500px;
	width: 500px;
	height: 270px;
	display: flex;
	border: 1px solid var(--tts-border);
	border-radius: var(--tts-radius);
	overflow: hidden;
	background: #fff;
}

/* Overrides the display:flex above so the bound `hidden` attribute wins. */
.tts-card[hidden] {
	display: none;
}

/* ------------------------------------------------------- load-more card */

.tts-card-more {
	flex: 0 0 240px;
	width: 240px;
	align-items: center;
	justify-content: center;
	border-style: dashed;
	background: #f6f9fa;
}

.tts-more-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	color: var(--tts-primary);
	font-size: 15px;
	font-weight: 600;
}

.tts-more-circle {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 2px solid currentColor;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	transition: background 0.15s ease, color 0.15s ease;
}

.tts-more-btn:hover .tts-more-circle {
	background: var(--tts-primary);
	color: #fff;
}

.tts-card-img {
	position: relative;
	flex: 0 0 45%;
	height: 100%;
	background: #eef2f4 center center / cover no-repeat;
}

/* "Sākot no …" price badge over the image. */
.tts-card-price {
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	box-shadow: 0 2px 10px rgba(16, 44, 53, 0.18);
	font-size: 12px;
	font-weight: 500;
	color: var(--tts-muted);
	white-space: nowrap;
}

.tts-card-price[hidden] {
	display: none;
}

.tts-card-price span {
	font-size: 14px;
	font-weight: 700;
	color: var(--tts-text);
}

.tts-card-body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	padding: 20px;
}

.tts-card-title {
	margin: 0 0 10px;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.35;
	color: var(--tts-text) !important;
}

/* ------------------------------------------------------ country flags */

.tts-card-countries {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.tts-card-countries[hidden] {
	display: none;
}

.tts-flag {
	flex: 0 0 auto;
	display: block;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	object-fit: cover;
	background: #eef2f4;
	box-shadow: inset 0 0 0 1px rgba(16, 44, 53, 0.12);
}

/* ------------------------------------------------------- card date list */

.tts-card-dates {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	min-height: 0;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 13px;
	color: var(--tts-muted);
}

.tts-card-dates[hidden] {
	display: none;
}

.tts-date-item {
	display: flex;
	align-items: baseline;
	gap: 4px;
	white-space: nowrap;
}

.tts-date-star {
	color: #e02424;
	font-weight: 700;
}

.tts-date-star[hidden] {
	display: none;
}

.tts-details {
	/* Centered horizontally at the bottom of the image container. */
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	display: inline-flex;
	padding: 7px 16px !important;
	border-radius: 20px !important;
	background: var(--tts-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 4px 14px rgba(16, 44, 53, 0.28);
	transition: background 0.15s ease;
}

.tts-details:hover {
	background: #026a82;
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 991px) {
	.tts-bar-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
		padding: 14px;
	}

	.tts-field {
		border-bottom: 1px solid var(--tts-border);
		padding: 6px 4px;
	}

	/* Stacked layout uses bottom borders, not the vertical divider. */
	.tts-field + .tts-field::before {
		display: none;
	}

	.tts-field-dates {
		min-width: 0;
	}

	.tts-field:last-of-type {
		border-bottom: 0;
	}

	.tts-cal {
		left: 0;
		right: auto;
		width: 320px;
	}

	.tts-cal-months {
		flex-direction: column;
		gap: 16px;
	}

	.tts-submit.btn-search {
		margin: 10px 0 0;
		width: 100%;
	}

	.tts-card {
		flex: 0 0 320px;
		width: 320px;
		height: 240px;
	}

	.tts-scroll-left {
		left: 12px;
	}

	.tts-scroll-right {
		right: 12px;
	}
}
