/**
 * Excly Listings — frontend styles.
 *
 * Everything visual comes from CSS variables that the plugin settings (and
 * each Elementor widget) can override, so the same markup re-skins per project.
 */

.exl {
	--exl-gap: 20px;
	color: var(--exl-text);
	font-family: var(--exl-font-body);
	font-size: var(--exl-size-base, 15px);
	font-weight: var(--exl-body-weight, 400);
	box-sizing: border-box;
}

.exl *,
.exl *::before,
.exl *::after {
	box-sizing: border-box;
}

/* ------------------------------------------------------------------ */
/* Theme reset                                                        */
/*                                                                    */
/* Themes style bare button/input/select elements, which otherwise    */
/* bleeds into the plugin (a pink "active" button, a blue focus ring). */
/* Everything here is scoped to .exl so nothing leaks the other way.  */
/* ------------------------------------------------------------------ */

.exl button,
.exl input,
.exl select,
.exl textarea {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	letter-spacing: normal;
	text-transform: none;
	color: inherit;
}

.exl button {
	appearance: none;
	-webkit-appearance: none;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-shadow: none;
	text-decoration: none;
	min-height: 0;
	min-width: 0;
	width: auto;
	transition: none;
}

.exl button:hover,
.exl button:focus,
.exl button:active {
	box-shadow: none;
	text-decoration: none;
	outline: none;
}

.exl button::-moz-focus-inner {
	border: 0;
	padding: 0;
}

/* Themes love styling bare inputs and list items. */
.exl input,
.exl select,
.exl textarea {
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
}

.exl ul,
.exl ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.exl li {
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
}

.exl a {
	box-shadow: none;
}

/* The browser's own [hidden] rule loses to any author "display" rule, so
   .exl-loader{display:flex} kept the spinner on screen forever. This puts the
   attribute back in charge for everything inside the plugin. */
.exl [hidden],
.exl[hidden] {
	display: none !important;
}

.exl p {
	color: inherit;
}

/* One consistent focus ring everywhere, in the plugin's own colour. */
.exl button:focus-visible,
.exl input:focus-visible,
.exl select:focus-visible,
.exl a:focus-visible,
.exl [tabindex]:focus-visible {
	outline: 2px solid var(--exl-focus, var(--exl-primary));
	outline-offset: 2px;
	border-radius: 4px;
}

.exl-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                            */
/* ------------------------------------------------------------------ */

.exl .exl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: var(--exl-radius-btn);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: var(--exl-btn-transform);
	text-decoration: none;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.exl .exl-btn-primary {
	background: var(--exl-primary);
	color: var(--exl-btn-text);
}

.exl .exl-btn-primary:hover,
.exl .exl-btn-primary:focus {
	background: var(--exl-primary-alt);
	color: var(--exl-btn-text);
}

.exl .exl-btn-ghost {
	background: transparent;
	border-color: var(--exl-primary);
	color: var(--exl-primary);
}

.exl .exl-btn-ghost:hover {
	background: var(--exl-primary);
	color: var(--exl-btn-text);
}

/* ------------------------------------------------------------------ */
/* Header + search bar                                                */
/* ------------------------------------------------------------------ */

.exl-app-header {
	margin-bottom: 22px;
}

.exl-app-title {
	margin: 0 0 6px;
	font-family: var(--exl-font-heading);
	font-weight: var(--exl-heading-weight);
	font-size: var(--exl-size-h1, 34px);
	letter-spacing: var(--exl-heading-space, 0);
	color: var(--exl-heading);
}

.exl-app-subtitle {
	margin: 0;
	color: var(--exl-muted);
}

.exl-searchbar {
	display: flex;
	align-items: stretch;
	gap: 10px;
	padding: 14px;
	margin-bottom: 24px;
	background: var(--exl-card);
	border: 1px solid var(--exl-border);
	border-radius: var(--exl-radius-card);
	box-shadow: var(--exl-shadow);
	flex-wrap: wrap;
}

.exl-search-field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 180px;
	min-width: 150px;
	padding: 0 14px;
	background: var(--exl-card);
	border: 1px solid var(--exl-border);
	border-radius: var(--exl-radius-input);
}

.exl-search-keyword {
	flex: 2 1 260px;
}

.exl-search-field > .exl-icon {
	color: var(--exl-muted);
}

.exl-search-field input[type="search"],
.exl-search-field input[type="text"],
.exl-search-field input[type="date"],
.exl-search-field select {
	width: 100%;
	height: 46px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--exl-text);
	font-size: 15px;
	font-family: inherit;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}

.exl-search-field select {
	cursor: pointer;
	padding-right: 20px;
}

.exl-select-arrow {
	position: absolute;
	right: 12px;
	width: 16px;
	height: 16px;
	pointer-events: none;
	color: var(--exl-muted);
}

/* ------------------------------------------------------------------ */
/* Custom dropdown                                                    */
/*                                                                    */
/* A native select popup cannot be padded or recoloured — it uses the */
/* operating system's own highlight. This is the styled replacement;  */
/* the native element stays in the DOM as the source of truth.        */
/* ------------------------------------------------------------------ */

.exl-select {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.exl-select-native {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0 !important;
}

.exl .exl-select-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	height: 46px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--exl-text);
	font-size: 15px;
	text-align: left;
	cursor: pointer;
}

.exl-select.is-placeholder .exl-select-btn {
	color: var(--exl-muted);
}

.exl-select-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.exl-select-chevron {
	width: 16px;
	height: 16px;
	color: var(--exl-muted);
	transition: transform .18s ease;
}

.exl-select.is-open .exl-select-chevron {
	transform: rotate(180deg);
}

.exl-select-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: -14px;
	right: -14px;
	z-index: 900;
	max-height: 280px;
	margin: 0;
	padding: 6px;
	overflow-y: auto;
	list-style: none;
	background: var(--exl-card);
	border: 1px solid var(--exl-border);
	border-radius: var(--exl-radius-input);
	box-shadow: 0 10px 30px rgba(31, 42, 36, .13);
}

.exl-sort .exl-select-menu {
	left: auto;
	right: 0;
	min-width: 210px;
}

.exl-select-option {
	margin: 0;
	padding: 10px 14px;
	border-radius: calc(var(--exl-radius-input) - 4px);
	color: var(--exl-text);
	font-size: 14px;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

.exl-select-option.is-active {
	background: var(--exl-highlight);
	color: var(--exl-highlight-text);
}

.exl-select-option.is-selected {
	background: var(--exl-highlight);
	color: var(--exl-highlight-text);
	font-weight: 600;
}

.exl-select-option.is-selected.is-active {
	background: var(--exl-primary);
	color: var(--exl-btn-text);
}

.exl-search-dates {
	flex: 1 1 260px;
	gap: 6px;
}

.exl-date-sep {
	color: var(--exl-muted);
}

.exl-search-submit {
	flex: 0 0 auto;
	min-width: 130px;
}

/* ------------------------------------------------------------------ */
/* Layout                                                             */
/* ------------------------------------------------------------------ */

.exl-body {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr) minmax(0, 42%);
	gap: var(--exl-gap);
	align-items: start;
}

.exl-app.exl-no-filters .exl-body {
	grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
}

.exl-app.exl-no-map .exl-body {
	grid-template-columns: 260px minmax(0, 1fr);
}

.exl-app.exl-no-map.exl-no-filters .exl-body,
.exl-app.exl-layout-grid .exl-body {
	grid-template-columns: minmax(0, 1fr);
}

.exl-app.exl-map-left .exl-filters-col {
	order: 1;
}

.exl-app.exl-map-left .exl-map-col {
	order: 2;
}

.exl-app.exl-map-left .exl-results-col {
	order: 3;
}

.exl-app.exl-map-top .exl-body {
	grid-template-columns: 260px minmax(0, 1fr);
}

.exl-app.exl-map-top .exl-map-col {
	grid-column: 1 / -1;
	order: -1;
}

/* Filters ---------------------------------------------------------- */

.exl-filters {
	padding: 20px;
	background: var(--exl-card);
	border: 1px solid var(--exl-border);
	border-radius: var(--exl-radius-card);
	box-shadow: var(--exl-shadow);
}

.exl-filters-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}

.exl-filters-head strong {
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--exl-heading);
}

.exl .exl-clear {
	padding: 0;
	border: 0;
	background: none;
	color: var(--exl-muted);
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
}

.exl-filter-block {
	padding: 14px 0;
	border-bottom: 1px solid var(--exl-border);
}

.exl-filter-block:last-of-type {
	border-bottom: 0;
}

.exl .exl-filter-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--exl-heading);
	font-family: var(--exl-font-heading);
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}

.exl-filter-title .exl-icon {
	transition: transform .2s ease;
	color: var(--exl-muted);
}

.exl-filter-title[aria-expanded="false"] .exl-icon {
	transform: rotate(-90deg);
}

.exl-filter-body {
	padding-top: 12px;
}

.exl-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
	max-height: 260px;
	overflow-y: auto;
}

.exl-checklist li + li {
	margin-top: 8px;
}

.exl-check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	cursor: pointer;
}

.exl-check input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.exl-check-box {
	position: relative;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	border: 1px solid var(--exl-border);
	border-radius: 5px;
	background: var(--exl-card);
	transition: background-color .15s ease, border-color .15s ease;
}

.exl-check input:checked + .exl-check-box {
	background: var(--exl-primary);
	border-color: var(--exl-primary);
}

.exl-check input:checked + .exl-check-box::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 10px;
	border: solid var(--exl-btn-text);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.exl-check input:focus-visible + .exl-check-box {
	outline: 2px solid var(--exl-primary);
	outline-offset: 2px;
}

/* Price range ------------------------------------------------------ */

.exl-range {
	position: relative;
	height: 26px;
}

.exl-range-track {
	position: absolute;
	top: 11px;
	left: 0;
	right: 0;
	height: 4px;
	border-radius: 4px;
	background: var(--exl-border);
	pointer-events: none;
}

.exl-range-fill {
	position: absolute;
	top: 0;
	bottom: 0;
	background: var(--exl-primary);
	border-radius: 4px;
}

.exl-range input[type="range"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 26px;
	margin: 0;
	background: none;
	pointer-events: none;
	appearance: none;
	-webkit-appearance: none;
}

.exl-range input[type="range"]::-webkit-slider-thumb {
	pointer-events: auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--exl-card);
	border: 2px solid var(--exl-primary);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.exl-range input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--exl-card);
	border: 2px solid var(--exl-primary);
	cursor: pointer;
}

.exl-range-values {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 13px;
	color: var(--exl-muted);
}

/* Guests stepper --------------------------------------------------- */

.exl-stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--exl-border);
	border-radius: var(--exl-radius-input);
	overflow: hidden;
}

.exl .exl-stepper button {
	width: 36px;
	height: 38px;
	border: 0;
	background: none;
	color: var(--exl-heading);
	font-size: 18px;
	cursor: pointer;
}

.exl .exl-stepper input {
	width: 46px;
	height: 38px;
	border: 0;
	border-left: 1px solid var(--exl-border);
	border-right: 1px solid var(--exl-border);
	background: none;
	color: var(--exl-text);
	text-align: center;
	font-size: 14px;
	-moz-appearance: textfield;
}

.exl-stepper input::-webkit-outer-spin-button,
.exl-stepper input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.exl-apply {
	width: 100%;
	margin-top: 18px;
}

/* Toolbar ---------------------------------------------------------- */

.exl-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.exl-count {
	margin: 0;
	font-size: 15px;
	color: var(--exl-heading);
	font-weight: 600;
}

.exl-toolbar-right {
	display: flex;
	align-items: center;
	gap: 14px;
}

.exl-sort {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--exl-muted);
}

.exl-sort select {
	border: 0;
	background: none;
	color: var(--exl-heading);
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
}

/* Shown only where the sidebar and map do not fit side by side. */
.exl .exl-compact-only {
	display: none;
}

.exl .exl-filters-toggle {
	display: none;
	align-items: center;
	gap: 7px;
	padding: 9px 14px;
	border: 1px solid var(--exl-border);
	border-radius: var(--exl-radius-btn);
	background: var(--exl-card);
	color: var(--exl-heading);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.exl .exl-filters-toggle .exl-icon {
	width: 16px;
	height: 16px;
	color: var(--exl-muted);
}

.exl .exl-filters-toggle[aria-expanded="true"] {
	background: var(--exl-highlight);
	color: var(--exl-highlight-text);
	border-color: var(--exl-primary);
}

/* The toolbar copy must not inherit the map overlay's absolute position. */
.exl .exl-view-toggle-inline {
	position: static;
	box-shadow: none;
	flex: 0 0 auto;
}

/* Sits on the map, top right, as in the reference design. */
.exl-view-toggle {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 600;
	display: inline-flex;
	padding: 3px;
	background: var(--exl-card);
	border: 1px solid var(--exl-border);
	border-radius: var(--exl-radius-btn);
	box-shadow: 0 2px 8px rgba(31, 42, 36, .16);
}

.exl .exl-view-btn {
	padding: 8px 14px;
	border: 0;
	border-radius: calc(var(--exl-radius-btn) - 2px);
	background: none;
	color: var(--exl-muted);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	transition: background-color .16s ease, color .16s ease;
}

.exl .exl-view-btn:hover {
	color: var(--exl-heading);
}

.exl .exl-view-btn.is-active {
	background: var(--exl-highlight);
	color: var(--exl-highlight-text);
}

/* Map view: the map takes over the whole results area. */
.exl-app.exl-show-map .exl-results-col {
	display: none;
}

.exl-app.exl-show-map .exl-body {
	grid-template-columns: 260px minmax(0, 1fr);
}

.exl-app.exl-show-map.exl-no-filters .exl-body {
	grid-template-columns: minmax(0, 1fr);
}

.exl-app.exl-show-map .exl-map-sticky {
	position: relative;
}

/* ------------------------------------------------------------------ */
/* Cards                                                              */
/* ------------------------------------------------------------------ */

.exl-results {
	display: grid;
	gap: var(--exl-gap);
	grid-template-columns: minmax(0, 1fr);
}

.exl-card {
	display: grid;
	grid-template-columns: minmax(150px, 34%) minmax(0, 1fr);
	align-items: stretch;
	background: var(--exl-card);
	border: 1px solid var(--exl-border);
	border-radius: var(--exl-radius-card);
	box-shadow: var(--exl-shadow);
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.exl-card:hover,
.exl-card.is-active {
	transform: translateY(-2px);
	border-color: var(--exl-primary);
}

.exl-results.exl-cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.exl-results.exl-cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.exl-results.exl-cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* More than one column always means a vertical card. */
.exl-cards-vertical .exl-card,
.exl-cols-2 .exl-card,
.exl-cols-3 .exl-card,
.exl-cols-4 .exl-card {
	grid-template-columns: minmax(0, 1fr);
}

.exl-card-media {
	position: relative;
	display: block;
	min-height: var(--exl-media-min, 190px);
	background: var(--exl-chip-bg);
	overflow: hidden;
}

/* The image is taken out of flow so a tall photo can never stretch the card —
   the card height comes from its text, and the photo crops to fit. */
.exl-card-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
}

.exl-card:hover .exl-card-media img {
	transform: scale(1.04);
}

.exl-cards-vertical .exl-card-media,
.exl-cols-2 .exl-card-media,
.exl-cols-3 .exl-card-media,
.exl-cols-4 .exl-card-media {
	aspect-ratio: var(--exl-card-ratio, 3 / 2);
	min-height: 0;
}

.exl-card-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--exl-muted);
	opacity: .5;
}

.exl-card-placeholder .exl-icon {
	width: 34px;
	height: 34px;
}

.exl-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--exl-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
}

.exl-card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px;
}

.exl-card-title {
	margin: 0;
	font-family: var(--exl-font-heading);
	font-size: var(--exl-size-title, 20px);
	letter-spacing: var(--exl-heading-space, 0);
	font-weight: var(--exl-heading-weight);
	line-height: 1.25;
}

.exl-card-title a {
	color: var(--exl-heading);
	text-decoration: none;
}

.exl-card-title a:hover {
	color: var(--exl-primary);
}

.exl-card-place {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	color: var(--exl-muted);
	font-size: 14px;
}

.exl-card-place .exl-icon {
	width: 15px;
	height: 15px;
}

.exl-card-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--exl-text);
	/* Clamped so one long description cannot make the card tall and the
	   photo narrow — the image shape follows the card height. */
	display: -webkit-box;
	-webkit-line-clamp: var(--exl-card-lines, 2);
	line-clamp: var(--exl-card-lines, 2);
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.exl .exl-card-amenities {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 2px 0 0;
	padding: 0;
	list-style: none;
	max-height: var(--exl-amenity-rows, 1.6em);
	overflow: hidden;
}

.exl-cards-vertical .exl-card-amenities,
.exl-cols-2 .exl-card-amenities,
.exl-cols-3 .exl-card-amenities,
.exl-cols-4 .exl-card-amenities {
	max-height: none;
}

.exl-card-amenities li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--exl-chip-text);
}

.exl-card-amenities .exl-icon {
	width: 16px;
	height: 16px;
	color: var(--exl-muted);
}

.exl-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 12px;
}

.exl-card-price {
	display: flex;
	align-items: baseline;
	/* One line, always: the price and the text beside it belong together, and
	   the button to their right must not be pushed down. 8px because a single
	   HTML space between a 19px price and 13px text read as cramped. */
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0;
	min-width: 0;
	color: var(--exl-heading);
	font-size: 14px;
}

.exl-card-price strong {
	font-size: 19px;
	font-weight: 700;
}

.exl-price-prefix,
.exl-price-unit {
	color: var(--exl-muted);
	font-size: 13px;
	font-weight: 400;
}

.exl-card-btn {
	padding: 10px 18px;
	font-size: 12px;
	white-space: nowrap;
}

/* The button stays on the right of every card, whatever the text beside it is
   doing. Without nowrap a flex line overflows by wrapping rather than
   shrinking, which is how one long cuisine dropped the button onto its own
   row while every other card kept it in place. */
.exl-card-footer {
	flex-wrap: nowrap;
	gap: 14px;
}

.exl-card-footer .exl-card-price {
	flex: 0 1 auto;
	min-width: 0;
}

.exl-card-footer .exl-card-btn {
	flex: 0 0 auto;
}

.exl-card-price strong,
.exl-card-price .exl-price-prefix {
	flex: 0 0 auto;
}

/* So the text is what gives way: it is trimmed rather than allowed to shove the
   button about, and every card in a grid keeps the same height. The full text
   is on the listing page anyway. */
.exl-card-price .exl-price-unit {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.exl-empty {
	padding: 40px 20px;
	background: var(--exl-card);
	border: 1px dashed var(--exl-border);
	border-radius: var(--exl-radius-card);
	text-align: center;
	color: var(--exl-muted);
}

/* Pagination ------------------------------------------------------- */

.exl .exl-pages {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.exl-pages a,
.exl-pages span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--exl-border);
	border-radius: var(--exl-radius-btn);
	background: var(--exl-card);
	color: var(--exl-text);
	font-size: 14px;
	text-decoration: none;
}

.exl-pages .current {
	background: var(--exl-primary);
	border-color: var(--exl-primary);
	color: var(--exl-btn-text);
}

/* Loader ----------------------------------------------------------- */

.exl-app.is-loading .exl-results {
	opacity: .45;
	pointer-events: none;
	transition: opacity .2s ease;
}

.exl-loader {
	display: flex;
	justify-content: center;
	padding: 18px 0;
}

.exl-spinner {
	width: 26px;
	height: 26px;
	border: 2px solid var(--exl-border);
	border-top-color: var(--exl-primary);
	border-radius: 50%;
	animation: exl-spin .7s linear infinite;
}

@keyframes exl-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ------------------------------------------------------------------ */
/* Map                                                                */
/* ------------------------------------------------------------------ */

.exl-map-sticky {
	position: relative;
}

/* Only the results scroll: the filter panel and the map stay put. Sticky needs
   the grid items to be top-aligned, which .exl-body already does. */
@media (min-width: 1081px) {
	.exl-app.exl-sticky-columns .exl-filters-col,
	.exl-app.exl-sticky-columns .exl-map-col {
		position: sticky;
		top: var(--exl-sticky-top, 24px);
		align-self: start;
	}

	/* A filter list taller than the screen scrolls inside itself rather than
	   pushing its own bottom out of reach. */
	.exl-app.exl-sticky-columns .exl-filters {
		max-height: calc(100vh - var(--exl-sticky-top, 24px) - 24px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.exl-app.exl-sticky-columns .exl-map {
		max-height: calc(100vh - var(--exl-sticky-top, 24px) - 24px);
	}
}

.exl-map {
	width: 100%;
	border-radius: var(--exl-radius-card);
	overflow: hidden;
	border: 1px solid var(--exl-border);
	z-index: 0;
}

.exl .exl-map-search-here {
	position: absolute;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	padding: 10px 18px;
	border: 1px solid var(--exl-border);
	border-radius: 999px;
	background: var(--exl-card);
	color: var(--exl-heading);
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
	cursor: pointer;
	z-index: 500;
}

.exl-marker-wrap {
	background: none;
	border: 0;
}

.exl-marker {
	--exl-marker-local: var(--exl-marker);
	display: flex;
	align-items: center;
	justify-content: center;
}

.exl-marker-pin {
	width: 34px;
	height: 34px;
	border-radius: 50% 50% 50% 4px;
	transform: rotate(-45deg);
	background: var(--exl-marker);
	color: var(--exl-marker-text);
	box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
	transition: transform .15s ease;
}

.exl-marker-pin svg {
	width: 17px;
	height: 17px;
	transform: rotate(45deg);
}

.exl-marker-wrap.is-active .exl-marker-pin {
	transform: rotate(-45deg) scale(1.15);
}

.exl-marker-dot {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--exl-marker);
	border: 3px solid #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

.exl-marker-price {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--exl-marker);
	color: var(--exl-marker-text);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
}

.exl-cluster-wrap {
	background: none;
	border: 0;
}

.exl-cluster {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--exl-marker);
	color: var(--exl-marker-text);
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 0 0 6px rgba(255, 255, 255, .35);
}

.leaflet-popup-content-wrapper.exl-popup-wrap,
.exl-popup-wrap .leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: var(--exl-radius-card);
	overflow: hidden;
}

.exl-popup-wrap .leaflet-popup-content {
	margin: 0;
	width: 240px !important;
}

.exl-popup {
	display: block;
	color: inherit;
	text-decoration: none;
}

.exl-popup-img {
	display: block;
	height: 120px;
	background-size: cover;
	background-position: center;
}

.exl-popup-body {
	display: block;
	padding: 12px 14px;
	font-family: var(--exl-font-body);
}

.exl-popup-title {
	display: block;
	color: var(--exl-heading);
	font-family: var(--exl-font-heading);
	font-size: 15px;
	line-height: 1.3;
}

.exl-popup-place {
	display: block;
	margin-top: 2px;
	color: var(--exl-muted);
	font-size: 13px;
}

.exl-popup-price {
	display: block;
	margin-top: 6px;
	color: var(--exl-primary);
	font-weight: 700;
	font-size: 14px;
}

.exl-popup-price em {
	font-style: normal;
	font-weight: 400;
	color: var(--exl-muted);
}

/* ------------------------------------------------------------------ */
/* Single listing pieces                                              */
/* ------------------------------------------------------------------ */

.exl-section-title {
	margin: 0 0 14px;
	color: var(--exl-heading);
	font-family: var(--exl-font-heading);
	font-size: var(--exl-size-title, 20px);
	letter-spacing: var(--exl-heading-space, 0);
	font-weight: var(--exl-heading-weight);
}

.exl-gallery-main {
	position: relative;
	margin: 0;
	aspect-ratio: var(--exl-hero-ratio, 16 / 9);
	max-height: 70vh;
	border-radius: var(--exl-radius-card);
	overflow: hidden;
	background: var(--exl-chip-bg);
	cursor: zoom-in;
}

.exl-gallery-main img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.exl-gallery-count {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 13px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .92);
	color: var(--exl-heading);
	font-size: 12px;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(31, 42, 36, .2);
	pointer-events: none;
}

.exl-gallery-count .exl-icon {
	width: 15px;
	height: 15px;
}

.exl .exl-gallery-thumbs {
	display: flex;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
}

.exl .exl-gallery-thumb {
	width: 92px;
	height: 68px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	background: none;
	cursor: pointer;
}

.exl-gallery-thumb.is-active {
	border-color: var(--exl-primary);
}

.exl-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.exl-gallery-mosaic {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 200px);
	gap: 10px;
}

.exl-gallery-mosaic figure {
	margin: 0;
	overflow: hidden;
	border-radius: 10px;
}

.exl-gallery-mosaic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.exl-mosaic-0 {
	grid-column: span 2;
	grid-row: span 2;
}

.exl-facts {
	display: grid;
	gap: 14px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.exl-fact {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: 10px;
	align-items: start;
}

.exl-fact .exl-icon {
	grid-row: span 2;
	margin-top: 2px;
	color: var(--exl-primary);
}

.exl-fact-label {
	color: var(--exl-muted);
	font-size: 12px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.exl-fact-value {
	color: var(--exl-heading);
	font-size: 15px;
}

.exl-amenity-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.exl-amenity-grid li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	background: var(--exl-chip-bg);
	border-radius: var(--exl-radius-btn);
	color: var(--exl-chip-text);
	font-size: 14px;
}

.exl-amenity-grid .exl-icon {
	color: var(--exl-primary);
}

.exl-booking-box {
	padding: 22px;
	background: var(--exl-card);
	border: 1px solid var(--exl-border);
	border-radius: var(--exl-radius-card);
	box-shadow: var(--exl-shadow);
}

.exl-booking-price {
	margin: 0 0 18px;
	color: var(--exl-heading);
	font-size: 15px;
}

.exl-booking-price strong {
	font-size: 26px;
	font-weight: 700;
}

.exl-booking-btn {
	width: 100%;
}

.exl .exl-contact-list {
	margin: 16px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid var(--exl-border);
	list-style: none;
}

.exl-contact-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.exl-contact-list li + li {
	margin-top: 10px;
}

.exl-contact-list .exl-icon {
	color: var(--exl-primary);
}

.exl-contact-list a {
	color: var(--exl-text);
	text-decoration: none;
}

.exl-contact-list a:hover {
	color: var(--exl-primary);
}

.exl-directions {
	margin: 14px 0 0;
}

.exl-editor-notice {
	padding: 18px;
	border: 1px dashed var(--exl-border, #ddd);
	border-radius: 10px;
	color: #777;
	font-size: 14px;
	text-align: center;
}

/* Built-in single template ----------------------------------------- */

.exl-single {
	max-width: 1180px;
	margin: 0 auto;
	padding: 40px 20px 70px;
}

.exl-single-header {
	margin-bottom: 22px;
}

.exl-single-title {
	margin: 0 0 8px;
	color: var(--exl-heading);
	font-family: var(--exl-font-heading);
	font-weight: var(--exl-heading-weight);
	font-size: var(--exl-size-h1, 34px);
	letter-spacing: var(--exl-heading-space, 0);
	line-height: 1.15;
}

.exl-single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	color: var(--exl-muted);
	font-size: 15px;
}

.exl-single-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.exl-single-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 34px;
	align-items: start;
	margin-top: 30px;
}

.exl-single-aside {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.exl-single-content {
	font-size: 16px;
	line-height: 1.7;
}

.exl-single-section {
	margin-top: 34px;
}

.exl-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	color: var(--exl-muted);
	font-size: 14px;
	text-decoration: none;
}

.exl-back-link:hover {
	color: var(--exl-primary);
}

/* Archive fallback -------------------------------------------------- */

.exl-archive {
	max-width: 1320px;
	margin: 0 auto;
	padding: 40px 20px 70px;
}

.exl-archive-title {
	margin: 0 0 6px;
	color: var(--exl-heading);
	font-family: var(--exl-font-heading);
	font-weight: var(--exl-heading-weight);
	font-size: var(--exl-size-h1, 34px);
	letter-spacing: var(--exl-heading-space, 0);
}

.exl-archive-description {
	margin: 0 0 26px;
	color: var(--exl-muted);
}

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 1280px) {
	.exl-body {
		grid-template-columns: 240px minmax(0, 1fr) minmax(0, 38%);
	}

	.exl-card {
		grid-template-columns: 200px minmax(0, 1fr);
	}
}

@media (max-width: 1080px) {
	.exl-body,
	.exl-app.exl-no-filters .exl-body,
	.exl-app.exl-no-map .exl-body,
	.exl-app.exl-map-top .exl-body,
	.exl-app.exl-show-map .exl-body,
	.exl-app.exl-show-map.exl-no-filters .exl-body {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Compact search bar: two fields per row instead of four full-width rows. */
	.exl-searchbar {
		gap: 8px;
		padding: 10px;
		margin-bottom: 18px;
	}

	.exl-search-field {
		flex: 1 1 calc(50% - 4px);
		min-width: 0;
		padding: 0 12px;
		gap: 8px;
	}

	.exl-search-keyword {
		flex: 1 1 100%;
	}

	.exl-search-field input[type="search"],
	.exl-search-field input[type="text"],
	.exl-search-field input[type="date"],
	.exl-search-field select,
	.exl .exl-select-btn {
		height: 42px;
		font-size: 14px;
	}

	.exl-search-field > .exl-icon {
		width: 16px;
		height: 16px;
	}

	.exl-search-dates {
		flex: 1 1 100%;
	}

	.exl-search-submit {
		flex: 1 1 calc(50% - 4px);
		min-width: 130px;
		padding: 12px 18px;
	}

	/* The sidebar folds away behind the Filters button. */
	.exl .exl-compact-only,
	.exl .exl-filters-toggle {
		display: inline-flex;
	}

	.exl-filters-col {
		display: none;
	}

	.exl-app.exl-filters-open .exl-filters-col {
		display: block;
		margin-bottom: 16px;
	}

	.exl-app.exl-filters-open .exl-body {
		grid-auto-flow: row;
	}

	.exl-toolbar {
		gap: 8px;
	}

	.exl-toolbar-right {
		gap: 8px;
	}

	.exl-sort-label {
		display: none;
	}

	/* The map lives in a hidden column here, so its own overlay toggle cannot be
	   reached — the toolbar copy takes over. */
	.exl-map-col {
		display: none;
	}

	.exl-map-sticky > .exl-view-toggle {
		display: none;
	}

	.exl-app.exl-show-map .exl-map-col {
		display: block;
	}

	.exl-app.exl-show-map .exl-results,
	.exl-app.exl-show-map .exl-pagination {
		display: none;
	}

	/* Keep the results column itself — it holds the toolbar with the way back. */
	.exl-app.exl-show-map .exl-results-col {
		display: block;
	}

	.exl-map-sticky {
		position: relative;
	}

	.exl-map {
		max-height: 70vh;
	}

	.exl-single-body {
		grid-template-columns: minmax(0, 1fr);
	}

	.exl-single-aside {
		position: static;
	}
}

@media (max-width: 780px) {
	.exl-results,
	.exl-cols-2 .exl-results,
	.exl-cols-3 .exl-results,
	.exl-cols-4 .exl-results {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.exl-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.exl-toolbar {
		align-items: center;
	}

	.exl-count {
		flex: 1 1 100%;
		font-size: 14px;
	}

	/* Controls get their own row so the sort menu cannot run off screen. */
	.exl-toolbar-right {
		flex: 1 1 100%;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.exl-sort {
		min-width: 0;
	}

	.exl-sort select,
	.exl-sort .exl-select {
		max-width: 130px;
	}

	/* A fixed height plus aspect-ratio makes the browser derive the *width*
	   from the height, which pushed the image past the screen edge. Keep the
	   ratio in charge and merely cap how tall it may get. */
	.exl-gallery-main {
		height: auto;
		max-height: 60vh;
	}

	.exl-gallery-mosaic {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(2, 150px);
	}

	.exl-amenity-grid,
	.exl-facts {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.exl-single-title {
		font-size: 26px;
	}
}

/* ------------------------------------------------------------------ */
/* Gallery lightbox                                                   */
/* ------------------------------------------------------------------ */

.exl-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px 96px;
	background: rgba(16, 20, 18, .92);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease;
}

.exl-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.exl-lightbox-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.exl .exl-lightbox-close,
.exl .exl-lightbox-nav {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	cursor: pointer;
	transition: background-color .16s ease;
}

.exl .exl-lightbox-close:hover,
.exl .exl-lightbox-nav:hover {
	background: rgba(255, 255, 255, .28);
}

.exl .exl-lightbox-close {
	top: 20px;
	right: 20px;
}

.exl .exl-lightbox-prev {
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.exl .exl-lightbox-next {
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.exl-lightbox-counter {
	position: absolute;
	left: 50%;
	bottom: 26px;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, .8);
	font-size: 13px;
	letter-spacing: .06em;
}

.exl-lightbox-strip {
	position: absolute;
	left: 50%;
	bottom: 54px;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	max-width: min(90vw, 720px);
	overflow-x: auto;
	padding: 4px;
}

.exl .exl-lightbox-strip button {
	width: 62px;
	height: 44px;
	flex: 0 0 auto;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	opacity: .55;
	cursor: pointer;
	transition: opacity .16s ease, border-color .16s ease;
}

.exl .exl-lightbox-strip button.is-active,
.exl .exl-lightbox-strip button:hover {
	opacity: 1;
	border-color: #fff;
}

.exl-lightbox-strip img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 780px) {
	.exl-lightbox-strip {
		display: none;
	}

	.exl-lightbox {
		padding: 20px 10px 70px;
	}
}
