:root {
	--predomina-navy: #152e52;
	--predomina-navy-strong: #0d1d34;
	--predomina-gold: #d7b61c;
	--predomina-cream: #f6f1e8;
	--predomina-line: rgba(21, 46, 82, 0.14);
	--predomina-muted: #60708a;
	--predomina-shadow: 0 22px 50px rgba(13, 29, 52, 0.12);
}

body.marketplace-page,
body.unit-page {
	background: linear-gradient(180deg, #f7f2e9 0%, #ffffff 18%, #fbfaf7 100%);
}

body.marketplace-page .content.clearfix,
body.unit-page .content.clearfix {
	padding-top: 112px;
}

body.marketplace-page .header .logo a:first-child,
body.unit-page .header .logo a:first-child {
	opacity: 1 !important;
	visibility: visible !important;
}

body.marketplace-page .header .logo a + a,
body.unit-page .header .logo a + a {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
}

body.marketplace-page .header-transparent .header-inner,
body.unit-page .header-transparent .header-inner {
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 12px 28px rgba(15, 29, 51, 0.08);
}

body.marketplace-page .header-transparent .navigation > ul > li > a,
body.unit-page .header-transparent .navigation > ul > li > a,
body.marketplace-page .header-transparent .navigation-show a,
body.unit-page .header-transparent .navigation-show a {
	color: var(--predomina-navy);
}

body.marketplace-page .header-transparent .navigation > ul > li.current > a,
body.marketplace-page .header-transparent .navigation > ul > li > a:hover,
body.unit-page .header-transparent .navigation > ul > li.current > a,
body.unit-page .header-transparent .navigation > ul > li > a:hover {
	color: var(--predomina-gold);
}

body.marketplace-page .header .logo,
body.unit-page .header .logo {
	display: block;
	float: left;
	width: 240px;
	padding: 0;
	margin: 0;
}

body.marketplace-page .header .logo-inner,
body.unit-page .header .logo-inner {
	display: block;
	height: auto;
	overflow: visible;
}

body.marketplace-page .header .logo a,
body.unit-page .header .logo a {
	position: static !important;
	display: block !important;
	transform: none !important;
}

body.marketplace-page .header .nav-bar-inner,
body.unit-page .header .nav-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

body.marketplace-page .header .primary-navigation,
body.unit-page .header .primary-navigation {
	float: none;
}

body.marketplace-page .header .secondary-navigation,
body.unit-page .header .secondary-navigation {
	display: none;
}

body.marketplace-page .header .logo,
body.unit-page .header .logo {
	padding: 12px 0;
}

body.marketplace-page .header .logo img,
body.unit-page .header .logo img {
	max-height: 54px;
	width: auto;
}

body.marketplace-page .header .nav-bar,
body.unit-page .header .nav-bar {
	min-height: 84px;
}

.marketplace-page .market-shell,
.unit-page .unit-shell {
	width: min(1440px, calc(100% - 48px));
	margin: 0 auto 80px;
}

.marketplace-hero,
.unit-hero {
	padding: 118px 0 22px;
	position: relative;
	overflow: hidden;
}

.marketplace-hero::before,
.unit-hero::before {
	content: "";
	position: absolute;
	inset: 22px 0 auto;
	height: 138px;
	background:
		radial-gradient(circle at 15% 20%, rgba(215, 182, 28, 0.14), transparent 30%),
		radial-gradient(circle at 85% 10%, rgba(21, 46, 82, 0.12), transparent 28%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 242, 233, 0.96));
	z-index: 0;
}

.marketplace-hero__inner,
.unit-hero__inner {
	width: min(1440px, calc(100% - 48px));
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.marketplace-eyebrow,
.unit-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(21, 46, 82, 0.08);
	color: var(--predomina-navy);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.marketplace-hero h1,
.unit-hero h1 {
	margin: 14px 0 8px;
	color: var(--predomina-navy);
	font-size: clamp(26px, 2.9vw, 40px);
	line-height: 1.04;
	font-weight: 900;
	max-width: 920px;
}

.marketplace-hero p,
.unit-hero p {
	max-width: 820px;
	margin: 0;
	color: var(--predomina-muted);
	font-size: 15px;
	line-height: 1.6;
}

.market-shell {
	display: grid;
	grid-template-columns: minmax(340px, 40%) minmax(0, 60%);
	gap: 22px;
	align-items: start;
	overflow: visible;
}

.market-map-panel {
	align-self: start;
	height: fit-content;
	overflow: visible;
}

.market-map-card,
.market-panel,
.unit-gallery,
.unit-summary,
.unit-section,
.unit-sidebar-card,
.unit-map-card {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid var(--predomina-line);
	border-radius: 26px;
	box-shadow: var(--predomina-shadow);
	backdrop-filter: blur(8px);
}

.market-map-card {
	padding: 16px;
	position: relative;
	top: auto;
}

.market-map-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}

.market-map-header h2,
.market-toolbar h2,
.unit-section h2,
.unit-sidebar-card h2 {
	margin: 0;
	color: var(--predomina-navy);
	font-size: clamp(22px, 1.8vw, 34px);
	font-weight: 900;
}

.market-map-header p,
.unit-summary__location,
.unit-summary__lede,
.unit-section p,
.unit-sidebar-card p {
	margin: 0;
	color: var(--predomina-muted);
	line-height: 1.7;
}

.market-map {
	height: calc(100vh - 150px);
	min-height: 520px;
	border-radius: 20px;
	overflow: hidden;
	background:
		radial-gradient(circle at 20% 20%, rgba(215, 182, 28, 0.12), transparent 32%),
		linear-gradient(180deg, #f4f6f9 0%, #e8edf4 100%);
}

.market-panel {
	padding: 18px;
}

.market-filters {
	padding: 0;
}

.market-count-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 16px;
}

.market-count-row p {
	margin: 0 0 6px;
	color: var(--predomina-muted);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
}

.market-count-row h2 {
	margin: 0;
	color: var(--predomina-navy);
	font-size: clamp(24px, 2vw, 36px);
	font-weight: 900;
}

.market-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(21, 46, 82, 0.07);
	color: var(--predomina-navy);
	font-weight: 700;
	font-size: 12px;
}

.market-status-pill::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--predomina-gold);
	box-shadow: 0 0 0 4px rgba(215, 182, 28, 0.18);
}

.market-applied-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.market-applied-filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 999px;
	background: rgba(21, 46, 82, 0.08);
	color: var(--predomina-navy);
	font-size: 13px;
	font-weight: 700;
}

.market-applied-filter button {
	border: 0;
	background: transparent;
	color: var(--predomina-navy);
	font-size: 16px;
	line-height: 1;
	padding: 0;
	cursor: pointer;
}

.market-filter-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.market-filter-field {
	position: relative;
}

.market-filter-field label,
.market-range__top label {
	display: block;
	margin-bottom: 8px;
	color: var(--predomina-navy);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.market-filter-trigger,
.market-filter-select,
.market-sort-select,
.unit-typology-select {
	width: 100%;
	min-height: 52px;
	padding: 11px 15px;
	border-radius: 16px;
	border: 1px solid rgba(21, 46, 82, 0.15);
	background: #ffffff;
	color: var(--predomina-navy);
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.market-filter-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	cursor: pointer;
}

.market-filter-trigger::after {
	content: "";
	width: 9px;
	height: 9px;
	flex: 0 0 9px;
	border-right: 1.8px solid var(--predomina-muted);
	border-bottom: 1.8px solid var(--predomina-muted);
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s ease;
}

.market-filter-trigger.is-open::after {
	transform: translateY(2px) rotate(-135deg);
}

.market-filter-trigger__values {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

.market-filter-placeholder {
	color: #8794a8;
	font-weight: 600;
}

.market-filter-summary {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--predomina-navy);
	font-size: 12px;
	font-weight: 800;
}

.market-filter-value {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(21, 46, 82, 0.08);
	font-size: 12px;
	font-weight: 800;
}

.market-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	width: 100%;
	min-width: 100%;
	z-index: 20;
	display: none;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 18px;
	border: 1px solid rgba(21, 46, 82, 0.15);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 20px 38px rgba(15, 29, 51, 0.16);
	overflow: visible;
}

.market-filter-field:has(.market-dropdown__options:not(.market-dropdown__options--stack)) .market-dropdown {
	width: auto;
	min-width: 0;
	right: auto;
}

.market-dropdown.is-open {
	display: block;
}

.market-dropdown__options {
	display: grid;
	grid-template-columns: repeat(3, 44px);
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	width: 148px;
	margin: 0;
}

#marketDormsDropdown,
#marketBathsDropdown {
	box-sizing: border-box;
	width: 172px;
	min-width: 172px;
	right: auto;
}

#marketDormsOptions,
#marketBathsOptions {
	width: 148px;
}

.market-dropdown__options--stack {
	display: block;
	max-height: 260px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 6px;
	scrollbar-gutter: stable both-edges;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.market-dropdown__options--stack .market-option-chip {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
	border-radius: 14px;
	text-align: left;
	white-space: normal;
	line-height: 1.25;
	min-height: 44px;
	padding: 10px 14px;
	appearance: none;
	-webkit-appearance: none;
}

.market-dropdown__options--stack .market-option-chip + .market-option-chip {
	margin-top: 8px;
}

.market-option-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 999px;
	border: 1px solid rgba(21, 46, 82, 0.16);
	background: #fff;
	color: var(--predomina-navy);
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

.market-dropdown__options--stack::-webkit-scrollbar {
	width: 8px;
}

.market-dropdown__options--stack::-webkit-scrollbar-track {
	background: rgba(21, 46, 82, 0.08);
	border-radius: 999px;
}

.market-dropdown__options--stack::-webkit-scrollbar-thumb {
	background: rgba(21, 46, 82, 0.35);
	border-radius: 999px;
}

.market-option-chip.is-active,
.market-option-chip:hover {
	background: var(--predomina-navy);
	border-color: var(--predomina-navy);
	color: #fff;
}

.market-range {
	margin-top: 16px;
	padding: 16px 18px 8px;
	border-radius: 20px;
	background: linear-gradient(180deg, rgba(21, 46, 82, 0.04), rgba(215, 182, 28, 0.08));
}

.market-range__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.market-range__value {
	color: var(--predomina-navy);
	font-size: 14px;
	font-weight: 800;
}

.market-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 18px 0 16px;
}

.market-toolbar p {
	margin: 4px 0 0;
	color: var(--predomina-muted);
}

.market-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(260px, 300px));
	justify-content: center;
	align-items: start;
	gap: 16px;
	padding-inline: 10px;
}

.market-empty {
	display: none;
	padding: 42px 28px;
	border-radius: 22px;
	border: 1px dashed rgba(21, 46, 82, 0.2);
	background: rgba(21, 46, 82, 0.03);
	color: var(--predomina-muted);
	text-align: center;
	font-size: 16px;
}

.market-empty.is-visible {
	display: block;
}

.market-card-link {
	display: block;
	width: 100%;
	max-width: 300px;
	color: inherit;
	text-decoration: none;
}

.market-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	border-radius: 26px;
	overflow: hidden;
	border: 1px solid rgba(21, 46, 82, 0.78);
	background: var(--predomina-navy);
	box-shadow: 0 18px 38px rgba(15, 29, 51, 0.16);
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.market-card:hover {
	transform: translateY(-6px);
	border-color: rgba(215, 182, 28, 0.62);
	box-shadow: 0 24px 44px rgba(15, 29, 51, 0.22);
}

.market-card__media {
	position: relative;
	min-height: 230px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background-size: cover;
	background-position: center;
	background-color: var(--predomina-navy);
}

.market-card__media.is-placeholder::before,
.unit-gallery__image.is-placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(13, 29, 52, 0.6), rgba(13, 29, 52, 0.86)),
		url("../images/logo-footer.png") center/190px auto no-repeat;
}

.market-card__media::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 120px;
	background: linear-gradient(180deg, rgba(11, 24, 42, 0.04), rgba(11, 24, 42, 0.5));
}

.market-card__badge-row {
	position: absolute;
	inset: 18px 18px auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	z-index: 2;
}

.market-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 10px 24px rgba(13, 29, 52, 0.24);
}

.market-badge--bonus {
	background: var(--predomina-gold);
	color: var(--predomina-navy-strong);
}

.market-badge--featured {
	background: rgba(21, 46, 82, 0.92);
	border: 1px solid rgba(215, 182, 28, 0.5);
	color: #f6d549;
}

.market-badge--featured::before {
	content: "★";
	font-family: inherit;
	font-weight: 900;
	font-size: 12px;
	line-height: 1;
}

.market-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 18px 16px 16px;
	background: var(--predomina-navy);
}

.market-card__pills,
.unit-summary__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 7px;
	align-items: center;
	margin-bottom: 12px;
}

.market-pill,
.unit-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.market-pill--category,
.unit-pill--category {
	border: 1px solid rgba(215, 182, 28, 0.35);
	background: rgba(10, 24, 45, 0.78);
	color: #ffffff;
}

.market-pill--state,
.unit-pill--state {
	background: var(--predomina-gold);
	color: var(--predomina-navy-strong);
}

.market-card__title,
.unit-summary__title {
	margin: 0;
	color: #ffffff;
	font-size: clamp(20px, 1.6vw, 28px);
	font-weight: 900;
	line-height: 1.08;
	text-transform: none;
}

.market-card__location {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 14px;
	color: #c4cede;
	font-size: 15px;
	font-weight: 700;
}

.market-card__location i {
	color: #8f99aa;
}

.market-card__price,
.unit-summary__price {
	margin: 0;
	color: #ffe066;
	font-size: clamp(24px, 1.9vw, 34px);
	font-weight: 900;
	line-height: 1;
}

.market-card__price small,
.unit-summary__price small {
	color: #b8c3d4;
	font-size: 14px;
	font-weight: 700;
}

.market-card__price small {
	display: none;
}

.market-card__quota {
	margin: 8px 0 18px;
	color: #eef3fa;
	font-size: 14px;
	font-weight: 500;
}

.market-card--principal {
	border-color: #b39115;
	background: linear-gradient(180deg, #f3d35a 0%, #e8c540 100%);
}

.market-card--principal:hover {
	border-color: #8f7110;
}

.market-card--principal .market-card__body {
	background: linear-gradient(180deg, #f7df7d 0%, #efcf4d 100%);
}

.market-card--principal .market-card__title {
	color: var(--predomina-navy-strong);
}

.market-card--principal .market-card__location {
	color: rgba(21, 46, 82, 0.78);
}

.market-card--principal .market-card__location i {
	color: rgba(21, 46, 82, 0.58);
}

.market-card--principal .market-card__price {
	color: var(--predomina-navy-strong);
}

.market-card--principal .market-card__quota {
	color: rgba(21, 46, 82, 0.84);
}

.market-card--principal .market-pill--category {
	border-color: rgba(21, 46, 82, 0.2);
	background: var(--predomina-navy);
	color: #ffffff;
}

.market-card--principal .market-pill--state {
	background: rgba(21, 46, 82, 0.04);
	border: 1px solid rgba(21, 46, 82, 0.34);
	color: var(--predomina-navy-strong);
}

.market-card--principal .market-spec {
	background: rgba(21, 46, 82, 0.08);
	border-color: rgba(21, 46, 82, 0.26);
}

.market-card--principal .market-spec i,
.market-card--principal .market-spec strong {
	color: var(--predomina-navy-strong);
}

.market-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding-top: 4px;
}

.market-spec {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 14px;
	background: rgba(10, 24, 45, 0.86);
	border: 1px solid rgba(215, 182, 28, 0.28);
}

.market-spec i {
	color: #cfd7e4;
	font-size: 14px;
	line-height: 1;
}

.market-spec strong {
	display: inline-block;
	margin-bottom: 0;
	color: #ffffff;
	font-size: 15px;
	font-weight: 900;
	line-height: 1;
}

.market-spec span {
	display: none;
}

.unit-summary__metrics,
.unit-detail-list,
.unit-key-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.unit-metric,
.unit-detail-item,
.unit-key-stat {
	padding: 12px;
	border-radius: 16px;
	background: rgba(21, 46, 82, 0.05);
	border: 1px solid rgba(21, 46, 82, 0.08);
}

.unit-metric strong,
.unit-detail-item strong,
.unit-key-stat strong {
	display: block;
	margin-bottom: 4px;
	color: var(--predomina-navy);
	font-size: 16px;
	font-weight: 900;
}

.unit-metric span,
.unit-detail-item span,
.unit-key-stat span {
	display: block;
	color: var(--predomina-muted);
	font-size: 13px;
	font-weight: 700;
}

.market-infowindow {
	position: relative;
	width: 300px;
}

.market-infowindow .market-card {
	width: 100%;
	box-shadow: none;
	border-radius: 20px;
}

.market-infowindow .market-card__media {
	min-height: 164px;
}

.market-infowindow .market-card__body {
	padding: 12px;
}

.market-infowindow .market-card__title {
	font-size: clamp(14px, 1vw, 18px);
}

.market-infowindow .market-card__specs {
	gap: 7px;
}

.market-infowindow .market-card__location {
	margin: 7px 0 10px;
}

.market-infowindow .market-spec {
	min-height: 34px;
}

.market-infowindow .market-spec i {
	font-size: 15px !important;
	line-height: 1 !important;
	width: 15px;
	min-width: 15px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.market-infowindow .market-spec .svg-inline--fa,
.market-infowindow .market-spec svg {
	width: 15px !important;
	height: 15px !important;
	min-width: 15px !important;
	font-size: 15px !important;
	display: inline-block;
	vertical-align: middle;
}

.market-map-popup-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: rgba(13, 29, 52, 0.9);
	color: #fff;
	font-size: 18px;
	line-height: 28px;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 10px 22px rgba(13, 29, 52, 0.22);
}

.market-map-popup-close:hover {
	background: var(--predomina-gold);
	color: var(--predomina-navy-strong);
}

.map-marker-container {
	position: absolute;
	margin-top: 10px;
	transform: translate3d(-50%, -100%, 0);
}

.marker-container {
	position: relative;
	top: 25px;
	left: 10px;
	width: 46px;
	height: 46px;
	z-index: 1;
	border-radius: 50%;
	cursor: pointer;
	-webkit-perspective: 1000;
}

.marker-card {
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	position: absolute;
	z-index: 1;
}

.marker-card .face {
	position: absolute;
	width: 26px;
	height: 26px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	text-align: center;
	color: #fff;
	z-index: 100;
	background: #2f333c;
	border: 2px solid #fff;
	border-radius: 50%;
	box-sizing: content-box;
	background-clip: content-box;
	line-height: 46px;
	font-size: 24px;
}

.map-marker-container.is-destacado .marker-card .face {
	background: #2f333c;
}

.marker-card .face::before,
.marker-card .face::after {
	position: absolute;
	content: "";
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	border-radius: 9999px;
	animation: market-marker-ripple 2s infinite;
	background: rgba(47, 51, 60, 0.18);
}

.marker-card .face::before {
	animation-delay: 0.6s;
}

.marker-card .face::after {
	animation-delay: 0.2s;
}

.marker-card .face > div {
	position: absolute;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	z-index: 99;
}

.infoBox {
	overflow: visible !important;
}

.infoBox > img {
	display: none;
}

.market-map.is-leaflet {
	background: #eef1f4;
}

.market-map .leaflet-control-zoom {
	margin: 16px !important;
	border: 1px solid rgba(21, 46, 82, 0.14);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 14px 30px rgba(13, 29, 52, 0.16);
}

.market-map .leaflet-control-zoom a {
	width: 38px;
	height: 38px;
	line-height: 38px;
	border: 0;
	color: var(--predomina-navy);
	background: rgba(255, 255, 255, 0.96);
	font-size: 28px !important;
	font-weight: 400;
	text-indent: 0;
}

.market-map .leaflet-control-zoom a:hover {
	background: #fff;
	color: var(--predomina-navy-strong);
}

.market-map .leaflet-control-zoom a span {
	display: inline-block;
	font-size: 28px !important;
	line-height: 38px !important;
	transform: none !important;
}

.market-leaflet-marker {
	background: transparent;
	border: 0;
}

.market-leaflet-marker__dot {
	display: block;
	position: relative;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: #2f333c;
	border: 3px solid #fff;
	box-sizing: border-box;
	box-shadow: 0 8px 18px rgba(13, 29, 52, 0.24);
}

.market-leaflet-marker__dot::before,
.market-leaflet-marker__dot::after {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 999px;
	border: 7px solid rgba(47, 51, 60, 0.12);
	animation: market-marker-ripple 2s infinite;
}

.market-leaflet-marker__dot::before {
	animation-delay: 0.65s;
}

.market-leaflet-marker__dot::after {
	animation-delay: 0.2s;
}

.market-leaflet-popup .leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: 20px;
	background: transparent;
	box-shadow: none;
}

.market-leaflet-popup .leaflet-popup-content {
	margin: 0;
	width: 300px !important;
}

.market-leaflet-popup .leaflet-popup-tip-container {
	display: none;
}

.market-leaflet-popup .leaflet-popup-close-button {
	display: none;
}

@keyframes market-marker-ripple {
	0% {
		transform: scale(1);
		opacity: 0.75;
	}
	100% {
		transform: scale(2.3);
		opacity: 0;
	}
}

.select2-container {
	width: 100% !important;
}

.select2-container--default .select2-selection--multiple {
	min-height: 52px;
	padding: 7px 40px 7px 13px;
	border-radius: 16px !important;
	border: 1px solid rgba(21, 46, 82, 0.15) !important;
	background: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
	display: flex !important;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	margin: 0 !important;
	padding: 5px 10px !important;
	border-radius: 999px !important;
	border: 0 !important;
	background: rgba(21, 46, 82, 0.08) !important;
	color: var(--predomina-navy) !important;
	font-size: 12px;
	font-weight: 800;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	margin-right: 6px !important;
	color: var(--predomina-navy) !important;
}

.select2-dropdown {
	border: 1px solid rgba(21, 46, 82, 0.12) !important;
	border-radius: 16px !important;
	box-shadow: 0 16px 34px rgba(15, 29, 51, 0.12);
	overflow: hidden;
}

.select2-results__option--highlighted[aria-selected] {
	background: var(--predomina-navy) !important;
}

.noUi-target {
	border: 0;
	box-shadow: none;
	background: rgba(21, 46, 82, 0.15);
	height: 5px;
}

.noUi-connect {
	background: linear-gradient(90deg, var(--predomina-navy), var(--predomina-gold));
}

.noUi-horizontal .noUi-handle {
	width: 18px;
	height: 18px;
	top: -7px;
	right: -9px;
	border: 0;
	border-radius: 50%;
	background: var(--predomina-gold);
	box-shadow: 0 6px 14px rgba(215, 182, 28, 0.34);
}

.noUi-handle::before,
.noUi-handle::after {
	display: none;
}

.unit-shell {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.78fr);
	gap: 22px;
}

.unit-page-head {
	padding: 2px 2px 0;
}

.unit-page-head h1 {
	margin: 0;
	color: var(--predomina-navy-strong);
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 900;
	line-height: 0.96;
	text-transform: uppercase;
}

.unit-main {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.unit-gallery {
	padding: 18px;
}

.unit-gallery__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 14px;
}

.unit-gallery__stack {
	display: grid;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.unit-gallery__split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.unit-gallery__image {
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	border: 0;
	background: #f0f3f8;
	min-height: 220px;
	padding: 0;
	cursor: pointer;
}

.unit-gallery__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.unit-gallery__image:hover img {
	transform: scale(1.04);
}

.unit-gallery__image:focus-visible {
	outline: 3px solid rgba(215, 182, 28, 0.78);
	outline-offset: 3px;
}

.unit-gallery__main {
	min-height: 470px;
}

.unit-gallery__counter {
	position: absolute;
	left: 18px;
	bottom: 18px;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(13, 29, 52, 0.82);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.unit-summary,
.unit-section,
.unit-sidebar-card,
.unit-map-card {
	padding: 24px;
}

.unit-summary__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.unit-summary__subtitle {
	margin: 10px 0 0;
	color: var(--predomina-muted);
	font-size: 16px;
	font-weight: 700;
}

.unit-section__title,
.unit-sidebar-card__title {
	margin: 0 0 14px;
	color: var(--predomina-navy);
	font-size: 24px;
	font-weight: 900;
}

.unit-copy {
	color: var(--predomina-muted);
	font-size: 15px;
	line-height: 1.8;
	white-space: pre-line;
}

.unit-detail-list,
.unit-key-stats {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.unit-sidebar {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.unit-sidebar-card__eyebrow {
	display: block;
	margin-bottom: 8px;
	color: var(--predomina-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.unit-sidebar-field {
	margin-top: 18px;
}

.unit-sidebar-field label {
	display: block;
	margin-bottom: 8px;
	color: var(--predomina-navy);
	font-size: 13px;
	font-weight: 800;
}

.unit-bonus-pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(215, 182, 28, 0.2);
	color: var(--predomina-navy);
	font-size: 13px;
	font-weight: 900;
}

.unit-calculator-group {
	margin-top: 20px;
}

.unit-calculator-group:first-child {
	margin-top: 0;
}

.unit-calculator-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 14px;
}

.unit-calculator-field {
	padding: 14px;
	border-radius: 18px;
	background: rgba(21, 46, 82, 0.05);
	border: 1px solid rgba(21, 46, 82, 0.08);
}

.unit-calculator-field label {
	display: block;
	margin-bottom: 4px;
	color: var(--predomina-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.unit-calculator-field strong {
	display: block;
	color: var(--predomina-navy);
	font-size: 18px;
	font-weight: 900;
}

.unit-slider-row {
	margin-top: 18px;
}

.unit-slider-row__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	color: var(--predomina-navy);
	font-size: 14px;
	font-weight: 800;
}

.unit-slider-row input[type="range"] {
	width: 100%;
	accent-color: var(--predomina-gold);
}

.unit-slider-row__legend {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 6px;
	color: var(--predomina-muted);
	font-size: 12px;
	font-weight: 700;
}

.unit-estimate {
	margin-top: 20px;
	padding: 18px;
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(21, 46, 82, 0.96), rgba(13, 29, 52, 0.96));
	color: #fff;
}

.unit-estimate span {
	display: block;
	color: rgba(255, 255, 255, 0.74);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.unit-estimate strong {
	display: block;
	margin-top: 6px;
	font-size: 32px;
	font-weight: 900;
}

.unit-actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin-top: 18px;
}

.unit-actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 18px;
	text-align: center;
	line-height: 1.35;
	white-space: normal;
}

.unit-actions .unit-contact-trigger {
	border-width: 1px;
}

.unit-map-card {
	margin-top: 4px;
}

.unit-map {
	height: auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-radius: 20px;
	overflow: hidden;
	background: linear-gradient(180deg, #eef2f7 0%, #dde6f1 100%);
}

.unit-map__iframe {
	display: block;
	width: 100%;
	height: 360px;
	border: 0;
	background: linear-gradient(180deg, #eef2f7 0%, #dde6f1 100%);
}

.unit-map__link {
	display: inline-flex;
	align-self: flex-start;
	margin: 0 16px 16px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(21, 46, 82, 0.08);
	color: var(--predomina-navy);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.unit-map__link:hover {
	background: rgba(21, 46, 82, 0.14);
	color: var(--predomina-navy-strong);
}

.unit-map__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 360px;
	padding: 24px;
	color: var(--predomina-muted);
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

.is-hidden {
	display: none !important;
}

.unit-gallery-modal,
.unit-contact-modal {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.unit-gallery-modal.is-open,
.unit-contact-modal.is-open {
	display: flex;
}

.unit-gallery-modal__backdrop,
.unit-contact-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(9, 21, 39, 0.6);
	backdrop-filter: blur(6px);
}

.unit-gallery-modal__dialog,
.unit-contact-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(860px, 100%);
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	border-radius: 28px;
}

.unit-gallery-modal__dialog {
	width: min(1120px, 100%);
	padding: 24px;
	background: rgba(9, 21, 39, 0.94);
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.unit-gallery-modal__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	padding-right: 64px;
}

.unit-gallery-modal__top h2,
.unit-gallery-modal__top p {
	margin: 0;
	color: #ffffff;
}

.unit-gallery-modal__top h2 {
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 900;
}

.unit-gallery-modal__top p {
	font-size: 15px;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.78);
}

.unit-gallery-modal__viewer {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 520px;
	border-radius: 24px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.04);
}

.unit-gallery-modal__viewer img {
	display: block;
	width: 100%;
	max-height: calc(100vh - 220px);
	object-fit: contain;
}

.unit-contact-modal__card {
	padding: 28px;
}

.unit-gallery-modal__close,
.unit-gallery-modal__nav,
.unit-contact-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: rgba(21, 46, 82, 0.08);
	cursor: pointer;
}

.unit-gallery-modal__close,
.unit-contact-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	width: 42px;
	height: 42px;
	font-size: 28px;
	line-height: 1;
}

.unit-gallery-modal__close,
.unit-gallery-modal__nav {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.unit-gallery-modal__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 48px;
	height: 48px;
	font-size: 34px;
	line-height: 1;
	transform: translateY(-50%);
}

.unit-gallery-modal__nav--prev {
	left: 16px;
}

.unit-gallery-modal__nav--next {
	right: 16px;
}

.unit-gallery-modal__nav[disabled] {
	opacity: 0.45;
	cursor: default;
}

.unit-contact-modal__close {
	color: var(--predomina-navy);
}

.unit-gallery-modal__close:hover,
.unit-gallery-modal__nav:hover,
.unit-contact-modal__close:hover {
	background: rgba(215, 182, 28, 0.9);
	color: var(--predomina-navy-strong);
}

.unit-contact-modal__close:hover {
	background: rgba(21, 46, 82, 0.14);
	color: var(--predomina-navy);
}

.unit-contact-modal .home-contact-card__header {
	padding-right: 40px;
}

.unit-contact-modal .home-contact-actions {
	justify-content: flex-start;
}

.unit-contact-modal .home-contact-actions .button {
	width: 100%;
	max-width: none;
}

.unit-feedback,
.market-feedback {
	padding: 18px;
	border-radius: 18px;
	background: rgba(21, 46, 82, 0.05);
	color: var(--predomina-muted);
	font-size: 14px;
	font-weight: 700;
}

/* Compact marketplace scale */
body.marketplace-page .header .logo {
	width: 205px;
}

body.marketplace-page .header .logo img {
	max-height: 46px;
}

body.marketplace-page .header .nav-bar {
	min-height: 72px;
}

body.marketplace-page .header .primary-navigation > ul > li > a {
	font-size: 13px;
	letter-spacing: 0.05em;
}

body.marketplace-page .header .primary-navigation .button.medium {
	padding: 0.9rem 1.55rem;
	font-size: 12px;
}

body.marketplace-page .market-shell {
	width: min(1380px, calc(100% - 36px));
	gap: 16px;
}

body.marketplace-page .market-map-card,
body.marketplace-page .market-panel {
	border-radius: 22px;
}

body.marketplace-page .market-map-card {
	padding: 12px;
}

body.marketplace-page .market-panel {
	padding: 14px;
}

body.marketplace-page .market-map-header {
	margin-bottom: 8px;
}

body.marketplace-page .market-map-header h2 {
	font-size: 18px;
}

body.marketplace-page .market-map {
	height: calc(100vh - 145px);
	min-height: 440px;
	border-radius: 16px;
}

body.marketplace-page .market-count-row {
	margin-bottom: 10px;
}

body.marketplace-page .market-count-row h2 {
	font-size: clamp(18px, 1.8vw, 28px);
	line-height: 1.05;
}

body.marketplace-page .market-filter-grid {
	gap: 10px;
}

body.marketplace-page .market-filter-field label,
body.marketplace-page .market-range__top label {
	margin-bottom: 6px;
	font-size: 10px;
	letter-spacing: 0.09em;
}

body.marketplace-page .market-filter-trigger,
body.marketplace-page .market-sort-select {
	min-height: 40px;
	padding: 8px 12px;
	border-radius: 12px;
	font-size: 12px;
}

body.marketplace-page .market-filter-trigger::after {
	width: 8px;
	height: 8px;
	flex-basis: 8px;
}

body.marketplace-page .market-filter-placeholder,
body.marketplace-page .market-filter-value {
	font-size: 11px;
}

body.marketplace-page .market-dropdown {
	top: calc(100% + 6px);
	padding: 8px;
	border-radius: 14px;
}

body.marketplace-page .market-filter-field:has(.market-dropdown__options:not(.market-dropdown__options--stack)) .market-dropdown {
	width: auto;
	right: auto;
}

body.marketplace-page .market-dropdown__options--stack {
	padding-right: 4px;
}

body.marketplace-page .market-dropdown__options--stack .market-option-chip {
	width: 100%;
	max-width: none;
	margin: 0;
	min-height: 40px;
	padding: 9px 12px;
	border-radius: 12px;
	font-size: 12px;
}

body.marketplace-page .market-dropdown__options--stack .market-option-chip + .market-option-chip {
	margin-top: 7px;
}

body.marketplace-page .market-option-chip {
	width: 40px;
	height: 40px;
	padding: 0;
	font-size: 12px;
}

body.marketplace-page .market-dropdown__options {
	grid-template-columns: repeat(3, 40px);
	width: 136px;
}

body.marketplace-page #marketDormsDropdown,
body.marketplace-page #marketBathsDropdown {
	box-sizing: border-box;
	width: 154px;
	min-width: 154px;
}

body.marketplace-page #marketDormsOptions,
body.marketplace-page #marketBathsOptions {
	width: 136px;
}

body.marketplace-page .market-filter-summary {
	font-size: 11px;
}

body.marketplace-page .market-range {
	margin-top: 12px;
	padding: 12px 14px 6px;
	border-radius: 16px;
}

body.marketplace-page .market-range__top {
	margin-bottom: 12px;
}

body.marketplace-page .market-range__value {
	font-size: 12px;
}

body.marketplace-page .market-toolbar {
	margin: 14px 0 12px;
}

body.marketplace-page .market-toolbar h2 {
	font-size: 24px;
	line-height: 1;
}

.market-sort-select {
	width: auto;
	min-width: 220px;
	max-width: 280px;
	flex: 0 0 auto;
}

body.marketplace-page .market-grid {
	grid-template-columns: repeat(2, minmax(260px, 300px));
	justify-content: center;
	gap: 16px;
	padding-inline: 12px;
}

body.marketplace-page .market-card {
	border-radius: 20px;
}

body.marketplace-page .market-card__media {
	min-height: 164px;
}

body.marketplace-page .market-card__badge-row {
	inset: 12px 12px auto;
}

body.marketplace-page .market-badge {
	padding: 6px 12px;
	font-size: 10px;
}

body.marketplace-page .market-card__body {
	padding: 12px;
}

body.marketplace-page .market-card__pills {
	margin-bottom: 10px;
}

body.marketplace-page .market-pill {
	padding: 6px 10px;
	font-size: 10px;
}

body.marketplace-page .market-card__title {
	font-size: clamp(14px, 1vw, 18px);
}

body.marketplace-page .market-card__location {
	margin: 7px 0 10px;
	font-size: 10px;
}

body.marketplace-page .market-card__price {
	font-size: clamp(12px, 0.95vw, 16px);
}

body.marketplace-page .market-card__quota {
	margin: 4px 0 10px;
	font-size: 10px;
}

body.marketplace-page .market-card__specs {
	gap: 7px;
}

body.marketplace-page .market-spec {
	min-height: 34px;
	padding: 6px 10px;
	border-radius: 10px;
}

body.marketplace-page .market-spec strong {
	font-size: 11px;
}

body.marketplace-page .market-spec i {
	font-size: 12px;
}

body.marketplace-page .market-badge--featured {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

body.marketplace-page .market-badge--featured::before {
	display: none;
	content: none;
}

body.marketplace-page .market-badge--featured i {
	font-size: 11px;
	line-height: 1;
}

body.marketplace-page .market-badge--principal {
	border-color: rgba(246, 214, 73, 0.7);
	background: #243752;
	color: #f6d549;
}

/* Numeric filter dropdowns: force exact fit and symmetric chips */
#marketDormsDropdown,
#marketBathsDropdown,
body.marketplace-page #marketDormsDropdown,
body.marketplace-page #marketBathsDropdown {
	right: auto !important;
	width: fit-content !important;
	min-width: fit-content !important;
	padding: 8px !important;
	box-sizing: border-box !important;
}

#marketDormsOptions,
#marketBathsOptions,
body.marketplace-page #marketDormsOptions,
body.marketplace-page #marketBathsOptions {
	display: flex !important;
	flex-wrap: wrap !important;
	align-content: flex-start;
	gap: 8px !important;
	width: 136px !important;
	margin: 0 !important;
}

#marketDormsOptions .market-option-chip,
#marketBathsOptions .market-option-chip,
body.marketplace-page #marketDormsOptions .market-option-chip,
body.marketplace-page #marketBathsOptions .market-option-chip {
	flex: 0 0 40px !important;
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Stack dropdowns: full-width panel and full-width rows */
#marketCommunesDropdown,
#marketStatesDropdown,
body.marketplace-page #marketCommunesDropdown,
body.marketplace-page #marketStatesDropdown {
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	min-width: 100% !important;
	box-sizing: border-box !important;
}

#marketCommunesOptions,
#marketStatesOptions,
body.marketplace-page #marketCommunesOptions,
body.marketplace-page #marketStatesOptions {
	display: block !important;
	width: auto !important;
	max-width: none !important;
}

#marketCommunesOptions .market-option-chip,
#marketStatesOptions .market-option-chip,
body.marketplace-page #marketCommunesOptions .market-option-chip,
body.marketplace-page #marketStatesOptions .market-option-chip {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 9px 12px !important;
	text-align: left !important;
}

#marketCommunesOptions .market-option-chip + .market-option-chip,
#marketStatesOptions .market-option-chip + .market-option-chip,
body.marketplace-page #marketCommunesOptions .market-option-chip + .market-option-chip,
body.marketplace-page #marketStatesOptions .market-option-chip + .market-option-chip {
	margin-top: 7px !important;
}

body.marketplace-page .market-badge--featured::before {
	content: "\2605";
}

@media (max-width: 1199px) {
	.market-shell,
	.unit-shell {
		grid-template-columns: 1fr;
	}

	.market-map-panel {
		position: static;
	}

	.market-map-card {
		position: static;
		top: auto;
	}

	.market-map {
		height: 420px;
		min-height: 420px;
	}

	.market-filter-grid,
	.market-grid,
	.unit-gallery__grid,
	.unit-summary__metrics,
	.unit-detail-list,
	.unit-key-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.unit-gallery__main {
		min-height: 320px;
	}
}

@media (max-width: 980px) {
	.market-filter-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.marketplace-page .market-shell {
		width: min(100% - 24px, 100%);
	}
}

@media (max-width: 767px) {
	body.marketplace-page .content.clearfix,
	body.unit-page .content.clearfix {
		padding-top: 74px;
	}

	.marketplace-page .market-shell,
	.unit-page .unit-shell,
	.marketplace-hero__inner,
	.unit-hero__inner {
		width: min(100% - 24px, 100%);
	}

	.market-shell,
	.unit-shell {
		margin-bottom: 42px;
	}

	.marketplace-hero,
	.unit-hero {
		padding-top: 104px;
		padding-bottom: 16px;
	}

	.market-panel,
	.market-map-card,
	.unit-gallery,
	.unit-summary,
	.unit-section,
	.unit-sidebar-card,
	.unit-map-card {
		padding: 18px;
		border-radius: 22px;
	}

	.market-count-row,
	.market-toolbar,
	.unit-summary__top {
		flex-direction: column;
	}

	.market-map-panel,
	.market-panel,
	.market-toolbar > div,
	.market-count-row > div,
	.unit-main,
	.unit-sidebar {
		min-width: 0;
	}

	.market-map-card,
	.market-panel {
		overflow: hidden;
	}

	.market-count-row {
		margin-bottom: 12px;
	}

	.market-count-row h2,
	.market-toolbar h2 {
		max-width: 100%;
		font-size: clamp(22px, 5.8vw, 30px);
		line-height: 1.08;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.market-sort-select {
		width: 100%;
		max-width: none;
		min-width: 0;
	}

	.market-filter-grid,
	.market-card__specs,
	.unit-summary__metrics,
	.unit-detail-list,
	.unit-key-stats,
	.unit-calculator-grid {
		grid-template-columns: 1fr;
	}

	.market-grid {
		grid-template-columns: 1fr;
		justify-content: stretch;
		padding-inline: 0;
	}

	body.marketplace-page .market-grid {
		grid-template-columns: 1fr;
		justify-content: stretch;
		padding-inline: 0;
	}

	.market-card-link {
		max-width: none;
	}

	body.marketplace-page .market-card-link {
		max-width: none;
	}

	.market-card {
		width: 100%;
	}

	body.marketplace-page .market-card {
		width: 100%;
	}

	.market-card__badge-row {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.market-card__title,
	.unit-summary__title {
		font-size: clamp(18px, 6vw, 28px);
		line-height: 1.06;
	}

	.market-card__location,
	.unit-summary__location {
		font-size: 14px;
		line-height: 1.45;
	}

	.market-dropdown__options {
		grid-template-columns: repeat(2, 44px);
		width: 96px;
	}

	#marketDormsDropdown,
	#marketBathsDropdown,
	body.marketplace-page #marketDormsDropdown,
	body.marketplace-page #marketBathsDropdown {
		width: 120px;
		min-width: 120px;
	}

	#marketDormsOptions,
	#marketBathsOptions,
	body.marketplace-page #marketDormsOptions,
	body.marketplace-page #marketBathsOptions {
		width: 96px;
	}

	.unit-gallery__grid,
	.unit-gallery__split {
		grid-template-columns: 1fr;
	}

	.unit-gallery__stack {
		display: none;
	}

	.unit-gallery__main,
	.unit-gallery__image {
		min-height: 240px;
	}

	.market-map {
		height: 250px;
		min-height: 250px;
	}

	.unit-map__iframe,
	.unit-map__empty {
		height: 300px;
		min-height: 300px;
	}

	.unit-gallery-modal,
	.unit-contact-modal {
		padding: 14px;
	}

	.unit-gallery-modal__dialog,
	.unit-contact-modal__dialog {
		max-height: calc(100vh - 28px);
	}

	.unit-gallery-modal__dialog {
		padding: 18px;
	}

	.unit-gallery-modal__top {
		margin-bottom: 14px;
		padding-right: 48px;
	}

	.unit-gallery-modal__viewer {
		min-height: 280px;
		border-radius: 18px;
	}

	.unit-gallery-modal__viewer img {
		max-height: calc(100vh - 200px);
	}

	.unit-gallery-modal__nav {
		width: 42px;
		height: 42px;
		font-size: 28px;
	}

	.unit-contact-modal__card {
		padding: 22px 18px 18px;
	}

	body.marketplace-page .header .logo {
		width: 170px;
	}

	body.marketplace-page .header .logo img {
		max-height: 38px;
	}

	body.marketplace-page .market-count-row h2 {
		font-size: clamp(22px, 5.8vw, 30px);
	}

	body.marketplace-page .market-toolbar h2 {
		font-size: clamp(22px, 5.8vw, 30px);
	}

	.market-map .leaflet-control-zoom {
		margin: 12px !important;
	}

	.market-map .leaflet-control-zoom a {
		width: 34px;
		height: 34px;
		line-height: 34px;
		font-size: 24px !important;
	}

	.unit-page-head {
		padding-inline: 2px;
	}

	.unit-page-head h1 {
		font-size: clamp(28px, 9vw, 42px);
		line-height: 0.98;
	}

	.unit-main {
		gap: 16px;
	}

	.unit-summary {
		padding: 18px;
	}

	.unit-summary__top {
		gap: 14px;
		margin-bottom: 0;
	}

	.unit-summary__price {
		font-size: clamp(20px, 8vw, 32px);
	}

	.unit-contact-modal .home-contact-card__header {
		padding-right: 28px;
	}

	.unit-contact-modal .home-contact-card__header h4 {
		font-size: 1.35rem;
		line-height: 1.1;
	}

	.unit-contact-modal .home-contact-card__header p {
		font-size: 0.95rem;
		line-height: 1.5;
	}
}
