/* Consistent discovery styling for results, buildings and property details. */
body.lh-results-page,
body.lh-building-page,
body.lethouse-property-v4 {
	--lh-green: #2f765f;
	--lh-green-dark: #205443;
	--lh-green-soft: #edf5f2;
	--lh-bg: #f8f8f8;
	--lh-border: #e8e8e8;
	--lh-muted: #666;
	--lh-ink: #222;
	--lh-black: #222;
	background: #fff;
}

body.lh-results-page .lh-site-header,
body.lh-building-page .lh-site-header,
body.lethouse-property-v4 .lh-site-header {
	border-bottom: 1px solid #eee;
	background: rgba(255, 255, 255, .97);
	box-shadow: none;
	backdrop-filter: blur(14px);
}

body.lh-results-page .lh-nav-shell,
body.lh-building-page .lh-nav-shell,
body.lethouse-property-v4 .lh-nav-shell {
	max-width: 1360px;
	min-height: 76px;
}

body.lh-results-page .lh-menu-pill,
body.lh-building-page .lh-menu-pill,
body.lethouse-property-v4 .lh-menu-pill {
	height: 44px;
	border-color: #ddd;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

body.lh-results-page .lh-menu-pill span,
body.lh-building-page .lh-menu-pill span,
body.lethouse-property-v4 .lh-menu-pill span {
	background: #f4f4f4;
	color: #222;
}

/* Results: the search stays familiar and the homes lead visually. */
.lh-results-page .lh-results-main,
.lh-results-page .lh-results-explore,
.lh-results-page .lh-results-toolbar { background: #fff; }
.lh-results-page .lh-results-searchbar { top: 76px; border-color: #eee; background: rgba(255,255,255,.98); }
.lh-results-page .lh-results-search {
	min-height: 68px;
	grid-template-columns: minmax(145px, 1.3fr) repeat(2, minmax(130px, 1fr)) minmax(105px, .7fr) minmax(125px, .9fr) auto;
	border: 1px solid #ddd;
	border-radius: 999px;
	box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.lh-results-page .lh-results-search-field { border-color: #e7e7e7; }
.lh-results-page .lh-results-search-field > i { color: #2f765f; }
.lh-results-page .lh-results-search-field small { color: #333; font-weight: 700; }
.lh-results-page .lh-results-search-field { padding: 0 15px; }
.lh-results-page .lh-results-search-field input { width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; color: #222; font: 600 13px "Plus Jakarta Sans", sans-serif; }
.lh-results-page .lh-results-guests input { width: 48px; }
.lh-results-page .lh-results-search-note strong { display: block; color: #666; font-size: 14px; font-weight: 500; }
.lh-results-page .lh-results-search > button[type="submit"] {
	min-width: 138px;
	border-radius: 999px;
	background: #2f765f;
	font-weight: 700;
}
.lh-results-page .lh-results-search > button[type="submit"]:hover { background: #205443; }
.lh-results-page .lh-results-toolbar { padding-top: 40px; border-bottom: 0; }
.lh-results-page .lh-results-eyebrow { color: #2f765f; text-transform: uppercase; letter-spacing: .08em !important; }
.lh-results-page .lh-results-heading h1 { font-size: clamp(30px, 3vw, 40px); font-weight: 750; letter-spacing: -.035em !important; }
.lh-results-page .lh-results-city-note { margin:6px 0 8px; color:#53695a; font-size:14px; line-height:1.45; }
.lh-results-page .lh-results-city-note a { color:#286f54; font-weight:750; text-decoration:underline; text-underline-offset:3px; }
.lh-results-page .lh-results-heading p { color: #666; }
.lh-results-page .lh-results-filter-button,
.lh-results-page .lh-results-sort { border-radius: 999px; }
.lh-results-page .lh-results-chip { min-height: 40px; }
.lh-results-page .lh-results-chip.is-active { border-color: #222; background: #222; color: #fff; }
.lh-results-page .lh-results-layout { grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: 36px; }
.lh-results-page .lh-results-grid { gap: 32px 18px; }
.lh-results-page .lh-results-card-media { aspect-ratio: 1.06 / 1; border-radius: 18px; }
.lh-results-page .lh-results-card-badges span { background: #fff; color: #222; font-weight: 700; }
.lh-results-page .lh-results-card-badges .is-verified { background: #fff; color: #2f765f; }
.lh-results-page .lh-results-card-title h2 { font-weight: 750; }
.lh-results-page .lh-results-card-title > div > span { color: #777; }
.lh-results-page .lh-results-card-body > .lh-results-card-services { color: #666; }
.lh-results-page .lh-results-card-footer { margin-top: 9px; padding-top: 0; border-top: 0; }
.lh-results-page .lh-results-card-footer strong { font-weight: 750; }
.lh-results-page .lh-results-map { top: 194px; border-radius: 20px; box-shadow: none; }
.lh-results-page .lh-results-map-canvas { height: 390px; width: 100%; z-index: 0; }
.lh-results-page .lh-results-map .leaflet-container { font-family: 'Plus Jakarta Sans', sans-serif; }
.lh-results-page .lh-results-map .leaflet-popup-content { margin: 13px 16px; }
.lh-results-page .lh-results-map .lh-map-popup { display: grid; gap: 4px; min-width: 170px; font-size: 14px; }
.lh-results-page .lh-results-map .lh-map-popup strong { font-size: 15px; color: #17221d; }
.lh-results-page .lh-results-map .lh-map-popup span { color: #56645c; }
.lh-results-page .lh-results-map .lh-map-popup a { color: #205443; font-weight: 750; margin-top: 5px; }
.lh-results-page .lh-results-seo { background: #f8f8f8; }
.lh-results-page .lh-results-seo-tips article { border-radius: 16px; }

/* Property: wide photography, compact details and a calm booking card. */
.lethouse-property-v4 .lh-property-shell { max-width: 1320px; }
.lethouse-property-v4 .lh-back-link { color: #555; font-size: 13px; }
.lethouse-property-v4 .lh-back-link:hover { color: #2f765f; }
.lethouse-property-v4 .lh-property-gallery { gap: 8px; border-radius: 20px; }
.lethouse-property-v4 .lh-gallery-all { border-radius: 999px; }
.lethouse-property-v4 .lh-property-heading { padding-top: 30px; }
.lethouse-property-v4 .lh-property-heading h1 {
	font-size: clamp(32px, 3.2vw, 44px);
	font-weight: 750;
	letter-spacing: -.04em !important;
}
.lethouse-property-v4 .lh-property-badges span:first-child {
	border-color: #f3d5de;
	background: #edf5f2;
	color: #2f765f;
}
.lethouse-property-v4 .lh-quick-facts span { min-height: 36px; border-color: #e7e7e7; font-size: 13px; }
.lethouse-property-v4 .lh-property-chapters { border-color: #eee; }
.lethouse-property-v4 .lh-property-chapters a:hover { color: #2f765f; }
.lethouse-property-v4 .lh-detail-section h2 { font-weight: 750; }
.lethouse-property-v4 .lh-feature-grid div,
.lethouse-property-v4 .lh-condition-card div { border-radius: 16px; box-shadow: none; }
.lethouse-property-v4 .lh-booking-card {
	border-color: #e4e4e4;
	border-radius: 20px;
	box-shadow: 0 6px 28px rgba(0,0,0,.08);
}
.lethouse-property-v4 .lh-price-block strong { font-weight: 750; letter-spacing: -.045em !important; }
.lethouse-property-v4 .lh-primary-action:not(.is-disabled) { background: #2f765f; color: #fff; }
.lethouse-property-v4 .lh-primary-action:not(.is-disabled):hover { background: #205443; }
.lethouse-property-v4 .lh-date-grid input,
.lethouse-property-v4 .lh-date-grid select { border-radius: 10px; }

/* Building inventory follows the same photo and card language. */
.lh-building-page .lh-building-gallery { border-radius: 20px; }
.lh-building-page .lh-building-heading h1 { font-weight: 750; letter-spacing: -.04em !important; }
.lh-building-page .lh-building-badges span { border-radius: 999px; }
.lh-building-page .lh-building-type { border-radius: 18px; }
.lh-building-page .lh-building-unit-image { border-radius: 12px; }
.lh-building-page .lh-building-modes a.is-active { background: #222; color: #fff; }

@media (max-width: 991px) {
	.lh-results-page .lh-results-layout { grid-template-columns: 1fr; }
	.lh-results-page .lh-results-map { position: relative; top: auto; }
}

@media (max-width: 760px) {
	body.lh-results-page .lh-nav-shell,
	body.lh-building-page .lh-nav-shell,
	body.lethouse-property-v4 .lh-nav-shell { min-height: 66px; }
	.lh-results-page .lh-results-searchbar { top: 66px; }
	.lh-results-page .lh-results-search { min-height: 54px; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; }
	.lh-results-page .lh-results-search-field { min-height: 56px; display: flex; padding: 8px 12px; border-bottom: 1px solid #eee; }
	.lh-results-page .lh-results-search-field:first-child { grid-column: 1 / -1; }
	.lh-results-page .lh-results-search-field:nth-child(3) { display: flex; }
	.lh-results-page .lh-results-search-field input { font-size: 12px; }
	.lh-results-page .lh-results-search > button[type="submit"] { grid-column: 1 / -1; width: auto; min-width: 0; min-height: 45px; justify-self: stretch; margin: 6px; border-radius: 12px; }
	.lh-results-page .lh-results-search > button[type="submit"] span { position: static; width: auto; height: auto; clip: auto; }
	.lh-results-page .lh-results-toolbar { padding-top: 22px; }
	.lh-results-page .lh-results-heading h1 { font-size: 25px; }
	.lh-results-page .lh-results-card-media { aspect-ratio: 1.12 / 1; border-radius: 16px; }
	.lh-results-page .lh-results-grid { gap: 26px; }
	.lethouse-property-v4 .lh-property-shell { padding-right: 20px; padding-left: 20px; }
	.lethouse-property-v4 .lh-property-gallery { border-radius: 16px; }
	.lethouse-property-v4 .lh-property-heading h1 { font-size: 32px; }
}

/* Relaunch discovery and listing detail. */
.lh-results-page .lh-results-search-toggle { display: none; }
.lh-results-page .lh-results-heading h1 { letter-spacing: -.045em !important; }
.lh-results-page .lh-results-summary-breakdown { display: none; }
.lh-results-page .lh-results-grid { gap: 28px 18px; }
.lh-results-page .lh-results-card-media { aspect-ratio: 1.18 / 1; }
.lh-results-page .lh-results-card-badges span { max-width: 100%; }
.lh-results-page .lh-results-card-footer > span { display: none; }
.lethouse-property-v4 .lh-property-shell { display: flex; flex-direction: column; }
.lethouse-property-v4 .lh-back-link { order: 0; align-self: flex-start; }
.lethouse-property-v4 .lh-property-heading { order: 1; padding: 0 0 21px; border: 0; }
.lethouse-property-v4 .lh-property-heading h1 { max-width: 800px; margin-top: 9px; }
.lethouse-property-v4 .lh-property-heading p { margin: 10px 0 0; }
.lethouse-property-v4 .lh-property-badges { margin-bottom: 5px; }
.lethouse-property-v4 .lh-quick-facts { gap: 6px; margin-top: 15px; }
.lethouse-property-v4 .lh-quick-facts span { min-height: 32px; padding: 0 10px; font-size: 12px; }
.lethouse-property-v4 .lh-property-gallery { order: 2; width: 100%; }
.lethouse-property-v4 .lh-property-layout { order: 3; width: 100%; padding-top: 34px; }
.lethouse-property-v4 .lh-detail-section h2 { font-size: 23px; }
.lethouse-property-v4 .lh-booking-card { box-shadow: 0 5px 18px rgba(0,0,0,.07); }
.lethouse-property-v4 .lh-property-badges span:first-child { border-color: #dcebe4; }
.lethouse-property-v4.lh-demo-property .lh-property-gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 2 / 1; }
.lethouse-property-v4.lh-demo-property .lh-property-gallery > button:first-child { grid-column: 1; grid-row: 1; }
@media (max-width: 760px) {
	.lh-results-page .lh-results-searchbar { position: relative; top: 0; padding: 8px 0; }
	.lh-results-page .lh-results-search-toggle { width: 100%; display: flex; align-items: center; gap: 13px; min-height: 56px; padding: 8px 14px; border: 1px solid #e7e7e7; border-radius: 999px; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.08); color: #222; text-align: left; }
	.lh-results-page .lh-results-search-toggle > i:first-child { font-size: 17px; }
	.lh-results-page .lh-results-search-toggle > i:last-child { margin-left: auto; color: #2f765f; }
	.lh-results-page .lh-results-search-toggle span { display: flex; flex-direction: column; gap: 2px; }
	.lh-results-page .lh-results-search-toggle strong { font-size: 13px; }
	.lh-results-page .lh-results-search-toggle small { color: #717171; font-size: 11px; }
	.lh-results-page .lh-results-search { display: none; margin-top: 10px; }
	.lh-results-page .lh-results-search.is-mobile-open { display: grid; }
	.lh-results-page .lh-results-search-field:nth-child(5) { display: none; }
	.lh-results-page .lh-results-toolbar { padding-top: 18px; }
	.lh-results-page .lh-results-heading h1 { font-size: 23px; }
	.lh-results-page .lh-results-heading p { margin-top: 4px; }
	.lh-results-page .lh-results-chips { margin-top: 14px; }
	.lh-results-page .lh-results-map { display: block; margin-top: 28px; }
	.lh-results-page .lh-results-map-canvas { height: 340px; }
	.lh-results-page .lh-results-layout { display: block; }
	.lh-results-page .lh-results-card-media { aspect-ratio: 1.35 / 1; }
	.lethouse-property-v4 .lh-property-shell { padding-top: 12px; }
	.lethouse-property-v4 .lh-back-link { margin-bottom: 10px; }
	.lethouse-property-v4 .lh-property-heading { padding-bottom: 16px; }
	.lethouse-property-v4 .lh-property-heading h1 { font-size: 26px; line-height: 1.16; }
	.lethouse-property-v4 .lh-property-heading p { font-size: 13px; }
	.lethouse-property-v4 .lh-quick-facts { gap: 5px; margin-top: 10px; }
	.lethouse-property-v4 .lh-quick-facts span { border: 0; padding: 0 8px 0 0; font-size: 11px; }
	.lethouse-property-v4 .lh-property-gallery { aspect-ratio: 1.35 / 1; }
	.lethouse-property-v4.lh-demo-property .lh-property-gallery { aspect-ratio: 1.35 / 1; }
	.lethouse-property-v4.lh-demo-property .lh-property-gallery { display: block; margin: 0; padding: 0; overflow: hidden; border-radius: 16px; }
	.lethouse-property-v4.lh-demo-property .lh-property-gallery > button:not(.lh-gallery-all) { width: 100%; height: 100%; border-radius: 0; }
	.lethouse-property-v4.lh-demo-property .lh-gallery-all { position: absolute; left: auto; right: 12px; bottom: 12px; }
	.lethouse-property-v4 .lh-property-layout { padding-top: 23px; }
}
