/**
 * Property search (pronat) — matches site design; uses Montserrat from child theme.
 */
.header-mobile-wrap,
.navbar-wrap:not(.navbar-transparent), 
.sticky-on .navbar-wrap {
	background-color: #42565E !important;
	background: #42565E !important;
}

.burger-icon,
.header-mobile-wrap a,
.navbar-wrap:not(.navbar-transparent) a, 
.sticky-on .navbar-wrap a { 
	color: #fff !important;
}

.header-mobile-wrap .mobile-logo-wrap img,
.navbar-wrap .logo img {
    filter: brightness(0) invert(1);
}

#searchPropertiesForm.pe-root,
#searchPropertiesResults.pe-root {
	font-family: var(--font-montserrat, "Montserrat", system-ui, sans-serif);
	box-sizing: border-box;
}

#searchPropertiesForm.pe-root *,
#searchPropertiesResults.pe-root * {
	box-sizing: border-box;
}

/* ---- Form panel (dark) — aligned with Elementor post-2302 / container 579d0038 ---- */
#searchPropertiesForm.pe-root {
	--pe-form-bg: #42565e;
	--pe-form-fg: #ffffff;
	/* Match static reference (inline): border only, same tone as section */
	--pe-select-border: rgba(255, 255, 255, 0.3);
	--pe-select-text: #ffffff;
	--pe-muted: rgba(255, 255, 255, 0.92);
	--pe-label-font: "Inter", system-ui, -apple-system, sans-serif;
	background: transparent;
	color: var(--pe-form-fg);
	padding: 0;
	border-radius: 0;
	width: 100%;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* When the form sits on the slate section, no extra box; optional full-bleed feel */
#searchPropertiesForm.pe-root .pe-form {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.pe-form-grid {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 16px;
	width: 100%;
	margin: 0 0 1.25rem;
	box-sizing: border-box;
}

.pe-field.pe-field-select {
	flex: 1 1 0;
	min-width: min(100%, 10rem);
	max-width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	box-sizing: border-box;
}

@media (max-width: 900px) {
	.pe-field.pe-field-select {
		flex: 1 1 calc(50% - 8px);
		min-width: min(100%, 12rem);
	}
}

@media (max-width: 520px) {
	.pe-field.pe-field-select {
		flex: 1 1 100%;
	}
}

#searchPropertiesForm.pe-root .pe-field-label {
	display: block;
	margin: 0;
	padding: 0;
	font-family: var(--pe-label-font);
	font-size: 11px;
	line-height: 1.7;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-align: start;
	color: var(--pe-form-fg);
}

.pe-select-wrap {
	position: relative;
	width: 100%;
}

#searchPropertiesForm.pe-root .pe-select-wrap select {
	display: block;
	width: 100%;
	margin: 0;
	/* Match reference: padding 10px 14px; extra inline-end for custom ▾ */
	padding: 10px 32px 10px 14px;
	min-height: 44px;
	border: 1px solid var(--pe-select-border);
	border-radius: 2px;
	/* Foxiz `select { background: transparent url(…) }` — kill arrow + fill */
	background-color: transparent !important;
	background-image: none !important;
	background-repeat: no-repeat !important;
	background-position: right 0.5rem center !important;
	background-size: 0 !important;
	color: var(--pe-select-text) !important;
	font-family: var(--font-montserrat, "Montserrat", system-ui, sans-serif);
	font-size: 13px;
	line-height: 1.35;
	cursor: pointer;
	-webkit-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

#searchPropertiesForm.pe-root .pe-select-wrap select:hover {
	background-color: rgba(255, 255, 255, 0.04) !important;
	border-color: rgba(255, 255, 255, 0.42);
}

#searchPropertiesForm.pe-root .pe-select-wrap select:focus {
	outline: 2px solid rgba(255, 255, 255, 0.35);
	outline-offset: 2px;
	border-color: rgba(255, 255, 255, 0.45);
}

/* Native dropdown list (limited browser support) */
#searchPropertiesForm.pe-root .pe-select-wrap select option {
	background-color: #35454c;
	color: #ffffff;
}

.pe-select-wrap::after {
	content: "▾";
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.75rem;
	line-height: 1;
	color: #ffffff;
	opacity: 1;
	pointer-events: none;
}

.pe-sliders {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem 2rem;
	margin-bottom: 1.25rem;
}

@media (max-width: 700px) {
	.pe-sliders {
		grid-template-columns: 1fr;
	}
}

.pe-slider-block label {
	display: block;
	font-family: var(--pe-label-font, "Inter", system-ui, sans-serif);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: 0.02em;
	margin-bottom: 0.5rem;
	color: #ffffff;
}

.pe-range-wrap {
	position: relative;
	padding: 0.25rem 0 0.5rem;
}

.pe-range-values {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.35rem;
}

/* Match static slider endpoint labels (HTML widget spans, e.g. “10” / “300”) */
#searchPropertiesForm.pe-root .pe-range-values .pe-range-low,
#searchPropertiesForm.pe-root .pe-range-values .pe-range-high {
	font-family: var(--pe-label-font, "Inter", system-ui, sans-serif);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.25;
	color: #ffffff;
}

.pe-range-track {
	position: relative;
	height: 6px;
	background: rgba(255, 255, 255, 0.25);
	border-radius: 3px;
}

.pe-range-track-fill {
	position: absolute;
	height: 6px;
	border-radius: 3px;
	background: #fff;
	pointer-events: none;
	top: 0;
}

.pe-range-inputs {
	position: relative;
	height: 34px;
	margin-top: -22px;
}

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

.pe-range-inputs input[type="range"]::-webkit-slider-thumb {
	pointer-events: auto;
	-webkit-appearance: none;
	width: calc(16px * 1.2 + 5px);
	height: calc(16px * 1.2 + 5px);
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--pe-form-bg, #42565e);
	cursor: pointer;
	transform: translateY(3px);
}

.pe-range-inputs input[type="range"]::-moz-range-thumb {
	pointer-events: auto;
	width: calc(16px * 1.2 + 5px);
	height: calc(16px * 1.2 + 5px);
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--pe-form-bg, #42565e);
	cursor: pointer;
	transform: translateY(3px);
}

.pe-form-actions {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.pe-form-sort {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	flex: 1 1 auto;
	min-width: min(100%, 16rem);
}

.pe-sort-fields {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

#searchPropertiesForm.pe-root .pe-form-sort .pe-select-wrap {
	width: auto;
	min-width: 10rem;
}

#searchPropertiesForm.pe-root .pe-form-sort .pe-select-wrap select {
	min-width: 10rem;
}

#searchPropertiesForm.pe-root .pe-sort-label.pe-field-label {
	white-space: nowrap;
}

.pe-sort-order-toggle {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--pe-select-border, rgba(255, 255, 255, 0.3));
	border-radius: 2px;
	overflow: hidden;
	flex-shrink: 0;
}

#searchPropertiesForm.pe-root .pe-sort-order-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 44px;
	min-height: 44px;
	padding: 10px 12px;
	margin: 0;
	border: none;
	border-radius: 0;
	background-color: transparent;
	color: rgba(255, 255, 255, 0.55);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

#searchPropertiesForm.pe-root .pe-sort-order-btn + .pe-sort-order-btn {
	border-left: 1px solid var(--pe-select-border, rgba(255, 255, 255, 0.3));
}

#searchPropertiesForm.pe-root .pe-sort-order-btn:hover {
	background-color: rgba(255, 255, 255, 0.08);
	color: #ffffff;
}

#searchPropertiesForm.pe-root .pe-sort-order-btn.is-active {
	background-color: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

#searchPropertiesForm.pe-root .pe-sort-order-btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.45);
	outline-offset: -2px;
	z-index: 1;
}

.pe-sort-order-icon {
	display: block;
}

.pe-form-actions-btns {
	display: flex;
	justify-content: flex-end;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-left: auto;
}

@media (max-width: 979px) {
	.pe-form-sort {
		width: 100%;
		min-width: 0;
	}

	.pe-sort-fields {
		flex-wrap: nowrap;
		width: 100%;
		align-items: stretch;
		gap: 0.5rem;
	}

	#searchPropertiesForm.pe-root .pe-form-sort .pe-select-wrap {
		flex: 0 0 70%;
		width: 70%;
		max-width: 70%;
		min-width: 0;
	}

	#searchPropertiesForm.pe-root .pe-form-sort .pe-select-wrap select {
		width: 100%;
		min-width: 0;
	}

	.pe-sort-order-toggle {
		flex: 0 0 30%;
		width: 30%;
		max-width: 30%;
		min-width: 0;
	}

	#searchPropertiesForm.pe-root .pe-sort-order-btn {
		flex: 1 1 50%;
		min-width: 0;
		padding-left: 8px;
		padding-right: 8px;
	}

	.pe-form-actions-btns {
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

@media (max-width: 640px) {
	.pe-form-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.pe-form-actions-btns {
		margin-left: 0;
		justify-content: flex-end;
	}
}

/* Match Elementor post-2302 .elementor-element-6896a1db / 749f0e0 (PASTRO / KËRKO) */
#searchPropertiesForm.pe-root .pe-form-actions .pe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 43px;
	padding: 12px 28px;
	border: none;
	border-radius: 2px;
	background-color: #ffffff;
	color: #42565e;
	fill: #42565e;
	font-family: var(--pe-label-font, "Inter", system-ui, sans-serif);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 1.5px;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease;
}

#searchPropertiesForm.pe-root .pe-form-actions .pe-btn:hover,
#searchPropertiesForm.pe-root .pe-form-actions .pe-btn:focus {
	background-color: #8a956e;
	color: #42565e;
}

#searchPropertiesForm.pe-root .pe-form-actions .pe-btn:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.45);
	outline-offset: 2px;
}

.pe-msg {
	padding: 1rem;
	font-size: 0.95rem;
}

.pe-msg-error {
	color: #ffb4b4;
}


#searchPropertiesResults.pe-root {
	--pe-results-gutter: #e5e5e5;
	--pe-card: #fff;
	--pe-text: #2b2b2b;
	--pe-muted-text: #5c5c5c;
	--pe-btn-light: #d9cfc2;
	--pe-btn-dark: #3a4550;
	--pe-results-max: 1400px;
	background:#fff; 
	color: var(--pe-text);
	padding: 0;
	margin: 0;
	border-radius: 0;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
}

@media (max-width: 1399px) {
	#searchPropertiesResults.pe-root {
		padding-left: 15px;
		padding-right: 15px;
	}
}

/* Centered content column between the “red lines” (max 1400px) */
.pe-results-inner {
	width: 100%;
	max-width: var(--pe-results-max);
	margin: 0 auto;
	background: #fff;
	box-sizing: border-box;
}

.pe-results-inner > .pe-msg {
	padding: 1.5rem 0;
}

.pe-results-head {
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
	padding: 1.5rem 0 1rem;
	width: 100%;
	box-sizing: border-box;
}

.pe-results-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	margin: 0;
	box-sizing: border-box;
	padding: 0 0 1.5rem;
}

.pe-result-card {
	display: flex;
	align-items: stretch;
	background: var(--pe-card);
	border-radius: 0;
	overflow: hidden;
	min-height: 100px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pe-result-card:last-child {
	border-bottom: none;
}

.pe-result-thumb {
	flex: 0 0 120px;
	width: 120px;
	background: #e8e4de;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.pe-result-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pe-result-thumb-empty {
	font-size: 0.7rem;
	color: var(--pe-muted-text);
	text-align: center;
	padding: 0.5rem;
}

.pe-result-body {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 1rem;
	flex-wrap: wrap;
}

@media (max-width: 979px) {
	.pe-result-body {
		gap: 0;
	}
}

/* Building column (name + floor) — aligns with static Elementor row */
.pe-result-building {
	flex: 0 0 160px;
	width: 160px;
	max-width: min(160px, 28vw);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.15rem;
	text-align: center;
	color: var(--pe-text);
	word-break: break-word;
	align-self: center;
}

.pe-result-building-name {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.pe-result-building .pe-result-floor {
	margin: 0;
}

@media (max-width: 520px) {
	.pe-result-building {
		flex: 1 1 100%;
		width: 100%;
		max-width: none;
		align-items: flex-start;
		text-align: start;
	}
}

.pe-result-main {
	min-width: 0;
}

.pe-result-type {
	font-weight: 700;
	font-size: 1rem;
	margin: 0 0 0.15rem;
}

.pe-result-code {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--pe-muted-text);
	margin: 0 0 0.2rem;
}

.pe-result-floor {
	font-size: 0.88rem;
	color: var(--pe-muted-text);
	margin: 0;
}

.pe-badges {
	display: flex;
	gap: 0.35rem;
	margin-top: 0.35rem;
}

.pe-badge {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--pe-btn-dark);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pe-result-area {
	font-size: 1.35rem;
	font-weight: 700;
	white-space: nowrap;
}

.pe-result-actions {
	flex-shrink: 0;
}

.pe-btn-details {
	padding: 0.55rem 1rem;
	border: none;
	border-radius: 15px;
	cursor: pointer;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-block;
	appearance: none;
	background: var(--pe-btn-light);
	color: var(--pe-text);
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Font only — match Elementor SHIKO DETAJET (Inter 13px / 500) */
#searchPropertiesResults.pe-root .pe-btn-details {
	font-family: var(--pe-label-font, "Inter", system-ui, -apple-system, sans-serif);
	font-size: 13px;
	font-weight: 500;
	font-style: normal;
	line-height: 1;
	letter-spacing: 1.5px;
}

.pe-btn-details:hover,
.pe-btn-details:focus-visible {
	background: var(--pe-btn-dark);
	color: #fff;
}

.pe-btn-details:focus-visible {
	outline: 2px solid var(--pe-btn-dark);
	outline-offset: 2px;
}

.pe-pagination {
	margin: 1.5rem 0 0;
	padding: 1.25rem 0 1.75rem;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	font-size: 0.9rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.pe-pagination-pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
}

.pe-pagination-btn,
.pe-pagination-page {
	font: inherit;
	cursor: pointer;
	padding: 0.4rem 0.85rem;
	border: 1px solid #c5c5c5;
	background: #fff;
	border-radius: 2px;
	color: #2b2b2b;
	line-height: 1.2;
	min-width: 2.25rem;
}

.pe-pagination-page.is-active {
	background: #3a4550;
	border-color: #3a4550;
	color: #fff;
	font-weight: 700;
}

.pe-pagination-btn:hover:not(:disabled),
.pe-pagination-page:hover:not(:disabled):not(.is-active) {
	background: #ece8e3;
	border-color: #9a9a9a;
}

.pe-pagination-btn:disabled,
.pe-pagination-page:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.pe-pagination-ellipsis {
	padding: 0 0.25rem;
	color: #5c5c5c;
	user-select: none;
}

.pe-pagination-info {
	flex: 1 1 100%;
	text-align: center;
	font-size: 0.8rem;
	color: #5c5c5c;
	margin-top: 0.15rem;
}

/* ---- Property detail modal ---- */
.pe-hidden {
	display: none !important;
}

body.pe-modal-open {
	overflow: hidden;
}

.pe-property-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	box-sizing: border-box;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pe-property-modal.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.pe-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}

.pe-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 1100px);
	max-height: min(92vh, 720px);
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.pe-modal-layout {
	display: flex;
	flex: 1;
	min-height: 0;
	max-height: min(92vh, 720px);
}

.pe-modal-sidebar {
	flex: 0 0 390px;
	width: 390px;
	max-width: 390px;
	padding: 2rem 1.75rem 1.75rem;
	border-right: 1px solid rgba(0, 0, 0, 0.08);
	overflow-y: auto;
	box-sizing: border-box;
}

.pe-modal-title {
	margin: 0 0 0.35rem;
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #2b2b2b;
}

.pe-modal-id {
	margin: 0 0 1.25rem;
	font-size: 0.95rem;
	color: #5c5c5c;
}

.pe-modal-meta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem 0.65rem;
	margin: 0 0 1.5rem;
	padding: 0;
}

.pe-modal-meta-item {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	min-width: 0;
}

.pe-modal-meta-item.pe-hidden {
	display: none;
}

.pe-modal-meta-icon {
	flex-shrink: 0;
	width: 1.35rem;
	height: 1.35rem;
	color: #5c5c5c;
	margin-top: 0.05rem;
}

.pe-modal-meta-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.pe-modal-meta-item-body {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
	flex: 1;
}

.pe-modal-meta-label {
	font-size: 0.68rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5c5c5c;
}

.pe-modal-meta-value {
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.25;
	color: #2b2b2b;
	word-break: break-word;
}

@media (max-width: 1399px) {
	.pe-modal-meta {
		grid-template-columns: 1fr 1fr;
	}
}

.pe-modal-floor-section {
	margin-top: 0.5rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.pe-modal-floor-heading {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	font-weight: 700;
	color: #2b2b2b;
}

.pe-modal-floor-position {
	min-height: 4rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pe-modal-floor-img {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 140px;
	object-fit: contain;
}

.pe-modal-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	position: relative;
	background: #fff;
	overflow-x: hidden;
}

.pe-modal-close {
	position: absolute;
	top: auto;
	left: auto;
	right: 0.75rem;
	z-index: 2;
	width: 5rem;
	height: 5rem;
	border: none;
	background: transparent;
	color: #f4a4a4;
	font-size: 4.5rem;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	opacity: 0.95;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.pe-modal-close:hover,
.pe-modal-close:focus-visible {
	color: #e53935;
	opacity: 1;
}

.pe-modal-plan-label {
	margin: 1.25rem 1.5rem 0.75rem;
	padding-bottom: 0.35rem;
	font-size: 1rem;
	font-weight: 700;
	color: #2b2b2b;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	align-self: flex-start;
}

.pe-modal-plan-wrap {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	min-width: 0;
	width: 100%;
	padding: 0 1.5rem;
	overflow-x: hidden;
	overflow-y: auto;
	position: relative;
	box-sizing: border-box;
}

.pe-modal-plan-wrap.is-price-form-open {
	overflow-x: hidden;
	overflow-y: hidden;
}

.pe-modal-price-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	z-index: 4;
	display: flex;
	flex-direction: column;
	background: #fff;
	padding: 1.5rem 1.75rem;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	transform: translate3d(100%, 0, 0);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	visibility: hidden;
	pointer-events: none;
}

.pe-modal-plan-wrap.is-price-form-open .pe-modal-price-panel {
	pointer-events: auto;
}

.pe-modal-plan-wrap.is-price-form-open .pe-modal-price-panel {
	transform: translate3d(0, 0, 0);
	visibility: visible;
}

.pe-modal-price-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.25rem;
	width: 100%;
	max-width: none;
	margin: 0;
	flex: 1;
	align-content: start;
	box-sizing: border-box;
}

.pe-modal-price-title,
.pe-modal-price-row,
.pe-modal-price-field--full,
.pe-modal-price-status,
.pe-modal-price-actions {
	grid-column: 1 / -1;
}

.pe-modal-price-title {
	margin: 0 0 0.25rem;
	font-size: 1.1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #2b2b2b;
}

.pe-modal-price-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.25rem;
}

.pe-modal-price-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

@media (max-width: 520px) {
	.pe-modal-price-form,
	.pe-modal-price-row {
		grid-template-columns: 1fr;
	}
}

.pe-modal-price-label {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5c5c5c;
}

.pe-modal-price-input {
	font: inherit;
	font-size: 0.95rem;
	padding: 0.6rem 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 2px;
	background: #fff;
	color: #2b2b2b;
	width: 100%;
	box-sizing: border-box;
}

.pe-modal-price-input:focus {
	outline: 2px solid #3a4550;
	outline-offset: 1px;
	border-color: #3a4550;
}

textarea.pe-modal-price-input {
	resize: vertical;
	min-height: 5rem;
}

.pe-modal-price-status {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.4;
}

.pe-modal-price-status--success {
	color: #2e7d32;
}

.pe-modal-price-status--error {
	color: #c62828;
}

.pe-modal-price-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 0.25rem;
}

.pe-modal-price-back,
.pe-modal-price-submit {
	font: inherit;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.75rem 1.25rem;
	border: none;
	border-radius: 2px;
	cursor: pointer;
}

.pe-modal-price-back {
	background: #e5e2dd;
	color: #2b2b2b;
}

.pe-modal-price-back:hover,
.pe-modal-price-back:focus-visible {
	background: #d9cfc2;
}

.pe-modal-price-submit {
	background: #3a4550;
	color: #fff;
}

.pe-modal-price-submit:hover:not(:disabled),
.pe-modal-price-submit:focus-visible:not(:disabled) {
	background: #2f3842;
}

.pe-modal-price-submit:disabled {
	opacity: 0.6;
	cursor: wait;
}

.pe-modal-btn-price[aria-expanded="true"] {
	background: #2f3842;
}

.pe-modal-plan-img {
	display: block;
	max-width: 100%;
	height: auto;
	max-height: min(52vh, 420px);
	object-fit: contain;
}

.pe-modal-plan-empty {
	margin: 0;
	font-size: 0.9rem;
	color: #5c5c5c;
}

.pe-modal-actions {
	display: flex;
	gap: 0;
	flex-shrink: 0;
}

#pe-property-modal .pe-modal-actions .pe-modal-btn {
	border-radius: 0;
}

.pe-modal-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.85rem 1rem;
	border: none;
	border-radius: 0;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.pe-modal-btn-catalogue {
	background: #d9cfc2;
	color: #2b2b2b;
}

.pe-modal-btn-catalogue:hover:not(.is-disabled) {
	background: #cfc4b6;
}

.pe-modal-btn-catalogue.is-disabled {
	opacity: 0.45;
	pointer-events: none;
	cursor: not-allowed;
}

.pe-modal-btn-price {
	background: #3a4550;
	color: #fff;
}

.pe-modal-btn-price:hover {
	background: #2f3842;
}

@media (max-width: 800px) {
	.pe-result-area {
		font-size: 1rem;
	}

	#searchPropertiesResults.pe-root .pe-btn-details {
		font-size: 10px;
	}

	.pe-property-modal {
		padding: 0;
		align-items: stretch;
	}

	.pe-modal-dialog {
		position: relative;
		width: 100%;
		max-width: 100%;
		max-height: 100dvh;
		height: 100%;
		display: flex;
		flex-direction: column;
	}

	.pe-modal-layout {
		flex: 1;
		flex-direction: column;
		min-height: 0;
		max-height: none;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.pe-modal-sidebar {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
		border-right: none;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
		padding: 2.75rem 1rem 1rem;
		overflow: visible;
		max-height: none;
	}

	.pe-modal-main {
		flex: 0 0 auto;
		display: flex;
		flex-direction: column;
		overflow: visible;
		position: static;
	}

	.pe-modal-close {
		position: absolute;
		top: 0.15rem;
		right: 0.15rem;
		left: auto;
		bottom: auto;
		z-index: 40;
		width: 2.75rem;
		height: 2.75rem;
		font-size: 2.25rem;
	}

	.pe-modal-plan-label {
		margin: 0.75rem 1rem 0.5rem;
	}

	.pe-modal-plan-wrap {
		flex: 0 0 auto;
		min-height: auto;
		padding: 0 1rem 0.5rem;
		overflow-x: hidden;
		overflow-y: visible;
	}

	.pe-modal-actions {
		flex-direction: row;
		flex-shrink: 0;
	}

	/* Lead form covers the whole dialog on mobile (not only the plan strip) */
	.pe-modal-dialog.is-price-form-open {
		overflow: hidden;
	}

	.pe-modal-dialog.is-price-form-open .pe-modal-layout {
		overflow: hidden;
	}

	.pe-modal-dialog.is-price-form-open .pe-modal-plan-wrap {
		position: static;
	}

	.pe-modal-dialog.is-price-form-open .pe-modal-price-panel {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		max-width: 100%;
		height: auto;
		padding: 2.75rem 1rem 1rem;
		transform: translate3d(0, 100%, 0);
		z-index: 35;
	}

	.pe-modal-dialog.is-price-form-open .pe-modal-plan-wrap.is-price-form-open .pe-modal-price-panel {
		transform: translate3d(0, 0, 0);
	}
}
