/*
 * Mobile-first discovery shell for native WPRentals Property Lists.
 * Structural rules live here; colors and typography are sampled from the
 * active theme by mobile-discovery.js so Theme Options remain authoritative.
 */

body.waoh-properties-list-discovery {
	--waoh-discovery-accent: #2c7a7b;
	--waoh-discovery-accent-background: linear-gradient(90deg, #2c7a7b 50%, #2c7a7b 100%);
	--waoh-discovery-on-accent: #fff;
	--waoh-discovery-text: #5d6475;
	--waoh-discovery-heading: #484848;
	--waoh-discovery-surface: #fff;
	--waoh-discovery-surface-muted: #f7f8fa;
	--waoh-discovery-border: #e7e9ef;
	--waoh-discovery-control-radius: 4px;
	--waoh-discovery-shell-radius: 16px;
	--waoh-discovery-shadow: 0 12px 32px rgb(33 42 55 / 14%);
	--waoh-discovery-card-meta-font-size: 13px;
	--waoh-accent: var(--waoh-discovery-accent);
	--waoh-accent-dark: var(--waoh-discovery-accent);
	--waoh-border: var(--waoh-discovery-border);
	--waoh-ink: var(--waoh-discovery-heading);
	--waoh-muted: var(--waoh-discovery-text);
	overflow-x: hidden;
	overflow-x: clip;
}

/* Defensive fallback for cached theme markup; PHP disables this header first. */
body.waoh-properties-list-discovery .header_media.with_search_oldtype,
body.waoh-properties-list-discovery #search_wrapper,
body.waoh-properties-list-discovery #adv-search-header-mobile,
body.waoh-properties-list-discovery #adv-search-mobile {
	display: none !important;
}

body.waoh-properties-list-discovery .breadcrumb_container {
	display: none !important;
}

body.waoh-properties-list-discovery .content_wrapper {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

.waoh-mobile-discovery {
	position: relative;
	z-index: 12;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 30px;
	color: var(--waoh-discovery-text);
	font-family: inherit;
	font-size: inherit;
}

.waoh-mobile-discovery *,
.waoh-mobile-discovery *::before,
.waoh-mobile-discovery *::after {
	box-sizing: border-box;
}

.waoh-mobile-discovery__hero {
	position: relative;
	left: 50%;
	width: 100vw;
	margin: 0;
	transform: translateX(-50%);
	background: var(--waoh-discovery-accent-background, var(--waoh-discovery-accent));
	color: var(--waoh-discovery-on-accent);
	padding: 62px 20px 96px;
}

/* Search results intentionally use no marketing title.  Keep only the small
 * colour ledge that visually anchors the search card. */
.waoh-mobile-discovery__hero.is-titleless,
.waoh-mobile-discovery__hero--titleless {
	min-height: 96px;
	padding: 0 20px 96px;
}

.waoh-mobile-discovery__hero-inner {
	width: min(1170px, 100%);
	margin: 0 auto;
}

.waoh-mobile-discovery__hero h1,
.waoh-mobile-discovery__hero p {
	max-width: 820px;
	color: inherit;
	font-family: inherit;
	text-shadow: none;
}

.waoh-mobile-discovery__hero h1 {
	margin: 0;
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 600;
	line-height: 1.12;
}

.waoh-mobile-discovery__hero p {
	margin: 10px 0 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
}

.waoh-mobile-discovery__assistive {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.waoh-mobile-discovery__theme-probes {
	position: fixed !important;
	top: 0 !important;
	left: -10000px !important;
	width: 48px !important;
	height: 48px !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

.waoh-mobile-discovery__native-form-anchor,
.waoh-discovery-native-submit {
	display: none !important;
}

.waoh-discovery-native-form {
	width: 100%;
	height: auto;
	margin: 0 !important;
	padding: 0 !important;
}

.waoh-mobile-discovery__noscript {
	margin: 16px 0 0;
	text-align: center;
}

.waoh-mobile-discovery__noscript a {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.waoh-mobile-discovery__search-card {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: -50px;
	overflow: hidden;
	border: 1px solid var(--waoh-discovery-border);
	border-radius: var(--waoh-discovery-shell-radius);
	background: var(--waoh-discovery-surface);
	box-shadow: var(--waoh-discovery-shadow);
}

.waoh-mobile-discovery__desktop-field,
.waoh-mobile-discovery__desktop-submit,
.waoh-mobile-discovery__mobile-submit {
	display: none !important;
}

.waoh-mobile-discovery__field {
	position: relative;
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) 18px;
	gap: 13px;
	align-items: center;
	min-width: 0;
	min-height: 86px;
	margin: 0;
	border: 0;
	border-inline-end: 1px solid var(--waoh-discovery-border);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--waoh-discovery-text);
	font: inherit;
	padding: 14px 18px;
	text-align: start;
	cursor: pointer;
}

.waoh-mobile-discovery__field:last-child {
	border-inline-end: 0;
}

.waoh-mobile-discovery__field:hover {
	background: var(--waoh-discovery-surface-muted);
}

.waoh-mobile-discovery__field:focus-visible,
.waoh-mobile-discovery__action:focus-visible,
.waoh-mobile-discovery__desktop-submit:focus-visible,
.waoh-mobile-discovery__mobile-submit:focus-visible,
.waoh-discovery-dialog button:focus-visible {
	position: relative;
	z-index: 2;
	outline: 3px solid var(--waoh-discovery-accent);
	outline: 3px solid color-mix(in srgb, var(--waoh-discovery-accent) 36%, transparent);
	outline-offset: -3px;
}

.waoh-mobile-discovery__field.is-required-missing {
	background: #fff7f6;
	box-shadow: inset 0 0 0 2px #b42318;
}

.waoh-mobile-discovery__field.is-required-missing .waoh-mobile-discovery__field-label,
.waoh-mobile-discovery__field.is-required-missing .waoh-mobile-discovery__field-copy strong,
.waoh-mobile-discovery__field.is-required-missing > .waoh-mobile-discovery__icon {
	color: #b42318;
}

@supports (background: color-mix(in srgb, white 50%, black)) {
	.waoh-mobile-discovery__field.is-required-missing {
		background: color-mix(in srgb, #b42318 7%, var(--waoh-discovery-surface));
	}
}

.waoh-mobile-discovery__date-error {
	margin: 10px 2px 0;
	color: #b42318;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

.waoh-mobile-discovery__date-error[hidden] {
	display: none !important;
}

.waoh-mobile-discovery__loading {
	display: flex;
	min-height: 28px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 12px 0 0;
	color: var(--waoh-discovery-text);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
}

.waoh-mobile-discovery__loading[hidden] {
	display: none !important;
}

.waoh-mobile-discovery__loading-spinner,
.waoh-mobile-discovery__loading .waoh-loading-spinner {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	border: 2px solid var(--waoh-discovery-border);
	border-top-color: var(--waoh-discovery-accent);
	border-radius: 50%;
	animation: waoh-discovery-spin 700ms linear infinite;
}

@keyframes waoh-discovery-spin {
	to {
		transform: rotate(1turn);
	}
}

.waoh-mobile-discovery.is-searching {
	cursor: wait;
}

.waoh-mobile-discovery.is-searching .waoh-mobile-discovery__desktop-submit,
.waoh-mobile-discovery.is-searching .waoh-mobile-discovery__mobile-submit,
.waoh-mobile-discovery.is-searching .waoh-filters__submit,
.waoh-mobile-discovery.is-searching [data-waoh-search-submit] {
	cursor: wait !important;
	filter: none !important;
	opacity: 0.76;
	pointer-events: none;
}

.waoh-mobile-discovery__field-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.waoh-mobile-discovery__field-label {
	color: var(--waoh-discovery-text);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.25;
}

.waoh-mobile-discovery__field-copy strong {
	overflow: hidden;
	color: var(--waoh-discovery-heading);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.waoh-mobile-discovery__icon {
	display: block;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.waoh-mobile-discovery__field > .waoh-mobile-discovery__icon:first-child {
	width: 27px;
	height: 27px;
	color: var(--waoh-discovery-heading);
}

.waoh-mobile-discovery__field > .waoh-mobile-discovery__icon:last-child {
	width: 18px;
	height: 18px;
	color: var(--waoh-discovery-text);
}

.waoh-mobile-discovery__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
	max-width: 560px;
	margin: 16px auto 0;
}

.waoh-mobile-discovery__action {
	display: inline-flex;
	min-width: 0;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	border: 1px solid var(--waoh-discovery-border);
	border-radius: 999px;
	background: var(--waoh-discovery-surface);
	box-shadow: none;
	color: var(--waoh-discovery-heading);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	padding: 10px 16px;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
}

.waoh-mobile-discovery__action:hover {
	border-color: var(--waoh-discovery-accent);
	color: var(--waoh-discovery-accent);
}

.waoh-mobile-discovery__action .waoh-mobile-discovery__icon {
	width: 22px;
	height: 22px;
}

.waoh-mobile-discovery__filter-badge {
	display: inline-flex;
	min-width: 20px;
	height: 20px;
	align-items: center;
	justify-content: center;
	margin-inline-start: 1px;
	border-radius: 999px;
	background: var(--waoh-discovery-accent-background, var(--waoh-discovery-accent));
	color: var(--waoh-discovery-on-accent);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 0 6px;
}

.waoh-mobile-discovery__filter-badge[hidden] {
	display: none !important;
}

/*
 * Advanced Search keeps WP Rentals' real query, cards, pagination and
 * carousels, but presents them in the same full-width grid as Properties List.
 * Removing the map surface also prevents its tiles from competing with listing
 * photos on mobile connections.
 */
body.waoh-search-results-discovery #google_map_prop_list_wrapper {
	position: static !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

body.waoh-search-results-discovery .full_map_container,
body.waoh-search-results-discovery .full_map_container > .row.half_map_on_right,
body.waoh-search-results-discovery .half_map_on_right {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

body.waoh-search-results-discovery #google_map_prop_list {
	display: none !important;
}

body.waoh-search-results-discovery #gmap-control-list {
	display: none !important;
}

body.waoh-search-results-discovery #google_map_prop_list_sidebar {
	position: static !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	float: none !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--waoh-discovery-surface) !important;
	overflow: visible !important;
}

body.waoh-search-results-discovery #advanced_search_map_list,
body.waoh-search-results-discovery #advanced_search_map_list_hidden,
body.waoh-search-results-discovery .wprentals_adv_listing_filters_head.advanced_filters,
body.waoh-search-results-discovery .half_map_results,
body.waoh-search-results-discovery #listing_ajax_container > .entry-title.title_prop {
	display: none !important;
}

body.waoh-search-results-discovery .waoh-mobile-discovery {
	width: min(1170px, calc(100% - 30px));
	margin-right: auto;
	margin-left: auto;
}

body.waoh-search-results-discovery .waoh-discovery-native-form > :not(.waoh-mobile-discovery__search-card):not(.waoh-discovery-dialog) {
	display: none !important;
}

body.waoh-search-results-discovery #listing_ajax_container {
	position: relative !important;
	left: auto !important;
	display: flex !important;
	clear: both !important;
	width: min(1170px, calc(100% - 30px)) !important;
	max-width: 1170px !important;
	height: auto !important;
	min-height: 0 !important;
	flex-wrap: wrap !important;
	float: none !important;
	margin: 0 auto !important;
	padding: 0 !important;
	overflow: visible !important;
}

body.waoh-search-results-discovery #listing_ajax_container > .listing_wrapper {
	display: block !important;
	width: 33.333333% !important;
	max-width: 33.333333% !important;
	flex: 0 0 33.333333% !important;
	float: none !important;
	margin: 0 0 30px !important;
	padding-right: 8px !important;
	padding-left: 8px !important;
}

body.waoh-search-results-discovery #listing_ajax_container .property_listing {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	padding-bottom: 15px !important;
}

body.waoh-search-results-discovery #listing_ajax_container .listing-unit-img-wrapper,
body.waoh-search-results-discovery #listing_ajax_container .listing-unit-img-wrapper-full,
body.waoh-search-results-discovery #listing_ajax_container .wprentals-card-unit-details-wrapper {
	float: none !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
}

body.waoh-search-results-discovery #listing_ajax_container .property_unit_carousel,
body.waoh-search-results-discovery #listing_ajax_container .property_unit_carousel .carousel-inner,
body.waoh-search-results-discovery #listing_ajax_container .property_unit_carousel .carousel-inner > .item {
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
}

body.waoh-search-results-discovery #listing_ajax_container .property_unit_carousel img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 400 / 314;
	object-fit: cover;
}

body.waoh-search-results-discovery #listing_ajax_container > .pagination_ajax_search,
body.waoh-search-results-discovery #listing_ajax_container > .pagination,
body.waoh-search-results-discovery #listing_ajax_container > nav {
	width: 100% !important;
	max-width: none !important;
	flex: 0 0 100% !important;
}

.waoh-mobile-discovery__summary {
	margin-top: 24px;
}

.waoh-mobile-discovery__result-count {
	margin: 0;
	color: var(--waoh-discovery-heading);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
}

.waoh-mobile-discovery__result-count.is-compact {
	color: var(--waoh-discovery-text);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
}

.waoh-mobile-discovery__result-count.is-compact strong {
	color: var(--waoh-discovery-heading);
	font-weight: 700;
}

.waoh-mobile-discovery__result-note {
	margin: 5px 0 0;
	color: var(--waoh-discovery-text);
	font-size: 14px;
	line-height: 1.5;
}

.waoh-mobile-discovery__result-note-mobile {
	display: none;
}

/* Applied criteria remain close to the result count and can be removed one
 * by one.  The aliases keep the component resilient to cached markup. */
.waoh-active-filters,
.waoh-mobile-discovery__active-filters {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 1px 1px 4px;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

.waoh-active-filters[hidden],
.waoh-mobile-discovery__active-filters[hidden] {
	display: none !important;
}

.waoh-active-filter-chip,
.waoh-mobile-discovery__active-filter {
	display: inline-flex;
	min-height: 38px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	border: 1px solid var(--waoh-discovery-accent);
	border-radius: 999px;
	background: var(--waoh-discovery-surface);
	box-shadow: none;
	color: var(--waoh-discovery-heading);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	padding: 8px 12px;
	white-space: nowrap;
	cursor: pointer;
}

.waoh-active-filter-chip:hover,
.waoh-active-filter-chip:focus-visible,
.waoh-mobile-discovery__active-filter:hover,
.waoh-mobile-discovery__active-filter:focus-visible {
	background: var(--waoh-discovery-surface-muted);
	color: var(--waoh-discovery-accent);
}

.waoh-active-filter-chip:focus-visible,
.waoh-mobile-discovery__active-filter:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--waoh-discovery-accent) 30%, transparent);
	outline-offset: 2px;
}

.waoh-active-filter-chip__remove,
.waoh-active-filter-chip__close,
.waoh-mobile-discovery__active-filter-remove {
	display: inline-flex;
	width: 18px;
	height: 18px;
	align-items: center;
	justify-content: center;
	color: currentColor;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
}

.waoh-mobile-discovery__trust {
	display: flex;
	min-height: 50px;
	align-items: center;
	gap: 11px;
	margin-top: 18px;
	border: 1px solid var(--waoh-discovery-border);
	border-radius: 14px;
	background: var(--waoh-discovery-surface-muted);
	color: var(--waoh-discovery-heading);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	padding: 11px 16px;
}

@supports (background: color-mix(in srgb, white 50%, black)) {
	.waoh-mobile-discovery__trust {
		border-color: color-mix(in srgb, var(--waoh-discovery-accent) 22%, var(--waoh-discovery-border));
		background: color-mix(in srgb, var(--waoh-discovery-accent) 8%, var(--waoh-discovery-surface));
	}
}

.waoh-mobile-discovery__trust .waoh-mobile-discovery__icon {
	flex: 0 0 auto;
	color: var(--waoh-discovery-accent);
}

body.waoh-discovery-dialog-open {
	overflow: hidden !important;
}

.waoh-discovery-dialog {
	width: min(560px, calc(100vw - 32px));
	max-width: 560px;
	max-height: min(720px, calc(100dvh - 48px));
	margin: auto;
	overflow: hidden;
	border: 0;
	border-radius: 18px;
	background: var(--waoh-discovery-surface);
	box-shadow: 0 24px 80px rgb(0 0 0 / 26%);
	color: var(--waoh-discovery-text);
	font: inherit;
	padding: 0;
}

.waoh-discovery-dialog:not([open]) {
	display: none;
}

.waoh-discovery-dialog.is-open {
	position: fixed;
	z-index: 999999;
	inset: 50% auto auto 50%;
	display: block;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 100vmax rgb(24 31 42 / 55%), 0 24px 80px rgb(0 0 0 / 26%);
}

.waoh-discovery-dialog::backdrop {
	background: rgb(24 31 42 / 55%);
	backdrop-filter: blur(2px);
}

.waoh-discovery-dialog__surface {
	display: flex;
	min-height: 360px;
	max-height: inherit;
	flex-direction: column;
	background: var(--waoh-discovery-surface);
}

.waoh-discovery-dialog__header {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	min-height: 68px;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid var(--waoh-discovery-border);
	background: var(--waoh-discovery-surface);
	padding: 10px 14px;
}

.waoh-discovery-dialog__header h2 {
	margin: 0;
	color: var(--waoh-discovery-heading);
	font-family: inherit;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
}

.waoh-discovery-dialog__back,
.waoh-discovery-dialog__close {
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--waoh-discovery-heading);
	padding: 0;
	cursor: pointer;
}

.waoh-discovery-dialog__back:hover,
.waoh-discovery-dialog__close:hover {
	background: var(--waoh-discovery-surface-muted);
}

.waoh-discovery-dialog__back .waoh-mobile-discovery__icon,
.waoh-discovery-dialog__close .waoh-mobile-discovery__icon {
	width: 22px;
	height: 22px;
}

.waoh-discovery-dialog__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 34px 28px;
}

.waoh-discovery-dialog__status {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--waoh-discovery-border);
	border-radius: 999px;
	background: var(--waoh-discovery-surface-muted);
	color: var(--waoh-discovery-accent);
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	padding: 8px 11px;
}

.waoh-discovery-dialog__body p {
	max-width: 44rem;
	margin: 18px 0 0;
	color: var(--waoh-discovery-text);
	font: inherit;
	font-size: 15px;
	line-height: 1.65;
}

.waoh-discovery-dialog__instruction {
	margin: 0 0 18px !important;
	color: var(--waoh-discovery-text);
	font-size: 14px !important;
	line-height: 1.5 !important;
}

.waoh-discovery-dialog[data-waoh-native-dialog="1"] .waoh-discovery-dialog__body > div {
	position: relative;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.waoh-discovery-dialog[data-waoh-native-dialog="1"] .form-control,
.waoh-discovery-dialog[data-waoh-native-dialog="1"] input[type="text"] {
	display: block;
	width: 100% !important;
	height: 52px !important;
	margin: 0 !important;
	border: 1px solid var(--waoh-discovery-border) !important;
	border-radius: var(--waoh-discovery-control-radius) !important;
	background: var(--waoh-discovery-surface) !important;
	box-shadow: none !important;
	color: var(--waoh-discovery-heading) !important;
	font: inherit !important;
	font-size: 15px !important;
	line-height: 1.2 !important;
	padding: 0 15px !important;
}

.waoh-discovery-dialog[data-waoh-native-dialog="1"] .form-control:focus,
.waoh-discovery-dialog[data-waoh-native-dialog="1"] input[type="text"]:focus {
	border-color: var(--waoh-discovery-accent) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--waoh-discovery-accent) 16%, transparent) !important;
	outline: 0 !important;
}

.waoh-discovery-dialog[data-waoh-native-dialog="1"] .map_icon::after,
.waoh-discovery-dialog[data-waoh-native-dialog="1"] .calendar_icon::after,
.waoh-discovery-dialog[data-waoh-native-dialog="1"] .guest_no_drop::after {
	display: none !important;
}

.waoh-discovery-dialog--dates {
	width: min(760px, calc(100vw - 32px));
	max-width: 760px;
}

.waoh-discovery-dialog--dates .waoh-discovery-dialog__body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.waoh-discovery-dialog--dates .waoh-discovery-dialog__instruction,
.waoh-discovery-dialog--dates .daterangepicker {
	grid-column: 1 / -1;
}

.waoh-discovery-native-datepicker {
	position: static !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 4px 0 0 !important;
	border-color: var(--waoh-discovery-border) !important;
	box-shadow: none !important;
	z-index: 1 !important;
}

.waoh-discovery-native-datepicker::before,
.waoh-discovery-native-datepicker::after {
	display: none !important;
}

.waoh-discovery-native-datepicker .calendar,
.waoh-discovery-native-datepicker .drp-calendar {
	max-width: none !important;
}

.waoh-discovery-native-datepicker table,
.waoh-discovery-native-datepicker .calendar-table {
	width: 100% !important;
}

.waoh-discovery-native-autocomplete {
	position: static !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	width: 100% !important;
	max-height: min(360px, 48dvh);
	margin: 8px 0 0 !important;
	overflow-y: auto;
	border: 1px solid var(--waoh-discovery-border) !important;
	border-radius: 10px;
	background: var(--waoh-discovery-surface) !important;
	box-shadow: none !important;
	z-index: 1 !important;
}

.waoh-discovery-dialog--guests .wpestate_guest_no_control_wraper {
	position: static !important;
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
}

.waoh-discovery-dialog--guests .wpestate_guest_no_control_info {
	display: none !important;
}

.waoh-discovery-dialog--guests .wpestate_guest_no_buttons {
	position: static !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 !important;
	border: 1px solid var(--waoh-discovery-border) !important;
	border-radius: 12px !important;
	background: var(--waoh-discovery-surface) !important;
	box-shadow: none !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	transform: none !important;
	visibility: visible !important;
}

.waoh-discovery-dialog--guests .close_guest_control {
	display: none !important;
}

.waoh-mobile-discovery .wpestate_guest_no_buttons .control_childs,
.waoh-mobile-discovery .wpestate_guest_no_buttons .control_infants {
	display: none !important;
}

.waoh-discovery-pet-option {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	margin: 0;
	border-top: 1px solid var(--waoh-discovery-border);
	color: var(--waoh-discovery-heading);
	padding: 18px 20px;
	cursor: pointer;
}

.waoh-discovery-pet-option input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--waoh-discovery-accent);
	cursor: pointer;
}

.waoh-discovery-pet-option__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 3px;
}

.waoh-discovery-pet-option__copy strong,
.waoh-discovery-pet-option__copy small {
	color: inherit;
	font-family: inherit;
	line-height: 1.35;
}

.waoh-discovery-pet-option__copy strong {
	font-size: 14px;
	font-weight: 600;
}

.waoh-discovery-pet-option__copy small {
	color: var(--waoh-discovery-text);
	font-size: 12px;
	font-weight: 400;
}

.waoh-discovery-dialog__footer {
	flex: 0 0 auto;
	border-top: 1px solid var(--waoh-discovery-border);
	background: var(--waoh-discovery-surface);
	padding: 14px 18px max(14px, env(safe-area-inset-bottom));
}

.waoh-discovery-dialog__primary {
	display: block;
	width: 100%;
	min-height: 48px;
	margin: 0;
	border: 0;
	border-radius: var(--waoh-discovery-control-radius);
	background: var(--waoh-discovery-accent-background);
	color: var(--waoh-discovery-on-accent);
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	padding: 12px 18px;
	cursor: pointer;
}

/* WP Rentals hides advanced-search buttons inside the search-results sidebar.
 * Keep the native theme button class for inherited colours, but make the
 * dialog action visible with a selector that safely outranks the theme rule. */
#google_map_prop_list_sidebar .waoh-discovery-dialog .waoh-discovery-dialog__primary {
	display: block;
}

/* Functional filters. The active theme remains the source of truth for every
 * color through the discovery variables sampled by mobile-discovery.js. */
.waoh-discovery-dialog--filters {
	width: min(720px, calc(100vw - 32px));
	max-width: 720px;
	max-height: calc(100vh - 48px);
	max-height: min(820px, calc(100dvh - 48px));
}

.waoh-discovery-dialog--filters .waoh-discovery-dialog__body {
	padding: 0 28px;
}

.waoh-filters {
	width: 100%;
	color: var(--waoh-discovery-text);
	font: inherit;
}

.waoh-filters__section {
	min-width: 0;
	margin: 0;
	border: 0;
	border-bottom: 1px solid var(--waoh-discovery-border);
	padding: 24px 0;
}

.waoh-filters__section:last-child {
	border-bottom: 0;
}

.waoh-filters__title {
	display: block;
	width: 100%;
	margin: 0 0 14px;
	color: var(--waoh-discovery-heading);
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	padding: 0;
}

.waoh-filters__hint {
	margin: -6px 0 14px !important;
	color: var(--waoh-discovery-text) !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
}

.waoh-filters__options {
	display: grid;
	gap: 2px;
}

.waoh-filter-option {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	min-height: 48px;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--waoh-discovery-heading);
	font: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.35;
	padding: 8px 2px;
	cursor: pointer;
}

.waoh-filter-option__copy {
	display: flex;
	min-width: 0;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.waoh-filter-option__copy small,
.waoh-filter-option__count {
	color: var(--waoh-discovery-text);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
}

.waoh-filter-option input[type="checkbox"],
.waoh-filter-option input[type="radio"] {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--waoh-discovery-accent);
	cursor: pointer;
}

.waoh-filter-option:has(input:disabled) {
	opacity: 0.48;
	cursor: not-allowed;
}

.waoh-filter-option input:focus-visible,
.waoh-filters__more-summary:focus-visible,
.waoh-filters__reset:focus-visible,
.waoh-filters__submit:focus-visible {
	outline: 3px solid var(--waoh-discovery-accent);
	outline: 3px solid color-mix(in srgb, var(--waoh-discovery-accent) 36%, transparent);
	outline-offset: 3px;
}

.waoh-filter-choice-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}

.waoh-filter-choice {
	position: relative;
	margin: 0;
}

.waoh-filter-choice input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.waoh-filter-choice span {
	display: flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--waoh-discovery-border);
	border-radius: 10px;
	background: var(--waoh-discovery-surface);
	color: var(--waoh-discovery-heading);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	padding: 9px 6px;
	text-align: center;
	cursor: pointer;
}

.waoh-filter-choice input:checked + span {
	border-color: var(--waoh-discovery-accent);
	box-shadow: inset 0 0 0 1px var(--waoh-discovery-accent);
	color: var(--waoh-discovery-accent);
}

.waoh-filter-choice input:focus-visible + span {
	outline: 3px solid var(--waoh-discovery-accent);
	outline: 3px solid color-mix(in srgb, var(--waoh-discovery-accent) 36%, transparent);
	outline-offset: 2px;
}

.waoh-filter-group {
	display: grid;
	gap: 14px;
}

.waoh-filter-distance {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.waoh-filters__more {
	margin: 0;
	border-bottom: 1px solid var(--waoh-discovery-border);
	padding: 0;
}

.waoh-filters__more-summary {
	position: relative;
	display: flex;
	min-height: 68px;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	color: var(--waoh-discovery-heading);
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	padding: 18px 2px;
	list-style: none;
	cursor: pointer;
}

.waoh-filters__more-summary::-webkit-details-marker {
	display: none;
}

.waoh-filters__more-summary::after {
	display: block;
	width: 10px;
	height: 10px;
	flex: 0 0 auto;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	content: "";
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform 160ms ease;
}

.waoh-filters__more[open] .waoh-filters__more-summary::after {
	transform: rotate(225deg) translate(-2px, -2px);
}

.waoh-filters__more-content {
	padding: 0 0 20px;
}

.waoh-filters__footer {
	position: sticky;
	z-index: 3;
	bottom: 0;
	display: grid;
	grid-template-columns: auto minmax(190px, 1fr);
	align-items: center;
	gap: 16px;
	border-top: 1px solid var(--waoh-discovery-border);
	background: var(--waoh-discovery-surface);
	padding: 14px 22px max(14px, env(safe-area-inset-bottom));
	box-shadow: 0 -10px 24px rgb(33 42 55 / 7%);
}

.waoh-filters__reset {
	min-height: 44px;
	margin: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	color: var(--waoh-discovery-text);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	padding: 8px 4px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.waoh-filters__reset:hover {
	color: var(--waoh-discovery-heading);
}

.waoh-filters__submit {
	display: flex;
	width: 100%;
	min-height: 52px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 0;
	border: 0;
	border-radius: var(--waoh-discovery-control-radius);
	background: var(--waoh-discovery-accent-background, var(--waoh-discovery-accent));
	box-shadow: none;
	color: var(--waoh-discovery-on-accent);
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	padding: 10px 18px;
	text-align: center;
	cursor: pointer;
}

.waoh-filters__submit:hover {
	filter: brightness(0.96);
}

.waoh-filters__submit:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	filter: none;
}

.waoh-filters__submit-count,
.waoh-filters__status {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
}

@supports (background: color-mix(in srgb, white 50%, black)) {
	.waoh-filter-choice input:checked + span {
		background: color-mix(in srgb, var(--waoh-discovery-accent) 9%, var(--waoh-discovery-surface));
	}
}

@media (min-width: 1024px) {
	.waoh-mobile-discovery[data-waoh-offer-context="0"] .waoh-mobile-discovery__search-card {
		grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(145px, 0.8fr)) minmax(140px, 165px);
		overflow: visible;
	}

	.waoh-mobile-discovery[data-waoh-offer-context="0"] .waoh-mobile-discovery__field {
		display: none;
	}

	.waoh-mobile-discovery__desktop-field {
		position: relative;
		display: block !important;
		min-width: 0;
		min-height: 86px;
		border-inline-end: 1px solid var(--waoh-discovery-border);
		background: var(--waoh-discovery-surface);
	}

	.waoh-mobile-discovery__desktop-field::before {
		position: absolute;
		z-index: 2;
		top: 17px;
		left: 46px;
		color: var(--waoh-discovery-text);
		content: attr(data-waoh-label);
		font-size: 12px;
		font-weight: 500;
		line-height: 1.2;
		pointer-events: none;
	}

	.waoh-mobile-discovery__desktop-field > div,
	.waoh-mobile-discovery__desktop-field .wpestate_guest_no_control_wraper {
		position: relative !important;
		float: none !important;
		width: 100% !important;
		height: 86px;
		margin: 0 !important;
		padding: 0 !important;
	}

	.waoh-mobile-discovery__desktop-field input.form-control:not([type="hidden"]),
	.waoh-mobile-discovery__desktop-field .wpestate_guest_no_control_info.form-control {
		display: flex !important;
		width: 100% !important;
		height: 86px !important;
		align-items: flex-end;
		margin: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		color: var(--waoh-discovery-heading) !important;
		font: inherit !important;
		font-size: 15px !important;
		font-weight: 600 !important;
		line-height: 1.25 !important;
		padding: 31px 14px 10px 46px !important;
		cursor: pointer;
	}

	.waoh-mobile-discovery__desktop-field[data-waoh-desktop-slot="where"] input.form-control:not([type="hidden"]) {
		cursor: text;
	}

	.waoh-mobile-discovery__desktop-field input.form-control:not([type="hidden"]):focus,
	.waoh-mobile-discovery__desktop-field .wpestate_guest_no_control_info.form-control:focus {
		box-shadow: inset 0 0 0 2px var(--waoh-discovery-accent) !important;
		outline: 0 !important;
	}

	.waoh-mobile-discovery__desktop-field .map_icon::after,
	.waoh-mobile-discovery__desktop-field .calendar_icon::after,
	.waoh-mobile-discovery__desktop-field .guest_no_drop::after {
		left: 16px !important;
		top: 50% !important;
		transform: translateY(-18%) !important;
	}

	.waoh-mobile-discovery__desktop-field.is-required-missing {
		background: #fff7f6;
		box-shadow: inset 0 0 0 2px #b42318;
	}

	.waoh-mobile-discovery__desktop-field.is-required-missing::before,
	.waoh-mobile-discovery__desktop-field.is-required-missing input.form-control:not([type="hidden"]) {
		color: #b42318 !important;
	}

	.waoh-mobile-discovery__desktop-field.is-required-missing input.form-control:not([type="hidden"]):focus {
		box-shadow: inset 0 0 0 2px #b42318 !important;
	}

	.waoh-mobile-discovery__desktop-field.is-required-missing .calendar_icon::after {
		color: #b42318 !important;
	}

	.waoh-mobile-discovery__desktop-field .ui-autocomplete,
	.waoh-mobile-discovery__desktop-field .wpestate_guest_no_buttons,
	body.waoh-properties-list-discovery .daterangepicker {
		z-index: 2000 !important;
	}

	.waoh-mobile-discovery__desktop-submit {
		display: inline-flex !important;
		min-width: 140px;
		min-height: 86px;
		align-items: center;
		justify-content: center;
		margin: 0 !important;
		border: 0 !important;
		border-radius: 0 var(--waoh-discovery-shell-radius) var(--waoh-discovery-shell-radius) 0 !important;
		background: var(--waoh-discovery-accent-background) !important;
		box-shadow: none !important;
		color: var(--waoh-discovery-on-accent) !important;
		font: inherit;
		font-size: 15px;
		font-weight: 600;
		padding: 16px 24px;
		cursor: pointer;
	}

	.waoh-mobile-discovery__desktop-submit:hover {
		filter: brightness(0.96);
	}

	.waoh-mobile-discovery__actions {
		display: none;
	}

	/* Keep the two useful actions on the real search-results page without
	 * restoring the map control. */
	body.waoh-search-results-discovery
		.waoh-mobile-discovery[data-waoh-offer-context="0"]
		.waoh-mobile-discovery__actions {
		display: grid;
	}

	.waoh-mobile-discovery__summary {
		margin-top: 20px;
	}
}

@media (max-width: 1023px) {
	body.waoh-properties-list-discovery .mobile_header {
		border-bottom: 1px solid var(--waoh-discovery-border) !important;
		background: #fff !important;
		box-shadow: none !important;
	}

	/* Search results use one continuous brand-colour surface from the native
	 * mobile header to the support behind the compact search card. */
	body.waoh-search-results-discovery .master_header,
	body.waoh-search-results-discovery .mobile_header {
		border-bottom: 0 !important;
		background: var(--waoh-discovery-accent-background, var(--waoh-discovery-accent)) !important;
		box-shadow: none !important;
	}

	body.waoh-search-results-discovery .mobile_header .mobile-logo img {
		filter: brightness(0) invert(1);
	}

	body.waoh-properties-list-discovery .mobile_header .mobile-trigger,
	body.waoh-properties-list-discovery .mobile_header .mobile-trigger-user,
	body.waoh-properties-list-discovery .mobile_header .mobile-trigger i,
	body.waoh-properties-list-discovery .mobile_header .mobile-trigger-user i {
		color: var(--waoh-discovery-heading) !important;
	}

	body.waoh-search-results-discovery .mobile_header .mobile-trigger,
	body.waoh-search-results-discovery .mobile_header .mobile-trigger-user,
	body.waoh-search-results-discovery .mobile_header .mobile-trigger i,
	body.waoh-search-results-discovery .mobile_header .mobile-trigger-user i {
		color: var(--waoh-discovery-on-accent) !important;
	}

	body.waoh-search-results-discovery .mobile_header .mobile-trigger {
		margin-left: 6px;
	}

	body.waoh-search-results-discovery .mobile_header .mobile-trigger-user {
		margin-right: 6px;
	}

	body.waoh-search-results-discovery #listing_ajax_container {
		width: 100% !important;
		padding-right: 8px !important;
		padding-left: 8px !important;
	}

	body.waoh-search-results-discovery #listing_ajax_container > .listing_wrapper {
		width: 100% !important;
		max-width: 100% !important;
		flex-basis: 100% !important;
		padding-right: 8px !important;
		padding-left: 8px !important;
	}

	body.waoh-search-results-discovery #listing_ajax_container {
		row-gap: 0 !important;
	}

	body.waoh-search-results-discovery #listing_ajax_container > .single-content.half-single-content {
		display: none !important;
	}

	.waoh-discovery-dialog--dates[data-waoh-native-dialog="1"] .waoh-discovery-dialog__body[data-waoh-native-slot="dates"] > .calendar_icon {
		display: none !important;
	}

	.waoh-mobile-discovery[data-waoh-offer-context="0"] .waoh-mobile-discovery__mobile-submit {
		display: flex !important;
		width: 100%;
		min-height: 50px;
		align-items: center;
		justify-content: center;
		margin: 12px 0 0 !important;
		border: 0 !important;
		border-radius: var(--waoh-discovery-control-radius) !important;
		background: var(--waoh-discovery-accent-background) !important;
		box-shadow: none !important;
		color: var(--waoh-discovery-on-accent) !important;
		font: inherit;
		font-size: 15px;
		font-weight: 600;
		padding: 12px 18px;
		cursor: pointer;
	}

	.waoh-mobile-discovery[data-waoh-offer-context="0"] .waoh-mobile-discovery__mobile-submit:hover {
		filter: brightness(0.96);
	}

	.waoh-discovery-dialog--dates .waoh-discovery-native-datepicker td.in-range:not(.active) {
		background: #e6f2f2 !important;
		color: var(--waoh-discovery-heading) !important;
	}

	.waoh-discovery-dialog--dates .waoh-discovery-native-datepicker td.active,
	.waoh-discovery-dialog--dates .waoh-discovery-native-datepicker td.active:hover,
	.waoh-discovery-dialog--dates .waoh-discovery-native-datepicker td.start-date,
	.waoh-discovery-dialog--dates .waoh-discovery-native-datepicker td.end-date {
		border-color: var(--waoh-discovery-accent) !important;
		background: var(--waoh-discovery-accent) !important;
		color: var(--waoh-discovery-on-accent) !important;
	}

	@supports (background: color-mix(in srgb, white 50%, black)) {
		.waoh-discovery-dialog--dates .waoh-discovery-native-datepicker td.in-range:not(.active) {
			background: color-mix(in srgb, var(--waoh-discovery-accent) 14%, var(--waoh-discovery-surface)) !important;
		}
	}
}

@media (max-width: 767px) {

	body.waoh-properties-list-discovery .content_wrapper,
	body.waoh-properties-list-discovery .content_wrapper > .row.content-fixed {
		width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	body.waoh-properties-list-discovery .content_wrapper > .row.content-fixed > .col-md-12:not(.breadcrumb_container) {
		padding-right: 16px !important;
		padding-left: 16px !important;
	}

	.waoh-mobile-discovery {
		margin-top: 0;
		margin-bottom: 24px;
	}

	body.waoh-search-results-discovery .waoh-mobile-discovery {
		width: calc(100% - 32px);
		margin-bottom: 12px;
	}

	.waoh-mobile-discovery__hero {
		padding: 30px 16px 82px;
	}

	.waoh-mobile-discovery__hero.is-titleless,
	.waoh-mobile-discovery__hero--titleless {
		min-height: 82px;
		padding: 0 16px 82px;
	}

	/* The search-results form is moved into this native wrapper by JavaScript.
	 * Space that wrapper—not the green hero—so the separation stays white. */
	body.waoh-search-results-discovery
		.waoh-mobile-discovery[data-waoh-search-results-context="1"]
		> .waoh-discovery-native-form {
		margin-top: 16px !important;
	}

	.waoh-mobile-discovery__hero h1 {
		font-size: 25px;
		line-height: 1.16;
	}

	.waoh-mobile-discovery__hero p {
		margin-top: 6px;
		font-size: 13px;
		line-height: 1.4;
	}

	.waoh-mobile-discovery[data-waoh-offer-context="0"] .waoh-mobile-discovery__hero-inner > p {
		display: none;
	}

	.waoh-mobile-discovery__search-card {
		grid-template-columns: minmax(0, 1fr);
		margin-top: -52px;
		border-radius: 18px;
	}

	.waoh-mobile-discovery__field {
		grid-template-columns: 27px minmax(0, 1fr) 18px;
		min-height: 64px;
		border-inline-end: 0;
		border-bottom: 1px solid var(--waoh-discovery-border);
		padding: 9px 15px;
	}

	.waoh-mobile-discovery__field:last-child {
		border-bottom: 0;
	}

	.waoh-mobile-discovery__field-label {
		font-size: 11px;
	}

	.waoh-mobile-discovery__field-copy strong {
		font-size: 14px;
	}

	.waoh-mobile-discovery__actions {
		gap: 8px;
		margin-top: 12px;
	}

	.waoh-mobile-discovery__action {
		min-height: 44px;
		gap: 6px;
		font-size: 13px;
		padding: 8px 9px;
	}

	.waoh-mobile-discovery__action .waoh-mobile-discovery__icon {
		width: 20px;
		height: 20px;
	}

	.waoh-mobile-discovery__summary {
		margin-top: 20px;
	}

	.waoh-mobile-discovery__result-count {
		font-size: 20px;
	}

	.waoh-mobile-discovery__result-count.is-compact {
		font-size: 13px;
	}

	.waoh-mobile-discovery[data-waoh-offer-context="0"] .waoh-mobile-discovery__result-count.is-compact {
		font-size: var(--waoh-discovery-card-meta-font-size, 13px);
	}

	.waoh-mobile-discovery__result-note {
		font-size: var(--waoh-discovery-card-meta-font-size, 13px);
	}

	.waoh-active-filters,
	.waoh-mobile-discovery__active-filters {
		width: calc(100% + 16px);
		margin-right: -16px;
		padding-right: 16px;
		scrollbar-width: none;
	}

	.waoh-active-filters::-webkit-scrollbar,
	.waoh-mobile-discovery__active-filters::-webkit-scrollbar {
		display: none;
	}

	.waoh-mobile-discovery[data-waoh-offer-context="0"] .waoh-mobile-discovery__result-note-desktop {
		display: none;
	}

	.waoh-mobile-discovery[data-waoh-offer-context="0"] .waoh-mobile-discovery__result-note-mobile {
		display: inline;
	}

	.waoh-mobile-discovery[data-waoh-offer-context="0"] .waoh-mobile-discovery__trust {
		display: none;
	}

	.waoh-mobile-discovery__trust {
		min-height: 46px;
		margin-top: 14px;
		border-radius: 13px;
		font-size: 12px;
		padding: 9px 12px;
	}

	.waoh-mobile-discovery__trust .waoh-mobile-discovery__icon {
		width: 21px;
		height: 21px;
	}

	.waoh-discovery-dialog {
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		max-width: none;
		max-height: none;
		margin: 0;
		border-radius: 0;
	}

	.waoh-discovery-dialog__surface {
		height: 100vh;
		height: 100dvh;
		min-height: 100vh;
		min-height: 100dvh;
		max-height: 100vh;
		max-height: 100dvh;
		padding-top: env(safe-area-inset-top);
	}

	.waoh-discovery-dialog__header {
		position: sticky;
		z-index: 2;
		top: 0;
		min-height: 62px;
		padding: 8px 10px;
	}

	.waoh-discovery-dialog__header h2 {
		font-size: 17px;
	}

	.waoh-discovery-dialog__body {
		padding: 30px 20px;
	}

	.waoh-discovery-dialog--dates .waoh-discovery-dialog__body {
		display: block;
		padding: 18px 16px;
	}

	.waoh-discovery-dialog--dates .waoh-discovery-dialog__body > div {
		margin-bottom: 10px !important;
	}

	.waoh-discovery-dialog--dates .daterangepicker {
		margin-top: 12px !important;
	}

	.waoh-discovery-native-datepicker .calendar,
	.waoh-discovery-native-datepicker .drp-calendar,
	.waoh-discovery-native-datepicker .calendar.left,
	.waoh-discovery-native-datepicker .calendar.right,
	.waoh-discovery-native-datepicker .drp-calendar.left,
	.waoh-discovery-native-datepicker .drp-calendar.right {
		float: none !important;
		width: 100% !important;
		max-width: none !important;
		padding: 0 !important;
	}

	.waoh-discovery-native-datepicker .calendar.right,
	.waoh-discovery-native-datepicker .drp-calendar.right {
		margin-top: 14px !important;
	}

	.waoh-discovery-dialog--guests .wpestate_guest_no_buttons {
		border: 0 !important;
	}

	.waoh-discovery-dialog__footer {
		position: sticky;
		z-index: 2;
		bottom: 0;
	}

	.waoh-discovery-dialog--filters .waoh-discovery-dialog__body {
		padding: 0 16px;
	}

	.waoh-discovery-dialog--filters .waoh-discovery-dialog__back {
		display: none;
	}

	.waoh-discovery-dialog--filters .waoh-discovery-dialog__close {
		grid-column: 1;
		grid-row: 1;
	}

	.waoh-discovery-dialog--filters .waoh-discovery-dialog__header h2 {
		grid-column: 2;
		grid-row: 1;
	}

	.waoh-filters__section {
		padding: 22px 0;
	}

	.waoh-filters__title,
	.waoh-filters__more-summary {
		font-size: 16px;
	}

	.waoh-filters__title {
		padding-top: 12px;
	}

	.waoh-filter-option {
		min-height: 46px;
		font-size: 14px;
	}

	.waoh-filter-choice-grid {
		grid-template-columns: minmax(82px, 1.45fr) repeat(4, minmax(42px, 1fr));
		gap: 6px;
	}

	.waoh-filter-choice span {
		min-height: 42px;
		font-size: 13px;
	}

	.waoh-filter-distance {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}

	.waoh-filters__footer {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 12px;
		padding: 12px 16px max(12px, env(safe-area-inset-bottom));
	}
}

@media (max-width: 360px) {
	.waoh-mobile-discovery__action {
		gap: 3px;
		font-size: 11px;
		padding-right: 4px;
		padding-left: 4px;
	}

	.waoh-mobile-discovery__action .waoh-mobile-discovery__icon {
		width: 17px;
		height: 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.waoh-mobile-discovery *,
	.waoh-discovery-dialog * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.waoh-mobile-discovery__loading-spinner,
	.waoh-mobile-discovery__loading .waoh-loading-spinner {
		animation-duration: 1.5s;
	}
}

@media (forced-colors: active) {
	.waoh-mobile-discovery__search-card,
	.waoh-mobile-discovery__field,
	.waoh-mobile-discovery__action,
	.waoh-mobile-discovery__trust,
	.waoh-discovery-dialog,
	.waoh-filter-choice span,
	.waoh-filter-option input,
	.waoh-filters__submit {
		border: 1px solid CanvasText;
	}

	.waoh-filter-choice input:checked + span {
		border-width: 2px;
	}
}
