:root {
	--main-font-family: Roboto, Arial, Helvetica, sans-serif;
}

/* search_tour form brand colors */
#search_tour {
	--search-form-bg: #4DA528;
	--search-form-text: #ffffff;
	--search-modes-bg: #FBAD17;
}

#search_tour .std.container > table.panel,
#search_tour table.direction.panel,
#search_tour table.user_info .panel,
#search_tour table.hotels_container.panel,
#search_tour table.panel {
	background-color: var(--search-form-bg) !important;
	color: var(--search-form-text) !important;
	padding: 10px !important;
	box-sizing: border-box;
}

#search_tour table.direction.panel > tbody > tr > td,
#search_tour table.user_info .panel > tbody > tr > td,
#search_tour table.hotels_container.panel > tbody > tr > td,
#search_tour table.panel > tbody > tr > td {
	padding-left: 10px !important;
	padding-right: 10px !important;
}

#search_tour tr.HOTELSCONTAINER > td,
#search_tour .HOTELSCONTAINER,
#search_tour .control_townto,
#search_tour .control_stars,
#search_tour .control_hotels,
#search_tour .control_meal {
	padding: 10px !important;
	box-sizing: border-box;
}

#search_tour .price-legend-container {
	padding: 10px !important;
	box-sizing: border-box;
}

#search_tour .price-legend-container .price_legend,
#search_tour .price-legend-container .price_legend td {
	padding-left: 8px !important;
	padding-right: 8px !important;
}

/* Desktop: checklistbox must stay fully usable (not clipped/covered) */
@media (min-width: 821px) {
	#search_tour .header {
		height: auto !important;
		min-height: 28px;
		line-height: 1.35 !important;
		overflow: visible !important;
	}

	#search_tour .control_townto,
	#search_tour .control_stars,
	#search_tour .control_hotels,
	#search_tour .control_meal {
		overflow: visible !important;
	}

	#search_tour .hotels_container .checklistbox,
	#search_tour .HOTELSCONTAINER .checklistbox,
	#search_tour .checklistbox.HOTELS,
	#search_tour .checklistbox.HOTELSSEL,
	#search_tour .checklistbox.TOWNS,
	#search_tour .checklistbox.STARS,
	#search_tour .checklistbox.MEALS,
	#search_tour .checklistbox.ROOMS {
		position: relative;
		z-index: 2;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		max-height: none !important;
		height: 13em !important;
	}

	#search_tour .filters-panel .checklistbox,
	#search_tour .filters-panel.no-ufilter .checklistbox {
		height: auto !important;
		min-height: 40px !important;
		max-height: none !important;
		overflow: visible !important;
		position: relative;
		z-index: 2;
	}

	#search_tour .filters-panel.no-ufilter .checklistbox label {
		white-space: normal !important;
		overflow: visible !important;
		line-height: 1.35;
		margin-bottom: 4px;
	}

	#search_tour input[type="checkbox"] {
		width: 18px !important;
		height: 18px !important;
		min-width: 18px !important;
		min-height: 18px !important;
	}

	#search_tour .control_hotels {
		overflow: visible !important;
	}
}

/* searchmodes: color tab panels, not the whole bar */
#search_tour .searchmodes {
	background: transparent !important;
	color: inherit;
	padding: 0 !important;
	box-sizing: border-box;
}

#search_tour .searchmodes .searchmode,
#search_tour .searchmodes .searchmode-custom,
#search_tour .searchmodes .searchmode_selected,
#search_tour .searchmodes .searchmode_button,
#search_tour .searchmodes a.searchmode_button {
	background-color: var(--search-modes-bg) !important;
	color: #fff !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

#search_tour .searchmodes .searchmode_selected,
#search_tour .searchmodes .searchmode.searchmode_selected,
#search_tour .searchmodes .panel.searchmode_selected {
	background-color: #4DA528 !important;
	color: #fff !important;
}

#search_tour .searchmodes .searchmode_selected a,
#search_tour .searchmodes .searchmode.searchmode_selected a,
#search_tour .searchmodes .panel.searchmode_selected a {
	background-color: transparent !important;
	color: #fff !important;
}

/* Search button */
#search_tour button.load,
#search_tour button.load.right,
#search_tour .footer button.load,
#search_tour .footer .load.right {
	background-color: #FBAD17 !important;
	background-image: none !important;
	border-color: #FBAD17 !important;
	color: #fff !important;
}

#search_tour button.load:hover,
#search_tour button.load.right:hover,
#search_tour .footer button.load:hover {
	background-color: #e09a10 !important;
	border-color: #e09a10 !important;
	color: #fff !important;
}

/* Resultset table header */
#search_tour .resultset thead,
#search_tour .resultset thead tr,
#search_tour .resultset table.res thead,
#search_tour .resultset table.res thead tr,
#search_tour #scrollto.resultset thead,
#search_tour #scrollto table.res thead {
	background-color: #4DA528 !important;
	background: #4DA528 !important;
}

#search_tour .resultset thead th,
#search_tour .resultset table.res thead th,
#search_tour #scrollto.resultset thead th,
#search_tour #scrollto table.res thead th {
	background-color: #4DA528 !important;
	background: #4DA528 !important;
	color: #fff !important;
	border-color: #4DA528 !important;
}

#search_tour .searchmodes .searchmode a,
#search_tour .searchmodes .searchmode-custom a,
#search_tour .searchmodes .searchmode_selected,
#search_tour .searchmodes span {
	color: #fff !important;
	background: transparent !important;
}

/* Larger checkboxes — mobile only (desktop uses milder size below) */
@media (max-width: 768px), (max-device-width: 820px) {
	#search_tour input[type="checkbox"],
	.samo_container #search_tour input[type="checkbox"] {
		-webkit-appearance: none !important;
		appearance: none !important;
		width: 1.7em !important;
		height: 1.7em !important;
		min-width: 22px !important;
		min-height: 22px !important;
		margin: 0 0.6em 0 0 !important;
		vertical-align: middle;
		border: 2px solid #fff !important;
		border-radius: 4px;
		background: #fff !important;
		box-shadow: none !important;
		flex-shrink: 0;
		position: relative;
		cursor: pointer;
	}

	#search_tour input[type="checkbox"]:checked {
		background: #fff !important;
		border-color: #fff !important;
	}

	#search_tour input[type="checkbox"]:checked::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 45%;
		width: 0.35em;
		height: 0.7em;
		border: solid var(--search-form-bg);
		border-width: 0 0.22em 0.22em 0;
		transform: translate(-50%, -55%) rotate(45deg);
	}

	#search_tour .checklistbox.HOTELS input[type="checkbox"],
	#search_tour .checklistbox.HOTELSSEL input[type="checkbox"],
	#search_tour .checklistbox.TOWNS input[type="checkbox"],
	#search_tour .checklistbox.STARS input[type="checkbox"],
	#search_tour .checklistbox.MEALS input[type="checkbox"],
	#search_tour .checklistbox.ROOMS input[type="checkbox"],
	#search_tour .checklistbox.UFILTER input[type="checkbox"] {
		border-color: #4DA528 !important;
	}

	#search_tour .checklistbox.HOTELS input[type="checkbox"]:checked::after,
	#search_tour .checklistbox.HOTELSSEL input[type="checkbox"]:checked::after,
	#search_tour .checklistbox.TOWNS input[type="checkbox"]:checked::after,
	#search_tour .checklistbox.STARS input[type="checkbox"]:checked::after,
	#search_tour .checklistbox.MEALS input[type="checkbox"]:checked::after,
	#search_tour .checklistbox.ROOMS input[type="checkbox"]:checked::after,
	#search_tour .checklistbox.UFILTER input[type="checkbox"]:checked::after {
		border-color: #4DA528;
	}
}

/* Desktop checkboxes: slightly larger, without breaking filters row */
@media (min-width: 821px) {
	#search_tour input[type="checkbox"] {
		-webkit-appearance: none !important;
		appearance: none !important;
		width: 18px !important;
		height: 18px !important;
		min-width: 18px !important;
		min-height: 18px !important;
		margin: 0 6px 0 0 !important;
		border: 2px solid #4DA528 !important;
		border-radius: 3px;
		background: #fff !important;
		position: relative;
		vertical-align: middle;
		cursor: pointer;
		flex-shrink: 0;
	}

	#search_tour .header input[type="checkbox"],
	#search_tour .filters-panel input[type="checkbox"] {
		border-color: #fff !important;
	}

	#search_tour input[type="checkbox"]:checked::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 45%;
		width: 5px;
		height: 9px;
		border: solid #4DA528;
		border-width: 0 2px 2px 0;
		transform: translate(-50%, -55%) rotate(45deg);
	}
}

/* Green rounded hamburger */
#header .menu-open-button,
body:has(.mobile-menu-container) #header .menu-open-button {
	width: 56px !important;
	height: 56px !important;
	margin: 0 !important;
	background: transparent !important;
}

#header .menu-open-button .hamburger,
body:has(.mobile-menu-container) #header .menu-open-button .hamburger {
	background: #4DA528 !important;
	border-radius: 6px !important;
	height: 18% !important;
}

#search_tour table.direction,
#search_tour table.direction td,
#search_tour table.user_info,
#search_tour table.user_info td,
#search_tour table.hotels_container,
#search_tour table.hotels_container td,
#search_tour .direction_left,
#search_tour .tour_left,
#search_tour .direction_right,
#search_tour .tour_right,
#search_tour .description,
#search_tour .description2,
#search_tour .description3,
#search_tour .description4,
#search_tour .from,
#search_tour .tdNightsList,
#search_tour .header,
#search_tour .header .left,
#search_tour .header .right,
#search_tour .header label,
#search_tour .checklistbox,
#search_tour .checklistbox label,
#search_tour .filters-panel label,
#search_tour .footer,
#search_tour .footer label,
#search_tour .note_container,
#search_tour .information-ear,
#search_tour .price_legend,
#search_tour .price_legend td {
	color: var(--search-form-text) !important;
}

/* Keep controls readable on white fields */
#search_tour input,
#search_tour select,
#search_tour textarea,
#search_tour .chosen-container,
#search_tour .chosen-single,
#search_tour .chosen-single span,
#search_tour .chosen-drop,
#search_tour .chosen-results,
#search_tour .chosen-results li {
	color: #222 !important;
}

#search_tour .checklistbox.HOTELS,
#search_tour .checklistbox.HOTELSSEL,
#search_tour .checklistbox.TOWNS,
#search_tour .checklistbox.STARS,
#search_tour .checklistbox.MEALS,
#search_tour .checklistbox.ROOMS,
#search_tour .checklistbox.UFILTER {
	background-color: #fff;
	color: #222 !important;
}

#search_tour .checklistbox.HOTELS label,
#search_tour .checklistbox.HOTELSSEL label,
#search_tour .checklistbox.TOWNS label,
#search_tour .checklistbox.STARS label,
#search_tour .checklistbox.MEALS label,
#search_tour .checklistbox.ROOMS label,
#search_tour .checklistbox.UFILTER label {
	color: #222 !important;
}

#search_tour .townfrom_filter,
#search_tour .stateto_filter,
#search_tour .tourtype_filter,
#search_tour .producttype_filter,
#search_tour .tourgroup_filter,
#search_tour .tour_filter,
#search_tour .ptype_filter,
#search_tour .ptype_group_filter,
#search_tour .paramsFrom,
#search_tour .paramsTill,
#search_tour .paramsFromMulti {
	padding-left: 5px !important;
	padding-right: 5px !important;
	box-sizing: border-box;
}

#search_tour .townfrom_filter > td,
#search_tour .stateto_filter > td,
#search_tour .tourtype_filter > td,
#search_tour .producttype_filter > td,
#search_tour .tourgroup_filter > td,
#search_tour .tour_filter > td,
#search_tour .ptype_filter > td,
#search_tour .ptype_group_filter > td,
#search_tour .paramsFrom > td,
#search_tour .paramsTill > td,
#search_tour .paramsFromMulti > td {
	padding-left: 5px !important;
	padding-right: 5px !important;
}

#header .high-menu {
	grid-template-columns: 15% 50% 35%;
}

#header .currency-header {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

#header .currency-header .currency {
	flex: 0 1 auto;
	min-width: 0;
}

#header .escapes-site-link {
	flex: 0 0 auto;
	margin-left: 24px;
	white-space: nowrap;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
	color: var(--link-active-color);
	padding: 4px 0;
	border-bottom: 1px solid transparent;
}

#header .escapes-site-link:hover {
	color: var(--link-hover-color);
	border-bottom-color: currentColor;
}

/* Override absolute positioning from older header markup */
#header > .escapes-site-link {
	position: static !important;
	top: auto !important;
	left: auto !important;
	height: auto !important;
	max-width: none !important;
	overflow: visible !important;
	display: inline-flex !important;
	align-items: center;
}

.menu-items-currency .currency-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	justify-content: flex-end;
}

@media (max-width: 991px) {
	#header .high-menu {
		grid-template-columns: none;
	}

	#header .escapes-site-link {
		margin-left: 0;
		font-size: 13px;
		white-space: normal;
	}
}

/*
	search_tour: stack form blocks top-to-bottom on phones.
	max-device-width works even without <meta name="viewport">.
	body:has(.mobile-menu-container) covers SAMO mobile template by UA.
*/
@media (max-width: 768px), (max-device-width: 820px) {
	/* Readable mobile typography for search_tour */
	html {
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
		overflow-x: hidden;
		max-width: 100%;
	}

	body {
		overflow-x: hidden;
		max-width: 100%;
	}

	body,
	.samo_container,
	#search_tour {
		font-size: clamp(16px, 4.1vw, 40px) !important;
		line-height: 1.45 !important;
	}

	*,
	*::before,
	*::after {
		box-sizing: border-box;
	}

	.samo_container,
	.samo_container .std,
	.samo_container .std.container,
	#search_tour,
	#search_tour .std.container,
	#search_tour table.user_info,
	#search_tour table.res,
	#header {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	#search_tour .std.container {
		padding-left: 10px;
		padding-right: 10px;
	}

	#header .mobile-menu-container {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		padding: 8px 12px !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}

	#header .menu-open-button {
		width: 56px !important;
		height: 56px !important;
		margin: 0 !important;
	}

	#header #menuToggle {
		flex: 0 0 auto;
		max-width: 64px;
		margin: 0;
		padding: 0;
	}

	#header img.logo {
		max-height: 56px !important;
		height: auto !important;
		width: auto;
	}

	#search_tour .searchmodes {
		display: flex;
		gap: 6px;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding: 0 !important;
		background: transparent !important;
		box-sizing: border-box;
	}

	#search_tour .searchmodes .searchmode,
	#search_tour .searchmodes .searchmode-custom,
	#search_tour .searchmodes .searchmode_selected,
	#search_tour .searchmodes .searchmode_button,
	#search_tour .searchmodes a.searchmode_button {
		flex: 0 0 auto;
		font-size: 0.95em !important;
		line-height: 1.3;
		color: #fff !important;
		background-color: #FBAD17 !important;
		border-color: transparent !important;
		box-shadow: none !important;
	}

	#search_tour .searchmodes .searchmode_selected,
	#search_tour .searchmodes .searchmode.searchmode_selected,
	#search_tour .searchmodes .panel.searchmode_selected {
		background-color: #4DA528 !important;
	}

	#search_tour .searchmodes .searchmode a,
	#search_tour .searchmodes .searchmode-custom a,
	#search_tour .searchmodes a.searchmode_button {
		font-size: 0.95em !important;
		padding: 0.55em 0.7em;
		white-space: nowrap;
		color: #fff !important;
		background-color: #FBAD17 !important;
	}

	#search_tour .searchmodes .searchmode_selected a,
	#search_tour .searchmodes .searchmode.searchmode_selected a {
		background-color: transparent !important;
		color: #fff !important;
	}

	/* Direction: two columns -> one column */
	#search_tour table.direction,
	#search_tour table.direction > tbody,
	#search_tour table.direction > tbody > tr {
		display: block;
		width: 100%;
	}

	#search_tour table.direction > tbody > tr > td,
	#search_tour table.direction td.width50p,
	#search_tour table.direction td.vt {
		display: block;
		width: 100% !important;
		max-width: 100%;
		padding: 4px 0 !important;
	}

	#search_tour table.direction table.width100p,
	#search_tour table.direction table.width100p > tbody,
	#search_tour table.direction table.width100p > tbody > tr {
		display: block;
		width: 100%;
	}

	#search_tour table.direction .direction_left,
	#search_tour table.direction .tour_left,
	#search_tour table.direction .direction_right,
	#search_tour table.direction .tour_right {
		display: block;
		width: 100% !important;
		max-width: 100%;
		text-align: left !important;
		padding: 2px 0 !important;
	}

	#search_tour table.direction .direction_left,
	#search_tour table.direction .tour_left {
		font-weight: 600;
		font-size: 0.95em !important;
		line-height: 1.35;
		padding-top: 0.45em !important;
		padding-bottom: 0.25em !important;
	}

	#search_tour table.direction select,
	#search_tour table.direction .chosen-container,
	#search_tour table.direction .chosen-container .chosen-single,
	#search_tour table.direction .chosen-container .chosen-drop {
		width: 100% !important;
		max-width: 100%;
	}

	/* Dates / nights / tourists / price */
	#search_tour table.user_info,
	#search_tour table.user_info > tbody,
	#search_tour table.user_info > tbody > tr {
		display: block;
		width: 100% !important;
		max-width: 100%;
	}

	#search_tour table.user_info > tbody > tr > td.col {
		display: block;
		width: 100% !important;
		max-width: 100%;
		padding: 0 !important;
		margin-bottom: 8px;
	}

	#search_tour table.user_info > tbody > tr > td.empty {
		display: none;
	}

	#search_tour table.user_info .panel,
	#search_tour table.user_info .panel > tbody,
	#search_tour table.user_info .panel > tbody > tr {
		display: block;
		width: 100%;
	}

	#search_tour table.user_info .panel > tbody > tr > td {
		display: block;
		width: 100% !important;
		max-width: 100%;
		text-align: left !important;
		padding: 4px 0 !important;
	}

	#search_tour table.user_info .description,
	#search_tour table.user_info .description2,
	#search_tour table.user_info .description3,
	#search_tour table.user_info .description4,
	#search_tour table.user_info .from,
	#search_tour table.user_info .tdNightsList {
		font-weight: 600;
		font-size: 0.95em !important;
		line-height: 1.35;
		padding-top: 0.45em !important;
		padding-bottom: 0.25em !important;
	}

	#search_tour table.user_info .calendar,
	#search_tour table.user_info .nights,
	#search_tour table.user_info .tourists,
	#search_tour table.user_info .cost,
	#search_tour table.user_info .count,
	#search_tour table.user_info .child_ages_container,
	#search_tour table.user_info .child_ages,
	#search_tour table.user_info .multiNights {
		width: 100% !important;
		max-width: 100%;
	}

	#search_tour table.user_info input[type="text"],
	#search_tour table.user_info input.frm-input,
	#search_tour table.user_info select,
	#search_tour table.user_info .chosen-container,
	#search_tour table.user_info .chosen-container .chosen-single,
	#search_tour table.user_info .chosen-container .chosen-drop {
		width: 100% !important;
		max-width: 100%;
		box-sizing: border-box;
	}

	#search_tour table.user_info .child_ages {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	#search_tour table.user_info .child_ages select,
	#search_tour table.user_info .child_ages .chosen-container {
		flex: 1 1 30%;
		min-width: 70px;
		width: auto !important;
	}

	#search_tour .Zebra_DatePicker_Icon_Wrapper {
		position: relative !important;
		display: block;
		width: 100% !important;
		max-width: 100%;
	}

	#search_tour .Zebra_DatePicker_Icon_Wrapper > input {
		width: 100% !important;
		padding-left: 2.6em !important;
	}

	#search_tour .Zebra_DatePicker_Icon,
	#search_tour button.Zebra_DatePicker_Icon,
	#search_tour button.Zebra_DatePicker_Icon_Inside,
	.samo_container button.Zebra_DatePicker_Icon,
	.samo_container button.Zebra_DatePicker_Icon_Inside {
		position: absolute !important;
		left: 0.7em !important;
		right: auto !important;
		top: 50% !important;
		width: 1.25em !important;
		height: 1.25em !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		transform: translateY(-50%) !important;
		background-size: contain !important;
		background-repeat: no-repeat !important;
		background-position: center !important;
		box-shadow: none !important;
	}

	#search_tour td.calendar input[type="text"],
	#search_tour td.calendar input.frm-input {
		padding-left: 2.6em !important;
		min-height: 2.6em;
	}

	#search_tour select,
	#search_tour select.spin {
		-webkit-appearance: none !important;
		-moz-appearance: none !important;
		appearance: none !important;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath fill='%23444444' d='M2 2l8 8 8-8'/%3E%3C/svg%3E") !important;
		background-repeat: no-repeat !important;
		background-position: right 0.85em center !important;
		background-size: 1em 0.65em !important;
		padding-right: 2.6em !important;
		background-color: #fff !important;
	}

	#search_tour select::-ms-expand {
		display: none;
	}

	#search_tour input[type="checkbox"] {
		-webkit-appearance: none !important;
		appearance: none !important;
		width: 1.7em !important;
		height: 1.7em !important;
		min-width: 22px !important;
		min-height: 22px !important;
		margin: 0 0.6em 0 0 !important;
		vertical-align: middle;
		border: 2px solid #fff !important;
		border-radius: 4px;
		background: #fff !important;
		flex-shrink: 0;
		position: relative;
	}

	#search_tour input[type="checkbox"]:checked::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 45%;
		width: 0.35em;
		height: 0.7em;
		border: solid #4DA528;
		border-width: 0 0.22em 0.22em 0;
		transform: translate(-50%, -55%) rotate(45deg);
	}

	/* City / category / hotel / meal: 4 columns -> stack */
	#search_tour table.hotels_container,
	#search_tour table.hotels_container > tbody,
	#search_tour table.hotels_container > tbody > tr.HOTELSCONTAINER,
	#search_tour table.hotels_container > tbody > tr.filters-panel,
	#search_tour table.hotels_container > tbody > tr {
		display: block;
		width: 100%;
	}

	#search_tour table.hotels_container > tbody > tr > td,
	#search_tour .control_townto,
	#search_tour .control_stars,
	#search_tour .control_hotels,
	#search_tour .control_meal {
		display: block;
		width: 100% !important;
		max-width: none !important;
		padding: 10px !important;
		text-align: left;
		box-sizing: border-box;
	}

	#search_tour .hotels_container .checklistbox,
	#search_tour .HOTELSCONTAINER .checklistbox,
	#search_tour .checklistbox.HOTELS,
	#search_tour .checklistbox.HOTELSSEL,
	#search_tour .checklistbox.TOWNS,
	#search_tour .checklistbox.STARS,
	#search_tour .checklistbox.MEALS,
	#search_tour .checklistbox.ROOMS {
		width: 100% !important;
		max-width: 100%;
		height: auto !important;
		min-height: 8em;
		max-height: 12em;
		overflow-y: auto;
		box-sizing: border-box;
		text-align: left;
	}

	#search_tour .header {
		height: auto;
		line-height: 1.4;
		overflow: hidden;
		margin-bottom: 0.4em;
		font-size: 0.95em !important;
	}

	#search_tour .header .left,
	#search_tour .header .right {
		float: none;
		display: block;
		width: 100%;
		text-align: left;
		font-size: 0.95em !important;
		line-height: 1.4;
	}

	#search_tour .header label,
	#search_tour .checklistbox label,
	#search_tour .filters-panel .checklistbox label,
	#search_tour .filters-panel.no-ufilter .checklistbox label {
		font-size: 0.95em !important;
		line-height: 1.4;
	}

	#search_tour .header .inputDivSearch,
	#search_tour input.hotelsearch,
	#search_tour input.townssearch,
	#search_tour input.hotelsearch[type="search"],
	#search_tour input.townssearch[type="search"] {
		width: 100% !important;
		max-width: 100%;
		box-sizing: border-box;
		font-size: 1em !important;
		min-height: 2.6em;
		padding: 0.45em 0.6em;
	}

	#search_tour .filters-panel .checklistbox,
	#search_tour .filters-panel.no-ufilter .checklistbox {
		height: auto !important;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}

	#search_tour .filters-panel .checklistbox label,
	#search_tour .filters-panel.no-ufilter .checklistbox label {
		float: none !important;
		display: block;
		width: 100% !important;
		min-width: 0;
		margin: 0;
		white-space: normal;
		line-height: 1.35;
	}

	#search_tour .footer,
	#search_tour .footer .left,
	#search_tour .footer .right,
	#search_tour .footer label.right,
	#search_tour .footer button,
	#search_tour .footer input {
		float: none !important;
		display: block;
		width: 100%;
		text-align: left;
		margin: 6px 0;
	}

	#search_tour .footer button,
	#search_tour .footer input[type="button"],
	#search_tour button.load {
		min-height: 44px;
		width: 100%;
	}

	#search_tour .price-legend-container,
	#search_tour .price_legend,
	#search_tour .price_legend tbody,
	#search_tour .price_legend tr,
	#search_tour .price_legend td {
		display: block;
		width: 100%;
	}

	#search_tour .price_legend td {
		padding: 4px 0;
	}

	#search_tour select,
	#search_tour input[type="text"],
	#search_tour input[type="search"],
	#search_tour input.frm-input,
	#search_tour button,
	#search_tour .chosen-container,
	#search_tour .chosen-container-single .chosen-single,
	#search_tour .chosen-container .chosen-results li,
	#search_tour .chosen-container .chosen-drop {
		font-size: 1em !important;
		line-height: 1.35 !important;
		min-height: 2.6em;
		max-width: 100% !important;
	}

	#search_tour .chosen-container-single .chosen-single {
		height: 2.6em !important;
		line-height: 2.5em !important;
		padding-top: 0;
		padding-bottom: 0;
		padding-right: 2.4em !important;
	}

	#search_tour .chosen-container-single .chosen-single span {
		font-size: 1em !important;
		line-height: 2.5em !important;
		margin-right: 0.4em !important;
	}

	#search_tour .chosen-container-single .chosen-single div {
		width: 2.2em !important;
		height: 100% !important;
	}

	#search_tour .chosen-container-single .chosen-single div b {
		background: none !important;
		position: relative;
	}

	#search_tour .chosen-container-single .chosen-single div b::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 0;
		height: 0;
		transform: translate(-50%, -35%);
		border-left: 0.45em solid transparent;
		border-right: 0.45em solid transparent;
		border-top: 0.55em solid #444;
	}

	#search_tour .chosen-container .chosen-results li {
		min-height: 0;
		padding-top: 0.55em;
		padding-bottom: 0.55em;
	}

	#search_tour .footer label,
	#search_tour .footer .hotelgroup,
	#search_tour .information-ear,
	#search_tour .price_legend,
	#search_tour .price_legend td {
		font-size: 0.95em !important;
		line-height: 1.4;
	}

	#search_tour .footer button,
	#search_tour .footer input[type="button"],
	#search_tour button.load {
		min-height: 2.8em;
		width: 100%;
		font-size: 1.05em !important;
		font-weight: 600;
	}
}

/* Same stack when SAMO serves mobile menu template (phone UA) */
body:has(.mobile-menu-container) {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	overflow-x: hidden;
	max-width: 100%;
}

html:has(.mobile-menu-container) {
	overflow-x: hidden;
	max-width: 100%;
}

body:has(.mobile-menu-container) *,
body:has(.mobile-menu-container) *::before,
body:has(.mobile-menu-container) *::after {
	box-sizing: border-box;
}

/* Kill desktop fixed widths that create horizontal scroll */
body:has(.mobile-menu-container) .samo_container,
body:has(.mobile-menu-container) .samo_container .std,
body:has(.mobile-menu-container) .samo_container .std.container,
body:has(.mobile-menu-container) #search_tour,
body:has(.mobile-menu-container) #search_tour .std.container,
body:has(.mobile-menu-container) #search_tour table.user_info,
body:has(.mobile-menu-container) #search_tour table.res,
body:has(.mobile-menu-container) #header,
body:has(.mobile-menu-container) .mobile-menu-container {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

/*
	vw-based type: readable both with and without meta viewport.
	Without viewport layout ~980px, 4.1vw ≈ 40px and scales down on phone to ~16px visually.
	With viewport on ~390px, 4.1vw ≈ 16px.
*/
body:has(.mobile-menu-container) .samo_container,
body:has(.mobile-menu-container) #search_tour {
	font-size: clamp(16px, 4.1vw, 40px) !important;
	line-height: 1.45 !important;
}

/* Header: keep logo + burger fully visible */
body:has(.mobile-menu-container) #header {
	overflow: visible;
	padding: 0;
	margin: 0;
}

body:has(.mobile-menu-container) #header .mobile-menu-container {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 8px 12px !important;
	margin: 0 !important;
	box-sizing: border-box;
}

body:has(.mobile-menu-container) #header .mobile-menu-container .logo {
	flex: 1 1 auto;
	min-width: 0;
}

body:has(.mobile-menu-container) #header .mobile-menu-container .logo img.logo,
body:has(.mobile-menu-container) #header img.logo {
	display: block;
	height: auto !important;
	max-height: 56px !important;
	max-width: 75%;
	width: auto;
}

body:has(.mobile-menu-container) #header #menuToggle {
	flex: 0 0 auto;
	align-items: flex-end;
	margin: 0;
	padding: 0;
	max-width: 64px;
}

body:has(.mobile-menu-container) #header .menu-open-button {
	width: 56px !important;
	height: 56px !important;
	margin: 0 !important;
	padding: 0;
}

body:has(.mobile-menu-container) #header .menu-open:checked + .menu-open-button {
	width: 56px !important;
	height: 56px !important;
	margin: 0 !important;
}

body:has(.mobile-menu-container) #search_tour .std.container {
	padding-left: 0.6em;
	padding-right: 0.6em;
}

body:has(.mobile-menu-container) #search_tour .searchmodes {
	display: flex;
	gap: 6px;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0 !important;
	background: transparent !important;
	box-sizing: border-box;
}

body:has(.mobile-menu-container) #search_tour .searchmodes .searchmode,
body:has(.mobile-menu-container) #search_tour .searchmodes .searchmode-custom,
body:has(.mobile-menu-container) #search_tour .searchmodes .searchmode_selected,
body:has(.mobile-menu-container) #search_tour .searchmodes .searchmode_button,
body:has(.mobile-menu-container) #search_tour .searchmodes a,
body:has(.mobile-menu-container) #search_tour .searchmodes a.searchmode_button {
	font-size: 0.95em !important;
	line-height: 1.3;
	padding: 0.55em 0.7em;
	color: #fff !important;
	background-color: #FBAD17 !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

body:has(.mobile-menu-container) #search_tour .searchmodes .searchmode_selected,
body:has(.mobile-menu-container) #search_tour .searchmodes .searchmode.searchmode_selected,
body:has(.mobile-menu-container) #search_tour .searchmodes .panel.searchmode_selected {
	background-color: #4DA528 !important;
}

body:has(.mobile-menu-container) #search_tour .searchmodes .searchmode_selected a,
body:has(.mobile-menu-container) #search_tour .searchmodes .searchmode.searchmode_selected a {
	background-color: transparent !important;
	color: #fff !important;
}

body:has(.mobile-menu-container) #search_tour table.direction,
body:has(.mobile-menu-container) #search_tour table.direction > tbody,
body:has(.mobile-menu-container) #search_tour table.direction > tbody > tr,
body:has(.mobile-menu-container) #search_tour table.direction table.width100p,
body:has(.mobile-menu-container) #search_tour table.direction table.width100p > tbody,
body:has(.mobile-menu-container) #search_tour table.direction table.width100p > tbody > tr,
body:has(.mobile-menu-container) #search_tour table.user_info,
body:has(.mobile-menu-container) #search_tour table.user_info > tbody,
body:has(.mobile-menu-container) #search_tour table.user_info > tbody > tr,
body:has(.mobile-menu-container) #search_tour table.user_info .panel,
body:has(.mobile-menu-container) #search_tour table.user_info .panel > tbody,
body:has(.mobile-menu-container) #search_tour table.user_info .panel > tbody > tr,
body:has(.mobile-menu-container) #search_tour table.hotels_container,
body:has(.mobile-menu-container) #search_tour table.hotels_container > tbody,
body:has(.mobile-menu-container) #search_tour table.hotels_container > tbody > tr {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
}

body:has(.mobile-menu-container) #search_tour table.direction > tbody > tr > td,
body:has(.mobile-menu-container) #search_tour table.direction td.width50p,
body:has(.mobile-menu-container) #search_tour table.direction td.vt,
body:has(.mobile-menu-container) #search_tour table.direction .direction_left,
body:has(.mobile-menu-container) #search_tour table.direction .tour_left,
body:has(.mobile-menu-container) #search_tour table.direction .direction_right,
body:has(.mobile-menu-container) #search_tour table.direction .tour_right,
body:has(.mobile-menu-container) #search_tour table.user_info > tbody > tr > td.col,
body:has(.mobile-menu-container) #search_tour table.user_info .panel > tbody > tr > td,
body:has(.mobile-menu-container) #search_tour table.hotels_container > tbody > tr > td,
body:has(.mobile-menu-container) #search_tour .control_townto,
body:has(.mobile-menu-container) #search_tour .control_stars,
body:has(.mobile-menu-container) #search_tour .control_hotels,
body:has(.mobile-menu-container) #search_tour .control_meal {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	text-align: left !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
	box-sizing: border-box;
	font-size: 1em !important;
}

body:has(.mobile-menu-container) #search_tour table.direction .direction_left,
body:has(.mobile-menu-container) #search_tour table.direction .tour_left,
body:has(.mobile-menu-container) #search_tour table.user_info .description,
body:has(.mobile-menu-container) #search_tour table.user_info .description2,
body:has(.mobile-menu-container) #search_tour table.user_info .description3,
body:has(.mobile-menu-container) #search_tour table.user_info .description4,
body:has(.mobile-menu-container) #search_tour table.user_info .from,
body:has(.mobile-menu-container) #search_tour table.user_info .tdNightsList,
body:has(.mobile-menu-container) #search_tour .header,
body:has(.mobile-menu-container) #search_tour .header .left,
body:has(.mobile-menu-container) #search_tour .header .right,
body:has(.mobile-menu-container) #search_tour .header label {
	font-size: 0.95em !important;
	line-height: 1.4 !important;
	font-weight: 600;
	padding-top: 0.45em !important;
	padding-bottom: 0.25em !important;
}

body:has(.mobile-menu-container) #search_tour .checklistbox label,
body:has(.mobile-menu-container) #search_tour .filters-panel label,
body:has(.mobile-menu-container) #search_tour .footer label,
body:has(.mobile-menu-container) #search_tour .information-ear,
body:has(.mobile-menu-container) #search_tour .price_legend td {
	font-size: 0.95em !important;
	line-height: 1.4 !important;
	font-weight: 400;
}

body:has(.mobile-menu-container) #search_tour table.user_info > tbody > tr > td.empty {
	display: none;
}

body:has(.mobile-menu-container) #search_tour .control_townto,
body:has(.mobile-menu-container) #search_tour .control_stars,
body:has(.mobile-menu-container) #search_tour .control_hotels,
body:has(.mobile-menu-container) #search_tour .control_meal {
	padding: 10px !important;
}

body:has(.mobile-menu-container) #search_tour .price-legend-container {
	padding: 10px !important;
	box-sizing: border-box;
}

body:has(.mobile-menu-container) #search_tour select,
body:has(.mobile-menu-container) #search_tour input[type="text"],
body:has(.mobile-menu-container) #search_tour input[type="search"],
body:has(.mobile-menu-container) #search_tour input.frm-input,
body:has(.mobile-menu-container) #search_tour .chosen-container,
body:has(.mobile-menu-container) #search_tour .chosen-container .chosen-single,
body:has(.mobile-menu-container) #search_tour .chosen-container .chosen-single span,
body:has(.mobile-menu-container) #search_tour .chosen-container .chosen-results li,
body:has(.mobile-menu-container) #search_tour .chosen-container .chosen-drop,
body:has(.mobile-menu-container) #search_tour input.hotelsearch,
body:has(.mobile-menu-container) #search_tour input.townssearch,
body:has(.mobile-menu-container) #search_tour button.load,
body:has(.mobile-menu-container) #search_tour .footer button {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	font-size: 1em !important;
	line-height: 1.35 !important;
	min-height: 2.6em;
}

/* Chosen dropdown arrow: replace tiny sprite with scalable triangle */
body:has(.mobile-menu-container) #search_tour .chosen-container-single .chosen-single {
	height: 2.6em !important;
	line-height: 2.5em !important;
	padding-right: 2.4em !important;
}

body:has(.mobile-menu-container) #search_tour .chosen-container-single .chosen-single span {
	line-height: 2.5em !important;
	font-size: 1em !important;
	margin-right: 0.4em !important;
}

body:has(.mobile-menu-container) #search_tour .chosen-container-single .chosen-single div {
	width: 2.2em !important;
	height: 100% !important;
}

body:has(.mobile-menu-container) #search_tour .chosen-container-single .chosen-single div b {
	background: none !important;
	position: relative;
}

body:has(.mobile-menu-container) #search_tour .chosen-container-single .chosen-single div b::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	margin: 0;
	transform: translate(-50%, -35%);
	border-left: 0.45em solid transparent;
	border-right: 0.45em solid transparent;
	border-top: 0.55em solid #444;
}

body:has(.mobile-menu-container) #search_tour .chosen-container-active.chosen-with-drop .chosen-single div b::after {
	transform: translate(-50%, -35%) rotate(180deg);
}

/* Calendar icon: scale with text, keep inside the input */
body:has(.mobile-menu-container) #search_tour .Zebra_DatePicker_Icon_Wrapper {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	overflow: visible;
}

body:has(.mobile-menu-container) #search_tour .Zebra_DatePicker_Icon_Wrapper > input {
	width: 100% !important;
	padding-left: 2.6em !important;
}

body:has(.mobile-menu-container) #search_tour button.Zebra_DatePicker_Icon,
body:has(.mobile-menu-container) #search_tour button.Zebra_DatePicker_Icon_Inside,
body:has(.mobile-menu-container) .samo_container button.Zebra_DatePicker_Icon,
body:has(.mobile-menu-container) .samo_container button.Zebra_DatePicker_Icon_Inside {
	position: absolute !important;
	left: 0.7em !important;
	right: auto !important;
	top: 50% !important;
	width: 1.25em !important;
	height: 1.25em !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	transform: translateY(-50%) !important;
	box-shadow: none !important;
}

body:has(.mobile-menu-container) #search_tour td.calendar input[type="text"],
body:has(.mobile-menu-container) #search_tour td.calendar input.frm-input {
	padding-left: 2.6em !important;
}

/* Native select arrows (tour/nights/adults/currency) + chosen arrows */
body:has(.mobile-menu-container) #search_tour select,
body:has(.mobile-menu-container) #search_tour select.spin,
body:has(.mobile-menu-container) #search_tour select.nights,
body:has(.mobile-menu-container) #search_tour select.ADULT,
body:has(.mobile-menu-container) #search_tour select.CHILD,
body:has(.mobile-menu-container) #search_tour select.CURRENCY,
body:has(.mobile-menu-container) #search_tour select.age {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath fill='%23444444' d='M2 2l8 8 8-8'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 0.85em center !important;
	background-size: 1em 0.65em !important;
	padding-right: 2.6em !important;
}

body:has(.mobile-menu-container) #search_tour select::-ms-expand {
	display: none;
}

body:has(.mobile-menu-container) #search_tour .chosen-container-single .chosen-single,
body:has(.mobile-menu-container) #search_tour .custom-chosen-wrapper .chosen-single {
	height: 2.6em !important;
	line-height: 2.5em !important;
	padding-right: 2.6em !important;
	position: relative !important;
}

body:has(.mobile-menu-container) #search_tour .chosen-container-single .chosen-single div,
body:has(.mobile-menu-container) #search_tour .custom-chosen-wrapper .chosen-single div {
	width: 2.4em !important;
	height: 100% !important;
}

body:has(.mobile-menu-container) #search_tour .chosen-container-single .chosen-single div b,
body:has(.mobile-menu-container) #search_tour .custom-chosen-wrapper .chosen-single div b {
	background: none !important;
	position: relative !important;
}

body:has(.mobile-menu-container) #search_tour .chosen-container-single .chosen-single div b::after,
body:has(.mobile-menu-container) #search_tour .custom-chosen-wrapper .chosen-single div b::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	margin: 0;
	transform: translate(-50%, -35%);
	border-left: 0.5em solid transparent;
	border-right: 0.5em solid transparent;
	border-top: 0.65em solid #444;
}

/* Spin-button arrows on number-like inputs */
body:has(.mobile-menu-container) #search_tour input.spin-button,
body:has(.mobile-menu-container) .samo_container input.spin-button {
	background-size: 1.5em auto !important;
	padding-right: 2.2em !important;
	background-position: right 0.35em center !important;
}

body:has(.mobile-menu-container) #search_tour input.spin-button.up {
	background-position: right 0.35em -1.4em !important;
}

body:has(.mobile-menu-container) #search_tour input.spin-button.down {
	background-position: right 0.35em -2.8em !important;
}

/* Larger checkboxes */
body:has(.mobile-menu-container) #search_tour input[type="checkbox"],
body:has(.mobile-menu-container) .samo_container input[type="checkbox"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 1.7em !important;
	height: 1.7em !important;
	min-width: 22px !important;
	min-height: 22px !important;
	margin: 0 0.6em 0 0 !important;
	vertical-align: middle;
	border: 2px solid #fff !important;
	border-radius: 4px;
	background: #fff !important;
	transform: none !important;
	flex-shrink: 0;
	position: relative;
}

body:has(.mobile-menu-container) #search_tour input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 45%;
	width: 0.35em;
	height: 0.7em;
	border: solid #4DA528;
	border-width: 0 0.22em 0.22em 0;
	transform: translate(-50%, -55%) rotate(45deg);
}

body:has(.mobile-menu-container) #search_tour .checklistbox label,
body:has(.mobile-menu-container) #search_tour .header label,
body:has(.mobile-menu-container) #search_tour .filters-panel label {
	display: flex !important;
	align-items: center;
	gap: 0.45em;
	font-size: 0.95em !important;
	line-height: 1.4 !important;
	min-height: 2em;
}

body:has(.mobile-menu-container) #search_tour .hotels_container .checklistbox,
body:has(.mobile-menu-container) #search_tour .HOTELSCONTAINER .checklistbox {
	width: 100% !important;
	max-width: 100%;
	height: auto !important;
	min-height: 8em;
	max-height: 14em;
	overflow-y: auto;
	text-align: left;
	font-size: 0.95em !important;
}

body:has(.mobile-menu-container) #search_tour .header .left,
body:has(.mobile-menu-container) #search_tour .header .right,
body:has(.mobile-menu-container) #search_tour .footer .left,
body:has(.mobile-menu-container) #search_tour .footer .right,
body:has(.mobile-menu-container) #search_tour .footer label.right {
	float: none !important;
	display: block;
	width: 100%;
	text-align: left;
}

body:has(.mobile-menu-container) #search_tour .filters-panel .checklistbox,
body:has(.mobile-menu-container) #search_tour .filters-panel.no-ufilter .checklistbox {
	height: auto !important;
	display: flex;
	flex-direction: column;
	gap: 0.4em;
}

body:has(.mobile-menu-container) #search_tour .filters-panel .checklistbox label,
body:has(.mobile-menu-container) #search_tour .filters-panel.no-ufilter .checklistbox label {
	float: none !important;
	display: flex !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0;
	white-space: normal;
	font-size: 0.95em !important;
}

body:has(.mobile-menu-container) #search_tour button.load,
body:has(.mobile-menu-container) #search_tour .footer button {
	min-height: 2.8em;
	font-size: 1.05em !important;
	font-weight: 600;
}
