/* Search bar v2 — Hauzi-style range + location autocomplete */

.love-ps-search-form {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	width: 100%;
	max-width: 100%;
	margin: 0 0 1.15rem;
	box-sizing: border-box;
	position: relative;
	z-index: 20;
}

.love-ps-search-form:has(.love-ps-home-filters__toggle) {
	margin-bottom: 2.35rem;
}

.love-ps-search-form > .love-ps-search {
	margin: 0;
}

.love-ps-search__cta {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex: 0 0 auto;
	align-self: stretch;
}

.love-ps-search {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0;
	width: 100%;
	max-width: 100%;
	margin: 0 0 1.15rem;
	padding: 0.35rem 0.35rem 0.35rem 0.55rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
	box-sizing: border-box;
	overflow: visible;
	position: relative;
	z-index: 20;
}

.love-ps-search__field {
	position: relative;
	display: grid;
	grid-template-rows: 0.94rem 1.15rem;
	align-content: center;
	gap: 0.12rem;
	flex: 1 1 0;
	min-width: 0;
	min-height: 3.35rem;
	padding: 0.55rem 0.85rem 0.45rem 2.1rem;
	border-right: 1px solid #e8edf2;
}

.love-ps-search__field--loc-text {
	flex: 1.35 1 0;
}

.love-ps-search__field--range {
	flex: 1.15 1 0;
}

.love-ps-search__field--guests {
	border-right: 0;
	flex: 0 0 5.5rem;
	overflow: visible;
}

.love-ps-search__field--guests.is-open {
	z-index: 300;
}

.love-ps-search:has(.love-ps-search__field--guests.is-open) {
	z-index: 250;
	overflow: visible;
}

/* span, not button — avoids Elementor/theme teal pill on guest trigger */
.love-ps-search__guests-trigger {
	display: inline-block;
	width: auto;
	max-width: 100%;
	text-align: left;
	color: #94a3b8;
	font-weight: 600;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent !important;
	box-shadow: none !important;
	background-image: none !important;
	cursor: pointer;
	outline: none;
}

.love-ps-search__guests-trigger.has-value {
	color: #0f172a;
	font-weight: 700;
}

.love-ps-search__guests-trigger:focus-visible {
	outline: 2px solid #0ba2ac;
	outline-offset: 2px;
	border-radius: 4px;
}

.love-ps-search__guests-panel {
	position: absolute;
	right: 0;
	left: auto;
	top: calc(100% + 0.55rem);
	width: 18.5rem;
	max-width: calc(100vw - 1.5rem);
	min-width: 0;
	z-index: 301;
	padding: 1rem 1rem 0.85rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
	box-sizing: border-box;
}

.love-ps-search__guests-panel::before {
	content: '';
	position: absolute;
	top: -7px;
	right: 1.35rem;
	width: 14px;
	height: 14px;
	background: #fff;
	border-left: 1px solid #e2e8f0;
	border-top: 1px solid #e2e8f0;
	transform: rotate(45deg);
}

.love-ps-search__guests-panel[hidden] {
	display: none !important;
}

.love-ps-search .love-ps-search__guests-panel .love-ps-search__guests-confirm,
.love-ps-search .love-ps-search__guests-panel .love-ps-search__guests-clear {
	flex: 1 1 0 !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	min-height: 2.5rem !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}

.love-ps-search .love-ps-search__guests-panel .love-ps-search__stepper-btn {
	width: 2rem !important;
	max-width: 2rem !important;
	min-width: 2rem !important;
	height: 2rem !important;
	display: inline-flex !important;
}

.love-ps-search__guests-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.love-ps-search__guests-row-label {
	font-size: 0.92rem;
	font-weight: 600;
	color: #0f172a;
}

.love-ps-search__stepper {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.love-ps-search__stepper-btn {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	min-width: 2.25rem;
	min-height: 2.25rem;
	max-width: 2.25rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #f1f5f9;
	box-shadow: none;
	color: #64748b;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	flex: 0 0 auto;
}

.love-ps-search__stepper-btn[data-love-ps-search-guests-plus] {
	background: #e2e8f0;
	color: #0f172a;
}

.love-ps-search__guests-panel .love-ps-search__stepper-btn,
.love-ps-search__guests-panel .love-ps-search__guests-clear,
.love-ps-search__guests-panel .love-ps-search__guests-confirm {
	appearance: none;
	font: inherit;
	text-transform: none;
	letter-spacing: normal;
}

.love-ps-search__guests-panel .love-ps-search__stepper-btn {
	display: inline-flex;
	width: 2.25rem;
	height: 2.25rem;
	min-width: 2.25rem;
	max-width: 2.25rem;
	flex: 0 0 2.25rem;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 10px;
	background: #f1f5f9;
	box-shadow: none;
	color: #64748b;
}

.love-ps-search__guests-panel .love-ps-search__stepper-btn[data-love-ps-search-guests-plus] {
	background: #e2e8f0;
	color: #0f172a;
}

.love-ps-search__stepper-btn:hover:not(:disabled) {
	background: #e2e8f0;
	color: #0f172a;
}

.love-ps-search__stepper-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.love-ps-search__stepper-value {
	min-width: 1.75rem;
	text-align: center;
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
}

.love-ps-search__guests-pets {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.95rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: #0f172a;
	cursor: pointer;
}

.love-ps-search__pets-toggle-wrap {
	position: relative;
	flex-shrink: 0;
}

.love-ps-search__pets-toggle-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
	pointer-events: none;
}

.love-ps-search__pets-toggle {
	position: relative;
	display: block;
	width: 2.85rem;
	height: 1.55rem;
	border-radius: 999px;
	background: #e2e8f0;
	transition: background 0.15s ease;
}

.love-ps-search__pets-toggle::after {
	content: '';
	position: absolute;
	top: 0.18rem;
	left: 0.2rem;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.18);
	transition: transform 0.15s ease;
}

.love-ps-search__pets-toggle-input:checked + .love-ps-search__pets-toggle {
	background: #0ba2ac;
}

.love-ps-search__pets-toggle-input:checked + .love-ps-search__pets-toggle::after {
	transform: translateX(1.25rem);
}

.love-ps-search__guests-pets-label {
	display: inline-flex;
	align-items: center;
}

.love-ps-search__guests-actions {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0.65rem;
	width: 100%;
	max-width: 15.5rem;
	margin: 0 auto;
	padding-top: 0.85rem;
	border-top: 1px solid #e8edf2;
}

.love-ps-search__guests-clear {
	appearance: none;
	border: 0;
	background: #f1f5f9 !important;
	box-shadow: none;
	padding: 0.55rem 0.75rem;
	margin: 0;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	color: #64748b !important;
	cursor: pointer;
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	border-radius: 10px;
	text-align: center;
}

.love-ps-search__guests-clear:hover {
	background: #e2e8f0 !important;
	color: #475569 !important;
}

.love-ps-search__guests-confirm {
	appearance: none;
	border: 0;
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0.55rem 0.75rem;
	border-radius: 10px;
	background: #0ba2ac !important;
	box-shadow: none;
	color: #fff !important;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	text-align: center;
}

.love-ps-search__guests-confirm:hover {
	background: #0f766e !important;
	color: #fff !important;
}

.love-ps-search__icon {
	position: absolute;
	left: 0.55rem;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	line-height: 0;
	pointer-events: none;
}

.love-ps-search__label {
	grid-row: 1;
	align-self: end;
	flex: 0 0 auto;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #64748b;
	line-height: 1.25;
	min-height: 0;
	margin: 0;
	cursor: pointer;
}

.love-ps-search__control {
	grid-row: 2;
	align-self: start;
	appearance: none;
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 1.15rem;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.15rem;
	min-height: 0;
	cursor: pointer;
	outline: none;
	box-sizing: border-box;
}

.love-ps-search select.love-ps-search__control {
	height: 1.15rem;
	min-height: 0;
	padding-right: 1.1rem;
	color: #94a3b8;
	font-weight: 600;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.05rem center;
	background-size: 0.65rem auto;
}

.love-ps-search select.love-ps-search__control option {
	color: #0f172a;
	background: #fff;
	font-weight: 600;
}

.love-ps-search select.love-ps-search__control option[value=""] {
	color: #94a3b8;
}

.love-ps-search select.love-ps-search__control.has-value {
	color: #0f172a;
	font-weight: 700;
}

.love-ps-search__control--text {
	cursor: text;
	font-weight: 600;
	color: #0f172a;
}

.love-ps-search__control--text:placeholder-shown {
	color: #94a3b8;
}

.love-ps-search__control--text::placeholder {
	color: #94a3b8;
	font-weight: 600;
}

.love-ps-search__submit {
	appearance: none;
	border: 0;
	flex: 0 0 auto;
	align-self: stretch;
	margin: 0;
	padding: 0 1.6rem;
	border-radius: 999px;
	background: #0ba2ac;
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.love-ps-search__submit:hover {
	background: #0f766e;
}

.love-ps-search__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.love-ps-search__field--loc-text {
	overflow: visible;
}

.love-ps-search__suggest {
	position: absolute;
	left: 0;
	right: auto;
	min-width: 100%;
	width: max(100%, 18rem);
	top: calc(100% + 0.35rem);
	z-index: 200;
	margin: 0;
	padding: 0.2rem 0;
	list-style: none;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
	max-height: min(26rem, 58vh);
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}

.love-ps-search__suggest > li {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid #f1f5f9;
}

.love-ps-search__suggest > li:last-child {
	border-bottom: 0;
}

/* div instead of button — avoids Elementor/theme teal pill styles on <button> */
.love-ps-search__suggest-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 0.65rem;
	width: 100%;
	padding: 0.38rem 0.8rem;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	text-align: left;
	cursor: pointer;
	font: inherit;
	line-height: 1.25;
	box-sizing: border-box;
}

.love-ps-search__suggest-item:hover,
.love-ps-search__suggest-item:focus,
.love-ps-search__suggest-item.is-active {
	background: #f8fafc;
	outline: none;
}

.love-ps-search__suggest-name {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.88rem;
	font-weight: 600;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.love-ps-search__suggest-mark {
	background: transparent;
	color: #0ba2ac;
	font-weight: 700;
	padding: 0;
}

.love-ps-search__suggest-sub {
	flex: 0 0 auto;
	font-size: 0.68rem;
	font-weight: 500;
	color: #94a3b8;
	white-space: nowrap;
}

.love-ps-search__suggest-empty {
	padding: 0.55rem 0.8rem;
	font-size: 0.82rem;
	color: #94a3b8;
}

.love-ps-search__field--out[hidden] {
	display: none !important;
}

@media (max-width: 960px) {
	.love-ps-search {
		flex-wrap: wrap;
		border-radius: 18px;
		padding: 0.55rem;
		gap: 0.35rem;
	}

	.love-ps-search__field {
		flex: 1 1 calc(50% - 0.35rem);
		border-right: 0;
		border: 1px solid #e8edf2;
		border-radius: 12px;
		min-height: 3.2rem;
	}

	.love-ps-search__field--loc-text,
	.love-ps-search__field--range {
		flex: 1 1 100%;
	}

	.love-ps-search__field--guests {
		flex: 1 1 calc(50% - 0.35rem);
	}

	.love-ps-search__guests-panel {
		right: 0;
		left: auto;
		width: min(16.75rem, calc(100vw - 1.25rem));
	}

	.love-ps-search__cta {
		flex: 1 1 100%;
	}

	.love-ps-search__submit {
		flex: 1 1 auto;
		width: 100%;
		min-height: 2.75rem;
		border-radius: 12px;
	}
}

.love-ps-home-filters {
	width: 100%;
	background: transparent;
	border: 0;
	box-shadow: none;
	padding-top: 1.35rem;
}

.love-ps-home-filters[hidden] {
	display: none !important;
}

.love-ps-home-filters__toggle {
	appearance: none;
	position: absolute;
	top: calc(100% + 0.4rem);
	left: 0;
	right: 0;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: #fff !important;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
}

.love-ps-home-filters__toggle:hover,
.love-ps-home-filters__toggle:focus,
.love-ps-home-filters__toggle[aria-expanded="true"] {
	color: #fff !important;
	background: transparent !important;
	box-shadow: none !important;
}

.love-ps-home-filters__body {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding-bottom: 0.35rem;
}

.love-ps-home-filters__label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.88rem;
	font-weight: 800;
	color: #fff;
	text-transform: none;
}

.love-ps-home-filters__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.45rem;
}

.love-ps-home-filters .love-catalog-filters__check {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.38rem 0.7rem 0.38rem 0.55rem;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	background: #f8fafc;
	font-size: 0.82rem;
	line-height: 1.25;
	color: #334155;
	cursor: pointer;
}

.love-ps-home-filters .love-catalog-filters__check input {
	margin: 0;
	flex-shrink: 0;
	width: 0.95rem !important;
	height: 0.95rem !important;
	max-width: 0.95rem !important;
	accent-color: #0ba2ac;
}

.love-ps-home-filters .love-catalog-filters__check:has(input:checked) {
	border-color: #0ba2ac;
	background: #e6f7f8;
	color: #0f766e;
	font-weight: 650;
}

.love-ps-home-filters__acc {
	border-top: 1px solid rgba(255, 255, 255, 0.28);
	padding: 0.15rem 0 0;
}

.love-ps-home-filters__acc summary {
	cursor: pointer;
	list-style: none;
	font-size: 0.88rem;
	font-weight: 800;
	color: #fff;
	padding: 0.45rem 0;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.love-ps-home-filters__acc summary::-webkit-details-marker {
	display: none;
}

.love-ps-home-filters__acc summary::after {
	content: "+";
	float: right;
	color: #fff;
	font-weight: 800;
}

.love-ps-home-filters__acc[open] summary::after {
	content: "–";
}

.love-ps-home-filters__acc-body {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.45rem;
	padding: 0.1rem 0 0.55rem;
}

.love-ps-home-filters__acc-body .love-catalog-filters__check {
	background: #fff;
}

.love-ps-search-global {
	width: 100%;
	max-width: 1440px;
	margin: 0.85rem auto 1rem;
	padding: 0 40px;
	box-sizing: border-box;
}

.love-ps-search-global .love-ps-search-form {
	margin-bottom: 0;
}

body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-widget-jet-smart-filters-select,
body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-widget-jet-smart-filters-date-range,
body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-widget-jet-smart-filters-checkboxes,
body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-widget-jet-smart-filters-range,
body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-widget-jet-smart-filters-rating,
body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-widget-jet-smart-filters-apply-button,
body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-widget-jet-smart-filters-active,
body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-widget-jet-smart-filters-sorting,
body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-widget-jet-smart-filters-search,
body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-widget-jet-smart-filters-radio,
body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-widget-jet-smart-filters-color-image,
body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-widget-jet-smart-filters-check-range {
	display: none !important;
}

body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-section:has(.elementor-widget-jet-smart-filters-select):not(:has(.jet-listing-grid)):not(:has(.jet-engine-maps-listing)),
body.love-unified-search:not(.home):not(.love-catalog-page) .elementor-inner-section:has(.elementor-widget-jet-smart-filters-select):not(:has(.jet-listing-grid)):not(:has(.jet-engine-maps-listing)) {
	display: none !important;
}

@media (max-width: 767px) {
	.love-ps-search-global {
		padding: 0 16px;
	}
}

/* Homepage hero: left title + shorter photo */
body.home .jet-theme-core-location--header-location,
body.front-page .jet-theme-core-location--header-location,
body.home .jet-theme-core-location--header-location .elementor-element-3bd7c8be,
body.front-page .jet-theme-core-location--header-location .elementor-element-3bd7c8be {
	background-color: #2a3038;
}

body.home .elementor-element-3160a32,
body.front-page .elementor-element-3160a32 {
	margin-top: 0 !important;
	padding-top: 5.75rem !important;
	padding-bottom: 1.6rem !important;
	min-height: 0 !important;
	height: auto !important;
}

body.home .elementor-element-cb27b8b,
body.front-page .elementor-element-cb27b8b {
	text-align: left !important;
	margin-bottom: 0.35rem !important;
}

body.home .elementor-element-cb27b8b .elementor-heading-title,
body.front-page .elementor-element-cb27b8b .elementor-heading-title {
	text-align: left !important;
}

.love-home-hero-sub {
	margin: 0.2rem 0 1.15rem;
	color: #fff;
	font-family: Poppins, sans-serif;
	font-size: 1.05rem;
	font-weight: 400;
	line-height: 1.45;
	max-width: 38rem;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

body.home .elementor-element-3160a32 .love-ps-search-form:has(.love-ps-home-filters__toggle),
body.front-page .elementor-element-3160a32 .love-ps-search-form:has(.love-ps-home-filters__toggle) {
	margin-bottom: 1.15rem;
}

@media (max-width: 767px) {
	body.home .elementor-element-3160a32,
	body.front-page .elementor-element-3160a32 {
		padding-top: 3.5rem !important;
		padding-bottom: 1.1rem !important;
	}

	body.home .elementor-element-cb27b8b .elementor-heading-title,
	body.front-page .elementor-element-cb27b8b .elementor-heading-title {
		font-size: 2rem !important;
		line-height: 1.15 !important;
	}

	.love-home-hero-sub {
		font-size: 0.95rem;
	}
}
