/* Phase 2 property search prototype. Scoped to pages 31, 17599 and 17658. */
body.ooc-property-search-ready #desktop-search-form .ooc-property-search-panel {
	display: grid;
	gap: 14px;
	width: 100%;
	padding: 16px;
	background: #fff;
	border-top: 1px solid #e8eaec;
	border-bottom: 1px solid #e8eaec;
}

body.ooc-property-search-ready #desktop-search-form .advanced-search-v1:empty {
	display: none;
}

body.ooc-property-search-ready .ooc-property-keyword-row,
body.ooc-property-search-ready .ooc-property-filter-grid {
	display: grid;
	gap: 8px;
}

body.ooc-property-search-ready .ooc-property-filter-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.ooc-property-search-ready .ooc-property-keyword-row .flex-search,
body.ooc-property-search-ready .ooc-property-filter-grid .flex-search,
body.ooc-property-search-ready .ooc-property-filter-grid .col {
	width: auto;
	max-width: none;
	padding: 0;
	flex: none;
}

body.ooc-property-search-ready .ooc-property-filter-grid .form-control,
body.ooc-property-search-ready .ooc-property-keyword-row .form-control,
body.ooc-property-search-ready .ooc-property-filter-grid .bootstrap-select > .dropdown-toggle {
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #dedede;
	border-radius: 5px;
	background: #fff;
	color: #333;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 22px;
	box-shadow: none;
}

body.ooc-property-search-ready .ooc-native-price-hidden {
	display: none !important;
}

body.ooc-property-search-ready .ooc-price-filter {
	width: 100%;
	margin: 0;
	padding: 14px 12px;
	background: #fff;
	border: 1px solid #e2e5e8;
	border-radius: 6px;
}

body.ooc-property-search-ready .ooc-price-filter__heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 13px;
	color: #222;
	font-size: 14px;
	line-height: 1.4;
}

body.ooc-property-search-ready .ooc-price-filter__readout {
	color: #555;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

body.ooc-property-search-ready .ooc-price-filter__sliders {
	--low-percent: 0%;
	--high-percent: 100%;
	position: relative;
	height: 26px;
	margin: 0 7px 12px;
}

body.ooc-property-search-ready .ooc-price-filter__sliders::before {
	position: absolute;
	top: 11px;
	left: 0;
	right: 0;
	height: 4px;
	content: '';
	border-radius: 999px;
	background: linear-gradient(to right, #dfe3e7 0 var(--low-percent), var(--ooc-header-orange) var(--low-percent) var(--high-percent), #dfe3e7 var(--high-percent) 100%);
}

body.ooc-property-search-ready .ooc-price-filter__sliders input[type='range'] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 26px;
	margin: 0;
	padding: 0;
	background: transparent;
	-webkit-appearance: none;
	appearance: none;
	pointer-events: none;
}

body.ooc-property-search-ready .ooc-price-filter__sliders input[type='range']::-webkit-slider-runnable-track {
	height: 4px;
	background: transparent;
}

body.ooc-property-search-ready .ooc-price-filter__sliders input[type='range']::-webkit-slider-thumb {
	width: 18px;
	height: 18px;
	margin-top: -7px;
	border: 2px solid var(--ooc-header-orange);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	cursor: pointer;
}

body.ooc-property-search-ready .ooc-price-filter__sliders input[type='range']::-moz-range-track {
	height: 4px;
	background: transparent;
}

body.ooc-property-search-ready .ooc-price-filter__sliders input[type='range']::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border: 2px solid var(--ooc-header-orange);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
	pointer-events: auto;
	cursor: pointer;
}

body.ooc-property-search-ready .ooc-price-filter__manual {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

body.ooc-property-search-ready .ooc-price-filter__manual label {
	margin: 0;
	color: #555;
	font-size: 12px;
	line-height: 1.35;
}

body.ooc-property-search-ready .ooc-price-filter__manual input {
	width: 100%;
	height: 40px;
	margin-top: 5px;
	padding: 7px 9px;
	border: 1px solid #dfe3e7;
	border-radius: 4px;
	background: #fff;
	color: #222;
	font: inherit;
}

body.ooc-property-search-ready .ooc-property-other-slot > .flex-search {
	width: 100%;
}

body.ooc-property-search-ready .ooc-property-other-slot .advanced-search-btn {
	width: 100%;
	min-height: 42px;
	padding: 10px 13px;
	border: 1px solid #e2e5e8;
	border-radius: 5px;
	background: #fff;
	color: #333;
	font-size: 14px;
	font-weight: 500;
	text-align: left;
}

body.ooc-property-search-ready .ooc-feature-groups {
	display: grid;
	gap: 8px;
	width: 100%;
	padding-top: 8px;
}

body.ooc-property-search-ready .ooc-feature-group {
	border: 1px solid #e2e5e8;
	border-radius: 5px;
	background: #fff;
}

body.ooc-property-search-ready .ooc-feature-group summary {
	position: relative;
	padding: 11px 36px 11px 13px;
	color: #333;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

body.ooc-property-search-ready .ooc-feature-group summary::-webkit-details-marker { display: none; }

body.ooc-property-search-ready .ooc-feature-group summary::after {
	position: absolute;
	top: 50%;
	right: 13px;
	content: '+';
	transform: translateY(-50%);
	color: #777;
	font-size: 18px;
	font-weight: 400;
}

body.ooc-property-search-ready .ooc-feature-group[open] summary::after { content: '−'; }

body.ooc-property-search-ready .ooc-feature-group__items {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px 14px;
	padding: 0 13px 13px;
	border-top: 1px solid #eef0f2;
}

body.ooc-property-search-ready .ooc-feature-group__items .control--checkbox { margin: 9px 0 0; }

body.ooc-property-search-ready .bootstrap-select .dropdown-menu,
body.ooc-property-search-ready .dropdown-menu {
	padding: 5px 0;
	border: 1px solid #dedede;
	border-radius: 5px;
	background: #fff;
	box-shadow: 0 5px 14px rgba(22, 31, 40, .08);
	font-family: inherit;
}

body.ooc-property-search-ready .bootstrap-select .dropdown-menu li > a,
body.ooc-property-search-ready .dropdown-menu .dropdown-item {
	min-height: 38px;
	padding: 9px 13px;
	background: #fff;
	color: #333;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}

body.ooc-property-search-ready .bootstrap-select .dropdown-menu li + li > a,
body.ooc-property-search-ready .dropdown-menu .dropdown-item + .dropdown-item {
	border-top: 1px solid #ededed;
}

body.ooc-property-search-ready .bootstrap-select .dropdown-menu li > a:hover,
body.ooc-property-search-ready .bootstrap-select .dropdown-menu li.active > a,
body.ooc-property-search-ready .dropdown-menu .dropdown-item:hover {
	background: #f6f7f8;
	color: #222;
}

body.ooc-property-search-ready .ooc-property-buttons {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

body.ooc-property-search-ready .ooc-property-buttons > *,
body.ooc-property-search-ready .ooc-property-buttons .btn {
	width: 100%;
	margin: 0 !important;
}

body.ooc-property-search-ready .ooc-property-toolbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin: 18px auto;
	padding: 12px 15px;
	max-width: 1170px;
	background: #fff;
	border-top: 1px solid #e8eaec;
	border-bottom: 1px solid #e8eaec;
	color: #555;
	font-size: 13px;
}

body.ooc-property-search-ready .ooc-property-sort,
body.ooc-property-search-ready .ooc-recent-filter {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

body.ooc-property-search-ready .ooc-property-toolbar label { margin: 0; }

body.ooc-property-search-ready .ooc-property-toolbar select {
	min-width: 180px;
	height: 40px;
	padding: 7px 34px 7px 11px;
	border: 1px solid #dedede;
	border-radius: 5px;
	background-color: #fff;
	color: #333;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400;
}

@media (max-width: 991.98px) {
	body.ooc-property-search-ready .ooc-property-filter-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.ooc-property-search-ready .ooc-feature-group__items {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575.98px) {
	body.ooc-property-search-ready .ooc-property-filter-grid,
	body.ooc-property-search-ready .ooc-price-filter__manual,
	body.ooc-property-search-ready .ooc-property-buttons {
		grid-template-columns: 1fr;
	}

	body.ooc-property-search-ready .ooc-price-filter__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	body.ooc-property-search-ready .ooc-property-toolbar,
	body.ooc-property-search-ready .ooc-property-sort,
	body.ooc-property-search-ready .ooc-recent-filter {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	body.ooc-property-search-ready .ooc-property-toolbar select {
		width: 100%;
	}
}
