/**
 * Listalyst — property templates.
 *
 * Every colour, radius and font size is a custom property defined once on
 * :root, so the Listalyst theme (or any buyer's theme) restyles the whole
 * portal by overriding tokens rather than fighting selectors.
 *
 * Design intent: the photograph carries the page, the price is the loudest
 * element after it, and every number is paired with an icon so a listing can
 * be read at a glance without reading any words.
 */

:root {
	--lsty-accent: #d97514;
	--lsty-accent-ink: #fff;
	--lsty-accent-dark: #b35f0e;
	--lsty-accent-soft: #fdf1e3;

	--lsty-ink: #14161a;
	--lsty-ink-2: #464b55;
	--lsty-ink-3: #6e747f;

	--lsty-bg: #fff;
	--lsty-bg-2: #f6f7f8;
	--lsty-line: #e5e7ea;
	--lsty-line-soft: #eef0f2;

	--lsty-r-sm: 8px;
	--lsty-r: 12px;
	--lsty-r-lg: 18px;

	--lsty-shadow: 0 1px 2px rgba( 20, 22, 26, 0.04 ), 0 6px 16px rgba( 20, 22, 26, 0.05 );
	--lsty-shadow-lift: 0 2px 6px rgba( 20, 22, 26, 0.06 ), 0 18px 44px rgba( 20, 22, 26, 0.13 );
	--lsty-shadow-deep: 0 30px 70px rgba( 20, 22, 26, 0.18 );

	--lsty-gap: 26px;
	--lsty-max: 1240px;

	--lsty-ease: cubic-bezier( 0.22, 0.61, 0.36, 1 );
}

/* ---------------------------------------------------------------- layout */

.lsty-container {
	width: 100%;
	max-width: var(--lsty-max);
	margin-inline: auto;
	padding-inline: 22px;
	box-sizing: border-box;
}

.lsty-single,
.lsty-archive {
	color: var(--lsty-ink);
	font-size: 16px;
	line-height: 1.62;
	padding-bottom: 80px;
}

/*
 * `-webkit-font-smoothing: antialiased` used to sit on the line above. It is a
 * habit worth dropping: it thins every glyph on macOS, which is a fair trade
 * when a design is set in a heavy system font and a bad one now that the theme
 * ships a real variable face. Removing it is a visible part of the fix for
 * text reading too light.
 */

.lsty-single-grid {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) 382px;
	gap: 48px;
	align-items: start;
	padding-top: 38px;
}

@media ( max-width: 1080px ) {
	.lsty-single-grid {
		grid-template-columns: minmax( 0, 1fr );
		gap: 32px;
	}
}

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

@media ( max-width: 1080px ) {
	.lsty-single-side { position: static; }
}

/* ------------------------------------------------------------------ icons */

.lsty-i {
	width: 22px;
	height: 22px;
	flex: none;
	stroke: currentColor;
	fill: none;
}

.lsty-i-sm { width: 17px; height: 17px; }

/* ------------------------------------------------------------ typography */

/*
 * The display face. This stylesheet sets no font-family anywhere else — body
 * copy inherits from the theme on purpose, so the portal speaks in whatever
 * voice the site already uses. Headings, prices and figures are the exception:
 * they carry the brand, so they follow the theme's display token, and a style
 * variation swapping that one value re-voices every property page.
 *
 * The `inherit` fallback matters: on a theme that never defines the token —
 * any theme but ours — these elements quietly keep using the site's own font
 * rather than falling back to something arbitrary.
 *
 * Only the family is set here. The weights below were tuned against real
 * listings and stay where they are; `font-synthesis-weight: none` is what
 * stops a browser faking a bold for a single-weight face like Instrument
 * Serif, which is the difference between an editorial heading and a smudge.
 */
.lsty-h1,
.lsty-h2,
.lsty-h3,
.lsty-single-title,
.lsty-hero-title,
.lsty-single-price,
.lsty-pcard-price,
.lsty-pcard-title,
.lsty-stat-value,
.lsty-loc-name,
.lsty-sticky-price {
	font-family: var(--lsty-font-display, inherit);
	font-synthesis-weight: none;
}

.lsty-h1,
.lsty-single-title {
	margin: 0 0 10px;
	font-size: clamp( 1.75rem, 1.1rem + 2.3vw, 2.7rem );
	line-height: 1.12;
	letter-spacing: -0.028em;
	font-weight: 800;
	color: var(--lsty-ink);
}

.lsty-h2 {
	margin: 0 0 20px;
	font-size: clamp( 1.25rem, 1rem + 0.85vw, 1.55rem );
	line-height: 1.2;
	font-weight: 750;
	letter-spacing: -0.02em;
}

.lsty-h3 {
	margin: 0 0 16px;
	font-size: 1.15rem;
	font-weight: 750;
	letter-spacing: -0.015em;
}

.lsty-section {
	margin: 44px 0 0;
	padding-top: 40px;
	border-top: 1px solid var(--lsty-line);
}

.lsty-prose { font-size: 1.02rem; line-height: 1.72; color: var(--lsty-ink-2); }
.lsty-prose > :first-child { margin-top: 0; }
.lsty-prose > :last-child { margin-bottom: 0; }

.lsty-note,
.lsty-fhelp {
	margin: 9px 0 0;
	color: var(--lsty-ink-3);
	font-size: 0.86rem;
	line-height: 1.5;
}

/* --------------------------------------------------------------- gallery */

.lsty-gallery-wrap { background: #0c0d0f; }

.lsty-gallery-stage {
	position: relative;
	max-width: var(--lsty-max);
	margin-inline: auto;
	aspect-ratio: 16 / 9;
	background: #0c0d0f;
	overflow: hidden;
}

@media ( max-width: 640px ) {
	.lsty-gallery-stage { aspect-ratio: 4 / 3; }
}

.lsty-slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.4s var(--lsty-ease);
	pointer-events: none;
}

.lsty-slide.is-active { opacity: 1; pointer-events: auto; }

.lsty-slide-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lsty-slide-caption {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	margin: 0;
	padding: 34px 22px 14px;
	background: linear-gradient( transparent, rgba( 0, 0, 0, 0.72 ) );
	color: #fff;
	font-size: 0.88rem;
}

.lsty-gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.94 );
	color: #14161a;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba( 0, 0, 0, 0.2 );
	transition: background-color 0.18s var(--lsty-ease), transform 0.18s var(--lsty-ease);
}

.lsty-gallery-nav:hover { background: #fff; transform: translateY( -50% ) scale( 1.06 ); }
.lsty-gallery-nav svg { width: 28px; height: 28px; fill: currentColor; }
.lsty-gallery-prev { left: 18px; }
.lsty-gallery-next { right: 18px; }

.lsty-gallery-counter {
	position: absolute;
	right: 18px;
	bottom: 18px;
	margin: 0;
	padding: 7px 14px;
	border-radius: 99px;
	background: rgba( 12, 13, 15, 0.72 );
	backdrop-filter: blur( 8px );
	color: #fff;
	font-size: 0.82rem;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.lsty-thumbs {
	display: flex;
	gap: 10px;
	max-width: var(--lsty-max);
	margin-inline: auto;
	padding: 12px 22px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.lsty-thumb {
	flex: none;
	width: 96px;
	height: 68px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: var(--lsty-r-sm);
	background: none;
	overflow: hidden;
	cursor: pointer;
	opacity: 0.5;
	transition: opacity 0.2s var(--lsty-ease), border-color 0.2s var(--lsty-ease);
}

.lsty-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lsty-thumb.is-active,
.lsty-thumb:hover { opacity: 1; border-color: var(--lsty-accent); }

/* ---------------------------------------------------------------- badges */

.lsty-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.lsty-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 13px;
	border-radius: 6px;
	background: var(--lsty-bg-2);
	color: var(--lsty-ink-2);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.075em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.4;
}

.lsty-badge-lsty_status,
.lsty-badge-status {
	background: var(--lsty-accent);
	color: var(--lsty-accent-ink);
}

.lsty-badge-lsty_label,
.lsty-badge-label {
	background: rgba( 20, 22, 26, 0.86 );
	backdrop-filter: blur( 6px );
	color: #fff;
}

/* ------------------------------------------------------------ single head */

.lsty-single-address {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 18px;
	color: var(--lsty-ink-2);
	font-size: 1rem;
	font-weight: 500;
}

.lsty-single-address .lsty-i { color: var(--lsty-accent); }

.lsty-single-pricerow {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 16px;
}

.lsty-single-price {
	margin: 0;
	font-size: clamp( 1.85rem, 1.2rem + 2.2vw, 2.65rem );
	font-weight: 800;
	letter-spacing: -0.032em;
	line-height: 1.05;
	color: var(--lsty-accent);
	font-variant-numeric: tabular-nums;
}

.lsty-single-ref {
	margin: 0;
	padding: 4px 11px;
	border: 1px solid var(--lsty-line);
	border-radius: 99px;
	color: var(--lsty-ink-3);
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.03em;
	font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------- key facts (icon tiles) */

.lsty-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

.lsty-fact {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1 1 165px;
	min-width: 0;
	padding: 15px 17px;
	background: var(--lsty-bg);
	border: 1px solid var(--lsty-line);
	border-radius: var(--lsty-r);
	transition: border-color 0.18s var(--lsty-ease), box-shadow 0.18s var(--lsty-ease);
}

.lsty-fact:hover {
	border-color: var(--lsty-accent);
	box-shadow: var(--lsty-shadow);
}

.lsty-fact-ico {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: none;
	border-radius: 10px;
	background: var(--lsty-accent-soft);
	color: var(--lsty-accent);
}

.lsty-fact-body { display: flex; flex-direction: column; min-width: 0; }

.lsty-fact-value {
	font-size: 1.1rem;
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: -0.018em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lsty-fact-label {
	color: var(--lsty-ink-3);
	font-size: 0.79rem;
	font-weight: 500;
	line-height: 1.35;
}

/* --------------------------------------------------------------- details */

.lsty-details {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 260px, 1fr ) );
	gap: 0 40px;
	margin: 0;
}

.lsty-detail {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 14px 0;
	border-bottom: 1px solid var(--lsty-line-soft);
}

.lsty-detail dt { color: var(--lsty-ink-3); font-size: 0.93rem; font-weight: 500; }
.lsty-detail dd { margin: 0; font-size: 0.93rem; font-weight: 650; text-align: right; }

/* -------------------------------------------------------------- features */

.lsty-features {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 205px, 1fr ) );
	gap: 14px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lsty-feature {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.97rem;
	font-weight: 550;
}

.lsty-feature-ico {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	flex: none;
	border-radius: 10px;
	background: var(--lsty-bg-2);
	color: var(--lsty-accent);
}

/* ------------------------------------------------------------ map, embed */

.lsty-map {
	height: 420px;
	border-radius: var(--lsty-r);
	overflow: hidden;
	background: var(--lsty-bg-2);
	border: 1px solid var(--lsty-line);
	z-index: 0;
}

.lsty-embed { border-radius: var(--lsty-r); overflow: hidden; }

.lsty-embed iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

/* ----------------------------------------------------------------- cards */

.lsty-card {
	padding: 24px;
	background: var(--lsty-bg);
	border: 1px solid var(--lsty-line);
	border-radius: var(--lsty-r-lg);
	box-shadow: var(--lsty-shadow);
}

.lsty-agent-card { padding-bottom: 22px; }

.lsty-agent-top { display: flex; align-items: center; gap: 16px; }

.lsty-agent-photo {
	flex: none;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	object-fit: cover;
}

.lsty-agent-photo-logo {
	border-radius: var(--lsty-r-sm);
	object-fit: contain;
	background: var(--lsty-bg-2);
}

.lsty-agent-initials {
	display: grid;
	place-items: center;
	background: var(--lsty-accent);
	color: var(--lsty-accent-ink);
	font-size: 1.65rem;
	font-weight: 800;
}

.lsty-agent-id { min-width: 0; }

.lsty-agent-name {
	margin: 0;
	font-size: 1.12rem;
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.lsty-agent-name a { color: inherit; text-decoration: none; }
.lsty-agent-name a:hover { color: var(--lsty-accent); }

.lsty-agent-role,
.lsty-agent-agency {
	margin: 2px 0 0;
	color: var(--lsty-ink-3);
	font-size: 0.88rem;
	line-height: 1.42;
}

.lsty-agent-agency { font-weight: 600; color: var(--lsty-ink-2); }

.lsty-agent-meta {
	margin: 16px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--lsty-line-soft);
	list-style: none;
	color: var(--lsty-ink-3);
	font-size: 0.85rem;
}

.lsty-agent-meta li { padding: 3px 0; }

.lsty-agent-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 18px;
}

/* --------------------------------------------------------------- buttons */

.lsty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 52px;
	padding: 0.85em 1.5em;
	border: 1.5px solid transparent;
	border-radius: var(--lsty-r-sm);
	background: var(--lsty-bg-2);
	color: var(--lsty-ink);
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.005em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s var(--lsty-ease), border-color 0.18s var(--lsty-ease), transform 0.12s var(--lsty-ease);
}

.lsty-btn:active { transform: translateY( 1px ); }

.lsty-btn-primary {
	background: var(--lsty-accent);
	border-color: var(--lsty-accent);
	color: var(--lsty-accent-ink);
	box-shadow: 0 4px 14px rgba( 217, 117, 20, 0.28 );
}

.lsty-btn-primary:hover:not( :disabled ) {
	background: var(--lsty-accent-dark);
	border-color: var(--lsty-accent-dark);
	color: var(--lsty-accent-ink);
}

.lsty-btn-ghost {
	background: transparent;
	border-color: var(--lsty-line);
	color: var(--lsty-ink);
}

.lsty-btn-ghost:hover { background: var(--lsty-bg-2); border-color: var(--lsty-ink-3); color: var(--lsty-ink); }

.lsty-btn-text {
	min-height: 0;
	padding: 0.5em 0.75em;
	background: none;
	border-color: transparent;
	color: var(--lsty-ink-2);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lsty-btn-block { width: 100%; }
.lsty-btn:disabled { opacity: 0.55; cursor: default; }

/*
 * The WhatsApp button carries .lsty-wa (front.css) and .lsty-btn together, so
 * it can sit in a stack of portal buttons and match their height and width.
 * But property.css loads after front.css and both selectors are one class
 * deep, so .lsty-btn's neutral background was winning: the agent card and the
 * sticky mobile bar rendered a grey button with a green glow around it, which
 * reads as broken rather than branded — and this is the button the whole
 * product is sold on.
 *
 * Re-asserting green at two classes deep fixes it regardless of load order,
 * which matters because a buyer's optimisation plugin may concatenate and
 * reorder stylesheets however it likes.
 */
.lsty-btn.lsty-wa {
	background: var(--lsty-wa-green, #25d366);
	border-color: var(--lsty-wa-green, #25d366);
	color: #fff;
}

.lsty-btn.lsty-wa:hover:not( :disabled ),
.lsty-btn.lsty-wa:focus-visible {
	background: var(--lsty-wa-green-dark, #1da851);
	border-color: var(--lsty-wa-green-dark, #1da851);
	color: #fff;
}

/* The outline variant is deliberately not green-filled — keep it hollow. */
.lsty-btn.lsty-wa.lsty-wa-style-outline {
	background: transparent;
	color: var(--lsty-wa-green, #25d366);
}

.lsty-btn.lsty-wa.lsty-wa-style-outline:hover {
	background: var(--lsty-wa-green, #25d366);
	color: #fff;
}

/* ------------------------------------------------------------------ forms */

.lsty-field-row { margin-bottom: 16px; }

.lsty-flabel {
	display: block;
	margin-bottom: 7px;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--lsty-ink-2);
}

.lsty-req { color: var(--lsty-accent); }

.lsty-form input[type="text"],
.lsty-form input[type="email"],
.lsty-form input[type="tel"],
.lsty-form textarea,
.lsty-search input,
.lsty-search select {
	width: 100%;
	min-height: 50px;
	padding: 0.75em 0.9em;
	border: 1.5px solid var(--lsty-line);
	border-radius: var(--lsty-r-sm);
	background: var(--lsty-bg);
	color: var(--lsty-ink);
	font: inherit;
	font-size: 1rem;
	box-sizing: border-box;
	transition: border-color 0.15s var(--lsty-ease), box-shadow 0.15s var(--lsty-ease);
}

.lsty-form textarea { min-height: 110px; resize: vertical; }

.lsty-form input:focus-visible,
.lsty-form textarea:focus-visible,
.lsty-search input:focus-visible,
.lsty-search select:focus-visible {
	outline: none;
	border-color: var(--lsty-accent);
	box-shadow: 0 0 0 3px rgba( 217, 117, 20, 0.16 );
}

/* Honeypot: off-screen rather than display:none, because some bots skip
   fields that are display:none and this one needs to look fillable. */
.lsty-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lsty-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 6px 0 18px;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--lsty-ink-2);
}

.lsty-consent input { margin-top: 0.22em; flex: none; width: 17px; height: 17px; accent-color: var(--lsty-accent); }

.lsty-form-msg {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: var(--lsty-r-sm);
	font-size: 0.92rem;
	font-weight: 550;
	line-height: 1.5;
}

.lsty-form-msg[hidden] { display: none !important; }
.lsty-form-msg.is-ok { background: #e6f3ea; color: #17572a; }
.lsty-form-msg.is-error { background: #fdeaea; color: #9e2323; }

/* ----------------------------------------------------------- search form */

.lsty-search {
	margin: 26px 0 34px;
	padding: 24px;
	background: var(--lsty-bg);
	border: 1px solid var(--lsty-line);
	border-radius: var(--lsty-r-lg);
	box-shadow: var(--lsty-shadow);
}

.lsty-search-row { display: flex; flex-wrap: wrap; gap: 16px; }
.lsty-search-field { flex: 1 1 165px; min-width: 0; }
.lsty-search-grow { flex: 2 1 280px; }

.lsty-search-more {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--lsty-line-soft);
}

.lsty-search-more summary {
	cursor: pointer;
	font-size: 0.93rem;
	font-weight: 700;
	color: var(--lsty-accent);
	list-style: none;
}

.lsty-search-more summary::-webkit-details-marker { display: none; }
.lsty-search-more summary::before { content: "+ "; font-weight: 800; }
.lsty-search-more[open] summary::before { content: "− "; }
.lsty-search-more > .lsty-search-row { margin-top: 18px; }

.lsty-search-features { margin: 20px 0 0; padding: 0; border: 0; }

.lsty-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 9px; }
.lsty-chip { position: relative; display: inline-flex; }

.lsty-chip input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
}

.lsty-chip span {
	padding: 9px 16px;
	border: 1.5px solid var(--lsty-line);
	border-radius: 99px;
	background: var(--lsty-bg);
	font-size: 0.88rem;
	font-weight: 600;
	transition: background-color 0.15s var(--lsty-ease), border-color 0.15s var(--lsty-ease);
}

.lsty-chip input:checked + span {
	background: var(--lsty-accent);
	border-color: var(--lsty-accent);
	color: var(--lsty-accent-ink);
}

.lsty-chip input:focus-visible + span {
	outline: 2px solid var(--lsty-accent);
	outline-offset: 2px;
}

.lsty-search-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 14px;
	margin-top: 22px;
}

.lsty-search-sort { margin-left: auto; min-width: 200px; }

/* --------------------------------------------------------------- results */

.lsty-archive-head { padding-top: 42px; }
.lsty-archive-desc { color: var(--lsty-ink-2); }

.lsty-result-count {
	margin: 0 0 20px;
	color: var(--lsty-ink-2);
	font-size: 0.95rem;
	font-weight: 650;
	font-variant-numeric: tabular-nums;
}

.lsty-results { position: relative; transition: opacity 0.2s var(--lsty-ease); }
.lsty-results.is-loading { opacity: 0.4; pointer-events: none; }

.lsty-grid-cards {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 310px, 1fr ) );
	gap: var(--lsty-gap);
}

.lsty-empty-state {
	grid-column: 1 / -1;
	padding: 68px 24px;
	border: 1px dashed var(--lsty-line);
	border-radius: var(--lsty-r-lg);
	text-align: center;
	color: var(--lsty-ink-3);
}

/* ----------------------------------------------------------- property card */

.lsty-pcard {
	display: flex;
	flex-direction: column;
	background: var(--lsty-bg);
	border: 1px solid var(--lsty-line);
	border-radius: var(--lsty-r-lg);
	overflow: hidden;
	transition: box-shadow 0.28s var(--lsty-ease), transform 0.28s var(--lsty-ease), border-color 0.28s var(--lsty-ease);
}

.lsty-pcard:hover {
	box-shadow: var(--lsty-shadow-lift);
	transform: translateY( -4px );
	border-color: transparent;
}

.lsty-pcard.is-featured { border-color: var(--lsty-accent); }

.lsty-pcard-media {
	position: relative;
	aspect-ratio: 3 / 2;
	background: var(--lsty-bg-2);
	overflow: hidden;
}

.lsty-pcard-link { display: block; width: 100%; height: 100%; }

.lsty-pcard-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.7s var(--lsty-ease);
}

.lsty-pcard:hover .lsty-pcard-img { transform: scale( 1.06 ); }

/* Scrim so the overlaid price stays readable on a bright photo. */
.lsty-pcard-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient( to top, rgba( 12, 13, 15, 0.78 ) 0%, rgba( 12, 13, 15, 0.16 ) 34%, transparent 62% );
	pointer-events: none;
}

.lsty-pcard-noimg {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient( 135deg, transparent 46%, var(--lsty-line) 46%, var(--lsty-line) 54%, transparent 54% ),
		var(--lsty-bg-2);
}

.lsty-pcard-badges {
	position: absolute;
	top: 14px;
	left: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	z-index: 2;
}

.lsty-pcard-star {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.92 );
	color: var(--lsty-accent);
	backdrop-filter: blur( 6px );
}

.lsty-pcard-star .lsty-i { width: 18px; height: 18px; fill: currentColor; }

.lsty-pcard-price {
	position: absolute;
	left: 18px;
	bottom: 15px;
	z-index: 2;
	margin: 0;
	color: #fff;
	font-size: 1.42rem;
	font-weight: 800;
	letter-spacing: -0.028em;
	line-height: 1.15;
	text-shadow: 0 1px 12px rgba( 0, 0, 0, 0.4 );
	font-variant-numeric: tabular-nums;
}

.lsty-pcard-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 20px 16px;
}

.lsty-pcard-type {
	margin: 0 0 6px;
	color: var(--lsty-accent);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.lsty-pcard-title {
	margin: 0 0 7px;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.016em;
}

.lsty-pcard-title a { color: var(--lsty-ink); text-decoration: none; }
.lsty-pcard-title a:hover { color: var(--lsty-accent); }

.lsty-pcard-area {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	color: var(--lsty-ink-3);
	font-size: 0.89rem;
	font-weight: 500;
}

/*
 * Spec row. Each spec is its own cell with a divider between — the
 * demarcation is what makes a row of numbers read as a deliberate spec
 * strip rather than a run-on sentence.
 */
.lsty-specs {
	display: flex;
	flex-wrap: wrap;
	margin: 15px 0 0;
	padding: 13px 0 0;
	border-top: 1px solid var(--lsty-line-soft);
	list-style: none;
	gap: 0;
}

.lsty-spec {
	display: flex;
	align-items: center;
	gap: 7px;
	flex: 1 1 0;
	min-width: 0;
	padding: 2px 11px;
	border-left: 1px solid var(--lsty-line-soft);
	color: var(--lsty-ink-2);
	font-size: 0.86rem;
}

.lsty-spec:first-child { border-left: 0; padding-left: 0; }
.lsty-spec .lsty-i { color: var(--lsty-accent); }

.lsty-spec-text {
	display: flex;
	align-items: baseline;
	gap: 4px;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lsty-spec-text strong {
	font-weight: 750;
	color: var(--lsty-ink);
	font-variant-numeric: tabular-nums;
}

.lsty-spec-text span { color: var(--lsty-ink-3); font-weight: 500; }

.lsty-pcard-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 15px;
}

.lsty-pcard-ref {
	color: var(--lsty-ink-3);
	font-size: 0.76rem;
	font-weight: 650;
	letter-spacing: 0.05em;
	font-variant-numeric: tabular-nums;
}

.lsty-pcard-actions { display: flex; align-items: center; gap: 10px; }

.lsty-pcard-view {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--lsty-ink);
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s var(--lsty-ease), gap 0.15s var(--lsty-ease);
}

.lsty-pcard-view:hover { color: var(--lsty-accent); gap: 9px; }

/* ------------------------------------------------------------ pagination */

.lsty-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 44px;
}

.lsty-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1.5px solid var(--lsty-line);
	border-radius: var(--lsty-r-sm);
	color: var(--lsty-ink);
	font-size: 0.95rem;
	font-weight: 650;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
	transition: background-color 0.15s var(--lsty-ease), border-color 0.15s var(--lsty-ease);
}

.lsty-pagination .page-numbers:hover { background: var(--lsty-bg-2); border-color: var(--lsty-ink-3); }

.lsty-pagination .page-numbers.current {
	background: var(--lsty-accent);
	border-color: var(--lsty-accent);
	color: var(--lsty-accent-ink);
	font-weight: 800;
}

.lsty-pagination .dots { border-color: transparent; }

/* --------------------------------------------------------------- related */

.lsty-related {
	margin-top: 64px;
	padding: 54px 0;
	background: var(--lsty-bg-2);
	border-top: 1px solid var(--lsty-line);
}

/* ------------------------------------------------------------ sticky bar */

.lsty-sticky-bar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 60;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 16px;
	background: rgba( 255, 255, 255, 0.97 );
	backdrop-filter: blur( 12px );
	border-top: 1px solid var(--lsty-line);
	box-shadow: 0 -8px 28px rgba( 20, 22, 26, 0.12 );
	padding-bottom: max( 12px, env( safe-area-inset-bottom ) );
}

@media ( max-width: 1080px ) {
	.lsty-sticky-bar { display: flex; }
	.lsty-single { padding-bottom: 110px; }
}

.lsty-sticky-price {
	font-weight: 800;
	font-size: 1.1rem;
	letter-spacing: -0.025em;
	color: var(--lsty-accent);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.lsty-sticky-actions { display: flex; gap: 10px; }

/* The two things a buyer on a phone actually taps. Comfortably above the
   44px minimum touch target, and sized so neither looks secondary. */
.lsty-sticky-actions .lsty-btn,
.lsty-sticky-actions .lsty-wa {
	min-height: 50px;
	padding: 0.8em 1.35em;
	font-size: 0.98rem;
	font-weight: 700;
}

@media ( max-width: 420px ) {
	.lsty-sticky-price { font-size: 0.98rem; }
	.lsty-sticky-actions .lsty-btn,
	.lsty-sticky-actions .lsty-wa { padding: 0.8em 1.05em; font-size: 0.92rem; }
}

/* ------------------------------------------------------------------- dark */

@media ( prefers-color-scheme: dark ) {
	:root {
		--lsty-ink: #f3f4f5;
		--lsty-ink-2: #c4c7cc;
		--lsty-ink-3: #8f949c;
		--lsty-bg: #16181c;
		--lsty-bg-2: #1f2227;
		--lsty-line: #31353c;
		--lsty-line-soft: #292d33;
		--lsty-accent-soft: #2b2018;
		--lsty-shadow: 0 1px 2px rgba( 0, 0, 0, 0.4 ), 0 6px 16px rgba( 0, 0, 0, 0.34 );
		--lsty-shadow-lift: 0 2px 6px rgba( 0, 0, 0, 0.5 ), 0 18px 44px rgba( 0, 0, 0, 0.46 );
	}

	.lsty-form-msg.is-ok { background: #143020; color: #9fe0b1; }
	.lsty-form-msg.is-error { background: #3a1b1b; color: #f0a8a8; }
	.lsty-sticky-bar { background: rgba( 22, 24, 28, 0.97 ); }
	.lsty-pcard-star { background: rgba( 31, 34, 39, 0.92 ); }
	.lsty-gallery-nav { background: rgba( 31, 34, 39, 0.94 ); color: #f3f4f5; }
}

@media ( prefers-reduced-motion: reduce ) {
	.lsty-slide,
	.lsty-pcard,
	.lsty-pcard-img,
	.lsty-btn,
	.lsty-fact,
	.lsty-results {
		transition: none;
	}

	.lsty-pcard:hover { transform: none; }
	.lsty-pcard:hover .lsty-pcard-img { transform: none; }
	.lsty-gallery-nav:hover { transform: translateY( -50% ); }
}

/* ==========================================================================
   Homepage blocks — hero, quick search, location tiles, stats
   ========================================================================== */

/*
 * Homepage sections are full-bleed, but they are dropped into a theme's post
 * content, which is almost always a constrained container. Rather than ask a
 * buyer to wrap every section in a full-width group, each section escapes its
 * container itself and then re-constrains its own inner .lsty-container.
 *
 * The escape is 100vw wide, which on a platform with classic (space-taking)
 * scrollbars is a few pixels wider than the content box and would otherwise
 * produce a horizontal scrollbar. `overflow-x: clip` on the body — added only
 * on pages that actually use these sections — trims that without creating a
 * scroll container, so position: sticky inside the page keeps working the way
 * `overflow-x: hidden` would have broken.
 */
body.lsty-page-blocks {
	overflow-x: clip;
}

.lsty-hero,
.lsty-block {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc( 50% - 50vw );
}

.lsty-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: var(--lsty-hero-h, 620px);
	padding: 90px 0 54px;
	overflow: hidden;
	background: #0c0d0f;
	isolation: isolate;
}

.lsty-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}

.lsty-hero-scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient( to top, rgba( 10, 11, 13, 0.92 ) 0%, rgba( 10, 11, 13, 0.5 ) 44%, rgba( 10, 11, 13, 0.34 ) 100% );
}

.lsty-hero-inner { width: 100%; }

.lsty-hero-title {
	margin: 0 0 14px;
	max-width: 16ch;
	color: #fff;
	font-size: clamp( 2.1rem, 1.2rem + 3.6vw, 3.9rem );
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.lsty-hero-sub {
	margin: 0 0 34px;
	max-width: 56ch;
	color: rgba( 255, 255, 255, 0.88 );
	font-size: clamp( 1rem, 0.94rem + 0.35vw, 1.18rem );
	line-height: 1.55;
	font-weight: 450;
}

/* ------------------------------------------------------------ quick search */

.lsty-quicksearch {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
	padding: 14px;
	background: rgba( 255, 255, 255, 0.97 );
	backdrop-filter: blur( 14px );
	border-radius: var(--lsty-r-lg);
	box-shadow: var(--lsty-shadow-deep);
}

.lsty-qs-field { flex: 1 1 160px; min-width: 0; }
.lsty-qs-grow { flex: 2 1 250px; }

.lsty-qs-label {
	display: block;
	margin: 0 0 5px 2px;
	color: var(--lsty-ink-3);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.lsty-quicksearch input,
.lsty-quicksearch select {
	width: 100%;
	min-height: 48px;
	padding: 0.6em 0.8em;
	border: 1.5px solid var(--lsty-line);
	border-radius: var(--lsty-r-sm);
	background: #fff;
	color: #14161a;
	font: inherit;
	font-size: 0.97rem;
	font-weight: 550;
	box-sizing: border-box;
}

.lsty-quicksearch input:focus-visible,
.lsty-quicksearch select:focus-visible {
	outline: none;
	border-color: var(--lsty-accent);
	box-shadow: 0 0 0 3px rgba( 217, 117, 20, 0.18 );
}

.lsty-qs-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0 1.7em;
	border: 0;
	border-radius: var(--lsty-r-sm);
	background: var(--lsty-accent);
	color: var(--lsty-accent-ink);
	font: inherit;
	font-size: 1rem;
	font-weight: 750;
	cursor: pointer;
	transition: background-color 0.18s var(--lsty-ease);
}

.lsty-qs-submit:hover { background: var(--lsty-accent-dark); }
.lsty-qs-submit .lsty-i { width: 19px; height: 19px; }

@media ( max-width: 700px ) {
	.lsty-qs-submit { flex: 1 1 100%; }
	.lsty-hero { padding-top: 64px; }
}

/* ---------------------------------------------------------------- blocks */

.lsty-block { padding: 72px 0; }
.lsty-block-locations { background: var(--lsty-bg-2); }

.lsty-block-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 22px;
	margin-bottom: 32px;
}

.lsty-block-head .lsty-h2 { margin-bottom: 6px; }

.lsty-block-sub {
	margin: 0;
	color: var(--lsty-ink-3);
	font-size: 1rem;
}

.lsty-block-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	color: var(--lsty-accent);
	font-size: 0.95rem;
	font-weight: 750;
	text-decoration: none;
	transition: gap 0.15s var(--lsty-ease);
}

.lsty-block-link:hover { gap: 10px; }

/* ------------------------------------------------------------ location tiles */

.lsty-loc-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 232px, 1fr ) );
	gap: 18px;
}

.lsty-loc {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 4 / 3;
	border-radius: var(--lsty-r-lg);
	overflow: hidden;
	background: var(--lsty-ink);
	text-decoration: none;
	isolation: isolate;
}

.lsty-loc-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform 0.6s var(--lsty-ease);
}

.lsty-loc:hover .lsty-loc-img { transform: scale( 1.07 ); }

.lsty-loc-scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient( to top, rgba( 10, 11, 13, 0.86 ) 0%, rgba( 10, 11, 13, 0.2 ) 55%, transparent 100% );
}

.lsty-loc-body { padding: 18px 20px; color: #fff; }

.lsty-loc-name {
	display: block;
	font-size: 1.18rem;
	font-weight: 750;
	letter-spacing: -0.018em;
	line-height: 1.25;
}

.lsty-loc-count {
	display: block;
	margin-top: 3px;
	color: rgba( 255, 255, 255, 0.76 );
	font-size: 0.86rem;
	font-weight: 550;
}

/* ----------------------------------------------------------------- stats */

.lsty-block-stats { padding: 54px 0; }

.lsty-stats {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 160px, 1fr ) );
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lsty-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	padding: 26px 16px;
	background: var(--lsty-bg);
	border: 1px solid var(--lsty-line);
	border-radius: var(--lsty-r-lg);
	text-align: center;
}

.lsty-stat-ico {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: 6px;
	border-radius: 14px;
	background: var(--lsty-accent-soft);
	color: var(--lsty-accent);
}

.lsty-stat-ico .lsty-i { width: 25px; height: 25px; }

.lsty-stat-value {
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
}

.lsty-stat-label {
	color: var(--lsty-ink-3);
	font-size: 0.86rem;
	font-weight: 600;
}

@media ( prefers-reduced-motion: reduce ) {
	.lsty-loc-img, .lsty-block-link, .lsty-qs-submit { transition: none; }
	.lsty-loc:hover .lsty-loc-img { transform: none; }
}
