.ch-property-search {
	--ch-bg: linear-gradient(135deg, rgba(13, 21, 25, 0.94), rgba(13, 21, 25, 0.86));
	--ch-bg-strong: #10191f;
	--ch-panel: #16242d;
	--ch-panel-soft: #1d2b34;
	--ch-border: rgba(221, 174, 112, 0.22);
	--ch-border-soft: rgba(255, 255, 255, 0.12);
	--ch-text: #ffffff;
	--ch-muted: rgba(255, 255, 255, 0.68);
	--ch-gold: #d9a968;
	--ch-gold-dark: #b88341;
	--ch-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
	position: relative !important;
	z-index: 20 !important;
	width: min(1220px, calc(100vw - 32px)) !important;
	margin: 0 auto !important;
	padding: 18px !important;
	color: var(--ch-text) !important;
	background: var(--ch-bg) !important;
	border: 1px solid var(--ch-border) !important;
	border-radius: 8px !important;
	box-shadow: var(--ch-shadow) !important;
	backdrop-filter: blur(18px) !important;
	-webkit-backdrop-filter: blur(18px) !important;
}

.ch-property-search * {
	box-sizing: border-box !important;
}

.ch-property-search .ch-search-top,
.ch-property-search .ch-search-fields,
.ch-property-search .ch-advanced-fields {
	display: grid !important;
	gap: 12px !important;
}

.ch-property-search .ch-search-top {
	grid-template-columns: minmax(230px, 0.78fr) minmax(310px, 1fr) minmax(310px, 1fr) !important;
	align-items: center !important;
	margin-bottom: 14px !important;
}

.ch-property-search .ch-search-fields {
	grid-template-columns: minmax(240px, 1.12fr) minmax(240px, 1.12fr) minmax(230px, 1fr) minmax(190px, 0.88fr) minmax(150px, 0.62fr) !important;
	align-items: end !important;
}

.ch-property-search .ch-mode-fields {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 10px !important;
	align-items: end !important;
}

.ch-property-search .ch-segment {
	display: grid !important;
	grid-auto-flow: column !important;
	grid-auto-columns: 1fr !important;
	gap: 4px !important;
	padding: 3px !important;
	background: rgba(255, 255, 255, 0.055) !important;
	border: 1px solid var(--ch-border-soft) !important;
	border-radius: 8px !important;
}

.ch-property-search .ch-segment-option {
	position: relative !important;
	display: block !important;
	min-width: 0 !important;
	margin: 0 !important;
	cursor: pointer !important;
}

.ch-property-search .ch-segment-option input {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	opacity: 0 !important;
	cursor: pointer !important;
}

.ch-property-search .ch-segment-option span {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 36px !important;
	padding: 0 16px !important;
	color: var(--ch-muted) !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	text-align: center !important;
	background: transparent !important;
	border-radius: 6px !important;
	box-shadow: none !important;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
	white-space: nowrap !important;
}

.ch-property-search .ch-segment-option input:checked + span {
	color: #e7bd7b !important;
	background: rgba(217, 169, 104, 0.11) !important;
	box-shadow: inset 0 -2px 0 var(--ch-gold) !important;
}

.ch-property-search .ch-substatus[hidden],
.ch-property-search .ch-mode-fields[hidden],
.ch-property-search .ch-input-field[hidden] {
	display: none !important;
}

.ch-property-search .ch-field-label,
.ch-property-search .ch-input-field > span {
	display: block !important;
	margin-bottom: 7px !important;
	color: var(--ch-muted) !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	line-height: 1.1 !important;
	text-transform: uppercase !important;
	letter-spacing: 0 !important;
}

.ch-property-search .ch-input-field,
.ch-property-search .ch-multiselect {
	position: relative !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.ch-property-search .ch-input-field select,
.ch-property-search .ch-input-field input,
.ch-property-search .ch-dropdown-toggle,
.ch-property-search .ch-multiselect .ch-dropdown-toggle {
	width: 100% !important;
	height: 46px !important;
	padding: 0 14px !important;
	color: var(--ch-text) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	background-color: #20282d !important;
	border: 1px solid var(--ch-border-soft) !important;
	border-radius: 7px !important;
	outline: none !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.ch-property-search .ch-input-field select,
.ch-property-search .ch-input-field input {
	appearance: none !important;
	-webkit-appearance: none !important;
}

.ch-property-search .ch-input-field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--ch-gold) 50%), linear-gradient(135deg, var(--ch-gold) 50%, transparent 50%) !important;
	background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px !important;
	background-size: 6px 6px, 6px 6px !important;
	background-repeat: no-repeat !important;
}

.ch-property-search .ch-input-field input::placeholder {
	color: rgba(255, 255, 255, 0.42) !important;
}

.ch-property-search .ch-input-field select:focus,
.ch-property-search .ch-input-field input:focus,
.ch-property-search .ch-dropdown-toggle:focus {
	border-color: var(--ch-gold) !important;
	background-color: #20282d !important;
	box-shadow: 0 0 0 3px rgba(217, 169, 104, 0.18) !important;
}

.ch-property-search .ch-input-field select option,
.ch-property-search .ch-input-field select optgroup {
	color: #10191f !important;
	background: #ffffff !important;
}

.ch-property-search .ch-dropdown-toggle {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 10px !important;
	text-align: left !important;
	cursor: pointer !important;
}

.ch-property-search .ch-dropdown-icon,
.ch-property-search .ch-advanced-icon {
	display: inline-block !important;
	width: 8px !important;
	height: 8px !important;
	border-right: 2px solid var(--ch-gold) !important;
	border-bottom: 2px solid var(--ch-gold) !important;
	transform: rotate(45deg) !important;
	transition: transform 0.2s ease !important;
	flex: 0 0 auto !important;
}

.ch-property-search .ch-multiselect.is-open .ch-dropdown-icon,
.ch-property-search .ch-advanced[open] .ch-advanced-icon {
	transform: rotate(225deg) !important;
}

.ch-property-search .ch-dropdown-panel {
	position: absolute !important;
	top: calc(100% + 8px) !important;
	left: 0 !important;
	z-index: 60 !important;
	display: none !important;
	width: min(340px, calc(100vw - 48px)) !important;
	max-height: 320px !important;
	padding: 8px !important;
	overflow: auto !important;
	background: #ffffff !important;
	border: 1px solid rgba(16, 25, 31, 0.12) !important;
	border-radius: 8px !important;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24) !important;
}

.ch-property-search .ch-multiselect.is-open .ch-dropdown-panel {
	display: block !important;
}

.ch-property-search .ch-check-option {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	min-height: 38px !important;
	margin: 0 !important;
	padding: 8px 10px !important;
	color: #16242d !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	border-radius: 6px !important;
	cursor: pointer !important;
}

.ch-property-search .ch-check-option:hover {
	background: rgba(217, 169, 104, 0.14) !important;
}

.ch-property-search .ch-check-option input {
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
	accent-color: var(--ch-gold-dark) !important;
	flex: 0 0 auto !important;
}

.ch-property-search .ch-type-group + .ch-type-group {
	margin-top: 8px !important;
	padding-top: 8px !important;
	border-top: 1px solid rgba(16, 25, 31, 0.1) !important;
}

.ch-property-search .ch-type-group-title {
	padding: 6px 10px 4px !important;
	color: #6f7d85 !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	letter-spacing: 0 !important;
}

.ch-property-search .ch-empty-option {
	padding: 10px !important;
	color: #6f7d85 !important;
	font-size: 14px !important;
}

.ch-property-search .ch-search-submit {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 46px !important;
	padding: 0 24px !important;
	color: #111820 !important;
	font-size: 13px !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
	background: var(--ch-gold) !important;
	border: 1px solid var(--ch-gold) !important;
	border-radius: 7px !important;
	cursor: pointer !important;
	box-shadow: none !important;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.ch-property-search .ch-search-submit:hover,
.ch-property-search .ch-search-submit:focus {
	background: #e6b979 !important;
	border-color: #e6b979 !important;
	box-shadow: 0 14px 32px rgba(217, 169, 104, 0.24) !important;
	transform: translateY(-1px) !important;
}

.ch-property-search .ch-advanced {
	margin-top: 14px !important;
	padding-top: 14px !important;
	border-top: 1px solid var(--ch-border-soft) !important;
}

.ch-property-search .ch-advanced summary {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	color: var(--ch-gold) !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	cursor: pointer !important;
	list-style: none !important;
}

.ch-property-search .ch-advanced summary::-webkit-details-marker {
	display: none !important;
}

.ch-property-search .ch-advanced-fields {
	grid-template-columns: minmax(180px, 0.45fr) minmax(260px, 1fr) !important;
	align-items: end !important;
	margin-top: 12px !important;
}

.ch-property-search .ch-field--features {
	grid-column: auto !important;
}

.ch-property-search .ch-input-field.is-disabled,
.ch-property-search .ch-mode-fields.is-disabled {
	display: none !important;
}

body.houzez-halfmap-page .half-map-wrap {
	background: #0f181d !important;
}

body.houzez-halfmap-page .half-map-left-wrap .map-wrap,
body.houzez-halfmap-page #houzez-properties-map {
	background: #111c23 !important;
}

body.houzez-halfmap-page .half-map-right-wrap {
	background: #0f181d !important;
}

body.houzez-halfmap-page .page-title-wrap {
	background: #111c23 !important;
	border-bottom: 1px solid rgba(217, 169, 104, 0.18) !important;
}

body.houzez-halfmap-page .page-title {
	color: #ffffff !important;
	font-weight: 800 !important;
}

body.houzez-halfmap-page .sort-by-title,
body.houzez-halfmap-page .sort-by .bootstrap-select .btn {
	color: rgba(255, 255, 255, 0.76) !important;
}

body.houzez-halfmap-page .item-wrap,
body.houzez-halfmap-page .item-wrap-v1,
body.houzez-halfmap-page .item-wrap-v2,
body.houzez-halfmap-page .item-wrap-v4,
body.houzez-halfmap-page .item-wrap-v7 {
	border-radius: 8px !important;
	overflow: hidden !important;
}

body.houzez-halfmap-page .advanced-search-half-map {
	background: #111c23 !important;
	border-bottom: 1px solid rgba(217, 169, 104, 0.18) !important;
}

@media (max-width: 1199px) {
	.ch-property-search .ch-search-top {
		grid-template-columns: 1fr 1fr !important;
	}

	.ch-property-search .ch-search-group--substatus {
		grid-column: 1 / -1 !important;
	}

	.ch-property-search .ch-search-fields {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.ch-property-search .ch-advanced-fields {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 767px) {
	.ch-property-search {
		width: min(100%, calc(100vw - 24px)) !important;
		padding: 14px !important;
		border-radius: 8px !important;
	}

	.ch-property-search .ch-search-top,
	.ch-property-search .ch-search-fields,
	.ch-property-search .ch-advanced-fields {
		grid-template-columns: 1fr !important;
	}

	.ch-property-search .ch-mode-fields {
		grid-template-columns: 1fr !important;
	}

	.ch-property-search .ch-segment {
		grid-auto-flow: row !important;
		grid-auto-columns: initial !important;
		grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
	}

	.ch-property-search .ch-segment-option span {
		min-height: 40px !important;
		padding: 9px 8px !important;
		font-size: 12px !important;
		white-space: normal !important;
	}

	.ch-property-search .ch-dropdown-panel {
		position: fixed !important;
		top: auto !important;
		right: 12px !important;
		bottom: 12px !important;
		left: 12px !important;
		width: auto !important;
		max-height: 52vh !important;
	}

	.ch-property-search .ch-field--features {
		grid-column: auto !important;
	}

	body.houzez-halfmap-page .page-title-wrap .d-flex {
		align-items: flex-start !important;
		flex-direction: column !important;
		gap: 10px !important;
	}
}

/* Capital Heights ground-floor search filter - 2026-09-16. */
.ch-property-search .ch-ground-floor-filter {
	position: relative !important;
	display: block !important;
	min-width: 0 !important;
	margin: 0 !important;
	cursor: pointer !important;
}

.ch-property-search .ch-ground-floor-toggle {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	height: 46px !important;
	min-width: 0 !important;
	padding: 0 14px !important;
	color: var(--ch-text) !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	background-color: #20282d !important;
	border: 1px solid var(--ch-border-soft) !important;
	border-radius: 7px !important;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.ch-property-search .ch-ground-floor-toggle input {
	position: absolute !important;
	inset: 0 !important;
	z-index: 1 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	opacity: 0 !important;
	cursor: pointer !important;
}

.ch-property-search .ch-ground-floor-toggle > span {
	display: flex !important;
	align-items: center !important;
	gap: 9px !important;
	min-width: 0 !important;
	line-height: 1.15 !important;
	white-space: nowrap !important;
}

.ch-property-search .ch-ground-floor-toggle > span::before {
	display: block !important;
	width: 17px !important;
	height: 17px !important;
	content: '' !important;
	background: transparent !important;
	border: 2px solid rgba(255, 255, 255, 0.5) !important;
	border-radius: 3px !important;
	box-shadow: inset 0 0 0 3px #20282d !important;
	flex: 0 0 17px !important;
}

.ch-property-search .ch-ground-floor-toggle input:checked + span {
	color: #e7bd7b !important;
}

.ch-property-search .ch-ground-floor-toggle input:checked + span::before {
	background: var(--ch-gold) !important;
	border-color: var(--ch-gold) !important;
}

.ch-property-search .ch-ground-floor-toggle input:focus-visible + span {
	outline: 2px solid var(--ch-gold) !important;
	outline-offset: 4px !important;
}

.ch-property-search .ch-ground-floor-toggle:hover {
	border-color: var(--ch-gold) !important;
}

@media (min-width: 1200px) {
	.ch-property-search .ch-search-fields,
	.ch-property-search.is-category-all .ch-search-fields {
		grid-template-columns: minmax(190px, 1.08fr) minmax(180px, 1fr) minmax(175px, 0.95fr) minmax(145px, 0.72fr) minmax(180px, 0.95fr) minmax(135px, 0.65fr) !important;
	}
}

@media (max-width: 767px) {
	.ch-property-search .ch-ground-floor-filter {
		grid-column: 1 / -1 !important;
	}

	.ch-property-search .ch-ground-floor-toggle > span {
		white-space: normal !important;
	}
}

/* Capital Heights responsive search + mobile hero safety fix - 2026-07-06 v2
   Fixes cropped shortcode search forms in Elementor tablet/mobile previews and on real devices. */
.ch-property-search,
.elementor-widget-shortcode .ch-property-search,
.elementor-widget-container .ch-property-search,
.ch-properties-archive-search .ch-property-search,
body.ch-custom-map-view .ch-property-search {
	box-sizing: border-box !important;
	container-name: ch-property-search;
	container-type: inline-size;
	inline-size: 100% !important;
	width: 100% !important;
	max-inline-size: min(1220px, 100%) !important;
	max-width: min(1220px, 100%) !important;
	min-inline-size: 0 !important;
	min-width: 0 !important;
	margin-inline: auto !important;
	overflow: visible !important;
}

.ch-property-search--results,
.ch-properties-archive-search .ch-property-search--results,
body.ch-custom-map-view .ch-property-search {
	max-inline-size: 100% !important;
	max-width: 100% !important;
}

.ch-has-property-search,
.ch-has-property-search > .elementor-widget-container,
.ch-has-property-search > .elementor-container,
.ch-has-property-search > .elementor-widget-wrap {
	box-sizing: border-box !important;
	min-inline-size: 0 !important;
	min-width: 0 !important;
	max-inline-size: 100% !important;
	max-width: 100% !important;
	overflow: visible !important;
}

.ch-property-search *,
.ch-property-search *::before,
.ch-property-search *::after {
	box-sizing: border-box !important;
	min-inline-size: 0;
	min-width: 0;
}

.ch-property-search .ch-search-top,
.ch-property-search .ch-search-fields,
.ch-property-search.is-category-all .ch-search-fields,
.ch-property-search .ch-advanced-fields,
.ch-property-search .ch-mode-fields,
.ch-property-search .ch-price-fields {
	inline-size: 100% !important;
	width: 100% !important;
	max-inline-size: 100% !important;
	max-width: 100% !important;
}

.ch-property-search .ch-search-group,
.ch-property-search .ch-input-field,
.ch-property-search .ch-multiselect,
.ch-property-search .ch-search-submit,
.ch-property-search .ch-dropdown-toggle,
.ch-property-search input,
.ch-property-search select,
.ch-property-search button {
	max-inline-size: 100% !important;
	max-width: 100% !important;
}

.ch-property-search.is-ch-narrow {
	padding: 14px !important;
	border-radius: 8px !important;
}

.ch-property-search.is-ch-narrow .ch-search-top,
.ch-property-search.is-ch-narrow .ch-search-fields,
.ch-property-search.is-ch-narrow.is-category-all .ch-search-fields,
.ch-property-search.is-ch-narrow .ch-advanced-fields {
	grid-template-columns: 1fr !important;
}

.ch-property-search.is-ch-narrow .ch-mode-fields,
.ch-property-search.is-ch-narrow .ch-price-fields {
	grid-template-columns: 1fr !important;
}

.ch-property-search.is-ch-narrow .ch-segment {
	grid-auto-flow: row !important;
	grid-auto-columns: initial !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.ch-property-search.is-ch-narrow .ch-segment-option span {
	min-height: 40px !important;
	padding: 9px 8px !important;
	font-size: 12px !important;
	white-space: normal !important;
}

.ch-property-search.is-ch-phone {
	padding: 12px !important;
}

.ch-property-search.is-ch-phone .ch-search-top,
.ch-property-search.is-ch-phone .ch-search-fields,
.ch-property-search.is-ch-phone .ch-advanced-fields {
	gap: 10px !important;
}

.ch-property-search.is-ch-phone .ch-field-label,
.ch-property-search.is-ch-phone .ch-input-field > span {
	font-size: 10px !important;
}

.ch-property-search.is-ch-phone .ch-dropdown-panel,
.ch-property-search.is-ch-phone .ch-field--type .ch-dropdown-panel {
	position: fixed !important;
	top: auto !important;
	right: 12px !important;
	bottom: 12px !important;
	left: 12px !important;
	z-index: 999999 !important;
	width: auto !important;
	max-width: none !important;
	max-height: 58vh !important;
}

@container ch-property-search (max-width: 760px) {
	.ch-property-search .ch-search-top,
	.ch-property-search .ch-search-fields,
	.ch-property-search.is-category-all .ch-search-fields,
	.ch-property-search .ch-advanced-fields {
		grid-template-columns: 1fr !important;
	}

	.ch-property-search .ch-mode-fields,
	.ch-property-search .ch-price-fields {
		grid-template-columns: 1fr !important;
	}

	.ch-property-search .ch-segment {
		grid-auto-flow: row !important;
		grid-auto-columns: initial !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.ch-property-search .ch-segment-option span {
		min-height: 40px !important;
		padding: 9px 8px !important;
		font-size: 12px !important;
		white-space: normal !important;
	}
}

@media (max-width: 767px) {
	.ch-has-property-search.elementor-section,
	.ch-has-property-search.elementor-container,
	.ch-has-property-search.elementor-column,
	.ch-has-property-search.elementor-widget-wrap,
	.ch-has-property-search.elementor-widget,
	.ch-has-property-search.elementor-widget-shortcode,
	.ch-has-property-search .elementor-widget-container {
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}

	.ch-property-search,
	.elementor-widget-shortcode .ch-property-search,
	.elementor-widget-container .ch-property-search {
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		padding: 12px !important;
	}

	.ch-property-search .ch-search-top,
	.ch-property-search .ch-search-fields,
	.ch-property-search.is-category-all .ch-search-fields,
	.ch-property-search .ch-advanced-fields,
	.ch-property-search .ch-mode-fields,
	.ch-property-search .ch-price-fields {
		grid-template-columns: 1fr !important;
	}

	.ch-property-search .ch-segment {
		grid-auto-flow: row !important;
		grid-auto-columns: initial !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.ch-property-search .ch-segment-option span {
		min-height: 40px !important;
		padding: 9px 8px !important;
		font-size: 12px !important;
		white-space: normal !important;
	}

	.elementor-widget-button.ch-has-whatsapp-button,
	.elementor-widget.ch-has-whatsapp-button {
		box-sizing: border-box !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
		left: auto !important;
		right: auto !important;
		transform: none !important;
		text-align: center !important;
		overflow: visible !important;
	}

	.elementor-widget-button.ch-has-whatsapp-button .elementor-widget-container,
	.elementor-widget.ch-has-whatsapp-button .elementor-widget-container {
		max-width: 100% !important;
		overflow: visible !important;
		text-align: center !important;
	}

	.elementor-widget-button.ch-has-whatsapp-button .elementor-button,
	.elementor-widget.ch-has-whatsapp-button a.elementor-button.ch-whatsapp-button {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		max-inline-size: calc(100vw - 32px) !important;
		max-width: calc(100vw - 32px) !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
		margin-inline: auto !important;
		white-space: normal !important;
		line-height: 1.2 !important;
		left: auto !important;
		right: auto !important;
		transform: none !important;
	}
}

/* Capital Heights mobile dropdown viewport fix - 2026-07-06 v3
   Keeps Type and Features panels inside the visible iPhone viewport and above mobile browser toolbars. */
@media (max-width: 767px) {
	body .ch-property-search.is-ch-phone .ch-multiselect,
	body .ch-property-search.is-ch-phone .ch-field--type,
	body .ch-property-search.is-ch-phone .ch-field--features {
		position: relative !important;
		z-index: 999998 !important;
	}

	body .ch-property-search.is-ch-phone .ch-multiselect.is-open .ch-dropdown-panel,
	body .ch-property-search.is-ch-phone .ch-field--type.is-open .ch-dropdown-panel,
	body .ch-property-search.is-ch-phone .ch-field--features.is-open .ch-dropdown-panel {
		position: fixed !important;
		top: auto !important;
		right: max(14px, env(safe-area-inset-right)) !important;
		bottom: calc(var(--ch-mobile-dropdown-bottom, 88px) + env(safe-area-inset-bottom)) !important;
		left: max(14px, env(safe-area-inset-left)) !important;
		z-index: 999999 !important;
		display: block !important;
		width: auto !important;
		max-width: calc(100vw - 28px) !important;
		max-height: min(var(--ch-mobile-dropdown-max-height, 52vh), 58dvh) !important;
		margin: 0 !important;
		padding: 12px !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		color: #ffffff !important;
		background: #10191f !important;
		border: 1px solid rgba(255, 255, 255, 0.16) !important;
		border-radius: 18px !important;
		box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5) !important;
		transform: none !important;
	}

	body .ch-property-search.is-ch-phone .ch-field--type.is-open .ch-dropdown-panel,
	body .ch-property-search.is-ch-phone .ch-field--features.is-open .ch-dropdown-panel {
		right: max(14px, env(safe-area-inset-right)) !important;
		left: max(14px, env(safe-area-inset-left)) !important;
		width: auto !important;
	}

	body .ch-property-search.is-ch-phone .ch-multiselect.is-open .ch-dropdown-panel .ch-check-option,
	body .ch-property-search.is-ch-phone .ch-field--type.is-open .ch-dropdown-panel .ch-check-option,
	body .ch-property-search.is-ch-phone .ch-field--features.is-open .ch-dropdown-panel .ch-check-option {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 12px !important;
		min-height: 44px !important;
		width: 100% !important;
		padding: 10px 12px !important;
		color: #ffffff !important;
		font-size: 15px !important;
		font-weight: 700 !important;
		line-height: 1.25 !important;
		text-align: left !important;
		white-space: normal !important;
	}

	body .ch-property-search.is-ch-phone .ch-multiselect.is-open .ch-dropdown-panel .ch-check-option input,
	body .ch-property-search.is-ch-phone .ch-field--type.is-open .ch-dropdown-panel .ch-check-option input,
	body .ch-property-search.is-ch-phone .ch-field--features.is-open .ch-dropdown-panel .ch-check-option input {
		flex: 0 0 20px !important;
		width: 20px !important;
		height: 20px !important;
		margin: 0 !important;
		accent-color: var(--ch-gold, #d9a968) !important;
	}

	body .ch-property-search.is-ch-phone .ch-multiselect.is-open .ch-dropdown-panel .ch-check-option span,
	body .ch-property-search.is-ch-phone .ch-field--type.is-open .ch-dropdown-panel .ch-check-option span,
	body .ch-property-search.is-ch-phone .ch-field--features.is-open .ch-dropdown-panel .ch-check-option span {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		color: #ffffff !important;
		text-align: left !important;
		white-space: normal !important;
		word-break: normal !important;
		overflow-wrap: anywhere !important;
	}

	body .ch-property-search.is-ch-phone .ch-field--type.is-open .ch-type-group-title {
		padding: 8px 12px 6px !important;
		color: rgba(255, 255, 255, 0.68) !important;
		font-size: 11px !important;
		font-weight: 800 !important;
		line-height: 1.2 !important;
		text-transform: uppercase !important;
	}
}


/* Capital Heights compact tablet/mobile search layout - 2026-07-06 v4
   Keeps desktop unchanged while placing Type/Features and Min/Max Price on two-column rows. */
@media (max-width: 1199px) {
	body .ch-property-search .ch-search-fields,
	body .ch-property-search.is-category-all .ch-search-fields,
	body .ch-property-search.is-ch-narrow .ch-search-fields,
	body .ch-property-search.is-ch-narrow.is-category-all .ch-search-fields,
	body .ch-property-search.is-ch-phone .ch-search-fields,
	body .ch-property-search.is-ch-phone.is-category-all .ch-search-fields {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		align-items: end !important;
		gap: 10px !important;
	}

	body .ch-property-search .ch-field--location,
	body .ch-property-search .ch-mode-fields,
	body .ch-property-search .ch-price-fields,
	body .ch-property-search .ch-search-submit {
		grid-column: 1 / -1 !important;
	}

	body .ch-property-search .ch-field--type,
	body .ch-property-search .ch-field--features {
		grid-column: span 1 !important;
	}

	body .ch-property-search .ch-mode-fields,
	body .ch-property-search.is-ch-narrow .ch-mode-fields,
	body .ch-property-search.is-ch-phone .ch-mode-fields,
	body .ch-property-search .ch-price-fields,
	body .ch-property-search.is-ch-narrow .ch-price-fields,
	body .ch-property-search.is-ch-phone .ch-price-fields {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
		align-items: end !important;
	}

	body .ch-property-search .ch-mode-fields[hidden],
	body .ch-property-search.is-ch-narrow .ch-mode-fields[hidden],
	body .ch-property-search.is-ch-phone .ch-mode-fields[hidden] {
		display: none !important;
	}

	body .ch-property-search .ch-field--type:not(.has-selection) [data-ch-dropdown-label],
	body .ch-property-search .ch-field--features:not(.has-selection) [data-ch-dropdown-label] {
		font-size: 0 !important;
		line-height: 1 !important;
	}

	body .ch-property-search .ch-field--type:not(.has-selection) [data-ch-dropdown-label]::after,
	body .ch-property-search .ch-field--features:not(.has-selection) [data-ch-dropdown-label]::after {
		display: inline-block !important;
		max-width: 100% !important;
		color: var(--ch-text) !important;
		font-size: 13px !important;
		font-weight: 800 !important;
		line-height: 1 !important;
		text-transform: uppercase !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}

	body .ch-property-search .ch-field--type:not(.has-selection) [data-ch-dropdown-label]::after {
		content: "TYPES" !important;
	}

	body .ch-property-search .ch-field--features:not(.has-selection) [data-ch-dropdown-label]::after {
		content: "FEATURES" !important;
	}

	body .ch-property-search .ch-dropdown-toggle,
	body .ch-property-search .ch-input-field select {
		padding-right: 34px !important;
		padding-left: 12px !important;
		font-size: 13px !important;
	}

	body .ch-property-search .ch-field--type .ch-dropdown-toggle,
	body .ch-property-search .ch-field--features .ch-dropdown-toggle,
	body .ch-property-search .ch-field--min-price select,
	body .ch-property-search .ch-field--max-price select {
		min-height: 50px !important;
	}

	body .ch-property-search .ch-dropdown-toggle [data-ch-dropdown-label] {
		display: block !important;
		min-width: 0 !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: nowrap !important;
	}
}

/* Capital Heights search-results compact crop fix - 2026-07-06 v6
   Keeps the compact search form inside the visible tablet/mobile viewport on search results pages. */
@media (max-width: 1199px) {
	body .ch-property-search.ch-property-search--results,
	body .ch-properties-archive-search .ch-property-search.ch-property-search--results,
	body .ch-has-property-search .ch-property-search.ch-property-search--results {
		box-sizing: border-box !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: min(100%, calc(100vw - 24px)) !important;
		max-width: min(100%, calc(100vw - 24px)) !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
		margin-inline: auto !important;
		padding-inline: clamp(10px, 2.4vw, 14px) !important;
		overflow: visible !important;
	}

	body .ch-has-property-search,
	body .ch-has-property-search > .elementor-widget-container,
	body .ch-has-property-search > .elementor-container,
	body .ch-has-property-search > .elementor-widget-wrap,
	body .ch-properties-archive-search {
		box-sizing: border-box !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
		overflow: visible !important;
	}

	body .ch-property-search.ch-property-search--results .ch-search-top,
	body .ch-property-search.ch-property-search--results .ch-search-fields,
	body .ch-property-search.ch-property-search--results.is-category-all .ch-search-fields,
	body .ch-property-search.ch-property-search--results .ch-mode-fields,
	body .ch-property-search.ch-property-search--results .ch-price-fields {
		box-sizing: border-box !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
		overflow: visible !important;
	}

	body .ch-property-search.ch-property-search--results .ch-search-top {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 10px !important;
	}

	body .ch-property-search.ch-property-search--results .ch-search-group,
	body .ch-property-search.ch-property-search--results .ch-search-group--intent,
	body .ch-property-search.ch-property-search--results .ch-search-group--category,
	body .ch-property-search.ch-property-search--results .ch-search-group--substatus {
		grid-column: 1 / -1 !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
	}

	body .ch-property-search.ch-property-search--results .ch-segment {
		display: grid !important;
		grid-auto-flow: row !important;
		grid-auto-columns: initial !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
	}

	body .ch-property-search.ch-property-search--results .ch-segment-option,
	body .ch-property-search.ch-property-search--results .ch-segment-option span {
		box-sizing: border-box !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
	}

	body .ch-property-search.ch-property-search--results .ch-segment-option span {
		padding-inline: 4px !important;
		font-size: clamp(10px, 2.55vw, 13px) !important;
		line-height: 1.12 !important;
		white-space: normal !important;
		overflow: visible !important;
		text-overflow: clip !important;
	}

	body .ch-property-search.ch-property-search--results .ch-search-fields,
	body .ch-property-search.ch-property-search--results.is-category-all .ch-search-fields,
	body .ch-property-search.ch-property-search--results.is-ch-narrow .ch-search-fields,
	body .ch-property-search.ch-property-search--results.is-ch-phone .ch-search-fields {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		align-items: end !important;
		gap: 8px !important;
	}

	body .ch-property-search.ch-property-search--results .ch-field--location,
	body .ch-property-search.ch-property-search--results .ch-mode-fields,
	body .ch-property-search.ch-property-search--results .ch-price-fields,
	body .ch-property-search.ch-property-search--results .ch-search-submit {
		grid-column: 1 / -1 !important;
	}

	body .ch-property-search.ch-property-search--results .ch-field--type,
	body .ch-property-search.ch-property-search--results .ch-field--features {
		grid-column: span 1 !important;
	}

	body .ch-property-search.ch-property-search--results .ch-mode-fields,
	body .ch-property-search.ch-property-search--results.is-ch-narrow .ch-mode-fields,
	body .ch-property-search.ch-property-search--results.is-ch-phone .ch-mode-fields,
	body .ch-property-search.ch-property-search--results .ch-price-fields,
	body .ch-property-search.ch-property-search--results.is-ch-narrow .ch-price-fields,
	body .ch-property-search.ch-property-search--results.is-ch-phone .ch-price-fields {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
	}

	body .ch-property-search.ch-property-search--results .ch-field-label,
	body .ch-property-search.ch-property-search--results .ch-input-field > span {
		font-size: 10px !important;
		line-height: 1.2 !important;
		letter-spacing: 0.01em !important;
	}

	body .ch-property-search.ch-property-search--results .ch-dropdown-toggle,
	body .ch-property-search.ch-property-search--results .ch-input-field select {
		min-height: 48px !important;
		padding-inline-start: 10px !important;
		padding-inline-end: 30px !important;
		font-size: 12px !important;
	}

	body .ch-property-search.ch-property-search--results .ch-search-submit {
		min-height: 52px !important;
	}
}

@media (max-width: 390px) {
	body .ch-property-search.ch-property-search--results {
		max-inline-size: min(100%, calc(100vw - 18px)) !important;
		max-width: min(100%, calc(100vw - 18px)) !important;
		padding-inline: 9px !important;
	}

	body .ch-property-search.ch-property-search--results .ch-search-fields,
	body .ch-property-search.ch-property-search--results.is-category-all .ch-search-fields,
	body .ch-property-search.ch-property-search--results .ch-mode-fields,
	body .ch-property-search.ch-property-search--results .ch-price-fields {
		gap: 7px !important;
	}

	body .ch-property-search.ch-property-search--results .ch-segment-option span {
		font-size: 10px !important;
		padding-inline: 2px !important;
	}

	body .ch-property-search.ch-property-search--results .ch-dropdown-toggle,
	body .ch-property-search.ch-property-search--results .ch-input-field select {
		font-size: 11px !important;
		padding-inline-start: 9px !important;
		padding-inline-end: 28px !important;
	}
}

/* Capital Heights search results mobile/tablet hard crop fix - 2026-07-06 v7
   The search results page can place the shortcode inside a narrower Houzez/Elementor container.
   This keeps the compact 2-column layout inside that container instead of using the home hero width. */
@media (max-width: 1199px) {
	body.ch-search-results-page .ch-property-search,
	body.ch-property-listing-page .ch-property-search,
	body.page-template-template-search .ch-property-search,
	body .property-search-results-wrap .ch-property-search,
	body .search-results-wrap .ch-property-search,
	body .ch-properties-archive-search .ch-property-search {
		box-sizing: border-box !important;
		display: block !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
		margin-inline: 0 !important;
		padding-inline: clamp(10px, 2.5vw, 14px) !important;
		overflow: visible !important;
		transform: none !important;
	}

	body.ch-search-results-page .elementor-section,
	body.ch-search-results-page .elementor-container,
	body.ch-search-results-page .elementor-column,
	body.ch-search-results-page .elementor-widget-wrap,
	body.ch-search-results-page .elementor-widget-container,
	body.ch-search-results-page .container,
	body.ch-search-results-page .container-fluid,
	body.ch-search-results-page .property-search-results-wrap,
	body.ch-search-results-page .search-results-wrap,
	body.ch-search-results-page .ch-properties-archive-search,
	body.ch-property-listing-page .property-search-results-wrap,
	body.ch-property-listing-page .search-results-wrap,
	body.ch-property-listing-page .ch-properties-archive-search {
		box-sizing: border-box !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
		overflow: visible !important;
	}

	body.ch-search-results-page .ch-property-search *,
	body.ch-property-listing-page .ch-property-search *,
	body.page-template-template-search .ch-property-search * {
		box-sizing: border-box !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
	}

	body.ch-search-results-page .ch-property-search .ch-search-top,
	body.ch-property-listing-page .ch-property-search .ch-search-top,
	body.page-template-template-search .ch-property-search .ch-search-top,
	body .property-search-results-wrap .ch-property-search .ch-search-top,
	body .search-results-wrap .ch-property-search .ch-search-top {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 10px !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
	}

	body.ch-search-results-page .ch-property-search .ch-search-fields,
	body.ch-property-listing-page .ch-property-search .ch-search-fields,
	body.page-template-template-search .ch-property-search .ch-search-fields,
	body .property-search-results-wrap .ch-property-search .ch-search-fields,
	body .search-results-wrap .ch-property-search .ch-search-fields,
	body.ch-search-results-page .ch-property-search.is-category-all .ch-search-fields,
	body.ch-property-listing-page .ch-property-search.is-category-all .ch-search-fields,
	body.page-template-template-search .ch-property-search.is-category-all .ch-search-fields {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		align-items: end !important;
		gap: 8px !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
	}

	body.ch-search-results-page .ch-property-search .ch-search-fields > *,
	body.ch-property-listing-page .ch-property-search .ch-search-fields > *,
	body.page-template-template-search .ch-property-search .ch-search-fields > *,
	body .property-search-results-wrap .ch-property-search .ch-search-fields > *,
	body .search-results-wrap .ch-property-search .ch-search-fields > * {
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
	}

	body.ch-search-results-page .ch-property-search .ch-field--location,
	body.ch-search-results-page .ch-property-search .ch-mode-fields,
	body.ch-search-results-page .ch-property-search .ch-price-fields,
	body.ch-search-results-page .ch-property-search .ch-search-submit,
	body.ch-property-listing-page .ch-property-search .ch-field--location,
	body.ch-property-listing-page .ch-property-search .ch-mode-fields,
	body.ch-property-listing-page .ch-property-search .ch-price-fields,
	body.ch-property-listing-page .ch-property-search .ch-search-submit,
	body.page-template-template-search .ch-property-search .ch-field--location,
	body.page-template-template-search .ch-property-search .ch-mode-fields,
	body.page-template-template-search .ch-property-search .ch-price-fields,
	body.page-template-template-search .ch-property-search .ch-search-submit,
	body .property-search-results-wrap .ch-property-search .ch-field--location,
	body .property-search-results-wrap .ch-property-search .ch-mode-fields,
	body .property-search-results-wrap .ch-property-search .ch-price-fields,
	body .property-search-results-wrap .ch-property-search .ch-search-submit,
	body .search-results-wrap .ch-property-search .ch-field--location,
	body .search-results-wrap .ch-property-search .ch-mode-fields,
	body .search-results-wrap .ch-property-search .ch-price-fields,
	body .search-results-wrap .ch-property-search .ch-search-submit {
		grid-column: 1 / -1 !important;
	}

	body.ch-search-results-page .ch-property-search .ch-field--type,
	body.ch-search-results-page .ch-property-search .ch-field--features,
	body.ch-property-listing-page .ch-property-search .ch-field--type,
	body.ch-property-listing-page .ch-property-search .ch-field--features,
	body.page-template-template-search .ch-property-search .ch-field--type,
	body.page-template-template-search .ch-property-search .ch-field--features,
	body .property-search-results-wrap .ch-property-search .ch-field--type,
	body .property-search-results-wrap .ch-property-search .ch-field--features,
	body .search-results-wrap .ch-property-search .ch-field--type,
	body .search-results-wrap .ch-property-search .ch-field--features {
		grid-column: auto !important;
	}

	body.ch-search-results-page .ch-property-search .ch-mode-fields,
	body.ch-search-results-page .ch-property-search .ch-price-fields,
	body.ch-property-listing-page .ch-property-search .ch-mode-fields,
	body.ch-property-listing-page .ch-property-search .ch-price-fields,
	body.page-template-template-search .ch-property-search .ch-mode-fields,
	body.page-template-template-search .ch-property-search .ch-price-fields,
	body .property-search-results-wrap .ch-property-search .ch-mode-fields,
	body .property-search-results-wrap .ch-property-search .ch-price-fields,
	body .search-results-wrap .ch-property-search .ch-mode-fields,
	body .search-results-wrap .ch-property-search .ch-price-fields {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: 8px !important;
		align-items: end !important;
	}

	body.ch-search-results-page .ch-property-search .ch-mode-fields[hidden],
	body.ch-property-listing-page .ch-property-search .ch-mode-fields[hidden],
	body.page-template-template-search .ch-property-search .ch-mode-fields[hidden] {
		display: none !important;
	}

	body.ch-search-results-page .ch-property-search .ch-segment,
	body.ch-property-listing-page .ch-property-search .ch-segment,
	body.page-template-template-search .ch-property-search .ch-segment,
	body .property-search-results-wrap .ch-property-search .ch-segment,
	body .search-results-wrap .ch-property-search .ch-segment {
		display: grid !important;
		grid-auto-flow: row !important;
		grid-auto-columns: initial !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
	}

	body.ch-search-results-page .ch-property-search .ch-segment-option span,
	body.ch-property-listing-page .ch-property-search .ch-segment-option span,
	body.page-template-template-search .ch-property-search .ch-segment-option span,
	body .property-search-results-wrap .ch-property-search .ch-segment-option span,
	body .search-results-wrap .ch-property-search .ch-segment-option span {
		padding-inline: 3px !important;
		font-size: clamp(9px, 2.3vw, 12px) !important;
		line-height: 1.12 !important;
		white-space: normal !important;
		overflow: hidden !important;
		text-overflow: clip !important;
	}

	body.ch-search-results-page .ch-property-search .ch-dropdown-toggle,
	body.ch-search-results-page .ch-property-search .ch-input-field select,
	body.ch-search-results-page .ch-property-search .ch-input-field input,
	body.ch-property-listing-page .ch-property-search .ch-dropdown-toggle,
	body.ch-property-listing-page .ch-property-search .ch-input-field select,
	body.ch-property-listing-page .ch-property-search .ch-input-field input,
	body.page-template-template-search .ch-property-search .ch-dropdown-toggle,
	body.page-template-template-search .ch-property-search .ch-input-field select,
	body.page-template-template-search .ch-property-search .ch-input-field input,
	body .property-search-results-wrap .ch-property-search .ch-dropdown-toggle,
	body .property-search-results-wrap .ch-property-search .ch-input-field select,
	body .property-search-results-wrap .ch-property-search .ch-input-field input,
	body .search-results-wrap .ch-property-search .ch-dropdown-toggle,
	body .search-results-wrap .ch-property-search .ch-input-field select,
	body .search-results-wrap .ch-property-search .ch-input-field input {
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-height: 48px !important;
		padding-inline-start: 10px !important;
		padding-inline-end: 28px !important;
		font-size: 12px !important;
	}
}

@media (max-width: 390px) {
	body.ch-search-results-page .ch-property-search,
	body.ch-property-listing-page .ch-property-search,
	body.page-template-template-search .ch-property-search,
	body .property-search-results-wrap .ch-property-search,
	body .search-results-wrap .ch-property-search {
		padding-inline: 8px !important;
	}

	body.ch-search-results-page .ch-property-search .ch-search-fields,
	body.ch-property-listing-page .ch-property-search .ch-search-fields,
	body.page-template-template-search .ch-property-search .ch-search-fields,
	body .property-search-results-wrap .ch-property-search .ch-search-fields,
	body .search-results-wrap .ch-property-search .ch-search-fields,
	body.ch-search-results-page .ch-property-search .ch-price-fields,
	body.ch-property-listing-page .ch-property-search .ch-price-fields,
	body.page-template-template-search .ch-property-search .ch-price-fields,
	body .property-search-results-wrap .ch-property-search .ch-price-fields,
	body .search-results-wrap .ch-property-search .ch-price-fields {
		gap: 6px !important;
	}

	body.ch-search-results-page .ch-property-search .ch-dropdown-toggle,
	body.ch-search-results-page .ch-property-search .ch-input-field select,
	body.ch-property-listing-page .ch-property-search .ch-dropdown-toggle,
	body.ch-property-listing-page .ch-property-search .ch-input-field select,
	body.page-template-template-search .ch-property-search .ch-dropdown-toggle,
	body.page-template-template-search .ch-property-search .ch-input-field select {
		font-size: 11px !important;
		padding-inline-start: 8px !important;
		padding-inline-end: 26px !important;
	}
}


/* Capital Heights search results safety layout - 2026-07-06 v8
   Search results pages can render the shortcode inside a narrower listing container.
   When the measured form width is tight, use a safe one-column results layout only there,
   while keeping the home page compact two-column layout unchanged. */
@media (max-width: 1199px) {
	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight {
		box-sizing: border-box !important;
		width: min(100%, calc(100vw - 28px)) !important;
		max-width: min(100%, calc(100vw - 28px)) !important;
		min-width: 0 !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding: 10px !important;
		overflow: hidden !important;
	}

	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-search-top,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-search-top,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-search-top,
	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-search-fields,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-search-fields,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-search-fields {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 8px !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		overflow: hidden !important;
	}

	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-field--location,
	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-field--type,
	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-field--features,
	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-mode-fields,
	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-price-fields,
	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-search-submit,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-field--location,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-field--type,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-field--features,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-mode-fields,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-price-fields,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-search-submit,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-field--location,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-field--type,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-field--features,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-mode-fields,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-price-fields,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-search-submit {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-price-fields,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-price-fields,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-price-fields,
	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-mode-fields,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-mode-fields,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-mode-fields {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 8px !important;
	}

	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-segment,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-segment,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-segment {
		display: grid !important;
		grid-auto-flow: row !important;
		grid-auto-columns: initial !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-segment-option span,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-segment-option span,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-segment-option span {
		min-height: 38px !important;
		padding: 7px 3px !important;
		font-size: 10px !important;
		line-height: 1.08 !important;
		white-space: normal !important;
		overflow-wrap: anywhere !important;
		word-break: normal !important;
		overflow: hidden !important;
		text-overflow: clip !important;
	}

	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-dropdown-toggle,
	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-input-field select,
	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-input-field input,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-dropdown-toggle,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-input-field select,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-input-field input,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-dropdown-toggle,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-input-field select,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-input-field input {
		width: 100% !important;
		max-width: 100% !important;
		min-height: 48px !important;
		padding-left: 12px !important;
		padding-right: 32px !important;
		font-size: 13px !important;
	}

	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-field-label,
	body .ch-property-search.ch-property-search--results-context.is-ch-results-tight .ch-input-field > span,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-field-label,
	body.ch-search-results-page .ch-property-search.is-ch-results-tight .ch-input-field > span,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-field-label,
	body.ch-property-listing-page .ch-property-search.is-ch-results-tight .ch-input-field > span {
		font-size: 10px !important;
		line-height: 1.15 !important;
		margin-bottom: 5px !important;
	}
}


/* Capital Heights Search Results mobile/tablet no-crop fix - v6
   Search Results uses a narrower page container than the Home hero.
   Keep Home compact, but force Results search form to a safe full-width single-column layout on mobile/tablet. */
@media (max-width: 1199px) {
	body.ch-search-results-page,
	body.ch-property-listing-page {
		overflow-x: hidden !important;
	}

	body .ch-property-search.ch-property-search--results-context,
	body.ch-search-results-page .ch-property-search,
	body.ch-property-listing-page .ch-property-search,
	body.post-type-archive-property .ch-property-search,
	body.tax-property_area .ch-property-search,
	body.tax-property_status .ch-property-search,
	body.tax-property_type .ch-property-search,
	body.tax-property_feature .ch-property-search,
	body.search-results .ch-property-search,
	body.archive .ch-property-search,
	body.search .ch-property-search {
		box-sizing: border-box !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
		margin-inline: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding: 10px !important;
		overflow: hidden !important;
	}

	body.ch-search-results-page .ch-has-property-search,
	body.ch-search-results-page .ch-has-property-search > .elementor-widget-container,
	body.ch-search-results-page .ch-has-property-search > .elementor-container,
	body.ch-search-results-page .ch-has-property-search > .elementor-widget-wrap,
	body.ch-property-listing-page .ch-has-property-search,
	body.ch-property-listing-page .ch-has-property-search > .elementor-widget-container,
	body.ch-property-listing-page .ch-has-property-search > .elementor-container,
	body.ch-property-listing-page .ch-has-property-search > .elementor-widget-wrap {
		box-sizing: border-box !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
		margin-inline: 0 !important;
		padding-inline: 0 !important;
		overflow: visible !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-search-top,
	body .ch-property-search.ch-property-search--results-context .ch-search-fields,
	body .ch-property-search.ch-property-search--results-context.is-category-all .ch-search-fields,
	body .ch-property-search.ch-property-search--results-context .ch-advanced-fields,
	body.ch-search-results-page .ch-property-search .ch-search-top,
	body.ch-search-results-page .ch-property-search .ch-search-fields,
	body.ch-search-results-page .ch-property-search.is-category-all .ch-search-fields,
	body.ch-search-results-page .ch-property-search .ch-advanced-fields,
	body.ch-property-listing-page .ch-property-search .ch-search-top,
	body.ch-property-listing-page .ch-property-search .ch-search-fields,
	body.ch-property-listing-page .ch-property-search.is-category-all .ch-search-fields,
	body.ch-property-listing-page .ch-property-search .ch-advanced-fields,
	body.post-type-archive-property .ch-property-search .ch-search-top,
	body.post-type-archive-property .ch-property-search .ch-search-fields,
	body.post-type-archive-property .ch-property-search.is-category-all .ch-search-fields {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 8px !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
		overflow: hidden !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-field--location,
	body .ch-property-search.ch-property-search--results-context .ch-field--type,
	body .ch-property-search.ch-property-search--results-context .ch-field--features,
	body .ch-property-search.ch-property-search--results-context .ch-mode-fields,
	body .ch-property-search.ch-property-search--results-context .ch-price-fields,
	body .ch-property-search.ch-property-search--results-context .ch-search-submit,
	body.ch-search-results-page .ch-property-search .ch-field--location,
	body.ch-search-results-page .ch-property-search .ch-field--type,
	body.ch-search-results-page .ch-property-search .ch-field--features,
	body.ch-search-results-page .ch-property-search .ch-mode-fields,
	body.ch-search-results-page .ch-property-search .ch-price-fields,
	body.ch-search-results-page .ch-property-search .ch-search-submit,
	body.ch-property-listing-page .ch-property-search .ch-field--location,
	body.ch-property-listing-page .ch-property-search .ch-field--type,
	body.ch-property-listing-page .ch-property-search .ch-field--features,
	body.ch-property-listing-page .ch-property-search .ch-mode-fields,
	body.ch-property-listing-page .ch-property-search .ch-price-fields,
	body.ch-property-listing-page .ch-property-search .ch-search-submit {
		grid-column: 1 / -1 !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-mode-fields,
	body .ch-property-search.ch-property-search--results-context .ch-price-fields,
	body.ch-search-results-page .ch-property-search .ch-mode-fields,
	body.ch-search-results-page .ch-property-search .ch-price-fields,
	body.ch-property-listing-page .ch-property-search .ch-mode-fields,
	body.ch-property-listing-page .ch-property-search .ch-price-fields {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 8px !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-mode-fields[hidden],
	body.ch-search-results-page .ch-property-search .ch-mode-fields[hidden],
	body.ch-property-listing-page .ch-property-search .ch-mode-fields[hidden] {
		display: none !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-segment,
	body.ch-search-results-page .ch-property-search .ch-segment,
	body.ch-property-listing-page .ch-property-search .ch-segment {
		display: grid !important;
		grid-auto-flow: row !important;
		grid-auto-columns: initial !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-segment-option span,
	body.ch-search-results-page .ch-property-search .ch-segment-option span,
	body.ch-property-listing-page .ch-property-search .ch-segment-option span {
		min-height: 38px !important;
		padding: 7px 4px !important;
		font-size: clamp(10px, 2.6vw, 12px) !important;
		line-height: 1.1 !important;
		white-space: normal !important;
		overflow-wrap: anywhere !important;
		text-overflow: clip !important;
		overflow: hidden !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-dropdown-toggle,
	body .ch-property-search.ch-property-search--results-context .ch-input-field select,
	body .ch-property-search.ch-property-search--results-context .ch-input-field input,
	body.ch-search-results-page .ch-property-search .ch-dropdown-toggle,
	body.ch-search-results-page .ch-property-search .ch-input-field select,
	body.ch-search-results-page .ch-property-search .ch-input-field input,
	body.ch-property-listing-page .ch-property-search .ch-dropdown-toggle,
	body.ch-property-listing-page .ch-property-search .ch-input-field select,
	body.ch-property-listing-page .ch-property-search .ch-input-field input {
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-height: 46px !important;
		padding-inline-start: 12px !important;
		padding-inline-end: 34px !important;
		font-size: 13px !important;
	}
}

/* Capital Heights Search Results no-crop hard fix - 2026-07-06 v7
   Results page only: use a safe single-column layout so the Modify Search panel cannot be cropped. */
@media (max-width: 1199px) {
	body .ch-property-search.ch-property-search--results-context,
	body .ch-property-search.ch-property-search--results,
	body.ch-search-results-page .ch-property-search,
	body.ch-property-listing-page .ch-property-search {
		box-sizing: border-box !important;
		width: min(100%, calc(100vw - 28px)) !important;
		max-width: min(100%, calc(100vw - 28px)) !important;
		min-width: 0 !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding: 10px !important;
		overflow: hidden !important;
		transform: none !important;
	}

	body .ch-property-search.ch-property-search--results-context *,
	body .ch-property-search.ch-property-search--results *,
	body.ch-search-results-page .ch-property-search *,
	body.ch-property-listing-page .ch-property-search * {
		box-sizing: border-box !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-search-top,
	body .ch-property-search.ch-property-search--results-context .ch-search-fields,
	body .ch-property-search.ch-property-search--results-context.is-category-all .ch-search-fields,
	body .ch-property-search.ch-property-search--results-context .ch-advanced-fields,
	body .ch-property-search.ch-property-search--results .ch-search-top,
	body .ch-property-search.ch-property-search--results .ch-search-fields,
	body .ch-property-search.ch-property-search--results.is-category-all .ch-search-fields,
	body .ch-property-search.ch-property-search--results .ch-advanced-fields,
	body.ch-search-results-page .ch-property-search .ch-search-top,
	body.ch-search-results-page .ch-property-search .ch-search-fields,
	body.ch-search-results-page .ch-property-search.is-category-all .ch-search-fields,
	body.ch-search-results-page .ch-property-search .ch-advanced-fields,
	body.ch-property-listing-page .ch-property-search .ch-search-top,
	body.ch-property-listing-page .ch-property-search .ch-search-fields,
	body.ch-property-listing-page .ch-property-search.is-category-all .ch-search-fields,
	body.ch-property-listing-page .ch-property-search .ch-advanced-fields {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 8px !important;
		width: 100% !important;
		max-width: 100% !important;
		overflow: hidden !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-field--location,
	body .ch-property-search.ch-property-search--results-context .ch-field--type,
	body .ch-property-search.ch-property-search--results-context .ch-field--features,
	body .ch-property-search.ch-property-search--results-context .ch-mode-fields,
	body .ch-property-search.ch-property-search--results-context .ch-price-fields,
	body .ch-property-search.ch-property-search--results-context .ch-search-submit,
	body .ch-property-search.ch-property-search--results .ch-field--location,
	body .ch-property-search.ch-property-search--results .ch-field--type,
	body .ch-property-search.ch-property-search--results .ch-field--features,
	body .ch-property-search.ch-property-search--results .ch-mode-fields,
	body .ch-property-search.ch-property-search--results .ch-price-fields,
	body .ch-property-search.ch-property-search--results .ch-search-submit,
	body.ch-search-results-page .ch-property-search .ch-field--location,
	body.ch-search-results-page .ch-property-search .ch-field--type,
	body.ch-search-results-page .ch-property-search .ch-field--features,
	body.ch-search-results-page .ch-property-search .ch-mode-fields,
	body.ch-search-results-page .ch-property-search .ch-price-fields,
	body.ch-search-results-page .ch-property-search .ch-search-submit,
	body.ch-property-listing-page .ch-property-search .ch-field--location,
	body.ch-property-listing-page .ch-property-search .ch-field--type,
	body.ch-property-listing-page .ch-property-search .ch-field--features,
	body.ch-property-listing-page .ch-property-search .ch-mode-fields,
	body.ch-property-listing-page .ch-property-search .ch-price-fields,
	body.ch-property-listing-page .ch-property-search .ch-search-submit {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-mode-fields,
	body .ch-property-search.ch-property-search--results-context .ch-price-fields,
	body .ch-property-search.ch-property-search--results .ch-mode-fields,
	body .ch-property-search.ch-property-search--results .ch-price-fields,
	body.ch-search-results-page .ch-property-search .ch-mode-fields,
	body.ch-search-results-page .ch-property-search .ch-price-fields,
	body.ch-property-listing-page .ch-property-search .ch-mode-fields,
	body.ch-property-listing-page .ch-property-search .ch-price-fields {
		display: grid !important;
		grid-template-columns: 1fr !important;
		gap: 8px !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-mode-fields[hidden],
	body .ch-property-search.ch-property-search--results .ch-mode-fields[hidden],
	body.ch-search-results-page .ch-property-search .ch-mode-fields[hidden],
	body.ch-property-listing-page .ch-property-search .ch-mode-fields[hidden] {
		display: none !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-segment,
	body .ch-property-search.ch-property-search--results .ch-segment,
	body.ch-search-results-page .ch-property-search .ch-segment,
	body.ch-property-listing-page .ch-property-search .ch-segment {
		display: grid !important;
		grid-auto-flow: row !important;
		grid-auto-columns: initial !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-segment-option span,
	body .ch-property-search.ch-property-search--results .ch-segment-option span,
	body.ch-search-results-page .ch-property-search .ch-segment-option span,
	body.ch-property-listing-page .ch-property-search .ch-segment-option span {
		min-height: 38px !important;
		padding: 7px 4px !important;
		font-size: clamp(10px, 2.65vw, 12px) !important;
		line-height: 1.1 !important;
		white-space: normal !important;
		overflow: hidden !important;
		text-overflow: clip !important;
	}

	body .ch-property-search.ch-property-search--results-context .ch-dropdown-toggle,
	body .ch-property-search.ch-property-search--results-context .ch-input-field select,
	body .ch-property-search.ch-property-search--results-context .ch-input-field input,
	body .ch-property-search.ch-property-search--results .ch-dropdown-toggle,
	body .ch-property-search.ch-property-search--results .ch-input-field select,
	body .ch-property-search.ch-property-search--results .ch-input-field input,
	body.ch-search-results-page .ch-property-search .ch-dropdown-toggle,
	body.ch-search-results-page .ch-property-search .ch-input-field select,
	body.ch-search-results-page .ch-property-search .ch-input-field input,
	body.ch-property-listing-page .ch-property-search .ch-dropdown-toggle,
	body.ch-property-listing-page .ch-property-search .ch-input-field select,
	body.ch-property-listing-page .ch-property-search .ch-input-field input {
		width: 100% !important;
		max-width: 100% !important;
		min-height: 46px !important;
		padding-left: 12px !important;
		padding-right: 34px !important;
		font-size: 13px !important;
	}
}

/* Capital Heights Search Results two-column compact rows - 2026-07-06 v9
   Search Results page only. Mobile/tablet only. Desktop remains unchanged. */
@media (max-width: 1199px) {
	body.ch-search-results-page .ch-property-search .ch-search-fields,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-search-fields,
	body.ch-search-results-page .ch-property-search.is-category-all .ch-search-fields,
	body.ch-results-runtime-fixed-page .ch-property-search.is-category-all .ch-search-fields {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
		align-items: end !important;
	}

	body.ch-search-results-page .ch-property-search .ch-field--location,
	body.ch-search-results-page .ch-property-search .ch-mode-fields,
	body.ch-search-results-page .ch-property-search .ch-price-fields,
	body.ch-search-results-page .ch-property-search .ch-search-submit,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-field--location,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-mode-fields,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-price-fields,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-search-submit {
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body.ch-search-results-page .ch-property-search .ch-field--type,
	body.ch-search-results-page .ch-property-search .ch-field--features,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-field--type,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-field--features {
		grid-column: span 1 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body.ch-search-results-page .ch-property-search .ch-price-fields,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-price-fields {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
		align-items: end !important;
	}

	body.ch-search-results-page .ch-property-search .ch-field--min-price,
	body.ch-search-results-page .ch-property-search .ch-field--max-price,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-field--min-price,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-field--max-price {
		grid-column: span 1 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body.ch-search-results-page .ch-property-search .ch-field--type .ch-dropdown-toggle,
	body.ch-search-results-page .ch-property-search .ch-field--features .ch-dropdown-toggle,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-field--type .ch-dropdown-toggle,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-field--features .ch-dropdown-toggle,
	body.ch-search-results-page .ch-property-search .ch-field--min-price select,
	body.ch-search-results-page .ch-property-search .ch-field--max-price select,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-field--min-price select,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-field--max-price select {
		font-size: 12px !important;
		padding-left: 10px !important;
		padding-right: 30px !important;
	}
}

/* Capital Heights mobile/tablet dropdown polish - 2026-07-06 v10
   Keeps custom Type/Features menus dark and inside the viewport after compact layouts. */
@media (max-width: 1199px) {
	body .ch-property-search .ch-field--type.is-open,
	body .ch-property-search .ch-field--features.is-open,
	body .ch-property-search [data-ch-type-dropdown].is-open,
	body .ch-property-search [data-ch-features-dropdown].is-open {
		position: relative !important;
		z-index: 999998 !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-dropdown-panel,
	body .ch-property-search .ch-field--features.is-open .ch-dropdown-panel,
	body .ch-property-search [data-ch-type-dropdown].is-open .ch-dropdown-panel,
	body .ch-property-search [data-ch-features-dropdown].is-open .ch-dropdown-panel {
		display: block !important;
		color: #ffffff !important;
		background: #10191f !important;
		border: 1px solid rgba(255, 255, 255, 0.16) !important;
		box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5) !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-dropdown-panel .ch-check-option,
	body .ch-property-search .ch-field--features.is-open .ch-dropdown-panel .ch-check-option,
	body .ch-property-search [data-ch-type-dropdown].is-open .ch-dropdown-panel .ch-check-option,
	body .ch-property-search [data-ch-features-dropdown].is-open .ch-dropdown-panel .ch-check-option {
		color: #ffffff !important;
		background: transparent !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-dropdown-panel .ch-check-option:hover,
	body .ch-property-search .ch-field--features.is-open .ch-dropdown-panel .ch-check-option:hover,
	body .ch-property-search [data-ch-type-dropdown].is-open .ch-dropdown-panel .ch-check-option:hover,
	body .ch-property-search [data-ch-features-dropdown].is-open .ch-dropdown-panel .ch-check-option:hover {
		background: rgba(217, 169, 104, 0.15) !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-dropdown-panel .ch-check-option span,
	body .ch-property-search .ch-field--features.is-open .ch-dropdown-panel .ch-check-option span,
	body .ch-property-search [data-ch-type-dropdown].is-open .ch-dropdown-panel .ch-check-option span,
	body .ch-property-search [data-ch-features-dropdown].is-open .ch-dropdown-panel .ch-check-option span,
	body .ch-property-search .ch-field--type.is-open .ch-type-group-title,
	body .ch-property-search [data-ch-type-dropdown].is-open .ch-type-group-title {
		color: #ffffff !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-type-group + .ch-type-group,
	body .ch-property-search [data-ch-type-dropdown].is-open .ch-type-group + .ch-type-group {
		border-top-color: rgba(255, 255, 255, 0.14) !important;
	}
}

@media (max-width: 767px) {
	body .ch-property-search .ch-field--type.is-open .ch-dropdown-panel,
	body .ch-property-search .ch-field--features.is-open .ch-dropdown-panel,
	body .ch-property-search [data-ch-type-dropdown].is-open .ch-dropdown-panel,
	body .ch-property-search [data-ch-features-dropdown].is-open .ch-dropdown-panel {
		position: fixed !important;
		top: auto !important;
		right: max(14px, env(safe-area-inset-right)) !important;
		bottom: calc(var(--ch-mobile-dropdown-bottom, 88px) + env(safe-area-inset-bottom)) !important;
		left: max(14px, env(safe-area-inset-left)) !important;
		z-index: 999999 !important;
		width: auto !important;
		max-width: calc(100vw - 28px) !important;
		max-height: min(var(--ch-mobile-dropdown-max-height, 52vh), 58dvh) !important;
		margin: 0 !important;
		padding: 12px !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		border-radius: 18px !important;
		transform: none !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-dropdown-panel .ch-check-option,
	body .ch-property-search .ch-field--features.is-open .ch-dropdown-panel .ch-check-option,
	body .ch-property-search [data-ch-type-dropdown].is-open .ch-dropdown-panel .ch-check-option,
	body .ch-property-search [data-ch-features-dropdown].is-open .ch-dropdown-panel .ch-check-option {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 12px !important;
		min-height: 44px !important;
		width: 100% !important;
		padding: 10px 12px !important;
		font-size: 15px !important;
		font-weight: 700 !important;
		line-height: 1.25 !important;
		text-align: left !important;
		white-space: normal !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-dropdown-panel .ch-check-option input,
	body .ch-property-search .ch-field--features.is-open .ch-dropdown-panel .ch-check-option input,
	body .ch-property-search [data-ch-type-dropdown].is-open .ch-dropdown-panel .ch-check-option input,
	body .ch-property-search [data-ch-features-dropdown].is-open .ch-dropdown-panel .ch-check-option input {
		flex: 0 0 20px !important;
		width: 20px !important;
		height: 20px !important;
		margin: 0 !important;
		accent-color: var(--ch-gold, #d9a968) !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-dropdown-panel .ch-check-option span,
	body .ch-property-search .ch-field--features.is-open .ch-dropdown-panel .ch-check-option span,
	body .ch-property-search [data-ch-type-dropdown].is-open .ch-dropdown-panel .ch-check-option span,
	body .ch-property-search [data-ch-features-dropdown].is-open .ch-dropdown-panel .ch-check-option span {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		text-align: left !important;
		white-space: normal !important;
		word-break: normal !important;
		overflow-wrap: anywhere !important;
	}
}

/* Capital Heights home mobile dropdown compact polish - 2026-07-06 v11
   Home page only: keeps Type/Features popups dark, compact, scrollable, and visually consistent. */
@media (max-width: 1199px) {
	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--type.is-open,
	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--features.is-open,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--type.is-open,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--features.is-open {
		position: relative !important;
		z-index: 999998 !important;
	}

	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--type.is-open .ch-dropdown-panel,
	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--features.is-open .ch-dropdown-panel,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--type.is-open .ch-dropdown-panel,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--features.is-open .ch-dropdown-panel {
		color: #ffffff !important;
		background: #10191f !important;
		border: 1px solid rgba(255, 255, 255, 0.16) !important;
		box-shadow: 0 22px 60px rgba(0, 0, 0, 0.52) !important;
	}

	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--type.is-open .ch-dropdown-panel .ch-check-option,
	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--features.is-open .ch-dropdown-panel .ch-check-option,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--type.is-open .ch-dropdown-panel .ch-check-option,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--features.is-open .ch-dropdown-panel .ch-check-option {
		display: grid !important;
		grid-template-columns: 22px minmax(0, 1fr) !important;
		align-items: center !important;
		justify-content: stretch !important;
		column-gap: 12px !important;
		width: 100% !important;
		color: #ffffff !important;
		background: transparent !important;
		direction: ltr !important;
		text-align: left !important;
	}

	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--type.is-open .ch-dropdown-panel .ch-check-option input,
	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--features.is-open .ch-dropdown-panel .ch-check-option input,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--type.is-open .ch-dropdown-panel .ch-check-option input,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--features.is-open .ch-dropdown-panel .ch-check-option input {
		grid-column: 1 !important;
		justify-self: start !important;
		margin: 0 !important;
	}

	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--type.is-open .ch-dropdown-panel .ch-check-option span,
	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--features.is-open .ch-dropdown-panel .ch-check-option span,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--type.is-open .ch-dropdown-panel .ch-check-option span,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--features.is-open .ch-dropdown-panel .ch-check-option span {
		grid-column: 2 !important;
		min-width: 0 !important;
		justify-self: start !important;
		color: #ffffff !important;
		text-align: left !important;
		white-space: normal !important;
		word-break: normal !important;
		overflow-wrap: anywhere !important;
		margin: 0 !important;
		direction: ltr !important;
	}

	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--type.is-open .ch-type-group-title,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--type.is-open .ch-type-group-title {
		color: rgba(255, 255, 255, 0.72) !important;
		text-align: left !important;
		direction: ltr !important;
	}
}

@media (min-width: 768px) and (max-width: 1199px) {
	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--type.is-open .ch-dropdown-panel,
	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--features.is-open .ch-dropdown-panel,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--type.is-open .ch-dropdown-panel,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--features.is-open .ch-dropdown-panel {
		position: absolute !important;
		top: calc(100% + 8px) !important;
		bottom: auto !important;
		left: 0 !important;
		right: auto !important;
		z-index: 999999 !important;
		width: min(420px, calc(100vw - 48px)) !important;
		max-width: min(420px, calc(100vw - 48px)) !important;
		max-height: 320px !important;
		padding: 10px !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		border-radius: 16px !important;
		transform: none !important;
	}
}

@media (max-width: 767px) {
	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--type.is-open .ch-dropdown-panel,
	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--features.is-open .ch-dropdown-panel,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--type.is-open .ch-dropdown-panel,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--features.is-open .ch-dropdown-panel {
		position: fixed !important;
		top: auto !important;
		left: 50% !important;
		right: auto !important;
		bottom: calc(var(--ch-mobile-dropdown-bottom, 88px) + env(safe-area-inset-bottom)) !important;
		z-index: 999999 !important;
		width: min(440px, calc(100vw - 40px)) !important;
		max-width: min(440px, calc(100vw - 40px)) !important;
		max-height: min(330px, 38dvh) !important;
		margin: 0 !important;
		padding: 10px !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		border-radius: 18px !important;
		transform: translateX(-50%) !important;
	}

	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--type.is-open .ch-dropdown-panel .ch-check-option,
	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--features.is-open .ch-dropdown-panel .ch-check-option,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--type.is-open .ch-dropdown-panel .ch-check-option,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--features.is-open .ch-dropdown-panel .ch-check-option {
		min-height: 40px !important;
		padding: 8px 10px !important;
		font-size: 14px !important;
		font-weight: 700 !important;
		line-height: 1.22 !important;
	}

	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--type.is-open .ch-type-group-title,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--type.is-open .ch-type-group-title {
		padding: 7px 10px 5px !important;
		font-size: 10px !important;
		font-weight: 800 !important;
		line-height: 1.2 !important;
	}

	body.ch-home-search-page .ch-property-search.ch-property-search--home-context .ch-field--type.is-open .ch-type-group + .ch-type-group,
	body.home .ch-property-search:not(.ch-property-search--results-context) .ch-field--type.is-open .ch-type-group + .ch-type-group {
		margin-top: 6px !important;
		padding-top: 6px !important;
		border-top-color: rgba(255, 255, 255, 0.14) !important;
	}
}



/* Capital Heights compact anchored dropdown polish - 2026-07-06 v12
   For TYPE and FEATURES on home + search results pages: same-width anchored dropdown,
   medium height, dark style, and no extra-wide mobile popup. */
@media (max-width: 1199px) {
	body .ch-property-search .ch-field--type,
	body .ch-property-search .ch-field--features {
		position: relative !important;
		z-index: 999998 !important;
	}

	body .ch-property-search .ch-field--type.is-open,
	body .ch-property-search .ch-field--features.is-open {
		z-index: 999999 !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-dropdown-panel,
	body .ch-property-search .ch-field--features.is-open .ch-dropdown-panel,
	body .ch-property-search.is-ch-phone .ch-field--type.is-open .ch-dropdown-panel,
	body .ch-property-search.is-ch-phone .ch-field--features.is-open .ch-dropdown-panel,
	body .ch-property-search.is-ch-mobile-viewport .ch-field--type.is-open .ch-dropdown-panel,
	body .ch-property-search.is-ch-mobile-viewport .ch-field--features.is-open .ch-dropdown-panel,
	body .ch-property-search.is-ch-tablet-viewport .ch-field--type.is-open .ch-dropdown-panel,
	body .ch-property-search.is-ch-tablet-viewport .ch-field--features.is-open .ch-dropdown-panel {
		position: absolute !important;
		top: calc(100% + 8px) !important;
		left: 0 !important;
		right: auto !important;
		bottom: auto !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		max-height: 340px !important;
		margin: 0 !important;
		padding: 10px !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch !important;
		color: #ffffff !important;
		background: #10191f !important;
		border: 1px solid rgba(255, 255, 255, 0.14) !important;
		border-radius: 14px !important;
		box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42) !important;
		transform: none !important;
		z-index: 999999 !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-type-group + .ch-type-group {
		margin-top: 6px !important;
		padding-top: 6px !important;
		border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-type-group-title {
		padding: 7px 10px 5px !important;
		color: rgba(255, 255, 255, 0.72) !important;
		font-size: 10px !important;
		font-weight: 800 !important;
		line-height: 1.2 !important;
		text-transform: uppercase !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-check-option,
	body .ch-property-search .ch-field--features.is-open .ch-check-option {
		display: grid !important;
		grid-template-columns: 20px minmax(0, 1fr) !important;
		align-items: start !important;
		column-gap: 10px !important;
		min-height: 42px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 9px 10px !important;
		color: #ffffff !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		line-height: 1.22 !important;
		background: transparent !important;
		border-radius: 10px !important;
		text-align: left !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-check-option:hover,
	body .ch-property-search .ch-field--features.is-open .ch-check-option:hover {
		background: rgba(217, 169, 104, 0.12) !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-check-option input,
	body .ch-property-search .ch-field--features.is-open .ch-check-option input {
		grid-column: 1 !important;
		width: 18px !important;
		height: 18px !important;
		margin: 2px 0 0 !important;
		accent-color: #d9a968 !important;
	}

	body .ch-property-search .ch-field--type.is-open .ch-check-option span,
	body .ch-property-search .ch-field--features.is-open .ch-check-option span {
		grid-column: 2 !important;
		min-width: 0 !important;
		color: #ffffff !important;
		text-align: left !important;
		white-space: normal !important;
		word-break: normal !important;
		overflow-wrap: anywhere !important;
	}
}

/* Capital Heights v16 iPhone-style custom dropdowns - 2026-07-06
   TYPES and FEATURES mimic the native iOS black select menu while keeping checkboxes. */
@media (max-width: 1199px) {
	body .ch-property-search .ch-field--type.is-open [data-ch-dropdown-panel][data-ch-ios-style-panel="1"],
	body .ch-property-search .ch-field--features.is-open [data-ch-dropdown-panel][data-ch-ios-style-panel="1"] {
		color: #ffffff !important;
		background: rgba(18, 20, 21, 0.94) !important;
		border: 1px solid rgba(255, 255, 255, 0.22) !important;
		border-radius: 28px !important;
		box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55) !important;
		backdrop-filter: blur(22px) saturate(140%) !important;
		-webkit-backdrop-filter: blur(22px) saturate(140%) !important;
	}

	body .ch-property-search .ch-field--type.is-open [data-ch-dropdown-panel][data-ch-ios-style-panel="1"] .ch-check-option,
	body .ch-property-search .ch-field--features.is-open [data-ch-dropdown-panel][data-ch-ios-style-panel="1"] .ch-check-option {
		display: grid !important;
		grid-template-columns: 34px minmax(0, 1fr) !important;
		align-items: center !important;
		column-gap: 16px !important;
		min-height: 68px !important;
		padding: 10px 18px !important;
		color: #ffffff !important;
		font-size: clamp(22px, 5.8vw, 30px) !important;
		font-weight: 800 !important;
		line-height: 1.12 !important;
		background: transparent !important;
		border-radius: 18px !important;
		text-align: left !important;
	}

	body .ch-property-search .ch-field--type.is-open [data-ch-dropdown-panel][data-ch-ios-style-panel="1"] .ch-check-option:hover,
	body .ch-property-search .ch-field--features.is-open [data-ch-dropdown-panel][data-ch-ios-style-panel="1"] .ch-check-option:hover {
		background: rgba(255, 255, 255, 0.08) !important;
	}

	body .ch-property-search .ch-field--type.is-open [data-ch-dropdown-panel][data-ch-ios-style-panel="1"] .ch-check-option input,
	body .ch-property-search .ch-field--features.is-open [data-ch-dropdown-panel][data-ch-ios-style-panel="1"] .ch-check-option input {
		grid-column: 1 !important;
		justify-self: center !important;
		width: 26px !important;
		height: 26px !important;
		margin: 0 !important;
		accent-color: #ffffff !important;
	}

	body .ch-property-search .ch-field--type.is-open [data-ch-dropdown-panel][data-ch-ios-style-panel="1"] .ch-check-option span,
	body .ch-property-search .ch-field--features.is-open [data-ch-dropdown-panel][data-ch-ios-style-panel="1"] .ch-check-option span {
		grid-column: 2 !important;
		min-width: 0 !important;
		color: #ffffff !important;
		text-align: left !important;
		white-space: normal !important;
		word-break: normal !important;
		overflow-wrap: normal !important;
	}

	body .ch-property-search .ch-field--type.is-open [data-ch-dropdown-panel][data-ch-ios-style-panel="1"] .ch-type-group-title {
		padding: 12px 18px 4px !important;
		color: rgba(255, 255, 255, 0.72) !important;
		font-size: clamp(14px, 3.4vw, 18px) !important;
		font-weight: 900 !important;
		line-height: 1.1 !important;
		text-transform: uppercase !important;
		letter-spacing: 0 !important;
	}

	body .ch-property-search .ch-field--type.is-open [data-ch-dropdown-panel][data-ch-ios-style-panel="1"] .ch-type-group + .ch-type-group {
		margin-top: 8px !important;
		padding-top: 10px !important;
		border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
	}
}


/* Capital Heights desktop status-all top-row width fix - 2026-07-07 v21
   When the main status is All, the Buy/Rent substatus group is hidden.
   Use two equal desktop columns so Intent and Category fill the whole row. */
@media (min-width: 1200px) {
	body .ch-property-search.is-intent-all .ch-search-top {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		align-items: center !important;
		gap: 12px !important;
	}

	body .ch-property-search.is-intent-all .ch-search-group--intent,
	body .ch-property-search.is-intent-all .ch-search-group--category {
		grid-column: auto !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-inline-size: 100% !important;
		max-width: 100% !important;
		min-inline-size: 0 !important;
		min-width: 0 !important;
	}

	body .ch-property-search.is-intent-all .ch-search-group--substatus,
	body .ch-property-search.is-intent-all [data-ch-substatus-wrap][hidden] {
		display: none !important;
	}
}

/* Capital Heights v29: mobile/tablet two-column rows for Beds/Baths and Min/Max Area.
   Desktop remains unchanged. Applies to Home + Search Results pages and keeps two columns on small iPhones. */
@media (max-width: 1199px) {
	body .ch-property-search .ch-mode-fields:not([hidden]),
	body .ch-property-search .ch-mode-fields--residential:not([hidden]),
	body .ch-property-search .ch-mode-fields--commercial:not([hidden]),
	body .ch-property-search.is-ch-phone .ch-mode-fields:not([hidden]),
	body .ch-property-search.is-ch-mobile-viewport .ch-mode-fields:not([hidden]),
	body .ch-property-search.is-ch-tablet-viewport .ch-mode-fields:not([hidden]),
	body .ch-property-search.ch-property-search--results .ch-mode-fields:not([hidden]),
	body .ch-property-search.ch-property-search--results-context .ch-mode-fields:not([hidden]),
	body.ch-search-results-page .ch-property-search .ch-mode-fields:not([hidden]),
	body.ch-results-runtime-fixed-page .ch-property-search .ch-mode-fields:not([hidden]) {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: 10px 12px !important;
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		align-items: end !important;
	}

	body .ch-property-search .ch-mode-fields[hidden],
	body .ch-property-search .ch-mode-fields--residential[hidden],
	body .ch-property-search .ch-mode-fields--commercial[hidden] {
		display: none !important;
	}

	body .ch-property-search .ch-mode-fields:not([hidden]) > .ch-input-field,
	body .ch-property-search .ch-mode-fields:not([hidden]) > .ch-field--bedrooms,
	body .ch-property-search .ch-mode-fields:not([hidden]) > .ch-field--bathrooms,
	body .ch-property-search .ch-mode-fields:not([hidden]) > .ch-field--min-area,
	body .ch-property-search .ch-mode-fields:not([hidden]) > .ch-field--max-area,
	body .ch-property-search.is-ch-phone .ch-mode-fields:not([hidden]) > .ch-input-field,
	body .ch-property-search.ch-property-search--results .ch-mode-fields:not([hidden]) > .ch-input-field,
	body .ch-property-search.ch-property-search--results-context .ch-mode-fields:not([hidden]) > .ch-input-field,
	body.ch-search-results-page .ch-property-search .ch-mode-fields:not([hidden]) > .ch-input-field,
	body.ch-results-runtime-fixed-page .ch-property-search .ch-mode-fields:not([hidden]) > .ch-input-field {
		grid-column: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
	}

	body .ch-property-search .ch-mode-fields:not([hidden]) > .ch-input-field select,
	body .ch-property-search .ch-mode-fields:not([hidden]) > .ch-input-field input {
		width: 100% !important;
		min-width: 0 !important;
		font-size: clamp(13px, 3.6vw, 16px) !important;
	}
}


/* Capital Heights v30: final mobile/tablet two-column fallback for Beds/Baths and Area rows. */
@media (max-width: 1199px) {
	body .ch-property-search .ch-mode-fields:not([hidden]) {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		gap: 10px 12px !important;
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		align-items: end !important;
	}

	body .ch-property-search .ch-mode-fields:not([hidden]) > label.ch-input-field,
	body .ch-property-search .ch-mode-fields:not([hidden]) > .ch-input-field,
	body .ch-property-search .ch-mode-fields:not([hidden]) .ch-field--bedrooms,
	body .ch-property-search .ch-mode-fields:not([hidden]) .ch-field--bathrooms,
	body .ch-property-search .ch-mode-fields:not([hidden]) .ch-field--min-area,
	body .ch-property-search .ch-mode-fields:not([hidden]) .ch-field--max-area {
		grid-column: auto !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
	}

	body .ch-property-search .ch-mode-fields:not([hidden]) select,
	body .ch-property-search .ch-mode-fields:not([hidden]) input {
		width: 100% !important;
		min-width: 0 !important;
	}
}


/* Capital Heights v31: Search Results mobile/tablet force Beds/Baths + Area to two columns. */
@media (max-width: 1199px) {
	body.ch-search-results-page .ch-property-search .ch-mode-fields:not([hidden]),
	body.ch-property-listing-page .ch-property-search .ch-mode-fields:not([hidden]),
	body .ch-property-search.ch-property-search--results .ch-mode-fields:not([hidden]),
	body .ch-property-search.ch-property-search--results-context .ch-mode-fields:not([hidden]) {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
		align-items: end !important;
		grid-column: 1 / -1 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	body.ch-search-results-page .ch-property-search .ch-mode-fields:not([hidden]) > .ch-input-field,
	body.ch-property-listing-page .ch-property-search .ch-mode-fields:not([hidden]) > .ch-input-field,
	body .ch-property-search.ch-property-search--results .ch-mode-fields:not([hidden]) > .ch-input-field,
	body .ch-property-search.ch-property-search--results-context .ch-mode-fields:not([hidden]) > .ch-input-field,
	body.ch-search-results-page .ch-property-search .ch-field--bedrooms,
	body.ch-search-results-page .ch-property-search .ch-field--bathrooms,
	body.ch-search-results-page .ch-property-search .ch-field--min-area,
	body.ch-search-results-page .ch-property-search .ch-field--max-area {
		grid-column: span 1 !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
	}
}

/* Keep the mobile results search aligned with the homepage search.
   The results Elementor wrapper is narrower, so offset only this form without changing query behavior. */
@media (max-width: 767px) {
	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context {
		box-sizing: border-box !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 10px !important;
		width: calc(100vw - 40px) !important;
		max-width: calc(100vw - 40px) !important;
		margin: 0 0 0 -16px !important;
		padding: 12px 0 !important;
		overflow: visible !important;
		transform: none !important;
	}

	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-search-top {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 12px !important;
		width: 100% !important;
		max-width: 100% !important;
		overflow: visible !important;
	}

	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-search-fields,
	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context.is-category-all .ch-search-fields {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
		width: 100% !important;
		max-width: 100% !important;
		overflow: visible !important;
	}

	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-field--location,
	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-mode-fields,
	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-price-fields,
	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-search-submit {
		grid-column: 1 / -1 !important;
	}

	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-field--type,
	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-field--features {
		grid-column: span 1 !important;
	}

	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-mode-fields:not([hidden]),
	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-price-fields {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-mode-fields[hidden] {
		display: none !important;
	}

	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-segment {
		height: 48px !important;
		min-height: 48px !important;
	}

	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-field--type .ch-dropdown-toggle,
	html body.ch-search-results-page form.ch-property-search.ch-property-search--results-context .ch-field--features .ch-dropdown-toggle {
		min-height: 50px !important;
	}
}
