/* Community Finder — full-viewport section + region picker overlay */

.cf-wrap {
	position: relative;
	width: 100vw;
	height: var(--cf-height, 100vh);
	min-height: var(--cf-min-height, 600px);
	margin-left: calc(50% - 50vw);
	overflow: hidden;
	background: #2a2a2a;
	color: #f4f1ec;
	isolation: isolate;
}

.cf-map {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(120% 80% at 30% 30%, #b3b6bb, transparent 60%),
		radial-gradient(80% 60% at 80% 70%, #989ca1, transparent 60%),
		linear-gradient(160deg, #8c9095 0%, #a7abb0 50%, #8c9095 100%);
}

.cf-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	background:
		radial-gradient(60% 50% at 50% 55%, rgba(20, 22, 24, 0.55), rgba(20, 22, 24, 0) 70%);
	transition: opacity 0.6s ease;
}

.cf-overlay-inner {
	max-width: 1180px;
	padding: 48px 56px;
	text-align: center;
	pointer-events: auto;
}

.cf-eyebrow {
	display: inline-block;
	margin-bottom: 24px;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 11px;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	opacity: 0.75;
	color: #b27556;
}

.cf-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: clamp(48px, 6vw, 88px);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: -0.01em;
	margin-bottom: 48px;
	color: #f1ead8;
	text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.cf-title .cf-italic {
	font-style: italic;
	opacity: 0.92;
}

.cf-regions {
	display: grid;
	grid-template-columns: repeat(5, minmax(160px, 1fr));
	gap: 12px;
	max-width: 1080px;
	margin: 0 auto;
}
@media (max-width: 1100px) {
	.cf-regions { grid-template-columns: repeat(3, minmax(160px, 1fr)); max-width: 640px; }
}
@media (max-width: 640px) {
	.cf-regions { grid-template-columns: repeat(2, minmax(140px, 1fr)); max-width: 420px; }
}

.cf-region-btn {
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 16px 16px;
	line-height: 1.25;
	min-height: 56px;
	background: rgba(241, 234, 216, 0.06);
	color: #f1ead8;
	border: 1px solid rgba(241, 234, 216, 0.28);
	border-radius: 0;
	cursor: pointer;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background 0.4s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, letter-spacing 0.4s ease;
}
.cf-region-btn:hover,
.cf-region-btn:focus-visible {
	background: rgba(178, 117, 86, 0.92);
	border-color: rgba(178, 117, 86, 0.92);
	color: #10202a;
	letter-spacing: 0.22em;
	outline: none;
	transform: translateY(-1px);
}

.cf-reset {
	display: inline-block;
	margin-top: 36px;
	background: none;
	border: none;
	color: #f1ead8;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	opacity: 0.78;
	cursor: pointer;
	padding: 8px 12px;
	transition: opacity 0.3s ease, letter-spacing 0.3s ease;
}
.cf-reset:hover { opacity: 1; letter-spacing: 0.28em; }

.cf-warning {
	margin-top: 32px;
	font-size: 13px;
	color: #ffb89a;
	background: rgba(0, 0, 0, 0.35);
	border: 1px dashed rgba(255, 184, 154, 0.5);
	padding: 12px 16px;
	border-radius: 2px;
}
.cf-warning a { color: inherit; text-decoration: underline; }

/* Region-selected state — the overlay's region copy fades out so the map
   can either show the zoomed-in region clearly or reveal the city picker. */
.cf-wrap.is-zoomed .cf-eyebrow,
.cf-wrap.is-zoomed .cf-title,
.cf-wrap.is-zoomed .cf-regions {
	opacity: 0;
	transform: translateY(-12px);
	pointer-events: none;
	transition: opacity 0.5s ease, transform 0.6s ease;
}

/* City picker — second step. Hidden by default; revealed when the wrap has
   the `is-region` class. Hidden again on city select (is-city). */
.cf-cities {
	display: none;
	margin-top: 24px;
	pointer-events: auto;
}
.cf-wrap.is-region .cf-cities {
	display: block;
}
.cf-wrap.is-city .cf-cities { display: none; }

.cf-cities-eyebrow {
	display: block;
	margin-bottom: 18px;
}

.cf-cities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px;
	max-width: 880px;
	margin: 0 auto 20px;
}

.cf-city-btn {
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
	padding: 16px 18px;
	background: rgba(241, 234, 216, 0.06);
	color: #f1ead8;
	border: 1px solid rgba(241, 234, 216, 0.28);
	cursor: pointer;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	text-align: left;
	transition: background 0.4s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.cf-city-btn:hover,
.cf-city-btn:focus-visible {
	background: rgba(178, 117, 86, 0.92);
	border-color: rgba(178, 117, 86, 0.92);
	color: #10202a;
	outline: none;
	transform: translateY(-1px);
}
.cf-city-name {
	font-family: 'Cormorant Garamond', serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
}
.cf-city-count {
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	opacity: 0.78;
}

.cf-back {
	margin-top: 4px;
	background: none;
	border: none;
	color: #f1ead8;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	opacity: 0.78;
	cursor: pointer;
	padding: 8px 12px;
	transition: opacity 0.3s ease, letter-spacing 0.3s ease;
}
.cf-back:hover { opacity: 1; letter-spacing: 0.28em; }

.cf-wrap.is-zoomed .cf-overlay {
	background: none;
}

/* In city state the overlay copy is hidden — let wheel/drag pass through to
   the map so visitors can pan & zoom directly. .cf-reset stays interactive
   via its own z-index + pointer-events default. */
.cf-wrap.is-city .cf-overlay,
.cf-wrap.is-city .cf-overlay-inner {
	pointer-events: none;
}
/* Action row holds Start Over + Finish side by side once the user has
   drilled into the map. Stays at bottom-left, z-index above the overlay. */
.cf-actions {
	position: absolute;
	bottom: 32px;
	left: 32px;
	display: none;
	gap: 10px;
	z-index: 3;
}
.cf-wrap.is-zoomed .cf-actions { display: flex; }
.cf-wrap.is-finish .cf-actions  { display: none; }

.cf-wrap.is-zoomed .cf-reset,
.cf-finish {
	margin: 0;
	background: rgba(20, 22, 24, 0.6);
	border: 1px solid rgba(241, 234, 216, 0.28);
	padding: 14px 20px;
	color: #f1ead8;
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	cursor: pointer;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, letter-spacing 0.3s ease;
}
.cf-wrap.is-zoomed .cf-reset:hover,
.cf-finish:hover {
	background: rgba(178, 117, 86, 0.92);
	border-color: rgba(178, 117, 86, 0.92);
	color: #10202a;
}
.cf-finish {
	background: #b27556;
	border-color: #b27556;
	color: #10202a;
}
.cf-finish:hover {
	background: #c98a6a;
	border-color: #c98a6a;
}

/* Filter panel — slides in from the left in city state. Toggle button
   sits on the top-left edge; panel itself overlays the map. Visibility
   is gated on .cf-wrap.is-city so the toggle only appears after the
   user has drilled into a city (the panel itself stays display:none via
   the [hidden] selector when not in city state too). */
.cf-filters-toggle {
	position: absolute;
	top: 32px;
	left: 32px;
	z-index: 5;
	display: none;
	align-items: center;
	gap: 8px;
	padding: 10px 16px 10px 14px;
	background: rgba(20, 22, 24, 0.75);
	color: #f1ead8;
	border: 1px solid rgba(241, 234, 216, 0.28);
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.cf-wrap.is-city .cf-filters-toggle { display: inline-flex; }
.cf-filters-toggle:hover {
	background: #b27556;
	border-color: #b27556;
	color: #10202a;
	transform: translateY(-1px);
}
.cf-filters-toggle svg { display: block; }

.cf-filters {
	position: absolute;
	top: 92px;
	left: 0;
	width: min(340px, 86vw);
	max-height: calc(100% - 124px);
	z-index: 4;
	display: flex;
	flex-direction: column;
	background: rgba(20, 22, 24, 0.85);
	border: 1px solid rgba(241, 234, 216, 0.18);
	border-left: none;
	color: #f1ead8;
	transform: translateX(-100%);
	transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}
.cf-filters[hidden] { display: none; }
.cf-filters.is-open { transform: translateX(0); }
.cf-filters-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px 12px;
	border-bottom: 1px solid rgba(241, 234, 216, 0.12);
}
.cf-filters-close {
	background: none;
	border: none;
	color: #f1ead8;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.7;
}
.cf-filters-close:hover { opacity: 1; }
.cf-filters-body {
	overflow-y: auto;
	padding: 16px 20px 24px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}
.cf-filter {
	border: none;
	padding: 0;
	margin: 0;
}
.cf-filter legend {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	width: 100%;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	opacity: 0.85;
	margin-bottom: 10px;
}
.cf-filter-readout {
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: none;
	opacity: 0.7;
}
.cf-filter-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.cf-check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: rgba(241, 234, 216, 0.06);
	border: 1px solid rgba(241, 234, 216, 0.22);
	font-size: 12px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cf-check input { display: none; }
.cf-check:has(input:checked) {
	background: #b27556;
	border-color: #b27556;
	color: #10202a;
}
.cf-range {
	position: relative;
	height: 26px;
}
.cf-range input[type="range"] {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	height: 18px;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	pointer-events: none;
}
.cf-range input[type="range"]::-webkit-slider-runnable-track {
	height: 2px;
	background: rgba(241, 234, 216, 0.3);
}
.cf-range input[type="range"]::-moz-range-track {
	height: 2px;
	background: rgba(241, 234, 216, 0.3);
}
.cf-range input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px; height: 16px;
	border-radius: 50%;
	background: #b27556;
	border: 2px solid #f1ead8;
	pointer-events: auto;
	cursor: pointer;
	margin-top: -7px;
}
.cf-range input[type="range"]::-moz-range-thumb {
	width: 16px; height: 16px;
	border-radius: 50%;
	background: #b27556;
	border: 2px solid #f1ead8;
	pointer-events: auto;
	cursor: pointer;
}
.cf-filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 13px;
}
.cf-filter-toggle input {
	width: 18px; height: 18px;
	accent-color: #b27556;
	cursor: pointer;
}
.cf-filters-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 20px 18px;
	border-top: 1px solid rgba(241, 234, 216, 0.12);
}
.cf-filters-reset {
	background: none;
	border: 1px solid rgba(241, 234, 216, 0.28);
	color: #f1ead8;
	padding: 8px 14px;
	font-family: inherit;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cf-filters-reset:hover {
	background: #b27556;
	border-color: #b27556;
	color: #10202a;
}
.cf-filters-count {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.78;
}

/* Persistent shortlist toggle — appears once the user has at least one
   favourite. Floating heart pill on the right edge with a live count. */
.cf-favs-toggle {
	position: absolute;
	top: 32px;
	right: 32px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px 10px 14px;
	background: rgba(20, 22, 24, 0.75);
	color: #f1ead8;
	border: 1px solid rgba(241, 234, 216, 0.28);
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	cursor: pointer;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.cf-favs-toggle[hidden] { display: none; }
.cf-favs-toggle:hover {
	background: #b27556;
	border-color: #b27556;
	color: #10202a;
	transform: translateY(-1px);
}
.cf-favs-toggle svg { display: block; }
.cf-favs-toggle-count {
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #b27556;
	color: #10202a;
	display: inline-grid;
	place-items: center;
	font-size: 11px;
	letter-spacing: 0;
}
.cf-favs-toggle:hover .cf-favs-toggle-count {
	background: #10202a;
	color: #f1ead8;
}

/* Shortlist drawer — slides in from the right on add. Auto-collapses
   after 5 s via JS (cf-favs.is-open). */
.cf-favs {
	position: absolute;
	top: 92px;
	right: 0;
	width: min(340px, 86vw);
	max-height: calc(100% - 124px);
	z-index: 4;
	display: flex;
	flex-direction: column;
	background: rgba(20, 22, 24, 0.85);
	border: 1px solid rgba(241, 234, 216, 0.18);
	border-right: none;
	color: #f1ead8;
	transform: translateX(100%);
	transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}
.cf-favs.is-open { transform: translateX(0); }
.cf-favs-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px 12px;
	border-bottom: 1px solid rgba(241, 234, 216, 0.12);
}
.cf-favs-close {
	background: none;
	border: none;
	color: #f1ead8;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}
.cf-favs-close:hover { opacity: 1; }
.cf-favs-list {
	overflow-y: auto;
	padding: 12px 14px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.cf-favs-empty {
	margin: 0;
	padding: 12px;
	font-size: 13px;
	opacity: 0.7;
	text-align: center;
}
.cf-favs-card {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 10px;
	align-items: center;
	background: rgba(241, 234, 216, 0.06);
	border: 1px solid rgba(241, 234, 216, 0.12);
	padding: 8px;
}
.cf-favs-thumb {
	width: 64px;
	height: 64px;
	overflow: hidden;
	background: #1a1a1a;
}
.cf-favs-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-favs-meta h4 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 16px;
	font-weight: 500;
	margin: 0 0 2px;
	line-height: 1.15;
}
.cf-favs-meta span {
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.7;
}
.cf-favs-remove {
	background: none;
	border: none;
	color: #f1ead8;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.6;
	padding: 4px 6px;
	transition: opacity 0.2s ease;
}
.cf-favs-remove:hover { opacity: 1; color: #b27556; }

/* Finish screen — full-viewport takeover. No vertical scroll: everything
   has to fit in the wrap's height, so we let the slider take whatever's
   left after the header/title and footer-form rows. */
.cf-finish-screen {
	position: absolute;
	inset: 0;
	z-index: 5;
	background: linear-gradient(160deg, #1a1f24 0%, #10202a 50%, #1a1f24 100%);
	color: #f1ead8;
	overflow: hidden;
	display: flex;
}
.cf-finish-screen[hidden] { display: none; }
.cf-finish-inner {
	flex: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 56px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
	gap: 20px;
	min-height: 0;
}
.cf-finish-inner > * { margin: 0; flex: 0 0 auto; }
.cf-finish-screen .cf-title {
	margin: 0;
	font-size: clamp(36px, 4.4vw, 64px);
}
.cf-finish-slider {
	width: 100%;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
}
.cf-finish-screen .cf-title {
	margin-bottom: 40px;
}
/* Horizontal slider for the shortlist on the finish screen. Cards live in
   a single row that scrolls horizontally with snap; arrows on either end
   scroll one card-width at a time and hide themselves when there's no
   overflow on that side. */
.cf-finish-slider {
	position: relative;
	margin-bottom: 48px;
}
.cf-finish-list {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 18px;
	overflow-x: auto;
	overflow-y: hidden;
	width: 100%;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 8px;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
	touch-action: pan-y;
	-ms-overflow-style: none;       /* IE/Edge legacy */
	scrollbar-width: none;          /* Firefox */
}
.cf-finish-list.is-dragging {
	cursor: grabbing;
	scroll-behavior: auto;          /* disable smooth-scroll mid-drag */
	scroll-snap-type: none;         /* re-enabled after release implicitly */
}
.cf-finish-list img,
.cf-finish-list .cf-finish-card { user-select: none; }
.cf-finish-list img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.cf-finish-list::-webkit-scrollbar { display: none; }
.cf-finish-card {
	flex: 0 0 320px;
	scroll-snap-align: start;
	background: rgba(241, 234, 216, 0.05);
	border: 1px solid rgba(241, 234, 216, 0.14);
	display: flex;
	flex-direction: column;
}
.cf-finish-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(20, 22, 24, 0.85);
	color: #f1ead8;
	border: 1px solid rgba(241, 234, 216, 0.28);
	font-size: 18px;
	cursor: pointer;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.cf-finish-arrow[hidden] { display: none; }
.cf-finish-arrow:hover {
	background: #b27556;
	border-color: #b27556;
	color: #10202a;
	transform: translateY(-50%) scale(1.05);
}
.cf-finish-arrow--prev { left: -22px; }
.cf-finish-arrow--next { right: -22px; }
@media (max-width: 720px) {
	.cf-finish-arrow--prev { left: 4px; }
	.cf-finish-arrow--next { right: 4px; }
	.cf-finish-card { flex-basis: 260px; }
}
.cf-finish-thumb {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #1a1a1a;
	overflow: hidden;
}
.cf-finish-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.35s ease;
}
.cf-finish-img.is-active { opacity: 1; }
.cf-finish-img--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #aaa;
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.cf-finish-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(20, 22, 24, 0.6);
	color: #fff;
	border: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background 0.2s ease;
}
.cf-finish-nav:hover { background: rgba(178, 117, 86, 0.92); }
.cf-finish-nav--prev { left: 6px; }
.cf-finish-nav--next { right: 6px; }
.cf-finish-dots {
	position: absolute;
	bottom: 8px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 5px;
	z-index: 1;
}
.cf-finish-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	padding: 0;
}
.cf-finish-dot.is-active { background: #fff; }
.cf-finish-plan {
	display: inline-block;
	margin-top: 10px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #b27556;
	text-decoration: none;
	border-bottom: 1px solid rgba(178, 117, 86, 0.5);
	padding-bottom: 2px;
	transition: color 0.25s ease, border-color 0.25s ease;
}
.cf-finish-plan:hover { color: #c98a6a; border-bottom-color: #c98a6a; }
.cf-finish-body { padding: 16px 18px 20px; }
.cf-finish-body h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 22px;
	font-weight: 500;
	margin: 0 0 6px;
}
.cf-finish-body p {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.78;
}
.cf-finish-price { color: #b27556; margin-top: 6px !important; letter-spacing: 0.04em !important; text-transform: none !important; font-size: 14px !important; font-weight: 600; }
.cf-finish-empty { opacity: 0.7; padding: 40px 0; text-align: center; }

.cf-finish-form {
	max-width: 640px;
	margin: 0 auto 36px;
	text-align: center;
}
.cf-finish-label {
	display: block;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	opacity: 0.78;
	margin-bottom: 14px;
}
.cf-finish-row {
	display: flex;
	gap: 10px;
}
.cf-finish-email {
	flex: 1;
	padding: 14px 16px;
	background: rgba(241, 234, 216, 0.06);
	border: 1px solid rgba(241, 234, 216, 0.28);
	color: #f1ead8;
	font-family: inherit;
	font-size: 14px;
}
.cf-finish-email::placeholder { color: rgba(241, 234, 216, 0.5); }
.cf-finish-email:focus { outline: none; border-color: #b27556; }
.cf-finish-submit {
	padding: 14px 22px;
	background: #b27556;
	border: 1px solid #b27556;
	color: #10202a;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.3s ease;
}
.cf-finish-submit:hover { background: #c98a6a; border-color: #c98a6a; }
.cf-finish-status {
	min-height: 1.2em;
	margin: 12px 0 0;
	font-size: 12px;
	letter-spacing: 0.08em;
	opacity: 0.85;
}
.cf-finish-status[data-state="error"] { color: #ffb89a; }
.cf-finish-status[data-state="ok"]    { color: #aed3a2; }
.cf-finish-back {
	display: block;
	margin: 0 auto;
	background: none;
	border: none;
	color: #f1ead8;
	font-family: inherit;
	font-size: 12px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	opacity: 0.78;
	cursor: pointer;
	padding: 10px 14px;
}
.cf-finish-back:hover { opacity: 1; }

/* Flat popup — rendered inside google.maps.InfoWindow. Keep selectors scoped
   to .cf-pop so Google's outer container styling stays untouched. */
.cf-pop {
	font-family: 'Manrope', system-ui, sans-serif;
	width: 320px;
	max-width: 100%;
	color: #2a2a2a;
}
.cf-pop-gallery {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #1a1a1a;
	overflow: hidden;
	margin-bottom: 14px;
}
.cf-pop-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.35s ease;
}
.cf-pop-img.is-active { opacity: 1; }
.cf-pop-img--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #aaa;
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.cf-pop-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(20, 22, 24, 0.55);
	color: #fff;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background 0.2s ease;
}
.cf-pop-nav:hover { background: rgba(178, 117, 86, 0.92); }
.cf-pop-prev { left: 8px; }
.cf-pop-next { right: 8px; }
.cf-pop-dots {
	position: absolute;
	bottom: 8px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 6px;
}
.cf-pop-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	padding: 0;
	transition: background 0.2s ease;
}
.cf-pop-dot.is-active { background: #fff; }
.cf-pop-body { padding: 0 4px 4px; }
.cf-pop-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 22px;
	font-weight: 500;
	margin: 0 0 4px;
	color: #1a1a1a;
	line-height: 1.2;
}
.cf-pop-price {
	font-size: 14px;
	font-weight: 600;
	color: #b27556;
	margin-bottom: 10px;
	letter-spacing: 0.04em;
}
.cf-pop-specs {
	list-style: none;
	margin: 0 0 14px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	border-top: 1px solid #e5e0d6;
	border-bottom: 1px solid #e5e0d6;
	padding: 10px 0;
}
.cf-pop-specs li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}
.cf-pop-k {
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #888;
}
.cf-pop-v {
	font-size: 15px;
	font-weight: 600;
	color: #2a2a2a;
}
.cf-pop-fav {
	display: block;
	width: 100%;
	padding: 12px 16px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	background: #1a1a1a;
	color: #f1ead8;
	border: 1px solid #1a1a1a;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.cf-pop-fav:hover,
.cf-pop-fav.is-on {
	background: #b27556;
	border-color: #b27556;
	color: #10202a;
}
.cf-pop-plan {
	display: inline-block;
	margin-bottom: 10px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #b27556;
	text-decoration: none;
	border-bottom: 1px solid rgba(178, 117, 86, 0.5);
	padding-bottom: 2px;
	transition: color 0.25s ease, border-color 0.25s ease;
}
.cf-pop-plan:hover {
	color: #8f5a40;
	border-bottom-color: #8f5a40;
}

/* Floorplan lightbox — fixed-position overlay appended to <body> on first
   open. Click on the backdrop or the close × dismisses; Escape closes too. */
.cf-plan-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	background: rgba(10, 14, 18, 0.92);
	padding: 60px;
	align-items: center;
	justify-content: center;
	cursor: zoom-out;
}
.cf-plan-lightbox.is-open { display: flex; }
.cf-plan-figure {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	cursor: default;
}
.cf-plan-figure img {
	max-width: 100%;
	max-height: calc(100vh - 160px);
	background: #f1ead8;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
	display: block;
}
.cf-plan-figure figcaption {
	font-family: 'Manrope', system-ui, sans-serif;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #f1ead8;
	opacity: 0.78;
}
.cf-plan-close {
	position: fixed;
	top: 20px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(241, 234, 216, 0.12);
	color: #f1ead8;
	border: 1px solid rgba(241, 234, 216, 0.28);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
}
.cf-plan-close:hover {
	background: #b27556;
	color: #10202a;
	transform: scale(1.05);
}
