/* MT - Property Search widget (search card only — no hero banner/row) */
.hlps {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}
.hlps * { box-sizing: border-box; }

/* Search card — stands on its own now (banner removed) */
.hlps__card {
	position: relative;
	max-width: 1120px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 22px;
	padding: 34px 36px;
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.hlps__title {
	display: none;
	text-align: center;
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0f172a;
	margin: 0 0 26px;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

.hlps__form {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.hlps__field { min-width: 0; }

/* Category tabs (Residential / Commercial / …) */
.hlps__tabs {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 4px;
	justify-content: center;
}
.hlps__tab { cursor: pointer; margin: 0; }
.hlps__tab input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}
.hlps__tab span {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 9999px;
	background: #f1f3f7;
	color: #374151;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid transparent;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.hlps__tab:hover span { background: #e6e9f0; }
.hlps__tab input:focus-visible + span { outline: 2px solid #0f766e; outline-offset: 2px; }
.hlps__tab input:checked + span {
	background: rgba(15, 118, 110, 0.10);
	color: #0f766e;
	border-color: rgba(15, 118, 110, 0.25);
}

.hlps__control {
	width: 100%;
	height: 54px;
	border: 1px solid #d5dae2;
	border-radius: 12px !important;
	padding: 0 15px;
	font-size: 15px;
	color: #1f2937;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	appearance: none;
	-webkit-appearance: none;
}
select.hlps__control {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
	cursor: pointer;
}
.hlps__control:focus {
	outline: none;
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}
.hlps__control::placeholder { color: #9ca3af; }

.hlps__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 54px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: none;
	font-family: 'Plus Jakarta Sans', sans-serif;
	transition: background 0.15s ease, opacity 0.15s ease;
}
.hlps__btn--muted {
	background: #f1f3f7;
	color: #1f2937;
}
.hlps__btn--muted:hover { background: #e6e9f0; }
.hlps__btn--primary {
	background: #0f766e;
	color: #ffffff;
}
.hlps__btn--primary:hover { background: #115e59; }

/* Responsive */
@media (max-width: 900px) {
	.hlps__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.hlps__card { padding: 24px 20px; }
	.hlps__form { grid-template-columns: 1fr; }
}
