/**
 * Oplus — Project page v2 (2026-11-05).
 *
 * Loaded after oplus-project-single.css, only when `body.px-v2` is set
 * (`?pxv=2` preview, or the `oplus_px_v2_live` option). Markup:
 * template-parts/project-v2/ (new `pv-` structure) plus the current parts that
 * are reused inside it (residences, payment, location, FAQ, related,
 * investment, form, dialogs) — those are restyled here, not rewritten.
 *
 * Values come from the Oplus Design System (assets/css/oplus-ds.css, --o-*).
 *
 *   1. Tokens          — the --px-* tokens re-pointed at the design system
 *   2. Page shell      — container, two-column grid, sticky card
 *   3. Primitives      — headings, buttons, links, chips, checks
 *   4. Mosaic
 *   5. Intro + facts
 *   6. Price card
 *   7. Section tabs
 *   8. New sections    — overview, gallery, amenities, advisor, developer
 *   9. Reused parts    — residences, payment, location, FAQ, related, investment
 *  10. Closing
 *  11. Review mode     — `&review=1` outlines content that repeats elsewhere
 *  12. Phones
 */

/* =========================================================================
   1. TOKENS
   On body so the dialogs printed outside <main> inherit them too.
   ====================================================================== */

body.px-v2 {
	--px-ink: var(--o-ink, #14261c);
	--px-body: var(--o-text, #4a5b52);
	--px-faint: var(--o-muted, #5d6d65);
	--px-green: var(--o-brand-600, #247a3b);
	--px-green-deep: var(--o-brand-700, #1d6330);
	--px-green-lift: #6fd889;
	--px-tint: var(--o-brand-50, #e9f3ec);
	--px-paper: #fff;
	--px-mist: var(--o-surface-2, #f4f6f5);
	--px-night: #13241a;
	--px-night-2: #1a2f22;
	--px-line: var(--o-line, #e3e8e5);
	--px-line-2: #cdd6d0;
	--px-display: var(--o-font);
	--px-text: var(--o-font);
	--px-t-h2: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem);
	--px-t-h3: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
	--px-t-lede: 1.0625rem;
	--px-t-body: 1rem;
	--px-t-figure: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);
	--px-track-h2: -0.02em;
	--px-track-h3: -0.01em;
	--px-track-body: 0;
	--px-track-caps: 0.08em;
	--px-r: 10px;
	--px-r-2: 14px;
	--px-r-3: 14px;
	--px-sh: 0 1px 2px rgba(19, 38, 28, 0.06);
	--px-sh-float: 0 1px 3px rgba(19, 38, 28, 0.12), 0 8px 30px rgba(19, 38, 28, 0.09);
	--px-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	--pv-header: var(--o-header-h, 77px);
	--pv-gutter: clamp(1rem, 0.6rem + 1.6vw, 2rem);
	--pv-gap: clamp(2.5rem, 1.6rem + 3vw, 4rem);  /* between sections */
	--pv-side: 360px;
}

body.px-v2.rtl {
	--px-display: var(--o-font-ar);
	--px-text: var(--o-font-ar);
}

/* No scroll-driven reveals in v2: content is simply there. */
.pv .px-rise,
.pv [data-px-stagger] > *,
.pv-close .px-rise {
	animation: none !important;
	opacity: 1 !important;
	transform: none !important;
	clip-path: none !important;
}

/* =========================================================================
   2. PAGE SHELL
   ====================================================================== */

.pv {
	color: var(--px-body);
	font-family: var(--px-text);
	font-size: 1rem;
	line-height: 1.6;
	letter-spacing: 0;
	background: #fff;
	padding-bottom: var(--pv-gap);
}

.pv-shell {
	width: 100%;
	max-width: calc(var(--o-container, 1240px) + 2 * var(--pv-gutter));
	margin-inline: auto;
	padding-inline: var(--pv-gutter);
	box-sizing: border-box;
}

.pv-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	margin-top: 28px;
}

@media (min-width: 64rem) {
	.pv-grid {
		grid-template-columns: minmax(0, 1fr) var(--pv-side);
		grid-template-rows: auto 1fr;
		column-gap: clamp(2.5rem, 1rem + 3vw, 4.5rem);
		row-gap: 0;
	}

	.pv-intro { grid-column: 1; grid-row: 1; }
	.pv-main  { grid-column: 1; grid-row: 2; }
	.pv-side  { grid-column: 2; grid-row: 1 / span 2; }

	.pv-side .pv-card {
		position: sticky;
		top: calc(var(--pv-header) + 20px);
	}
}

.pv-sec,
.pv-main > .px-band {
	scroll-margin-top: calc(var(--pv-header) + 64px);
	margin-top: var(--pv-gap);
	padding-top: var(--pv-gap);
	border-top: 1px solid var(--px-line);
}

/* =========================================================================
   3. PRIMITIVES
   ====================================================================== */

.pv h1,
.pv h2,
.pv h3,
.pv h4 {
	color: var(--px-ink);
	font-family: var(--px-display);
}

.pv-h2,
.pv .px-h2 {
	margin: 0;
	font-size: var(--px-t-h2) !important;
	font-weight: 700;
	line-height: 1.2 !important;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.rtl .pv-h2,
.rtl .pv .px-h2 {
	letter-spacing: 0;
	line-height: 1.4 !important;
}

.pv-h3 {
	margin: 0 0 12px;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
}

.pv-sec__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 20px;
}

.pv-sec__head .pv-h2 {
	flex: 1 1 auto;
}

.pv-sec > .pv-h2 {
	margin-bottom: 18px;
}

.pv-sec__meta {
	margin: 0;
	color: var(--px-faint);
	font-size: 0.875rem;
	font-weight: 600;
}

.pv-sec__lede,
.pv .px-sub {
	margin: 10px 0 0 !important;
	max-width: 62ch;
	color: var(--px-faint);
	font-size: 1rem !important;
	line-height: 1.6 !important;
}

/* The section kicker ("Overview", "Gallery"…) and the faint 01–10 counter
   are dropped in v2: the H2 says what the section is. */
.pv .px-eyebrow {
	display: none;
}

.pv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 10px;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color var(--o-t-fast, 150ms) ease, border-color var(--o-t-fast, 150ms) ease, color var(--o-t-fast, 150ms) ease;
}

.pv-btn--primary {
	background: var(--px-green);
	color: #fff !important;
}

.pv-btn--primary:hover {
	background: var(--px-green-deep);
}

.pv-btn--secondary {
	background: #fff;
	border-color: var(--o-line-strong, #8a978f);
	color: var(--px-ink) !important;
}

.pv-btn--secondary:hover {
	border-color: var(--px-ink);
}

.pv-btn--on-night {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff !important;
}

.pv-btn--on-night:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.pv-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--px-green) !important;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.pv-link:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.pv-link .px-i {
	transition: transform var(--o-t-fast, 150ms) ease;
}

.rtl .pv-link .px-i[class] {
	transform: scaleX(-1);
}

.px-v2 :focus-visible {
	outline: 2px solid var(--px-green);
	outline-offset: 2px;
}

.pv-checks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
	gap: 10px 24px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.pv-checks li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: var(--px-ink);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.pv-checks .px-i {
	flex: none;
	margin-top: 1px;
	color: var(--px-green);
}

.pv-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pv-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 14px;
	border: 1px solid var(--px-line);
	border-radius: 10px;
	background: #fff;
	color: var(--px-body);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
}

.pv-chip span {
	color: var(--px-faint);
	font-weight: 500;
}

.pv-chip[aria-selected="true"] {
	border-color: var(--px-ink);
	background: var(--px-ink);
	color: #fff;
}

.pv-chip[aria-selected="true"] span {
	color: rgba(255, 255, 255, 0.75);
}

.pv-cur {
	font-size: 0.72em;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--px-faint);
}

.pv-unit {
	font-size: 0.75em;
	font-weight: 500;
	color: var(--px-faint);
}

.pv-note {
	margin: 12px 0 0;
	color: var(--px-faint);
	font-size: 0.8125rem;
}

/* =========================================================================
   4. MOSAIC
   ====================================================================== */

.pv-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding-block: 18px 14px;
	color: var(--px-faint);
	font-size: 0.8125rem;
}

.pv-crumbs a {
	color: var(--px-faint);
	text-decoration: none;
}

.pv-crumbs a:hover {
	color: var(--px-green);
	text-decoration: underline;
}

.pv-crumbs [aria-current] {
	color: var(--px-ink);
	font-weight: 600;
}

.pv-crumbs__sep {
	color: var(--px-line-2);
}

.pv-mosaic__grid {
	display: grid;
	gap: 8px;
	border-radius: 14px;
	overflow: hidden;
	height: clamp(280px, 30vw + 120px, 540px);
}

.pv-mosaic--full .pv-mosaic__grid {
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
}

.pv-mosaic--full .pv-tile--lead {
	grid-row: 1 / span 2;
}

.pv-mosaic--pair .pv-mosaic__grid {
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
}

.pv-mosaic--pair .pv-tile--lead {
	grid-row: 1 / span 2;
}

.pv-mosaic--solo .pv-mosaic__grid {
	grid-template-columns: 1fr;
}

.pv-tile {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--px-mist);
	overflow: hidden;
	cursor: zoom-in;
}

.pv-tile__img,
.pv-tile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--px-ease), filter 0.3s ease;
}

.pv-tile:hover img {
	transform: scale(1.03);
}

.pv-tile__count {
	position: absolute;
	inset-inline-start: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 8px;
	background: rgba(19, 36, 26, 0.78);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
}

.pv-tile__more {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 12px;
	background: rgba(19, 36, 26, 0.55);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	text-align: center;
}

/* =========================================================================
   5. INTRO + FACTS
   ====================================================================== */

.pv-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

.pv-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 30px;
	padding: 0 11px;
	border: 1px solid var(--px-line);
	border-radius: 8px;
	color: var(--px-body);
	font-size: 0.8125rem;
	font-weight: 500;
}

.pv-tag a {
	color: var(--px-ink);
	font-weight: 600;
	text-decoration: none;
}

.pv-tag a:hover {
	color: var(--px-green);
	text-decoration: underline;
}

.pv-tag .px-i {
	color: var(--px-green);
}

.pv-tag--brand {
	border-color: transparent;
	background: var(--px-tint);
	color: var(--px-green-deep);
	font-weight: 700;
}

.pv-tag--offer {
	border-color: transparent;
	background: #fff4e0;
	color: #7a4f00;
	font-weight: 700;
}

.pv-title {
	margin: 0;
	font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem) !important;
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.rtl .pv-title {
	letter-spacing: 0;
	line-height: 1.35;
}

.pv-lede {
	margin: 14px 0 0;
	max-width: 66ch;
	color: var(--px-body);
	font-size: 1.0625rem;
	line-height: 1.6;
}

.pv-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0;
	margin: 24px 0 0;
	border: 1px solid var(--px-line);
	border-radius: 14px;
	overflow: hidden;
}

.pv-fact {
	padding: 14px 18px;
	border-inline-start: 1px solid var(--px-line);
	margin-inline-start: -1px;
}

.pv-fact dt {
	margin: 0 0 4px;
	color: var(--px-faint);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rtl .pv-fact dt {
	letter-spacing: 0;
}

.pv-fact dd {
	margin: 0;
	color: var(--px-ink);
	font-size: 1.125rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* =========================================================================
   6. PRICE CARD
   ====================================================================== */

.pv-card {
	padding: 22px;
	border: 1px solid var(--px-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--o-shadow-2, 0 8px 30px rgba(19, 38, 28, 0.09));
}

.pv-card__k {
	margin: 0;
	color: var(--px-faint);
	font-size: 0.8125rem;
	font-weight: 600;
}

.pv-card__price {
	margin: 2px 0 14px;
	color: var(--px-ink);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.pv-card__price .pv-cur {
	font-size: 0.5em;
	vertical-align: 0.35em;
}

.pv-card__rows {
	margin: 0 0 18px;
	border-top: 1px solid var(--px-line);
}

.pv-card__rows > div {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--px-line);
	font-size: 0.9375rem;
}

.pv-card__rows dt {
	color: var(--px-faint);
}

.pv-card__rows dd {
	margin: 0;
	color: var(--px-ink);
	font-weight: 700;
}

.pv-card__actions {
	display: grid;
	gap: 10px;
}

.pv-card__actions .pv-btn {
	width: 100%;
}

.pv-card__contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 10px;
}

.pv-card__contact a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	border-radius: 10px;
	background: var(--px-mist);
	color: var(--px-ink);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.pv-card__contact a:hover {
	background: var(--px-tint);
	color: var(--px-green-deep);
}

.pv-card__contact .px-i {
	color: var(--px-green);
}

.pv-card__note {
	margin: 14px 0 0;
	color: var(--px-faint);
	font-size: 0.8125rem;
	text-align: center;
}

/* =========================================================================
   7. SECTION TABS
   ====================================================================== */

.pv-nav {
	position: sticky;
	top: var(--pv-header);
	z-index: 50;
	margin: 28px 0 0;
	background: #fff;
	border-bottom: 1px solid var(--px-line);
	transition: box-shadow var(--o-t-base, 220ms) ease;
}

.pv-nav.is-stuck {
	box-shadow: 0 8px 16px -12px rgba(19, 38, 28, 0.25);
}

.pv-nav__list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}

.pv-nav__list::-webkit-scrollbar {
	display: none;
}

.pv-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 50px;
	padding: 0 14px;
	border-bottom: 2px solid transparent;
	color: var(--px-faint);
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none !important;
}

.pv-nav__link:hover {
	color: var(--px-ink);
}

.pv-nav__link[aria-current="true"] {
	border-bottom-color: var(--px-green);
	color: var(--px-ink);
}

/* The first section follows the tabs without a rule above it. */
.pv-nav + .pv-sec {
	border-top: 0;
	margin-top: 0;
}

/* =========================================================================
   8. NEW SECTIONS
   ====================================================================== */

/* Overview */
.pv-prose {
	color: var(--px-body);
	font-size: 1rem;
	line-height: 1.7;
}

.pv-prose h2,
.pv-prose h3,
.pv-prose h4 {
	margin: 1.4em 0 0.5em;
	font-size: 1.0625rem !important;
	line-height: 1.4;
}

.pv-prose p {
	margin: 0 0 1em;
}

.pv .px-clamp-btn {
	margin-top: 8px;
}

.pv-offer {
	margin-top: 24px;
	padding: 18px 20px;
	border-radius: 14px;
	background: var(--px-tint);
}

.pv-offer__k {
	margin: 0;
	color: var(--px-green-deep);
	font-size: 0.8125rem;
	font-weight: 700;
}

.pv-offer__t {
	margin: 4px 0 14px;
	color: var(--px-ink);
	font-weight: 600;
}

.pv-specs {
	margin-top: 28px;
}

.pv-specs__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 0 32px;
	margin: 0;
}

.pv-specs__list > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 0;
	border-bottom: 1px solid var(--px-line);
	font-size: 0.9375rem;
}

.pv-specs__list dt {
	color: var(--px-faint);
	flex: none;
}

.pv-specs__list dd {
	margin: 0;
	color: var(--px-ink);
	font-weight: 600;
	text-align: end;
}

.pv-specs__list a {
	color: var(--px-green);
}

/* Gallery */
.pv-photos {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.pv-photo {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	overflow: hidden;
	background: var(--px-mist);
	cursor: zoom-in;
}

.pv-photo[hidden] {
	display: none;
}

.pv-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--px-ease);
}

.pv-photo:hover img {
	transform: scale(1.04);
}

.pv-photo__tag {
	position: absolute;
	inset-inline-start: 8px;
	top: 8px;
	padding: 3px 8px;
	border-radius: 6px;
	background: rgba(19, 36, 26, 0.72);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 600;
}

/* Amenities */
.pv-amen-group + .pv-amen-group {
	margin-top: 22px;
}

.pv-amen {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pv-amen li {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 8px 12px;
	border: 1px solid var(--px-line);
	border-radius: 10px;
	color: var(--px-ink);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.3;
}

.pv-amen__ico {
	display: grid;
	place-items: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: var(--px-tint);
	color: var(--px-green);
}

#px-amenities > .pv-btn {
	margin-top: 18px;
}

/* Advisor */
.pv-advisor {
	display: grid;
	gap: 28px;
}

.pv-advisor .px-form {
	box-shadow: none;
	background: var(--px-mist);
	border-color: transparent;
}

@media (min-width: 80rem) {
	.pv-advisor {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: start;
	}

	.pv-advisor .pv-checks {
		grid-template-columns: 1fr;
	}
}

/* Developer */
.pv-dev {
	display: flex;
	gap: 22px;
	align-items: flex-start;
}

.pv-dev__logo {
	display: grid;
	place-items: center;
	flex: none;
	width: 120px;
	height: 84px;
	padding: 12px;
	border: 1px solid var(--px-line);
	border-radius: 12px;
	background: #fff;
	box-sizing: border-box;
}

.pv-dev__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.pv-dev__body p {
	margin: 0 0 12px;
	max-width: 68ch;
	font-size: 0.9375rem;
	line-height: 1.65;
}

.pv-dev__body .pv-h3 {
	margin-bottom: 6px;
}

/* =========================================================================
   9. REUSED PARTS
   Inside the content column the old full-width bands become plain sections.
   ====================================================================== */

.pv-main > .px-band {
	padding-bottom: 0;
	background: none;
}

.pv-main > .px-band > .px-shell {
	max-width: none;
	padding-inline: 0;
}

.pv .px-head {
	align-items: flex-end;
	gap: 14px 24px;
	margin-bottom: 20px;
}

.pv .px-head-copy {
	max-width: none;
	flex: 1 1 380px;
	margin: 0 !important;
	text-align: start !important;
}

.pv .px-head[style] {
	justify-content: space-between !important;
	text-align: start !important;
}

.pv .px-btn {
	min-height: 44px;
	border-radius: 10px;
	font-weight: 600;
}

.pv .px-btn--line {
	border-color: var(--o-line-strong, #8a978f);
}

/* Residences: the summary sentence is long; keep it secondary. */
#px-residences .px-sub {
	font-size: 0.9375rem !important;
}

.pv .px-layouts-head {
	padding-inline: 16px;
}

.pv .px-layout-btn {
	padding-inline: 16px;
}

.pv .px-layout-name {
	font-size: 1rem;
}

/* Layout without a drawing: one compact note, not an empty box. */
.pv .px-layout-panel-inner--noplan {
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 12px;
}

.pv .px-plan-note {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--px-mist);
	color: var(--px-faint);
	font-size: 0.875rem;
}

.pv .px-link-btn {
	padding: 0;
	border: 0;
	background: none;
	color: var(--px-green);
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

/* Payment: a dark card in the column, schedule above the calculator. */
.pv-main > .px-band--night {
	padding: clamp(1.25rem, 0.8rem + 2vw, 2.25rem);
	border-top: 0;
	border-radius: 14px;
	background: var(--px-night);
}

.pv-main > .px-band--night .px-pay {
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 28px;
}

/* Location */
.pv .px-place-grid--solo .px-map {
	aspect-ratio: 16 / 8;
}

.pv-map-facade,
.pv .px-map-facade {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 10px;
	height: 100%;
	padding: 24px;
	text-align: center;
	color: var(--px-ink);
	background:
		linear-gradient(rgba(244, 246, 245, 0.55), rgba(244, 246, 245, 0.55)),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23cfd8d2' stroke-width='6'%3E%3Cpath d='M-10 40 Q40 30 80 60 T170 70'/%3E%3Cpath d='M30 -10 Q40 60 20 170'/%3E%3Cpath d='M110 -10 Q100 80 130 170'/%3E%3C/g%3E%3Cg fill='none' stroke='%23e3e8e5' stroke-width='2'%3E%3Cpath d='M-10 110 L170 120'/%3E%3Cpath d='M70 -10 L60 170'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 160px 160px,
		var(--px-mist);
}

.pv .px-map-facade p {
	margin: 0;
	font-weight: 700;
}

.pv .px-map-facade .px-i {
	color: var(--px-green);
}

.pv .px-map-facade .px-btn {
	background: #fff;
}

/* FAQ: left-aligned like every other section. */
.pv #px-faq .px-faq {
	max-width: none;
	margin: 0;
}

.pv #px-faq > .px-shell > p[style] {
	text-align: start !important;
	margin-top: 20px !important;
}

/* Related + investment: full-width bands after the grid. */
.pv > .px-band {
	margin-top: var(--pv-gap);
	padding-block: var(--pv-gap);
}

.pv > .px-band > .px-shell {
	max-width: calc(var(--o-container, 1240px) + 2 * var(--pv-gutter));
	padding-inline: var(--pv-gutter);
}

.pv .px-card {
	border-radius: 14px;
}

/* =========================================================================
   10. CLOSING
   ====================================================================== */

.pv-close {
	margin-top: var(--pv-gap);
	padding-block: clamp(3rem, 2rem + 4vw, 5rem);
	background: var(--px-night);
	color: rgba(255, 255, 255, 0.78);
	scroll-margin-top: var(--pv-header);
}

.pv-close__grid {
	display: grid;
	gap: 32px;
	align-items: center;
}

@media (min-width: 64rem) {
	.pv-close__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
		column-gap: clamp(2.5rem, 1rem + 4vw, 6rem);
	}
}

.pv-close__k {
	margin: 0 0 10px;
	color: var(--px-green-lift);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pv-close .pv-h2 {
	color: #fff !important;
	font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem) !important;
}

.pv-close .pv-sec__lede {
	margin-bottom: 24px !important;
	color: rgba(255, 255, 255, 0.72);
}

/* =========================================================================
   11. REVIEW MODE (&review=1)
   Content that also appears elsewhere on the page, outlined and labelled so
   the owner can decide what stays. Off by default.
   ====================================================================== */

.pv-review [data-pv-review] {
	position: relative;
	outline: 2px dashed #d08a00;
	outline-offset: 10px;
	border-radius: 4px;
}

.pv-review [data-pv-review]::before {
	content: attr(data-pv-review);
	position: absolute;
	inset-inline-end: 0;
	top: -34px;
	z-index: 5;
	padding: 4px 10px;
	border-radius: 6px;
	background: #fff4e0;
	color: #6b4500;
	font-size: 0.75rem;
	font-weight: 700;
}

/* =========================================================================
   12. TABLET + PHONES
   ====================================================================== */

/* The old floating dock is not printed in v2; the bottom action bar stays
   on phones and tablets. */
@media (max-width: 63.99rem) {
	.pv-nav {
		margin-inline: calc(-1 * var(--pv-gutter));
		padding-inline: var(--pv-gutter);
	}
}

@media (max-width: 47.99rem) {
	.pv-mosaic .pv-shell {
		padding-inline: 0;
	}

	.pv-mosaic__grid {
		height: auto;
		border-radius: 0;
		grid-template-columns: 1fr !important;
		grid-template-rows: auto !important;
	}

	.pv-mosaic .pv-tile:not(.pv-tile--lead) {
		display: none;
	}

	.pv-tile--lead {
		aspect-ratio: 4 / 3;
	}

	.pv-crumbs {
		padding-block: 12px 10px;
		font-size: 0.75rem;
	}

	/* Phones: the bottom action bar is the navigation. */
	.pv-nav {
		display: none;
	}

	.pv-nav + .pv-sec {
		border-top: 1px solid var(--px-line);
		margin-top: var(--pv-gap);
	}

	.pv-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pv-fact {
		border-top: 1px solid var(--px-line);
		margin-top: -1px;
		padding: 12px 14px;
	}

	.pv-fact dd {
		font-size: 1rem;
	}

	.pv-card {
		box-shadow: none;
		padding: 18px;
	}

	.pv-card__price {
		font-size: 1.75rem;
	}

	.pv-photos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pv-photos .pv-photo:nth-child(n + 7) {
		display: none;
	}

	.pv-dev {
		flex-direction: column;
	}

	/* Layout rows: name + toggle on one line, the figures in a 2 × 2 grid. */
	.pv .px-layout-btn {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px;
		align-items: start;
		gap: 10px 14px;
	}

	.pv .px-layout-name {
		grid-column: 1 / 3;
		grid-row: 1;
	}

	.pv .px-layout-toggle {
		grid-column: 3;
		grid-row: 1;
	}

	.pv .px-layout-cell {
		font-size: 0.9375rem;
	}

	.pv .px-place-grid--solo .px-map {
		aspect-ratio: 4 / 3;
	}

	.pv-main > .px-band--night {
		margin-inline: calc(-1 * var(--pv-gutter));
		border-radius: 0;
	}
}

/* The gallery buttons keep the `.px-shot` class for the lightbox script; undo
   the old rail sizing it carries. */
.pv .pv-photos .px-shot,
.pv .pv-photos .px-shot:first-child {
	flex: initial;
	width: auto;
	height: auto;
	aspect-ratio: 4 / 3;
	scroll-snap-align: none;
}

.pv-amen-group .pv-h3 {
	margin-bottom: 10px;
	font-size: 0.9375rem;
	color: var(--px-faint);
}

/* ---- polish pass ---------------------------------------------------- */

.pv .pv-lede {
	margin-top: 12px !important;
}

.pv-min {
	display: inline-block;
	margin-inline-start: 6px;
	padding: 1px 8px;
	border-radius: 6px;
	background: var(--px-tint);
	color: var(--px-green-deep);
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 700;
	white-space: nowrap;
}

.pv > .px-band + .pv-close {
	margin-top: 0;
}

@media (max-width: 47.99rem) {
	/* Layout rows: the toggle sits in the corner; the figures fill a 2 × 2 grid. */
	.pv .px-layout-btn {
		position: relative;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		padding-inline-end: 56px;
	}

	.pv .px-layout-name {
		grid-column: 1 / -1;
	}

	.pv .px-layout-toggle {
		position: absolute;
		inset-inline-end: 16px;
		top: 16px;
	}

	.pv .px-layout-cell--price {
		white-space: nowrap;
	}

	/* Amenities: two per row on phones. */
	.pv-amen {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}

	.pv-amen li {
		gap: 8px;
		min-height: 48px;
		padding: 6px 8px;
		font-size: 0.8125rem;
	}

	.pv-amen__ico {
		width: 28px;
		height: 28px;
	}

	.pv-amen__ico .px-i {
		width: 16px;
		height: 16px;
	}
}

/* Tablets: the price card runs full width, so split it — figures left,
   actions right — instead of one tall column. */
@media (min-width: 48rem) and (max-width: 63.99rem) {
	.pv-card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: 28px;
		align-items: start;
	}

	.pv-card__k,
	.pv-card__price,
	.pv-card__rows {
		grid-column: 1;
	}

	.pv-card__actions,
	.pv-card__contact,
	.pv-card__note {
		grid-column: 2;
	}

	.pv-card__actions {
		grid-row: 1 / span 2;
	}

	.pv-card__contact {
		grid-row: 3;
		margin-top: 0;
		align-self: start;
	}

	.pv-card__note {
		grid-row: 4;
	}
}

@media (max-width: 63.99rem) {
	body.px-v2 {
		--pv-header: 69px;
	}
}


/* ---- QA pass 1 ------------------------------------------------------- */

/* Payment card is dark: headings and notes must stay light on it (the
   generic v2 heading/lede colours made them dark-on-dark). */
.pv-main > .px-band--night h2,
.pv-main > .px-band--night h3,
.pv-main > .px-band--night h4 {
	color: #fff !important;
}

.pv-main > .px-band--night .px-sub,
.pv-main > .px-band--night .px-sched-note,
.pv-main > .px-band--night .px-calc-note {
	color: rgba(255, 255, 255, 0.74) !important;
}

.pv-main > .px-band--night .px-disclaim {
	color: rgba(255, 255, 255, 0.6);
}

div.pv-tile {
	cursor: default;
}

div.pv-tile:hover img {
	transform: none;
}

@media (max-width: 47.99rem) {
	/* An odd last fact takes the full row instead of leaving a gap. */
	.pv-fact:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

/* Readability floor: nothing under 12px. */
.pv-photo__tag,
.pv .px-consent,
.px-v2 .px-consent {
	font-size: 0.75rem;
}

.pv .px-unit,
.pv .px-cur {
	font-size: max(0.75rem, 0.72em);
}

/* Touch targets on phones: links that act as buttons get 44px of height. */
@media (max-width: 63.99rem) {
	.pv .pv-link,
	.pv .px-clamp-btn,
	.pv .px-plan-zoom,
	.pv .px-head .px-btn--ghost,
	.pv .px-link-btn {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
	}
}


/* ---- QA pass 2 ------------------------------------------------------- */

/* Form labels, consent line and the phone action bar: 12px floor. */
.px-v2 .px-form label > span,
.px-v2 .px-consent,
.px-v2 .px-consent a,
.px-v2 .px-ab span,
.pv .px-place-k,
.pv .px-disclaim {
	font-size: 0.75rem !important;
}

/* Related cards: the whole card is the link target, not just its title. */
.pv .px-card {
	position: relative;
}

.pv .px-card-t a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* QA pass 3: last sub-12px labels (map coordinates, travel-time bands). */
.pv .px-map-coords,
.pv .px-map-coords bdo,
.pv .px-band-times h4 em {
	font-size: 0.75rem;
}

/* Phones: the intro tags are links too — give them a comfortable target. */
@media (max-width: 47.99rem) {
	.pv-tag {
		min-height: 36px;
	}
}


/* ---- Removals approved 2026-11-05 ------------------------------------ */

/* Phones: Call / WhatsApp are in the bottom bar, so not in the card too. */
@media (max-width: 47.99rem) {
	.pv-card__contact {
		display: none;
	}
}

/* The trust points now sit in the closing band. */
.pv-checks--night {
	margin: 0 0 24px;
}

.pv-checks--night li {
	color: rgba(255, 255, 255, 0.86);
}

.pv-checks--night .px-i {
	color: var(--px-green-lift);
}

.pv-close {
	scroll-margin-top: var(--pv-header);
}

/* Opened layout without the repeated figures: drawing, handover, button. */
.pv .px-layout-detail .px-unit-specs:empty {
	display: none;
}

/* Layout table column headings: 12px floor. */
.pv .px-layouts-head span,
.pv .px-layout-cell::before {
	font-size: 0.75rem;
}

/* Phones: the tags row stays one line (it scrolls sideways if it must).
   Wrapping depended on the font: one line in the fallback, two once Plus
   Jakarta arrived — which pushed the title and intro down 44px (CLS). */
@media (max-width: 47.99rem) {
	.pv-tags {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		margin-inline: calc(-1 * var(--pv-gutter));
		padding-inline: var(--pv-gutter);
	}

	.pv-tags::-webkit-scrollbar {
		display: none;
	}

	.pv-tag {
		flex: none;
		white-space: nowrap;
	}
}

/* While the legacy sheets arrive (async, in any order) Bootstrap's negative
   row margins can briefly overflow the page sideways; on phones that widened
   the layout viewport and moved the fixed bottom bar (CLS). `clip`, unlike
   `hidden`, creates no scroll container, so sticky elements keep working. */
html:has(body.px-v2),
body.px-v2 {
	overflow-x: clip;
}

/* The header search form's <select class="selectpicker bs-select-hidden">
   is hidden by a legacy sheet that now loads late; hide it from the first
   paint so it does not appear and collapse (CLS 0.05). Same final state. */
body.px-v2 .bs-select-hidden {
	display: none !important;
}

/* Calculator field labels: 12px floor. */
.pv .px-field > span {
	font-size: 0.75rem;
}
