/**
 * Listing-grid owner filters (replaces JetSmartFilters sidebar).
 */

body.love-catalog-page .elementor-widget-jet-smart-filters-select,
body.love-catalog-page .elementor-widget-jet-smart-filters-date-range,
body.love-catalog-page .elementor-widget-jet-smart-filters-checkboxes,
body.love-catalog-page .elementor-widget-jet-smart-filters-range,
body.love-catalog-page .elementor-widget-jet-smart-filters-rating,
body.love-catalog-page .elementor-widget-jet-smart-filters-apply-button,
body.love-catalog-page .elementor-widget-jet-smart-filters-active,
body.love-catalog-page .elementor-widget-jet-smart-filters-sorting,
body.love-catalog-page .elementor-widget-jet-smart-filters-search,
body.love-catalog-page .elementor-widget-jet-smart-filters-radio,
body.love-catalog-page .elementor-widget-jet-smart-filters-color-image,
body.love-catalog-page .elementor-widget-jet-smart-filters-check-range,
body.love-catalog-page .jet-sorting,
body.love-catalog-page .jet-smart-filters-sorting,
body.love-catalog-page .jet-filters-sorting {
	display: none !important;
}

body.love-catalog-page .elementor-column:has(.elementor-widget-jet-smart-filters-select):not(:has(.jet-listing-grid)),
body.love-catalog-page .elementor-column:has(.elementor-widget-jet-smart-filters-checkboxes):not(:has(.jet-listing-grid)),
body.love-catalog-page .elementor-column:has(.elementor-widget-jet-smart-filters-date-range):not(:has(.jet-listing-grid)),
body.love-catalog-page .elementor-column:has(.elementor-widget-jet-smart-filters-range):not(:has(.jet-listing-grid)),
body.love-catalog-page .e-con:has(.elementor-widget-jet-smart-filters-select):not(:has(.jet-listing-grid)),
body.love-catalog-page .e-con:has(.elementor-widget-jet-smart-filters-checkboxes):not(:has(.jet-listing-grid)),
body.love-catalog-page .e-con:has(.elementor-widget-jet-smart-filters-date-range):not(:has(.jet-listing-grid)),
body.love-catalog-page .e-con:has(.elementor-widget-jet-smart-filters-range):not(:has(.jet-listing-grid)) {
	display: none !important;
}

body.love-catalog-page .elementor-column:has(.love-catalog),
body.love-catalog-page .elementor-column:has(.love-catalog-wrap),
body.love-catalog-page .e-con:has(.love-catalog),
body.love-catalog-page .e-con:has(.love-catalog-wrap) {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: none !important;
}

/* Elementor map-listing columns lock the list to 100vh + overflow-y:auto (inner scrollbar). */
body.love-catalog-page .elementor-column:has(.love-catalog) > .elementor-widget-wrap,
body.love-catalog-page .elementor-column:has(.love-catalog-wrap) > .elementor-widget-wrap,
body.love-catalog-page .elementor-column:has(.jet-listing-grid) > .elementor-widget-wrap,
body.love-list-page .elementor-column:has(.jet-listing-grid) > .elementor-widget-wrap,
body.love-map-page .elementor-column:has(.jet-listing-grid) > .elementor-widget-wrap,
body.love-map-page .elementor-column:has(.love-catalog) > .elementor-widget-wrap {
	overflow: visible !important;
	overflow-y: visible !important;
	max-height: none !important;
	height: auto !important;
}

body.love-catalog-page .elementor-section.elementor-section-boxed > .elementor-container,
body.love-catalog-page .e-con.e-parent {
	width: 100% !important;
	max-width: 1440px !important;
}

body.love-catalog-page .elementor-section.elementor-section-boxed {
	padding-left: 40px !important;
	padding-right: 40px !important;
	box-sizing: border-box;
}

body.love-catalog-page .elementor-top-section:has(.love-catalog-wrap) {
	padding-top: 10px !important;
}

body.love-catalog-page .elementor-top-section:has(.love-catalog-wrap) > .elementor-container {
	padding-top: 0 !important;
}

body.love-catalog-page .elementor-widget-jet-listing-grid {
	margin-top: 0 !important;
}

.love-catalog-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	width: 100%;
	box-sizing: border-box;
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

.love-catalog-wrap > .love-ps-search,
.love-catalog-wrap > .love-ps-search-form {
	margin: 0;
	max-width: 100%;
}

.love-catalog-viewswitch {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin: 0 0 0.15rem;
}

.love-catalog-viewswitch__link {
	color: #0f9d96;
	font-size: 0.92rem;
	font-weight: 750;
	line-height: 1.3;
	text-decoration: none;
}

.love-catalog-viewswitch__link:hover {
	text-decoration: underline;
}

.love-catalog {
	display: grid;
	grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
	gap: 1.35rem;
	align-items: start;
	width: 100%;
}

body.love-map-page .jet-theme-core-location--header-location,
body.love-map-page .elementor-location-header,
body.love-map-page header.site-header {
	position: relative;
	z-index: 10000;
}

body.love-map-page .jet-mega-menu,
body.love-map-page .jet-mega-menu-container {
	z-index: 10001;
}

body.love-map-page .jet-map-listing,
body.love-map-page .leaflet-container {
	isolation: isolate;
	z-index: 1;
}

body.love-map-page .jet-mega-menu-item--hover > .jet-mega-menu-sub-menu {
	height: auto !important;
	max-height: none !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	z-index: 10001;
}

body.love-map-page .jet-mega-menu-item--hover > .jet-mega-menu-sub-menu > .jet-mega-menu-sub-menu__list {
	height: auto !important;
	max-height: min(70vh, 32rem) !important;
	overflow: auto !important;
	visibility: visible !important;
	opacity: 1 !important;
}

body.love-map-page .love-catalog,
.love-catalog--map {
	align-items: stretch;
	grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
	grid-template-areas:
		"filters filters"
		"list map";
}

body.love-map-page .love-catalog-filters,
.love-catalog--map .love-catalog-filters {
	grid-area: filters;
	position: relative;
	top: auto;
	max-height: none !important;
	overflow: visible !important;
	z-index: 20;
}

body.love-map-page .love-map-side-list {
	grid-area: list;
	display: flex;
	flex-direction: column;
	min-width: 0;
	max-height: calc(100vh - 210px);
	overflow: auto;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 0.7rem 0.7rem 0.85rem;
}

body.love-map-page .love-map-side-list__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.55rem;
	color: #0f172a;
	font-size: 0.86rem;
}

body.love-map-page .love-map-side-list__head span {
	color: #64748b;
	font-size: 0.78rem;
	font-weight: 650;
}

body.love-map-page .love-map-side-list__items,
body.love-map-page .love-catalog .love-map-side-list .jet-listing-grid__items {
	display: flex !important;
	flex-direction: column !important;
	grid-template-columns: 1fr !important;
	gap: 0.85rem !important;
}

body.love-map-page .love-map-side-list .jet-listing-grid__item {
	width: 100% !important;
	max-width: none !important;
}

body.love-map-page .love-map-side-list .love-listing-card {
	width: 100%;
}

body.love-map-page .love-map-side-list__more {
	display: block;
	margin-top: 0.65rem;
	text-align: center;
	font-size: 0.82rem;
	font-weight: 700;
	color: #0ba2ac;
	text-decoration: none;
}

body.love-map-page .love-map-side-list__more:hover {
	text-decoration: underline;
}

body.love-map-page .love-catalog__results {
	grid-area: map;
	min-width: 0;
}

body.love-map-page .love-catalog__results .jet-map-listing,
body.love-map-page .jet-map-listing,
.love-catalog--map .jet-map-listing {
	min-height: calc(100vh - 210px);
	height: calc(100vh - 210px);
	border-radius: 14px;
	overflow: hidden;
}

/* Price bubbles: "od 76 €" with a small pointer. */
body.love-map-page .leaflet-div-icon {
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

body.love-map-page .jet-map-marker-wrap {
	position: relative !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0.28rem 0.58rem 0.32rem !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #fff !important;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.16);
	color: #0ba2ac !important;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	letter-spacing: 0.01em;
	white-space: nowrap !important;
	overflow: visible !important;
}

body.love-map-page .jet-map-marker-wrap::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -5px;
	width: 10px;
	height: 10px;
	margin-left: -5px;
	background: #fff;
	transform: rotate(45deg);
	box-shadow: 2px 2px 4px rgba(15, 23, 42, 0.08);
}

body.love-map-page .love-catalog .jet-listing-grid__items,
body.love-map-page .jet-listing-grid__items {
	grid-template-columns: 1fr !important;
}

.love-catalog-filters {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
	padding: 1rem 1rem 1.1rem;
	max-height: none;
	overflow: visible;
}

.love-catalog-filters__title {
	margin: 0 0 0.7rem;
	font-size: 0.92rem;
	font-weight: 750;
	color: #0f172a;
}

.love-catalog-filters__drawer {
	border: 0;
	margin: 0;
	padding: 0;
}

.love-catalog-filters__mobile-toggle {
	display: none;
	list-style: none;
}

.love-catalog-filters__mobile-toggle::-webkit-details-marker {
	display: none;
}

.love-catalog-filters__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: #0ba2ac;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
}

.love-catalog-filters__group {
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
	margin-bottom: 0.75rem;
}

.love-catalog-filters__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem;
}

.love-catalog-filters__label {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.78rem;
	font-weight: 700;
	color: #475569;
}

.love-catalog-filters__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.1rem;
	height: 1.1rem;
	flex: 0 0 1.1rem;
	color: #0ba2ac;
}

.love-catalog-filters__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.love-catalog-filters__heading-text {
	flex: 1 1 auto;
	min-width: 0;
}

.love-catalog-filters select,
.love-catalog-filters input[type="number"] {
	width: 100%;
	border: 1px solid #dbe3ee;
	border-radius: 8px;
	padding: 0.45rem 0.55rem;
	font-size: 0.88rem;
	color: #0f172a;
	background: #fff;
}

.love-catalog-filters__toggles {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin: 0.2rem 0 0.85rem;
}

.love-catalog-filters__fav .love-catalog-filters__toggles {
	margin: 0.15rem 0 0;
}

.love-catalog-filters__check {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	font-size: 0.84rem;
	line-height: 1.3;
	color: #334155;
	cursor: pointer;
}

.love-catalog-filters__check input {
	margin-top: 0.15rem;
	flex-shrink: 0;
}

.love-catalog-filters__acc {
	border-top: 1px solid #eef2f7;
	padding: 0.35rem 0;
}

.love-catalog-filters__acc summary {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	cursor: pointer;
	font-size: 0.86rem;
	font-weight: 700;
	color: #0f172a;
	list-style: none;
	padding: 0.35rem 0;
}

.love-catalog-filters__acc summary::-webkit-details-marker {
	display: none;
}

.love-catalog-filters__acc summary::after {
	content: "+";
	margin-left: auto;
	flex: 0 0 auto;
	color: #94a3b8;
	font-weight: 700;
	line-height: 1.2;
}

.love-catalog-filters__acc[open] summary::after {
	content: "–";
}

.love-catalog-filters__acc-body {
	display: flex;
	flex-direction: column;
	gap: 0.28rem;
	padding: 0.15rem 0 0.45rem;
	max-height: none;
	overflow: visible;
}

.love-catalog-filters__actions {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin-top: 0.85rem;
}

.love-catalog-filters__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.62rem 0.8rem;
	border: 0;
	border-radius: 10px;
	background: #2563eb;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 750;
	cursor: pointer;
}

.love-catalog-filters__submit:hover {
	background: #1d4ed8;
}

.love-catalog-filters__clear {
	text-align: center;
	font-size: 0.82rem;
	font-weight: 650;
	color: #64748b;
	text-decoration: none;
}

.love-catalog-filters__clear:hover {
	text-decoration: underline;
}

@media (max-width: 960px) {
	.love-catalog {
		grid-template-columns: 1fr;
	}

	body.love-map-page .love-catalog,
	.love-catalog--map {
		grid-template-columns: 1fr;
		grid-template-areas:
			"filters"
			"list"
			"map";
	}

	body.love-map-page .love-map-side-list {
		max-height: none;
	}

	body.love-map-page .love-catalog__results .jet-map-listing,
	body.love-map-page .jet-map-listing,
	.love-catalog--map .jet-map-listing {
		min-height: 420px;
		height: 58vh;
	}

	.love-catalog-wrap > .love-ps-search,
	.love-catalog-wrap > .love-ps-search-form .love-ps-search {
		border-radius: 18px;
		flex-wrap: wrap;
	}

	.love-catalog-filters {
		position: static;
		max-height: none;
	}

	.love-catalog-filters:has(.love-catalog-filters__drawer:not([open])) {
		padding: 0.65rem 0.75rem;
	}

	.love-catalog-filters__title {
		display: none;
	}

	.love-catalog-filters__mobile-toggle {
		appearance: none !important;
		-webkit-appearance: none !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		gap: 0.45rem;
		width: 100%;
		min-height: 2.7rem;
		margin: 0;
		padding: 0.55rem 0.85rem !important;
		border: 2px solid #0ba2ac !important;
		border-radius: 12px !important;
		background: #fff !important;
		background-image: none !important;
		box-shadow: none !important;
		color: #0ba2ac !important;
		font: inherit;
		font-size: 0.95rem !important;
		font-weight: 800 !important;
		line-height: 1.2;
		text-align: center;
		cursor: pointer;
	}

	.love-catalog-filters__mobile-toggle::after {
		content: "▾";
		font-size: 0.85rem;
		line-height: 1;
	}

	.love-catalog-filters__drawer[open] > .love-catalog-filters__mobile-toggle {
		margin-bottom: 0.75rem;
	}

	.love-catalog-filters__drawer[open] > .love-catalog-filters__mobile-toggle::after {
		content: "▴";
	}

	body.love-catalog-page .elementor-section.elementor-section-boxed {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

@media (min-width: 961px) {
	body.love-catalog-page:not(.love-map-page) .love-catalog-filters {
		position: sticky;
		top: 88px;
		max-height: none !important;
		overflow: visible !important;
		align-self: start;
	}

	body.love-catalog-page:not(.love-map-page) .love-catalog-filters__drawer {
		display: contents;
	}

	body.love-catalog-page:not(.love-map-page) .love-catalog-filters__mobile-toggle {
		display: none !important;
	}

	body.love-catalog-page:not(.love-map-page) .love-catalog-filters__drawer > .love-catalog-filters__form {
		display: block !important;
	}

	body.love-map-page .love-catalog-filters {
		padding: 0.55rem 0.75rem;
	}

	body.love-map-page .love-catalog-filters__title {
		display: none;
	}

	body.love-map-page .love-catalog-filters__drawer {
		display: block;
		margin: 0;
	}

	body.love-map-page .love-catalog-filters__mobile-toggle {
		appearance: none !important;
		-webkit-appearance: none !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		gap: 0.45rem;
		width: auto;
		min-height: 2.4rem;
		margin: 0;
		padding: 0.45rem 0.9rem !important;
		border: 2px solid #0ba2ac !important;
		border-radius: 12px !important;
		background: #fff !important;
		color: #0ba2ac !important;
		font-size: 0.9rem !important;
		font-weight: 800 !important;
		cursor: pointer;
	}

	body.love-map-page .love-catalog-filters__mobile-toggle::after {
		content: "▾";
		font-size: 0.85rem;
	}

	body.love-map-page .love-catalog-filters__drawer[open] > .love-catalog-filters__mobile-toggle::after {
		content: "▴";
	}

	body.love-map-page .love-catalog-filters__drawer:not([open]) > .love-catalog-filters__form {
		display: none !important;
	}

	body.love-map-page .love-catalog-filters__drawer[open] > .love-catalog-filters__form {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.65rem 0.85rem;
		margin-top: 0.75rem;
		max-height: min(52vh, 28rem);
		overflow: auto;
	}

	body.love-map-page .love-catalog-filters__drawer[open] > .love-catalog-filters__form .love-catalog-filters__actions {
		grid-column: 1 / -1;
	}
}

body.love-catalog-page .love-catalog .jet-listing-grid__items,
body.love-catalog-page .jet-listing-grid__items {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 0.95rem 0.85rem !important;
}

body.love-catalog-page .love-catalog .jet-listing-grid__item,
body.love-catalog-page .jet-listing-grid__item {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	flex: none !important;
}

@media (max-width: 720px) {
	body.love-catalog-page .love-catalog .jet-listing-grid__items,
	body.love-catalog-page .jet-listing-grid__items {
		grid-template-columns: 1fr !important;
	}
}

body.love-list-page .jet-map-listing,
body.love-list-page .jet-engine-maps-listing,
body.love-list-page .leaflet-container,
body.love-list-page .elementor-widget-jet-engine-maps-listing {
	display: none !important;
}

body.love-list-page .elementor-column:has(.love-catalog),
body.love-list-page .e-con:has(.love-catalog) {
	width: 100% !important;
	max-width: 100% !important;
}

body.love-list-page .love-catalog-filters {
	position: static !important;
	top: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

body.love-list-page .love-catalog .jet-listing-grid__items,
body.love-list-page .jet-listing-grid__items {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	grid-template-columns: 1fr !important;
	gap: 0.85rem !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

body.love-list-page .love-catalog .jet-listing-grid__item,
body.love-list-page .jet-listing-grid__item,
body.love-list-page .jet-listing-grid__item.love-listing-card-item {
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 auto !important;
	flex-basis: auto !important;
	float: none !important;
	position: relative !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	padding: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	border-bottom: 0;
	box-sizing: border-box;
}

body.love-list-page .elementor-column:has(.jet-map-listing):not(:has(.love-catalog)):not(:has(.jet-listing-grid)),
body.love-list-page .elementor-column:has(.jet-engine-maps-listing):not(:has(.love-catalog)):not(:has(.jet-listing-grid)),
body.love-list-page .e-con:has(.jet-map-listing):not(:has(.love-catalog)):not(:has(.jet-listing-grid)),
body.love-list-page .e-con:has(.jet-engine-maps-listing):not(:has(.love-catalog)):not(:has(.jet-listing-grid)) {
	display: none !important;
}

@media (max-width: 960px) {
	body.love-list-page .love-catalog-wrap {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.love-list-page .love-catalog,
	body.love-list-page .love-catalog__results,
	body.love-list-page .jet-listing-grid {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	body.love-list-page .elementor-section.elementor-section-boxed {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}

	body.love-list-page .elementor-section.elementor-section-boxed > .elementor-container,
	body.love-list-page .e-con.e-parent {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	body.love-list-page .love-listing-card--row {
		width: 100%;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Mobile map: one-finger page scroll, two-finger pan. */
.love-map-chrome {
	display: none;
}

@media (max-width: 960px) {
	body.love-map-page .jet-map-listing {
		position: relative;
	}

	body.love-map-page .jet-map-listing.love-map-page-scroll,
	body.love-map-page .jet-map-listing.love-map-page-scroll .leaflet-container {
		touch-action: pan-y !important;
	}

	body.love-map-page .jet-map-listing.love-map-pinch,
	body.love-map-page .jet-map-listing.love-map-pinch .leaflet-container {
		touch-action: none !important;
	}

	.love-map-chrome {
		display: block;
		position: absolute;
		inset: 0;
		z-index: 1100;
		pointer-events: none;
	}

	.love-map-hint {
		position: absolute;
		left: 50%;
		bottom: 14px;
		transform: translateX(-50%);
		margin: 0;
		max-width: calc(100% - 1.5rem);
		padding: 0.4rem 0.8rem;
		border-radius: 999px;
		background: rgba(15, 23, 42, 0.72);
		color: #fff;
		font-size: 0.78rem;
		font-weight: 650;
		line-height: 1.25;
		text-align: center;
	}

	.jet-map-listing.love-map-pinch .love-map-hint {
		opacity: 0;
	}
}
