/**
 * Inmotech horizontal search — visual tokens from FlameWP Resales search CSS.
 * Mapped to .inmotech-horizontal-search* (does not use .fwp-resales-* classes).
 */

/* =========================================================
   FONT + FORM
   ========================================================= */

.inmotech-horizontal-search,
.inmotech-horizontal-search *,
.inmotech-horizontal-search input,
.inmotech-horizontal-search select,
.inmotech-horizontal-search button {
	font-family: "Montserrat", sans-serif !important;
}

form.inmotech-horizontal-search.horizontal_search,
form.inmotech-horizontal-search {
	display: grid !important;
	gap: 0;
	width: 100%;
	max-width: 100%;
	margin: 0 0 1.25rem;
	padding: 28px 34px 24px;
	box-sizing: border-box;
	overflow: visible;
	position: relative;
	z-index: 5;
}

/* Neutralize legacy direct-child width rules */
form.inmotech-horizontal-search.horizontal_search > input,
form.inmotech-horizontal-search.horizontal_search > select,
form.inmotech-horizontal-search.horizontal_search > button {
	width: auto !important;
	flex-grow: 0 !important;
}

/* =========================================================
   GRID
   ========================================================= */

.inmotech-horizontal-search__row--fields {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	align-items: end;
	overflow: visible;
	width: 100%;
	box-sizing: border-box;
}

/* =========================================================
   CAMPOS
   ========================================================= */

.inmotech-horizontal-search__field {
	position: relative;
	display: grid;
	gap: 0;
	margin: 0;
	min-width: 0;
	overflow: visible;
	align-content: end;
}

.inmotech-horizontal-search__field--location {
	grid-column: span 1;
	z-index: 6;
}

.inmotech-horizontal-search__field--location-inner {
	display: contents;
}

.inmotech-horizontal-search__field--location-inner > select[style*="display: none"],
.inmotech-horizontal-search__field--location-inner > select.ui-helper-hidden-accessible,
.inmotech-horizontal-search__field > select[style*="display: none"],
.inmotech-horizontal-search__field > select.ui-helper-hidden-accessible {
	display: none !important;
}

.inmotech-horizontal-search__field--location-inner > .ui-multiselect {
	width: 100% !important;
	min-width: 0;
}

.inmotech-horizontal-search__label,
.inmotech-horizontal-search__field > span,
.inmotech-horizontal-search__field-label {
	display: none;
}

.inmotech-horizontal-search__label--sr,
.inmotech-horizontal-search .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Inputs / selects / multiselect triggers */

.inmotech-horizontal-search__field input[type="text"],
.inmotech-horizontal-search__field input[type="search"],
.inmotech-horizontal-search__field input[type="number"],
.inmotech-horizontal-search__field select,
.inmotech-horizontal-search__field .ui-multiselect {
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	margin: 0 !important;
	box-sizing: border-box;
	background: transparent !important;
	border: 1px solid #d8d3c9 !important;
	border-radius: 0 !important;
	color: #252525 !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	padding: 0 15px !important;
	outline: none !important;
	box-shadow: none !important;
	line-height: 48px;
}

.inmotech-horizontal-search__field input::placeholder {
	color: #77736d !important;
	opacity: 1;
}

.inmotech-horizontal-search__field input:focus,
.inmotech-horizontal-search__field select:focus,
.inmotech-horizontal-search__field .ui-multiselect:focus,
.inmotech-horizontal-search__field .ui-multiselect.ui-state-focus {
	background: #ffffff !important;
	border-color: #0b2c3d !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Native select: hide OS arrow; chevron drawn via shared HS style below */
.inmotech-horizontal-search__field select:not(.PropertyType):not([name="type[]"]) {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 42px !important;
	background-image: none !important;
}

/* Beds / baths: free-number inputs (no select chevron) */
.inmotech-horizontal-search__field--beds,
.inmotech-horizontal-search__field--baths {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
}

.inmotech-horizontal-search__field--beds > input,
.inmotech-horizontal-search__field--baths > input {
	grid-area: 1 / 1;
	width: 100%;
	min-width: 0;
}

/* Property Type: hide native multi-select listbox; show multiselect button */
.inmotech-horizontal-search__field--type {
	position: relative;
	min-width: 0;
}

/* Hide native listbox only when multiselect button is present */
.inmotech-horizontal-search__field--type:has(button.ui-multiselect) select.PropertyType,
.inmotech-horizontal-search__field--type:has(button.ui-multiselect) select[name="type[]"],
.inmotech-horizontal-search__field:has(button.ui-multiselect) select.PropertyType,
.inmotech-horizontal-search__field:has(button.ui-multiselect) select[name="type[]"],
.inmotech-horizontal-search__field:has(button.ui-multiselect) select.inmotech-hs-type-select {
	position: absolute !important;
	left: 0 !important;
	top: 0 !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	background: none !important;
	line-height: 0 !important;
	z-index: 0;
}

/* Fallback: keep Property Type usable if multiselect fails to init */
.inmotech-horizontal-search__field--type:not(:has(button.ui-multiselect)) select.PropertyType,
.inmotech-horizontal-search__field--type:not(:has(button.ui-multiselect)) select[name="type[]"] {
	position: static !important;
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	opacity: 1 !important;
	clip: auto !important;
	overflow: auto !important;
	pointer-events: auto !important;
	line-height: 1.35 !important;
	padding: 0 15px !important;
}

.inmotech-horizontal-search__field--type button.ui-multiselect,
.inmotech-horizontal-search__field--type .ui-multiselect {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	position: relative !important;
	z-index: 1;
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* jQuery UI Multiselect button — same chevron as Price (border L) */
.inmotech-horizontal-search__field .ui-multiselect {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	cursor: pointer;
	text-align: center;
	padding: 0 15px !important;
	line-height: 1.35 !important;
}

.inmotech-horizontal-search__field .ui-multiselect:hover {
	background: #ffffff !important;
	color: #252525 !important;
}

.inmotech-horizontal-search__field .ui-multiselect > span:not(.ui-icon) {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: 100%;
	color: #77736d !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	text-align: center;
}

.inmotech-horizontal-search__field .ui-multiselect .ui-icon {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	float: none;
	margin: 0;
	margin-top: -0.2rem;
	flex-shrink: 0;
	width: 0.55rem;
	height: 0.55rem;
	background: none !important;
	border-right: 2px solid #555 !important;
	border-bottom: 2px solid #555 !important;
	transform: rotate(45deg);
	box-sizing: border-box;
}

.inmotech-horizontal-search__field .ui-multiselect.ui-state-active .ui-icon,
.inmotech-horizontal-search__field .ui-multiselect.ui-state-open .ui-icon {
	transform: rotate(-135deg);
	margin-top: 0.2rem;
}

/* Beds / baths: left icons on number inputs */
.inmotech-horizontal-search__field input[name="bedrooms_min"] {
	background-image: url("http://dev.ctjstudio.com/wp-content/uploads/2026/08/Sofa-icon.svg") !important;
	background-repeat: no-repeat !important;
	background-position: 15px center !important;
	background-size: 21px 21px !important;
	padding-left: 48px !important;
	padding-right: 15px !important;
	text-align: center !important;
}

.inmotech-horizontal-search__field input[name="bathrooms_min"] {
	background-image: url("http://dev.ctjstudio.com/wp-content/uploads/2026/08/Bathtube.svg") !important;
	background-repeat: no-repeat !important;
	background-position: 15px center !important;
	background-size: 21px 21px !important;
	padding-left: 48px !important;
	padding-right: 15px !important;
	text-align: center !important;
}

.inmotech-horizontal-search input[type="number"] {
	-moz-appearance: textfield !important;
	appearance: textfield !important;
}

.inmotech-horizontal-search input[type="number"]::-webkit-inner-spin-button,
.inmotech-horizontal-search input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none !important;
	appearance: none !important;
	margin: 0 !important;
}

/* =========================================================
   BOTONES PRINCIPALES
   ========================================================= */

.inmotech-horizontal-search__actions {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: center;
	align-self: end;
	gap: 14px;
	grid-column: span 2;
	min-height: 48px;
}

.inmotech-horizontal-search__actions .inmoSubmit,
.inmotech-horizontal-search__actions input[type="submit"],
.inmotech-horizontal-search__button,
.inmotech-horizontal-search__actions .inmoReset,
.inmotech-horizontal-search__actions input[type="reset"],
.inmotech-horizontal-search__reset {
	height: 48px !important;
	min-height: 48px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 34px !important;
	border-radius: 0 !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	cursor: pointer;
	transition: all 0.2s ease;
	box-sizing: border-box;
	white-space: nowrap;
	box-shadow: none !important;
}

/* Buscar */

.inmotech-horizontal-search__actions .inmoSubmit,
.inmotech-horizontal-search__actions input[type="submit"],
.inmotech-horizontal-search__button {
	background: #062b3d !important;
	border: 1px solid #062b3d !important;
	color: #ffffff !important;
}

.inmotech-horizontal-search__actions .inmoSubmit:hover,
.inmotech-horizontal-search__actions input[type="submit"]:hover {
	background: #0d3b50 !important;
	border-color: #0d3b50 !important;
	color: #ffffff !important;
}

/* Limpiar */

.inmotech-horizontal-search__actions .inmoReset,
.inmotech-horizontal-search__actions input[type="reset"],
.inmotech-horizontal-search__reset {
	background: transparent !important;
	border: 1px solid #062b3d !important;
	color: #062b3d !important;
}

.inmotech-horizontal-search__actions .inmoReset:hover,
.inmotech-horizontal-search__actions input[type="reset"]:hover {
	background: #062b3d !important;
	color: #ffffff !important;
}

/* =========================================================
   ADVANCED FILTERS — always visible (no collapse toggle)
   Desktop 4×1 · Mobile 2×2
   ========================================================= */

.inmotech-horizontal-search__advanced {
	width: 100%;
	box-sizing: border-box;
	margin-top: 18px;
	padding: 0;
	border: 0;
}

/* Legacy toggle / collapse chrome — never show */
.inmotech-horizontal-search__advanced-toggle,
a.inmotech-horizontal-search__advanced-toggle,
#inmotech-hs-adv.collapse:not(.show),
.inmotech-horizontal-search__expand.collapse:not(.show) {
	display: none !important;
}

.inmotech-horizontal-search__expand,
#inmotech-hs-adv {
	display: block !important;
	height: auto !important;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: visible !important;
}

.inmotech-horizontal-search__checks,
.inmotech-hs-advanced {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: center;
	justify-content: stretch;
	gap: 12px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.inmotech-hs-advanced__control,
.inmotech-hs-advanced__control--check,
.inmotech-horizontal-search__checks label,
.inmotech-hs-advanced label {
	display: flex !important;
	align-items: center;
	gap: 9px;
	margin: 0 !important;
	padding: 4px 0;
	color: #292929;
	font-family: "Montserrat", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.35;
	white-space: normal;
	cursor: pointer;
	width: auto !important;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.inmotech-hs-advanced__text {
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.inmotech-hs-advanced__control--select,
.inmotech-hs-advanced__select-wrap,
.inmotech-hs-advanced__select,
.inmotech-hs-advanced__chevron,
.inmotech-hs-advanced__label {
	display: none !important;
}

.inmotech-horizontal-search__checks input.inmotech-hs-advanced__checkbox,
.inmotech-hs-advanced input.inmotech-hs-advanced__checkbox {
	appearance: none;
	-webkit-appearance: none;
	width: 17px !important;
	height: 17px !important;
	flex-shrink: 0;
	margin: 0 !important;
	background: #faf8f3 !important;
	border: 1px solid #555 !important;
	border-radius: 0 !important;
	display: inline-grid;
	place-content: center;
	cursor: pointer;
	box-shadow: none !important;
}

.inmotech-horizontal-search__checks input.inmotech-hs-advanced__checkbox::before,
.inmotech-hs-advanced input.inmotech-hs-advanced__checkbox::before {
	content: "";
	width: 9px;
	height: 9px;
	transform: scale(0);
	background: #0b4567;
	transition: transform 0.12s ease;
}

.inmotech-horizontal-search__checks input.inmotech-hs-advanced__checkbox:checked::before,
.inmotech-hs-advanced input.inmotech-hs-advanced__checkbox:checked::before {
	transform: scale(1);
}

/* Multiselect dropdown panel (jQuery UI) — FlameWP-like */

.ui-multiselect-menu {
	font-family: "Montserrat", sans-serif !important;
	border: 1px solid #d8d3c9 !important;
	border-radius: 0 !important;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
	background: #fff !important;
	z-index: 99999 !important;
}

.ui-multiselect-menu .ui-widget-header {
	background: #fff !important;
	border: 0 !important;
	border-bottom: 1px solid #e2e2e2 !important;
	color: #77736d !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 13px !important;
	font-weight: 400 !important;
}

.ui-multiselect-checkboxes label {
	font-family: "Montserrat", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #202938 !important;
}

.ui-multiselect-checkboxes li:hover {
	background: #f5f1e8 !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
	form.inmotech-horizontal-search.horizontal_search,
	form.inmotech-horizontal-search {
		padding: 0;
		max-width: 768px;
	}

	.inmotech-horizontal-search__row--fields {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.inmotech-horizontal-search__field--location,
	.inmotech-horizontal-search__actions {
		grid-column: 1 / -1;
	}

	.inmotech-horizontal-search__checks,
	.inmotech-hs-advanced {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px 18px;
	}
}

@media (max-width: 767px) {
	form.inmotech-horizontal-search.horizontal_search,
	form.inmotech-horizontal-search {
		padding: 0;
	}

	.inmotech-horizontal-search__row--fields {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
		max-width: 100%;
	}

	.inmotech-horizontal-search__field {
		margin-bottom: 10px;
	}

	.inmotech-horizontal-search__field--location,
	.inmotech-horizontal-search__actions {
		grid-column: auto;
	}

	.inmotech-horizontal-search__field--location-inner {
		grid-template-columns: 1fr;
	}

	.inmotech-horizontal-search__checks,
	.inmotech-hs-advanced {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 12px 16px;
		justify-content: stretch;
	}

	.inmotech-hs-advanced__control,
	.inmotech-horizontal-search__checks label,
	.inmotech-hs-advanced label {
		font-size: 13px !important;
		margin-top: 0;
		width: 100% !important;
		white-space: normal;
	}

	.inmotech-horizontal-search__actions {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.inmotech-horizontal-search__actions .inmoSubmit,
	.inmotech-horizontal-search__actions .inmoReset,
	.inmotech-horizontal-search__actions input[type="submit"],
	.inmotech-horizontal-search__actions input[type="reset"] {
		width: 100% !important;
		padding: 0 15px !important;
	}
}

/* =========================================================
   PRICE RANGE (FlameWP-style panel; filters via list_price_*)
   ========================================================= */

.inmotech-hs-price {
	position: relative;
	--inmotech-price-accent: #1f4b7a;
	--inmotech-price-track: #d1d5db;
	--inmotech-price-thumb-size: 18px;
	z-index: 6;
	overflow: visible;
}

.inmotech-hs-price.is-open {
	z-index: 10060;
}

.inmotech-hs-price__trigger {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 0.75rem;
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 0 15px !important;
	box-sizing: border-box;
	background: transparent !important;
	border: 1px solid #d8d3c9 !important;
	border-radius: 0 !important;
	color: #252525 !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	text-align: center;
	cursor: pointer;
	line-height: 1.35 !important;
	box-shadow: none !important;
}

.inmotech-hs-price__trigger:hover,
.inmotech-hs-price.is-open .inmotech-hs-price__trigger {
	background: #ffffff !important;
	border-color: #0b2c3d !important;
}

.inmotech-hs-price__trigger-text {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	min-width: 0;
	max-width: 100%;
	text-align: center;
}

.inmotech-hs-price__chevron {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid #555;
	border-bottom: 2px solid #555;
	transform: rotate(45deg);
	margin-top: -0.2rem;
	flex: 0 0 auto;
	box-sizing: border-box;
}

.inmotech-hs-price.is-open .inmotech-hs-price__chevron {
	transform: rotate(-135deg);
	margin-top: 0.2rem;
}

.inmotech-hs-price__panel {
	position: absolute;
	left: 0;
	right: auto;
	top: calc(100% + 0.5rem);
	z-index: 10070;
	margin: 0;
	padding: 1rem 1rem 0.85rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.35rem;
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
	width: min(360px, calc(100vw - 2rem));
	min-width: min(280px, calc(100vw - 2rem));
	max-width: calc(100vw - 2rem);
	box-sizing: border-box;
}

.inmotech-hs-price__panel[hidden] {
	display: none !important;
}

.inmotech-hs-price__panel-title {
	margin: 0 0 0.75rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid #e5e7eb;
	color: #6b7280;
	font-size: 0.95rem;
	font-weight: 400;
}

.inmotech-hs-price__fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 0.65rem;
	align-items: end;
	margin-bottom: 0.35rem;
	width: 100%;
}

.inmotech-hs-price__field {
	display: grid;
	gap: 0.3rem;
	min-width: 0;
}

.inmotech-hs-price__field span {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--inmotech-price-accent);
}

.inmotech-hs-price .inmotech-hs-price__edit,
.inmotech-horizontal-search__field.inmotech-hs-price .inmotech-hs-price__edit,
.inmotech-hs-price__panel .inmotech-hs-price__edit {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 2.7rem !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	border: 1px solid color-mix(in srgb, var(--inmotech-price-accent) 55%, #d1d5db) !important;
	border-radius: 0.35rem !important;
	padding: 0.6rem 0.75rem !important;
	background: #fff !important;
	color: #111827 !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 1.05rem !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	letter-spacing: 0.01em;
	text-align: left !important;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none !important;
}

.inmotech-hs-price .inmotech-hs-price__edit:focus,
.inmotech-hs-price__panel .inmotech-hs-price__edit:focus {
	outline: none !important;
	border-color: var(--inmotech-price-accent) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--inmotech-price-accent) 18%, transparent) !important;
}

.inmotech-hs-price__sep {
	padding-bottom: 0.55rem;
	color: #9ca3af;
	font-weight: 600;
}

.inmotech-hs-price__hint {
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	color: #9ca3af;
}

.inmotech-hs-price__slider {
	position: relative;
	height: 2.25rem;
	margin: 0.35rem 0 1rem;
	overflow: visible;
}

.inmotech-hs-price__track {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 4px;
	transform: translateY(-50%);
	background: var(--inmotech-price-track);
	border-radius: 999px;
	z-index: 1;
	pointer-events: none;
}

.inmotech-hs-price__range {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	background: var(--inmotech-price-accent);
	border-radius: 999px;
}

/* Dual thumbs share ONE track: stack both ranges on the same line.
   Hit-testing: inputs ignore pointers; only the thumb knobs receive events,
   otherwise the max range covers the full width and blocks the min thumb. */
.inmotech-hs-price__slider input[type="range"].inmotech-hs-price__thumb,
.inmotech-hs-price .inmotech-hs-price__thumb,
.inmotech-hs-price__panel .inmotech-hs-price__thumb {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: 50% !important;
	width: 100% !important;
	height: 2.25rem !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: translateY(-50%);
	appearance: none !important;
	-webkit-appearance: none !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	pointer-events: none !important;
	z-index: 2;
	cursor: pointer;
}

.inmotech-hs-price__thumb--min {
	z-index: 3 !important;
}

.inmotech-hs-price__thumb--max {
	z-index: 4 !important;
}

.inmotech-hs-price__thumb::-webkit-slider-runnable-track {
	appearance: none;
	-webkit-appearance: none;
	background: transparent !important;
	border: none !important;
	height: 4px;
	color: transparent;
}

.inmotech-hs-price__thumb::-moz-range-track {
	background: transparent !important;
	border: none !important;
	height: 4px;
}

.inmotech-hs-price__thumb::-moz-focus-outer {
	border: 0;
}

.inmotech-hs-price__thumb::-ms-track {
	background: transparent !important;
	border-color: transparent !important;
	color: transparent;
	height: 4px;
}

.inmotech-hs-price__thumb::-webkit-slider-thumb {
	appearance: none;
	-webkit-appearance: none;
	width: var(--inmotech-price-thumb-size);
	height: var(--inmotech-price-thumb-size);
	margin-top: -7px; /* center on 4px track */
	border-radius: 50%;
	background: var(--inmotech-price-accent);
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
	pointer-events: auto !important;
	cursor: pointer;
	position: relative;
	z-index: 5;
}

.inmotech-hs-price__thumb::-moz-range-thumb {
	width: var(--inmotech-price-thumb-size);
	height: var(--inmotech-price-thumb-size);
	border-radius: 50%;
	background: var(--inmotech-price-accent);
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
	pointer-events: auto !important;
	cursor: pointer;
}

.inmotech-hs-price__thumb::-ms-thumb {
	width: var(--inmotech-price-thumb-size);
	height: var(--inmotech-price-thumb-size);
	border-radius: 50%;
	background: var(--inmotech-price-accent);
	border: 2px solid #fff;
	pointer-events: auto !important;
	cursor: pointer;
}

.inmotech-hs-price__reset {
	display: none !important;
	width: 100%;
	margin: 0;
	padding: 0.35rem 0 0;
	appearance: none;
	border: 0 !important;
	background: transparent !important;
	color: var(--inmotech-price-accent) !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 0.9rem !important;
	font-weight: 500 !important;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none !important;
	height: auto !important;
	min-height: 0 !important;
	line-height: 1.4 !important;
}

.inmotech-hs-price__reset:hover {
	text-decoration: underline;
}

/* =========================================================
   LOCATION PANEL (location + sublocation in one trigger)
   ========================================================= */

.inmotech-hs-location {
	position: relative;
	--inmotech-loc-accent: #1f4b7a;
	overflow: visible;
}

.inmotech-hs-location.is-open {
	z-index: 10060;
}

.inmotech-hs-location__trigger {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	margin: 0 !important;
	padding: 0 15px !important;
	box-sizing: border-box;
	background: transparent !important;
	border: 1px solid #d8d3c9 !important;
	border-radius: 0 !important;
	color: #252525 !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	text-align: left;
	cursor: pointer;
	line-height: 1.35 !important;
	box-shadow: none !important;
}

.inmotech-hs-location__trigger:hover,
.inmotech-hs-location.is-open .inmotech-hs-location__trigger {
	background: #ffffff !important;
	border-color: #0b2c3d !important;
}

.inmotech-hs-location__trigger-text {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	min-width: 0;
	flex: 1 1 auto;
}

.inmotech-hs-location__chevron {
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid #555;
	border-bottom: 2px solid #555;
	transform: rotate(45deg);
	margin-top: -0.2rem;
	flex: 0 0 auto;
}

.inmotech-hs-location.is-open .inmotech-hs-location__chevron {
	transform: rotate(-135deg);
	margin-top: 0.2rem;
}

.inmotech-hs-location__panel {
	position: absolute;
	left: 0;
	right: auto;
	top: calc(100% + 0.5rem);
	z-index: 10070;
	margin: 0;
	padding: 1rem 1rem 0.85rem;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.35rem;
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
	width: min(360px, calc(100vw - 2rem));
	min-width: min(280px, calc(100vw - 2rem));
	max-width: calc(100vw - 2rem);
	box-sizing: border-box;
}

/* Escapes Elementor stacking contexts when moved to document.body */
body > .inmotech-hs-location__panel.inmotech-hs-panel--portaled,
body > .inmotech-hs-price__panel.inmotech-hs-panel--portaled {
	position: fixed !important;
	z-index: 2147483000 !important;
	right: auto !important;
	bottom: auto !important;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

/* CSS variables live on the field wrapper; re-declare on portaled panels. */
body > .inmotech-hs-price__panel.inmotech-hs-panel--portaled {
	--inmotech-price-accent: #1f4b7a;
	--inmotech-price-track: #d1d5db;
	--inmotech-price-thumb-size: 18px;
	font-family: "Montserrat", sans-serif;
}

body > .inmotech-hs-location__panel.inmotech-hs-panel--portaled {
	--inmotech-loc-accent: #1f4b7a;
	font-family: "Montserrat", sans-serif;
}

form.inmotech-horizontal-search.inmotech-hs-filters-elevated {
	position: relative;
	z-index: 10050;
	overflow: visible !important;
}

.inmotech-hs-location__panel[hidden] {
	display: none !important;
}

.inmotech-hs-location__panel-title {
	margin: 0 0 0.75rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid #e5e7eb;
	color: #6b7280;
	font-size: 0.95rem;
	font-weight: 400;
}

.inmotech-hs-location__fields {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	margin-bottom: 0.35rem;
	width: 100%;
}

.inmotech-hs-location__fields > select[name="location[]"] {
	display: none !important;
}

.inmotech-hs-location__field-label {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--inmotech-loc-accent);
	margin-top: 0.45rem;
}

.inmotech-hs-location__field-label--1 {
	margin-top: 0;
}

.inmotech-hs-location .inmotech-hs-location__select,
.inmotech-hs-location__panel .inmotech-hs-location__select,
.inmotech-horizontal-search__field.inmotech-hs-location select.search_location {
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 2.5rem !important;
	margin: 0 0 0.55rem !important;
	box-sizing: border-box !important;
	border: 1px solid color-mix(in srgb, var(--inmotech-loc-accent) 55%, #d1d5db) !important;
	border-radius: 0.35rem !important;
	padding: 0.55rem 2rem 0.55rem 0.75rem !important;
	background-color: #fff !important;
	background-image:
		linear-gradient(45deg, transparent 50%, #4b5563 50%),
		linear-gradient(135deg, #4b5563 50%, transparent 50%) !important;
	background-position:
		calc(100% - 18px) calc(50% + 2px),
		calc(100% - 12px) calc(50% + 2px) !important;
	background-size: 6px 6px, 6px 6px !important;
	background-repeat: no-repeat !important;
	color: #111827 !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	box-shadow: none !important;
}

.inmotech-hs-location .inmotech-hs-location__select:focus,
.inmotech-hs-location__panel .inmotech-hs-location__select:focus {
	outline: none !important;
	border-color: var(--inmotech-loc-accent) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--inmotech-loc-accent) 18%, transparent) !important;
}

.inmotech-hs-location .inmotech-hs-location__select:disabled,
.inmotech-hs-location__panel .inmotech-hs-location__select:disabled {
	background-color: #f3f4f6 !important;
	color: #9ca3af !important;
	cursor: not-allowed;
}

.inmotech-hs-location__reset {
	display: none !important;
	width: 100%;
	margin: 0.35rem 0 0;
	padding: 0.35rem 0 0;
	appearance: none;
	border: 0 !important;
	background: transparent !important;
	color: var(--inmotech-loc-accent) !important;
	font-family: "Montserrat", sans-serif !important;
	font-size: 0.9rem !important;
	font-weight: 500 !important;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none !important;
	height: auto !important;
	min-height: 0 !important;
	line-height: 1.4 !important;
}

.inmotech-hs-location__reset:hover {
	text-decoration: underline;
}

/* Never show jQuery UI Multiselect chrome inside the location panel */
.inmotech-hs-location button.ui-multiselect,
.inmotech-hs-location .ui-multiselect-menu {
	display: none !important;
}

.inmotech-hs-location select.inmotech-hs-location__select {
	display: block !important;
}
