/**
 * Nexta Properties — Homepage
 * Refined, more stylish edition:
 *  - Sophisticated emerald + champagne-gold palette (vs the old kelly green + bright yellow)
 *  - Deeper navy with softer cool tints
 *  - Layered, multi-stop shadows for depth
 *  - Modern type rhythm — tighter display tracking, optical sizing, refined italics
 *  - Smooth cubic-bezier transitions, subtle motion
 *  - Glass + gradient flourishes on hero / CTAs
 *
 * Class names are unchanged so all PHP markup continues to work.
 */

/* =================================================================
   GLOBAL CONTAINER
   ================================================================= */
.nexta-home {
	/* Core palette — refined */
	--mh-yellow:       #d4a85a;
	--mh-yellow-dark:  #b88a3e;
	--mh-orange:       #c97b3a;
	--mh-navy:         #0d1b2a;
	--mh-navy-soft:    #1c2d44;
	--mh-text:         #1a1f2c;
	--mh-text-soft:    #5b6472;
	--mh-text-mute:    #98a1b0;
	--mh-line:         #ececef;
	--mh-bg:           #f6f5f1;
	--mh-card:         #ffffff;

	/* Premium shadows */
	--mh-shadow-sm:    0 1px 2px rgba(13, 27, 42, 0.04), 0 2px 6px rgba(13, 27, 42, 0.04);
	--mh-shadow-md:    0 2px 4px rgba(13, 27, 42, 0.05), 0 8px 24px -8px rgba(13, 27, 42, 0.10);
	--mh-shadow-lg:    0 4px 8px rgba(13, 27, 42, 0.06), 0 20px 48px -12px rgba(13, 27, 42, 0.18);
	--mh-shadow-xl:    0 8px 16px rgba(13, 27, 42, 0.08), 0 32px 72px -16px rgba(13, 27, 42, 0.25);
	--mh-shadow-gold:  0 8px 24px -8px rgba(212, 168, 90, 0.45);

	--mh-ease:         cubic-bezier(0.22, 1, 0.36, 1);
	--mh-ease-out:     cubic-bezier(0.16, 1, 0.3, 1);

	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "Manrope", sans-serif;
	color: var(--mh-text);
	background: var(--mh-bg);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.nexta-home *,
.nexta-home *::before,
.nexta-home *::after { box-sizing: border-box; }

/* =================================================================
   HERO SECTION
   ================================================================= */
.nexta-home-hero {
	position: relative;
	min-height: 620px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	padding: 96px 20px;
	overflow: hidden;
}
.nexta-home-hero.has-pattern {
	background-color: #fbfaf7;
	background-image:
		radial-gradient(circle at 20% 30%, rgba(212, 168, 90, 0.08), transparent 45%),
		radial-gradient(circle at 80% 70%, rgba(13, 27, 42, 0.06), transparent 50%),
		radial-gradient(circle, rgba(13, 27, 42, 0.07) 1px, transparent 1.5px);
	background-size: auto, auto, 26px 26px;
}
.nexta-home-hero.has-pattern::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, rgba(255,255,255,0) 30%, rgba(255,255,255,0.55) 100%);
	pointer-events: none;
}
.nexta-home-hero.has-image::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(13, 27, 42, 0.25) 0%, rgba(13, 27, 42, 0.65) 100%),
		radial-gradient(ellipse at 30% 20%, rgba(212, 168, 90, 0.12), transparent 50%);
}
.nexta-home-hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 920px;
	text-align: center;
}

.nexta-home-hero-title {
	color: var(--mh-navy);
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 56px;
	font-weight: 500;
	margin: 0 0 18px;
	letter-spacing: -0.025em;
	line-height: 1.08;
	font-feature-settings: "liga", "kern";
}
.nexta-home-hero.has-image .nexta-home-hero-title {
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.nexta-home-hero-subtitle {
	color: rgba(13, 27, 42, 0.7);
	font-size: 18px;
	font-weight: 400;
	margin: 0 0 44px;
	letter-spacing: 0.005em;
}
.nexta-home-hero.has-image .nexta-home-hero-subtitle {
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* =================================================================
   SEARCH BOX
   ================================================================= */
.nexta-search-box {
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--mh-shadow-xl);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.7);
}

.nexta-search-tabs {
	display: flex;
	background: #f4f3ee;
	border-bottom: 1px solid #ebe9e2;
}
.nexta-search-tab {
	flex: 1;
	padding: 18px 12px;
	background: transparent;
	border: none;
	font-size: 13px;
	font-weight: 600;
	color: var(--mh-text-soft);
	cursor: pointer;
	transition: all 0.25s var(--mh-ease);
	font-family: inherit;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	position: relative;
}
.nexta-search-tab:hover {
	color: var(--mh-navy);
	background: rgba(255, 255, 255, 0.5);
}
.nexta-search-tab.is-active {
	background: #fff;
	color: var(--mh-navy);
}
.nexta-search-tab.is-active::after {
	content: '';
	position: absolute;
	left: 50%;
	right: auto;
	transform: translateX(-50%);
	bottom: -1px;
	width: 56px;
	height: 3px;
	background: linear-gradient(90deg, var(--mh-yellow), var(--mh-yellow-dark));
	border-radius: 3px 3px 0 0;
}

.nexta-search-row {
	display: grid;
	grid-template-columns: 1.2fr 1.5fr 1fr auto;
	gap: 0;
	align-items: stretch;
}
.nexta-search-field {
	padding: 18px 22px;
	border-right: 1px solid var(--mh-line);
	display: flex;
	flex-direction: column;
	justify-content: center;
	cursor: pointer;
	transition: background 0.25s var(--mh-ease);
	min-height: 82px;
	position: relative;
}
.nexta-search-field:last-of-type { border-right: none; }
.nexta-search-field:hover { background: #fbfaf7; }
.nexta-search-field-label {
	font-size: 10px;
	font-weight: 700;
	color: var(--mh-text-mute);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.nexta-search-field-value {
	font-size: 15px;
	font-weight: 500;
	color: var(--mh-text);
}
.nexta-search-field select,
.nexta-search-field input[type="text"],
.nexta-search-field input[type="number"] {
	width: 100%;
	border: none;
	font-size: 15px;
	font-weight: 500;
	color: var(--mh-text);
	background: transparent;
	font-family: inherit;
	padding: 0;
	cursor: pointer;
	outline: none;
}
.nexta-search-field select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2398a1b0' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat: no-repeat;
	background-position: right 4px center;
	padding-right: 22px;
}

.nexta-search-price {
	display: flex;
	gap: 6px;
	align-items: center;
}
.nexta-search-price input {
	width: 100%;
}

.nexta-search-btn {
	background: linear-gradient(135deg, var(--mh-yellow) 0%, var(--mh-yellow-dark) 100%);
	color: var(--mh-navy);
	border: none;
	padding: 0 40px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s var(--mh-ease);
	font-family: inherit;
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	min-width: 168px;
	position: relative;
	overflow: hidden;
}
.nexta-search-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--mh-yellow-dark) 0%, var(--mh-orange) 100%);
	opacity: 0;
	transition: opacity 0.3s var(--mh-ease);
}
.nexta-search-btn:hover::before { opacity: 1; }
.nexta-search-btn:hover {
	box-shadow: var(--mh-shadow-gold);
}
.nexta-search-btn > * { position: relative; z-index: 1; }
.nexta-search-btn svg {
	width: 18px;
	height: 18px;
}

/* Quick stats */
.nexta-home-hero-stats {
	display: flex;
	justify-content: center;
	gap: 56px;
	margin-top: 44px;
}
.nexta-home-hero-stat {
	text-align: center;
	color: var(--mh-navy);
}
.nexta-home-hero.has-image .nexta-home-hero-stat {
	color: #fff;
}
.nexta-home-hero-stat-value {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 38px;
	font-weight: 500;
	line-height: 1;
	margin-bottom: 6px;
	color: var(--mh-navy);
	letter-spacing: -0.02em;
}
.nexta-home-hero.has-image .nexta-home-hero-stat-value {
	color: var(--mh-yellow);
}
.nexta-home-hero-stat-label {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(13, 27, 42, 0.6);
	font-weight: 600;
}
.nexta-home-hero.has-image .nexta-home-hero-stat-label {
	color: rgba(255, 255, 255, 0.82);
}


/* =================================================================
   SECTION: containers and headings
   ================================================================= */
.nexta-home-section {
	padding: 88px 20px;
}
.nexta-home-section-inner {
	max-width: 1280px;
	margin: 0 auto;
}
.nexta-home-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
	flex-wrap: wrap;
	gap: 12px;
}
.nexta-home-section-head h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 40px;
	font-weight: 500;
	color: var(--mh-navy);
	margin: 0 0 8px;
	letter-spacing: -0.025em;
	line-height: 1.1;
}
.nexta-home-section-head p {
	color: var(--mh-text-soft);
	font-size: 15px;
	margin: 0;
	font-weight: 400;
}
.nexta-home-section-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--mh-navy);
	text-decoration: none;
	padding: 12px 22px;
	border: 1.5px solid var(--mh-yellow);
	border-radius: 100px;
	transition: all 0.3s var(--mh-ease);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.nexta-home-section-link:hover {
	background: var(--mh-yellow);
	color: var(--mh-navy);
	transform: translateY(-2px);
	box-shadow: var(--mh-shadow-gold);
}


/* =================================================================
   FEATURED PROPERTIES
   ================================================================= */
.nexta-home-featured {
	background: #fff;
}

.nexta-featured-slider {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 18px;
	margin: 0 -20px;
	padding-left: 20px;
	padding-right: 20px;
	scrollbar-width: thin;
	scrollbar-color: var(--mh-yellow) transparent;
}
.nexta-featured-slider::-webkit-scrollbar {
	height: 6px;
}
.nexta-featured-slider::-webkit-scrollbar-track {
	background: var(--mh-line);
	border-radius: 3px;
}
.nexta-featured-slider::-webkit-scrollbar-thumb {
	background: linear-gradient(90deg, var(--mh-yellow), var(--mh-yellow-dark));
	border-radius: 3px;
}

.nexta-featured-card {
	flex: 0 0 340px;
	scroll-snap-align: start;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--mh-shadow-sm);
	transition: all 0.4s var(--mh-ease);
	border: 1px solid var(--mh-line);
}
.nexta-featured-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--mh-shadow-lg);
	border-color: rgba(212, 168, 90, 0.4);
}
.nexta-featured-card-img {
	aspect-ratio: 16/10;
	background: var(--mh-bg);
	overflow: hidden;
	position: relative;
}
.nexta-featured-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s var(--mh-ease-out);
}
.nexta-featured-card:hover .nexta-featured-card-img img {
	transform: scale(1.06);
}
.nexta-featured-card-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--mh-navy);
	font-size: 10px;
	font-weight: 700;
	padding: 6px 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border-radius: 100px;
	box-shadow: 0 2px 8px rgba(13, 27, 42, 0.08);
}
.nexta-featured-card-body {
	padding: 22px 24px;
}
.nexta-featured-card-price {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 24px;
	font-weight: 600;
	color: var(--mh-navy);
	margin: 0 0 6px;
	letter-spacing: -0.015em;
}
.nexta-featured-card-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--mh-text);
	margin: 0 0 4px;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	letter-spacing: -0.005em;
}
.nexta-featured-card-address {
	font-size: 13px;
	color: var(--mh-text-soft);
	margin: 0 0 14px;
}
.nexta-featured-card-meta {
	display: flex;
	gap: 16px;
	font-size: 12px;
	color: var(--mh-text-soft);
	padding-top: 14px;
	border-top: 1px solid var(--mh-line);
	font-weight: 500;
}


/* =================================================================
   DISTRICT TILES
   ================================================================= */
.nexta-home-districts {
	background: var(--mh-bg);
}
.nexta-districts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.nexta-district-tile {
	position: relative;
	display: block;
	aspect-ratio: 4/5;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: var(--mh-shadow-md);
	transition: all 0.4s var(--mh-ease);
}
.nexta-district-tile:hover {
	transform: translateY(-6px) scale(1.01);
	box-shadow: var(--mh-shadow-xl);
}
.nexta-district-tile-img {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.6s var(--mh-ease-out);
}
.nexta-district-tile:hover .nexta-district-tile-img {
	transform: scale(1.08);
}
.nexta-district-tile::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(13, 27, 42, 0.90) 100%);
}
.nexta-district-tile-body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 22px 24px;
	color: #fff;
	z-index: 1;
}
.nexta-district-tile-name {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 4px;
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.nexta-district-tile-count {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
}
.nexta-district-tile-arrow {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	z-index: 2;
	transition: all 0.3s var(--mh-ease);
}
.nexta-district-tile:hover .nexta-district-tile-arrow {
	background: var(--mh-yellow);
	border-color: var(--mh-yellow);
	color: var(--mh-navy);
	transform: rotate(-45deg);
}

.nexta-districts-empty {
	grid-column: 1 / -1;
	background: #fff;
	border: 1.5px dashed var(--mh-line);
	border-radius: 16px;
	padding: 72px 20px;
	text-align: center;
	color: var(--mh-text-soft);
}


/* =================================================================
   ABOUT / CTA section
   ================================================================= */
.nexta-home-cta {
	background:
		radial-gradient(ellipse at 20% 30%, rgba(212, 168, 90, 0.18), transparent 50%),
		radial-gradient(ellipse at 80% 70%, rgba(28, 45, 68, 0.5), transparent 60%),
		linear-gradient(135deg, var(--mh-navy) 0%, var(--mh-navy-soft) 100%);
	color: #fff;
	text-align: center;
	padding: 96px 20px;
	position: relative;
	overflow: hidden;
}
.nexta-home-cta::before {
	content: '';
	position: absolute;
	top: -120px;
	right: -120px;
	width: 480px;
	height: 480px;
	background: radial-gradient(circle, rgba(212, 168, 90, 0.12) 0%, transparent 70%);
	pointer-events: none;
}
.nexta-home-cta::after {
	content: '';
	position: absolute;
	bottom: -120px;
	left: -120px;
	width: 380px;
	height: 380px;
	background: radial-gradient(circle, rgba(212, 168, 90, 0.06) 0%, transparent 70%);
	pointer-events: none;
}
.nexta-home-cta-inner {
	position: relative;
	max-width: 720px;
	margin: 0 auto;
}
.nexta-home-cta h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 44px;
	font-weight: 700;
	color: #ffffff;
	margin: 0 0 18px;
	letter-spacing: -0.02em;
	line-height: 1.15;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.nexta-home-cta p {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.95);
	margin: 0 0 38px;
	line-height: 1.6;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}
.nexta-home-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 36px;
	background: linear-gradient(135deg, var(--mh-yellow) 0%, var(--mh-yellow-dark) 100%);
	color: var(--mh-navy);
	border: none;
	border-radius: 100px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: all 0.3s var(--mh-ease);
	cursor: pointer;
	font-family: inherit;
	box-shadow: 0 8px 24px -8px rgba(212, 168, 90, 0.5);
}
.nexta-home-cta-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px -8px rgba(212, 168, 90, 0.65);
}


/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 900px) {
	.nexta-home-hero {
		min-height: 0;
		padding: 64px 16px 48px;
	}
	.nexta-home-hero-title {
		font-size: 34px;
		letter-spacing: -0.02em;
	}
	.nexta-home-hero-subtitle {
		font-size: 15px;
		margin-bottom: 28px;
	}
	.nexta-home-hero-stats {
		gap: 28px;
		margin-top: 30px;
	}
	.nexta-home-hero-stat-value {
		font-size: 26px;
	}
	.nexta-home-hero-stat-label {
		font-size: 10px;
	}

	.nexta-search-box { border-radius: 14px; }
	.nexta-search-tab {
		padding: 14px 6px;
		font-size: 11px;
	}
	.nexta-search-row {
		grid-template-columns: 1fr;
	}
	.nexta-search-field {
		border-right: none;
		border-bottom: 1px solid var(--mh-line);
		min-height: 68px;
		padding: 14px 18px;
	}
	.nexta-search-field:last-of-type {
		border-bottom: none;
	}
	.nexta-search-btn {
		width: 100%;
		padding: 20px;
		justify-content: center;
		min-width: 0;
	}

	.nexta-home-section {
		padding: 60px 16px;
	}
	.nexta-home-section-head h2 {
		font-size: 28px;
	}
	.nexta-featured-card {
		flex: 0 0 270px;
	}
	.nexta-featured-card-price {
		font-size: 20px;
	}
	.nexta-districts-grid {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}
	.nexta-district-tile-name {
		font-size: 18px;
	}

	.nexta-home-cta {
		padding: 68px 20px;
	}
	.nexta-home-cta h2 {
		font-size: 30px;
	}
}

@media (max-width: 500px) {
	.nexta-home-hero-stats {
		gap: 20px;
	}
	.nexta-districts-grid {
		grid-template-columns: 1fr;
	}
	.nexta-district-tile {
		aspect-ratio: 3/2;
	}
}


/* =================================================================
   MYHOME.GE-STYLE TOP SECTION
   ================================================================= */
.nexta-home {
	--mh-green:        #0a8554;
	--mh-green-soft:   #e3f5ec;
	--mh-green-text:   #07623f;
	--mh-tile-icon:    #1f6fbf;
}

/* ----- TOP BAR ----- */
.nexta-mh-topbar {
	background: #fff;
	border-bottom: 1px solid #f0eee9;
}
.nexta-mh-topbar-inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 32px;
	gap: 24px;
}
.nexta-mh-logo {
	display: inline-flex;
	align-items: center;
	background: #fff;
	border: 2px solid var(--mh-green);
	border-radius: 999px;
	padding: 6px 4px 6px 20px;
	text-decoration: none;
	font-weight: 700;
	transition: all 0.25s var(--mh-ease);
}
.nexta-mh-logo:hover {
	box-shadow: 0 6px 18px -6px rgba(10, 133, 84, 0.4);
	transform: translateY(-1px);
}
.nexta-mh-logo-text {
	color: var(--mh-green);
	font-size: 18px;
	letter-spacing: -0.015em;
}
.nexta-mh-logo-tld {
	background: var(--mh-green);
	color: #fff;
	font-size: 13px;
	padding: 5px 11px;
	border-radius: 999px;
	margin-left: 10px;
	font-weight: 600;
	letter-spacing: -0.005em;
}
.nexta-mh-topbar-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.nexta-mh-add-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--mh-green-soft);
	color: var(--mh-green-text);
	font-weight: 600;
	font-size: 14px;
	padding: 9px 18px 9px 14px;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.25s var(--mh-ease);
}
.nexta-mh-add-btn:hover {
	background: var(--mh-green);
	color: #fff;
	transform: translateY(-1px);
}
.nexta-mh-add-btn svg { width: 18px; height: 18px; }
.nexta-mh-lang {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #e5e2da;
	padding: 9px 14px;
	border-radius: 10px;
	font-size: 14px;
	color: #333;
	cursor: pointer;
	transition: all 0.25s var(--mh-ease);
}
.nexta-mh-lang:hover { border-color: var(--mh-green); color: var(--mh-green); }
.nexta-mh-lang svg { width: 18px; height: 18px; color: #555; }
.nexta-mh-lang .nexta-mh-chev { width: 14px; height: 14px; }

/* When the multilingual switcher is rendered inside the header,
   the wrapper becomes a transparent pass-through and the switcher's
   own button carries the pill styling. */
.nexta-mh-lang:has(.nexta-lang-switcher) {
	border: none;
	padding: 0;
	background: transparent;
}
.nexta-mh-lang .nexta-lang-switcher--dropdown .nexta-lang-toggle {
	background: #fff;
	border: 1px solid #e5e2da;
	color: var(--mh-text);
	padding: 9px 14px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	gap: 8px;
	transition: all 0.25s var(--mh-ease);
}
.nexta-mh-lang .nexta-lang-switcher--dropdown .nexta-lang-toggle:hover {
	border-color: var(--mh-yellow);
	background: var(--mh-bg);
}
.nexta-mh-lang .nexta-lang-switcher--dropdown .nexta-lang-flag {
	font-size: 16px;
}
.nexta-mh-lang .nexta-lang-switcher--dropdown .nexta-lang-code {
	font-weight: 600;
	color: var(--mh-text);
}
.nexta-mh-lang .nexta-lang-switcher--dropdown .nexta-lang-chevron {
	color: var(--mh-text-soft);
	width: 10px;
	height: 6px;
}
/* Dropdown list refinements */
.nexta-mh-lang .nexta-lang-list {
	min-width: 200px;
	border-radius: 12px;
	border: 1px solid var(--mh-line);
	box-shadow: var(--mh-shadow-lg);
	padding: 6px;
}
.nexta-mh-lang .nexta-lang-list .nexta-lang-link {
	padding: 10px 14px;
	border-radius: 8px;
	font-weight: 500;
	color: var(--mh-text);
	font-size: 14px;
}
.nexta-mh-lang .nexta-lang-list .nexta-lang-link:hover {
	background: var(--mh-bg);
}
.nexta-mh-lang .nexta-lang-list .nexta-lang-item.is-active .nexta-lang-link {
	background: var(--mh-navy);
	color: var(--mh-yellow);
}
.nexta-mh-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	color: #333;
	text-decoration: none;
	transition: all 0.25s var(--mh-ease);
}
.nexta-mh-icon-btn:hover { background: #f5f3ee; color: var(--mh-green); }
.nexta-mh-icon-btn svg { width: 20px; height: 20px; }
.nexta-mh-login {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #e5e2da;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	text-decoration: none;
	transition: all 0.25s var(--mh-ease);
}
.nexta-mh-login:hover { border-color: var(--mh-green); color: var(--mh-green); }
.nexta-mh-login svg { width: 18px; height: 18px; color: #555; transition: color 0.25s var(--mh-ease); }
.nexta-mh-login:hover svg { color: var(--mh-green); }

/* ----- MENU BAR ----- */
.nexta-mh-menubar {
	background: #fff;
	border-bottom: 1px solid #f0eee9;
}
.nexta-mh-menubar-inner {
	max-width: 1280px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 32px;
	gap: 24px;
}
.nexta-mh-menu {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nexta-mh-menu li {
	position: relative;
}
.nexta-mh-menu li a {
	font-size: 14px;
	font-weight: 500;
	color: #1a1f2c;
	text-decoration: none;
	padding: 8px 0;
	transition: color 0.25s var(--mh-ease);
	position: relative;
}
.nexta-mh-menu li a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	background: var(--mh-green);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s var(--mh-ease);
}
.nexta-mh-menu li a:hover { color: var(--mh-green); }
.nexta-mh-menu li a:hover::after { transform: scaleX(1); }
.nexta-mh-new-badge {
	position: absolute;
	top: -8px;
	right: -34px;
	background: linear-gradient(135deg, #ef4444, #dc2626);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 9px;
	border-radius: 999px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
}
.nexta-mh-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1a1f2c;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: color 0.25s var(--mh-ease);
}
.nexta-mh-phone:hover { color: var(--mh-green); }
.nexta-mh-phone svg { width: 18px; height: 18px; color: var(--mh-green); }

/* ----- SEARCH SECTION ----- */
.nexta-mh-search-section {
	background: linear-gradient(180deg, #fdfcf8 0%, #f6f5f1 100%);
	padding: 44px 32px 72px;
	position: relative;
}
.nexta-mh-search-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60%;
	max-width: 600px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(10, 133, 84, 0.2), transparent);
}
.nexta-mh-search-inner {
	max-width: 1280px;
	margin: 0 auto;
}

/* ----- SEARCH BAR ----- */
.nexta-mh-search-bar {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 26px;
}
.nexta-mh-search-bar > .nexta-mh-fields-group {
	flex: 1 1 60%;
	min-width: 320px;
}
.nexta-mh-search-bar > .nexta-mh-filter-btn {
	flex: 0 0 64px;
}
.nexta-mh-search-bar > .nexta-mh-search-btn {
	flex: 0 0 auto;
}
.nexta-mh-search-bar .nexta-mh-fields-group {
	display: flex;
	align-items: stretch;
	background: #fff;
	border: 2px solid var(--mh-green);
	border-radius: 14px;
	min-height: 64px;
	overflow: hidden;
	box-shadow: 0 4px 16px -8px rgba(10, 133, 84, 0.18);
	transition: box-shadow 0.25s var(--mh-ease);
}
.nexta-mh-search-bar .nexta-mh-fields-group:focus-within {
	box-shadow: 0 6px 24px -8px rgba(10, 133, 84, 0.3);
}
.nexta-mh-field {
	flex: 1;
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	min-height: 60px;
	border: none;
	border-radius: 0;
}
.nexta-mh-field-type { flex: 0 0 240px; }
.nexta-mh-field-address { flex: 2; }
.nexta-mh-field-id { flex: 1.5; }
.nexta-mh-field-divider {
	width: 1px;
	background: #e8e5dd;
	margin: 14px 0;
	flex-shrink: 0;
}
.nexta-mh-field input,
.nexta-mh-field select {
	width: 100%;
	height: 100%;
	border: none;
	outline: none;
	background: transparent;
	font-family: inherit;
	font-size: 15px;
	color: #1a1f2c;
	padding: 0 20px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}
.nexta-mh-field input { cursor: text; }
.nexta-mh-field input::placeholder {
	color: #b5b0a4;
	font-size: 14px;
}
.nexta-mh-field-type select {
	font-weight: 500;
	padding-right: 40px;
}
.nexta-mh-field-type select option:first-child {
	font-size: 11px;
	color: #999;
}
.nexta-mh-field-chev {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	color: #888;
	pointer-events: none;
	transition: transform 0.25s var(--mh-ease);
}
.nexta-mh-filter-btn {
	background: #fff;
	border: 1px solid #e5e2da;
	width: 64px;
	height: 64px;
	border-radius: 14px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #333;
	transition: all 0.25s var(--mh-ease);
}
.nexta-mh-filter-btn:hover {
	background: #faf9f5;
	border-color: var(--mh-green);
	color: var(--mh-green);
}
.nexta-mh-filter-btn svg { width: 22px; height: 22px; }
.nexta-mh-search-btn {
	background: linear-gradient(135deg, var(--mh-green) 0%, #07623f 100%);
	color: #fff;
	border: none;
	border-radius: 14px;
	padding: 0 36px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 64px;
	transition: all 0.3s var(--mh-ease);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: 0 6px 18px -6px rgba(10, 133, 84, 0.5);
}
.nexta-mh-search-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px -8px rgba(10, 133, 84, 0.6);
}
.nexta-mh-search-btn svg { width: 18px; height: 18px; }

/* ----- LATEST SEARCHES ----- */
.nexta-mh-latest {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 36px;
	flex-wrap: wrap;
}
.nexta-mh-latest-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 13px;
	color: var(--mh-text-soft);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.nexta-mh-latest-label svg { width: 16px; height: 16px; color: var(--mh-green); }
.nexta-mh-latest-chip {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid #ebe8e0;
	border-radius: 12px;
	padding: 12px 20px;
	text-decoration: none;
	transition: all 0.25s var(--mh-ease);
	min-width: 220px;
}
.nexta-mh-latest-chip:hover {
	border-color: var(--mh-green);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px -8px rgba(10, 133, 84, 0.25);
}
.nexta-mh-latest-chip svg { width: 16px; height: 16px; color: #aaa; flex-shrink: 0; }
.nexta-mh-latest-chip-eyebrow {
	font-size: 10px;
	color: #999;
	margin-bottom: 2px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
}
.nexta-mh-latest-chip-text {
	font-size: 14px;
	font-weight: 500;
	color: #1a1f2c;
}

/* ----- QUICK-ACTION TILES ----- */
.nexta-mh-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}
.nexta-mh-tile {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid #ebe8e0;
	border-radius: 14px;
	padding: 20px 22px;
	text-decoration: none;
	transition: all 0.3s var(--mh-ease);
	position: relative;
	overflow: hidden;
}
.nexta-mh-tile::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(10, 133, 84, 0.04), rgba(212, 168, 90, 0.04));
	opacity: 0;
	transition: opacity 0.3s var(--mh-ease);
	pointer-events: none;
}
.nexta-mh-tile:hover {
	border-color: var(--mh-green);
	transform: translateY(-3px);
	box-shadow: 0 12px 28px -10px rgba(10, 133, 84, 0.28);
}
.nexta-mh-tile:hover::before { opacity: 1; }
.nexta-mh-tile-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
	z-index: 1;
}
.nexta-mh-tile-icon svg { width: 28px; height: 28px; }
.nexta-mh-tile-label {
	font-size: 14px;
	font-weight: 600;
	color: #1a1f2c;
	line-height: 1.35;
	position: relative;
	z-index: 1;
}

/* ----- MOBILE ----- */
@media (max-width: 960px) {
	.nexta-mh-topbar-inner,
	.nexta-mh-menubar-inner { padding: 12px 16px; }
	.nexta-mh-menubar-inner { overflow-x: auto; }
	.nexta-mh-menu { gap: 20px; flex-shrink: 0; }
	.nexta-mh-menu li a { font-size: 13px; white-space: nowrap; }
	.nexta-mh-phone { display: none; }
	.nexta-mh-lang span,
	.nexta-mh-login span { display: none; }
	.nexta-mh-search-section { padding: 28px 16px 44px; }
	.nexta-mh-search-bar {
		flex-direction: column;
		gap: 10px;
	}
	.nexta-mh-search-bar .nexta-mh-fields-group {
		display: contents;
	}
	.nexta-mh-field,
	.nexta-mh-field-type,
	.nexta-mh-field-address,
	.nexta-mh-field-id {
		border-radius: 12px !important;
		border: 2px solid var(--mh-green) !important;
		flex: 1 1 auto;
		min-height: 56px;
	}
	.nexta-mh-field-divider { display: none; }
	.nexta-mh-filter-btn,
	.nexta-mh-search-btn { width: 100%; min-height: 56px; }
}

/* ----- MOBILE TILES — APP-LAUNCHER STYLE ----- */
@media (max-width: 720px) {
	.nexta-mh-tiles {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.nexta-mh-tile {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 12px;
		padding: 22px 12px;
		min-height: 130px;
		border-radius: 18px;
		border: 1px solid #ececec;
		background: #fff;
		-webkit-tap-highlight-color: transparent;
	}
	.nexta-mh-tile:active {
		transform: scale(0.96);
		transition-duration: 0.1s;
	}
	.nexta-mh-tile:hover {
		transform: none;
		box-shadow: none;
	}
	.nexta-mh-tile-icon {
		width: 56px;
		height: 56px;
		border-radius: 50%;
		background: #eaf3fc;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	.nexta-mh-tile-icon svg {
		width: 28px;
		height: 28px;
	}
	.nexta-mh-tile-label {
		font-size: 13px;
		font-weight: 600;
		line-height: 1.25;
		color: #1a1f2c;
	}

	.nexta-mh-tile:nth-child(6n+1) .nexta-mh-tile-icon { background: #e8f1fa; }
	.nexta-mh-tile:nth-child(6n+2) .nexta-mh-tile-icon { background: #e6f4ec; }
	.nexta-mh-tile:nth-child(6n+3) .nexta-mh-tile-icon { background: #fbf0dc; }
	.nexta-mh-tile:nth-child(6n+4) .nexta-mh-tile-icon { background: #f1eaf8; }
	.nexta-mh-tile:nth-child(6n+5) .nexta-mh-tile-icon { background: #fae8e8; }
	.nexta-mh-tile:nth-child(6n+6) .nexta-mh-tile-icon { background: #e3f0f0; }

	.nexta-mh-tile:nth-child(6n+1) .nexta-mh-tile-icon svg { stroke: #2570c0 !important; }
	.nexta-mh-tile:nth-child(6n+2) .nexta-mh-tile-icon svg { stroke: var(--mh-green) !important; }
	.nexta-mh-tile:nth-child(6n+3) .nexta-mh-tile-icon svg { stroke: var(--mh-yellow-dark) !important; }
	.nexta-mh-tile:nth-child(6n+4) .nexta-mh-tile-icon svg { stroke: #6c4eb8 !important; }
	.nexta-mh-tile:nth-child(6n+5) .nexta-mh-tile-icon svg { stroke: #c33d3d !important; }
	.nexta-mh-tile:nth-child(6n+6) .nexta-mh-tile-icon svg { stroke: #1e8a8a !important; }
}

@media (max-width: 380px) {
	.nexta-mh-tiles {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.nexta-mh-tile { min-height: 120px; padding: 18px 8px; }
	.nexta-mh-tile-icon { width: 48px; height: 48px; }
	.nexta-mh-tile-icon svg { width: 24px; height: 24px; }
	.nexta-mh-tile-label { font-size: 12px; }
}

@media (max-width: 480px) {
	.nexta-mh-topbar-actions { gap: 6px; }
	.nexta-mh-add-btn { padding: 8px 12px; }
	.nexta-mh-icon-btn { width: 36px; height: 36px; }
}


/* =================================================================
   ADVANCED FILTERS PANEL
   ================================================================= */
.nexta-mh-advanced {
	flex: 0 0 100%;
	width: 100%;
	background: #fff;
	border: 1px solid #ebe8e0;
	border-radius: 16px;
	padding: 28px;
	margin-top: 14px;
	box-shadow: var(--mh-shadow-md);
	animation: nexta-mh-adv-slide 0.3s var(--mh-ease-out);
}
.nexta-mh-advanced[hidden] { display: none; }
@keyframes nexta-mh-adv-slide {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

.nexta-mh-advanced-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px 22px;
}
.nexta-mh-adv-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.nexta-mh-adv-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mh-text-soft);
}
.nexta-mh-adv-label-block { margin-bottom: 14px; }
.nexta-mh-adv-field select,
.nexta-mh-adv-field input[type="number"],
.nexta-mh-adv-field input[type="text"] {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #e5e2da;
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	color: #1a1f2c;
	background: #fff;
	transition: all 0.2s var(--mh-ease);
	min-height: 42px;
	box-sizing: border-box;
}
.nexta-mh-adv-field select:focus,
.nexta-mh-adv-field input:focus {
	outline: none;
	border-color: var(--mh-green);
	box-shadow: 0 0 0 3px rgba(10, 133, 84, 0.12);
}

.nexta-mh-adv-range {
	display: flex;
	align-items: center;
	gap: 6px;
}
.nexta-mh-adv-range input { flex: 1; min-width: 0; }
.nexta-mh-adv-range span { color: #aaa; font-size: 13px; }

.nexta-mh-adv-pills {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}
.nexta-mh-pill {
	flex: 1;
	min-width: 36px;
	padding: 10px 8px;
	background: #fff;
	border: 1px solid #e5e2da;
	border-radius: 10px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	color: #555;
	cursor: pointer;
	transition: all 0.2s var(--mh-ease);
}
.nexta-mh-pill:hover { border-color: var(--mh-green); color: var(--mh-green); }
.nexta-mh-pill.is-active {
	background: var(--mh-green);
	border-color: var(--mh-green);
	color: #fff;
	box-shadow: 0 4px 12px -4px rgba(10, 133, 84, 0.4);
}

.nexta-mh-adv-amenities {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #f0eee9;
}
.nexta-mh-adv-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.nexta-mh-adv-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: #fff;
	border: 1px solid #e5e2da;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	color: #1a1f2c;
	cursor: pointer;
	transition: all 0.2s var(--mh-ease);
	user-select: none;
}
.nexta-mh-adv-check:hover { border-color: var(--mh-green); }
.nexta-mh-adv-check input {
	margin: 0;
	width: 14px;
	height: 14px;
	accent-color: var(--mh-green);
}
.nexta-mh-adv-check:has(input:checked) {
	background: rgba(10, 133, 84, 0.08);
	border-color: var(--mh-green);
	color: var(--mh-green-text);
}

.nexta-mh-adv-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #f0eee9;
	gap: 12px;
}
.nexta-mh-adv-reset {
	background: none;
	border: none;
	color: var(--mh-text-soft);
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	padding: 10px 4px;
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color 0.2s var(--mh-ease);
}
.nexta-mh-adv-reset:hover { color: var(--mh-navy); }
.nexta-mh-adv-apply {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, var(--mh-green) 0%, #07623f 100%);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 13px 28px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s var(--mh-ease);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: 0 6px 16px -6px rgba(10, 133, 84, 0.45);
}
.nexta-mh-adv-apply:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px -6px rgba(10, 133, 84, 0.55);
}
.nexta-mh-adv-apply svg { width: 16px; height: 16px; }

.nexta-mh-filter-btn[aria-expanded="true"] {
	background: var(--mh-green);
	color: #fff;
	border-color: var(--mh-green);
}

@media (max-width: 720px) {
	.nexta-mh-advanced { padding: 20px 16px; }
	.nexta-mh-advanced-grid {
		grid-template-columns: 1fr 1fr;
		gap: 14px 12px;
	}
	.nexta-mh-adv-footer {
		flex-direction: column-reverse;
		gap: 10px;
	}
	.nexta-mh-adv-apply { width: 100%; justify-content: center; }
	.nexta-mh-adv-reset { width: 100%; }
}
@media (max-width: 480px) {
	.nexta-mh-advanced-grid { grid-template-columns: 1fr; }
}


/* =================================================================
   ALL PROPERTIES GRID
   ================================================================= */
.nexta-home-all-properties {
	background: var(--mh-bg);
	padding-top: 0;
}
.nexta-all-properties-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 26px;
	margin-top: 10px;
}
.nexta-all-properties-grid .nexta-featured-card {
	flex: unset;
	scroll-snap-align: unset;
	width: 100%;
}

.nexta-all-properties-footer {
	display: flex;
	justify-content: center;
	margin-top: 44px;
}
.nexta-all-properties-more {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 32px;
	background: #fff;
	border: 1.5px solid var(--mh-navy);
	border-radius: 999px;
	color: var(--mh-navy);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: all 0.3s var(--mh-ease);
}
.nexta-all-properties-more:hover {
	background: var(--mh-navy);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 12px 28px -10px rgba(13, 27, 42, 0.45);
}
.nexta-all-properties-more svg {
	transition: transform 0.3s var(--mh-ease);
}
.nexta-all-properties-more:hover svg {
	transform: translateX(4px);
}

@media (max-width: 720px) {
	.nexta-all-properties-grid {
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
		gap: 16px;
	}
}
@media (max-width: 480px) {
	.nexta-all-properties-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.nexta-all-properties-more {
		width: 100%;
		justify-content: center;
	}
}


/* =================================================================
   MOBILE QUICK-ACTIONS BUTTON + BOTTOM SHEET
   ================================================================= */
.nexta-mh-quick-btn { display: none; }
.nexta-mh-sheet[hidden] { display: none; }

@media (max-width: 720px) {
	.nexta-home .nexta-mh-tiles,
	.nexta-mh-search-section .nexta-mh-tiles,
	.nexta-mh-tiles {
		display: none !important;
	}

	.nexta-mh-quick-btn {
		display: flex;
		align-items: center;
		gap: 14px;
		width: 100%;
		padding: 16px 18px;
		background: #fff;
		border: 1px solid #ececec;
		border-radius: 16px;
		cursor: pointer;
		text-align: left;
		font-family: inherit;
		-webkit-tap-highlight-color: transparent;
		transition: transform 0.1s, border-color 0.2s;
		box-shadow: var(--mh-shadow-sm);
	}
	.nexta-mh-quick-btn:active {
		transform: scale(0.98);
		border-color: var(--mh-green);
	}
	.nexta-mh-quick-btn-icon {
		flex-shrink: 0;
		width: 48px;
		height: 48px;
		border-radius: 14px;
		background: var(--mh-green-soft);
		color: var(--mh-green);
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	.nexta-mh-quick-btn-icon svg { width: 22px; height: 22px; }
	.nexta-mh-quick-btn-text {
		flex: 1;
		display: flex;
		flex-direction: column;
		gap: 2px;
		min-width: 0;
	}
	.nexta-mh-quick-btn-text strong {
		font-size: 15px;
		font-weight: 600;
		color: #1a1f2c;
	}
	.nexta-mh-quick-btn-text span {
		font-size: 12px;
		color: #888;
	}
	.nexta-mh-quick-btn-chev {
		width: 16px;
		height: 16px;
		color: #aaa;
		flex-shrink: 0;
	}
}

/* ===== BOTTOM SHEET ===== */
.nexta-mh-sheet {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.nexta-mh-sheet-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(13, 27, 42, 0.55);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	animation: nexta-mh-sheet-fade 0.25s ease;
}
.nexta-mh-sheet-panel {
	position: relative;
	width: 100%;
	max-width: 600px;
	background: #fff;
	border-radius: 28px 28px 0 0;
	max-height: 88vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 18px 36px;
	padding-bottom: max(36px, env(safe-area-inset-bottom));
	animation: nexta-mh-sheet-up 0.35s var(--mh-ease-out);
	box-shadow: 0 -12px 48px -12px rgba(13, 27, 42, 0.3);
}
@keyframes nexta-mh-sheet-up {
	from { transform: translateY(100%); }
	to { transform: translateY(0); }
}
@keyframes nexta-mh-sheet-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}
.nexta-mh-sheet-handle {
	width: 40px;
	height: 4px;
	background: #d8d4cc;
	border-radius: 999px;
	margin: 12px auto 8px;
}
.nexta-mh-sheet-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 4px 20px;
	border-bottom: 1px solid #f0eee9;
	margin-bottom: 20px;
}
.nexta-mh-sheet-head h3 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 24px;
	font-weight: 600;
	color: var(--mh-navy);
	margin: 0;
	letter-spacing: -0.02em;
}
.nexta-mh-sheet-close {
	background: #f5f3ee;
	border: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #555;
	-webkit-tap-highlight-color: transparent;
	transition: all 0.2s var(--mh-ease);
}
.nexta-mh-sheet-close:hover { background: #ebe8e0; }
.nexta-mh-sheet-close:active { transform: scale(0.92); }
.nexta-mh-sheet-close svg { width: 18px; height: 18px; }

.nexta-mh-sheet-tiles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	padding-top: 4px;
}
.nexta-mh-sheet-tile {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 12px;
	padding: 22px 12px;
	min-height: 130px;
	border-radius: 18px;
	border: 1px solid #ececec;
	background: #fff;
	-webkit-tap-highlight-color: transparent;
}
.nexta-mh-sheet-tile:active {
	transform: scale(0.96);
	transition-duration: 0.1s;
}
.nexta-mh-sheet-tile .nexta-mh-tile-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #eaf3fc;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.nexta-mh-sheet-tile .nexta-mh-tile-icon svg {
	width: 28px;
	height: 28px;
}
.nexta-mh-sheet-tile .nexta-mh-tile-label {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	color: #1a1f2c;
}

.nexta-mh-sheet-tile:nth-child(6n+1) .nexta-mh-tile-icon { background: #e8f1fa; }
.nexta-mh-sheet-tile:nth-child(6n+2) .nexta-mh-tile-icon { background: #e6f4ec; }
.nexta-mh-sheet-tile:nth-child(6n+3) .nexta-mh-tile-icon { background: #fbf0dc; }
.nexta-mh-sheet-tile:nth-child(6n+4) .nexta-mh-tile-icon { background: #f1eaf8; }
.nexta-mh-sheet-tile:nth-child(6n+5) .nexta-mh-tile-icon { background: #fae8e8; }
.nexta-mh-sheet-tile:nth-child(6n+6) .nexta-mh-tile-icon { background: #e3f0f0; }

.nexta-mh-sheet-tile:nth-child(6n+1) .nexta-mh-tile-icon svg { stroke: #2570c0 !important; }
.nexta-mh-sheet-tile:nth-child(6n+2) .nexta-mh-tile-icon svg { stroke: var(--mh-green) !important; }
.nexta-mh-sheet-tile:nth-child(6n+3) .nexta-mh-tile-icon svg { stroke: var(--mh-yellow-dark) !important; }
.nexta-mh-sheet-tile:nth-child(6n+4) .nexta-mh-tile-icon svg { stroke: #6c4eb8 !important; }
.nexta-mh-sheet-tile:nth-child(6n+5) .nexta-mh-tile-icon svg { stroke: #c33d3d !important; }
.nexta-mh-sheet-tile:nth-child(6n+6) .nexta-mh-tile-icon svg { stroke: #1e8a8a !important; }

body.nexta-mh-sheet-open {
	overflow: hidden;
	position: fixed;
	width: 100%;
}


/* =================================================================
   LATEST SEARCHES — mobile button + sheet
   ================================================================= */
.nexta-mh-latest-btn { display: none; }

@media (max-width: 720px) {
	.nexta-mh-latest { display: none !important; }
	.nexta-mh-latest-btn { display: flex; }

	.nexta-mh-latest-btn .nexta-mh-latest-btn-icon {
		background: #f5f3ee;
		color: #555;
	}
}

.nexta-mh-sheet-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 4px;
}
.nexta-mh-sheet-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 14px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
	transition: transform 0.1s, border-color 0.2s;
}
.nexta-mh-sheet-item:active {
	transform: scale(0.98);
	border-color: var(--mh-green);
}
.nexta-mh-sheet-item-icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #f5f3ee;
	color: #666;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.nexta-mh-sheet-item-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.nexta-mh-sheet-item-eyebrow {
	font-size: 10px;
	color: #999;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
}
.nexta-mh-sheet-item-title {
	font-size: 15px;
	font-weight: 600;
	color: #1a1f2c;
}
.nexta-mh-sheet-item-chev {
	color: #ccc;
	flex-shrink: 0;
}


/* =================================================================
   FACEBOOK-STYLE MOBILE EXPERIENCE
   ================================================================= */

@media (max-width: 720px) {
	:root {
		--fb-blue:        #2c5cdc;
		--fb-blue-dark:   #1e46b8;
		--fb-bg:          #f1f2f5;
		--fb-card:        #FFFFFF;
		--fb-text:        #0d1b2a;
		--fb-text-soft:   #5b6472;
		--fb-line:        #e2e3e8;
		--fb-hover:       #ebecf0;
	}

	html body { background: var(--fb-bg) !important; }

	.nexta-mh-topbar {
		position: sticky;
		top: 0;
		z-index: 1000;
		background: #fff;
		border-bottom: 1px solid var(--fb-line);
		transition: padding 0.25s, box-shadow 0.25s;
	}
	body.nexta-fb-scrolled .nexta-mh-topbar {
		box-shadow: 0 2px 12px rgba(13, 27, 42, 0.08);
	}
	body.nexta-fb-scrolled .nexta-mh-topbar-inner {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
	}

	.nexta-mh-topbar-inner {
		padding: 12px 12px !important;
	}
	.nexta-mh-logo {
		border-color: var(--fb-blue);
		padding: 4px 4px 4px 12px;
	}
	.nexta-mh-logo-text { color: var(--fb-blue); font-size: 16px; }
	.nexta-mh-logo-tld { background: var(--fb-blue); font-size: 11px; }
	.nexta-mh-icon-btn {
		background: var(--fb-bg);
		width: 38px;
		height: 38px;
		border-radius: 50%;
	}
	.nexta-mh-icon-btn:hover { background: var(--fb-hover); }

	.nexta-mh-menubar { display: none !important; }

	.nexta-mh-add-btn,
	.nexta-mh-lang { display: none !important; }
	.nexta-mh-login {
		padding: 6px 8px;
		border: none;
		font-size: 13px;
	}
	.nexta-mh-login span { display: inline; font-weight: 600; color: var(--fb-blue); }
	.nexta-mh-login svg { color: var(--fb-blue); }

	.nexta-mh-search-section {
		background: #fff;
		padding: 12px 12px 16px !important;
		border-bottom: 8px solid var(--fb-bg);
		transition: padding 0.25s, max-height 0.3s;
	}
	body.nexta-fb-scrolled .nexta-mh-search-section,
	body.nexta-fb-scrolled .nexta-fb-stories {
		max-height: 0;
		overflow: hidden;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		border-bottom-width: 0 !important;
	}

	.nexta-mh-search-bar {
		flex-direction: row !important;
		gap: 8px !important;
		flex-wrap: wrap;
		align-items: center !important;
	}
	.nexta-mh-search-bar > .nexta-mh-fields-group {
		display: flex !important;
		flex: 1 1 0 !important;
		min-width: 0 !important;
		flex-direction: column;
		border: none !important;
		background: var(--fb-bg) !important;
		border-radius: 999px;
		padding: 0 4px;
		min-height: 44px;
		box-shadow: none !important;
	}
	.nexta-mh-field {
		flex: 1 1 auto !important;
		border-radius: 999px !important;
		border: none !important;
		background: transparent !important;
		min-height: 40px !important;
	}
	.nexta-mh-field-divider { display: none !important; }
	.nexta-mh-field-type,
	.nexta-mh-field-id { display: none !important; }
	.nexta-mh-field-address input {
		font-size: 14px;
		padding: 0 14px !important;
	}
	.nexta-mh-field-address input::placeholder {
		color: var(--fb-text-soft);
	}
	.nexta-mh-search-bar > .nexta-mh-filter-btn {
		flex: 0 0 44px !important;
		width: 44px !important;
		min-height: 44px !important;
		border-radius: 50% !important;
		background: var(--fb-bg) !important;
		color: var(--fb-text) !important;
		padding: 0 !important;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	.nexta-mh-search-bar > .nexta-mh-search-btn {
		flex: 1 1 100% !important;
		min-height: 44px !important;
		border-radius: 999px !important;
		padding: 0 18px !important;
		background: var(--fb-blue) !important;
		font-size: 14px;
		box-shadow: 0 4px 12px rgba(44, 92, 220, 0.3) !important;
	}
	.nexta-mh-search-btn:hover { background: var(--fb-blue-dark) !important; }

	.nexta-fb-stories {
		background: #fff;
		padding: 14px 0;
		border-bottom: 8px solid var(--fb-bg);
	}
	.nexta-fb-stories-inner {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		overflow-y: visible;
		padding: 6px 18px;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
	}
	.nexta-fb-stories-inner::-webkit-scrollbar { display: none; }
	.nexta-fb-stories-inner { scrollbar-width: none; }
	.nexta-fb-story {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 6px;
		flex: 0 0 auto;
		text-decoration: none;
		scroll-snap-align: start;
		-webkit-tap-highlight-color: transparent;
		padding: 4px 0;
	}
	.nexta-fb-story:active { transform: scale(0.95); }
	.nexta-fb-story-avatar {
		width: 62px;
		height: 62px;
		border-radius: 50%;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: #fff;
		font-size: 18px;
		font-weight: 700;
		font-family: 'Manrope', -apple-system, sans-serif;
		letter-spacing: 0.02em;
		position: relative;
		overflow: hidden;
		box-shadow:
			0 0 0 2px #fff,
			0 0 0 5px #E4405F;
		isolation: isolate;
	}
	.nexta-fb-story-avatar img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		display: block;
		border-radius: 50%;
	}
	.nexta-fb-story-label {
		font-size: 11px;
		font-weight: 600;
		color: var(--fb-text);
		max-width: 64px;
		text-align: center;
		line-height: 1.2;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.nexta-home-section {
		background: var(--fb-bg);
		padding: 12px 0 0;
	}
	.nexta-home-section-inner {
		padding: 0 12px;
	}
	.nexta-home-section-head {
		padding: 12px 4px 8px;
		border-bottom: none;
		margin-bottom: 12px;
	}
	.nexta-home-section-head h2 {
		font-family: 'Inter', -apple-system, sans-serif !important;
		font-size: 19px !important;
		font-weight: 700;
		color: var(--fb-text);
		letter-spacing: -0.015em;
	}
	.nexta-home-section-head p {
		color: var(--fb-text-soft);
		font-size: 13px;
	}

	.nexta-featured-slider {
		padding-left: 0;
		gap: 12px;
	}
	.nexta-featured-card {
		flex: 0 0 78vw !important;
		max-width: 320px;
		border-radius: 16px !important;
		border: none !important;
		box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 4px 16px rgba(13, 27, 42, 0.06) !important;
	}

	.nexta-all-properties-grid {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}
	.nexta-all-properties-grid .nexta-featured-card {
		flex: unset !important;
		max-width: none;
		width: 100%;
		border-radius: 16px !important;
		border: none !important;
		box-shadow: 0 1px 2px rgba(0,0,0,0.06), 0 4px 16px rgba(13, 27, 42, 0.06) !important;
	}
	.nexta-featured-card-img {
		aspect-ratio: 4/3 !important;
	}
	.nexta-featured-card-body {
		padding: 16px 18px !important;
	}
	.nexta-featured-card-price {
		color: var(--fb-blue) !important;
		font-family: 'Inter', sans-serif !important;
		font-weight: 700;
		font-size: 20px !important;
	}
	.nexta-featured-card-title {
		font-family: 'Inter', sans-serif !important;
		font-weight: 600;
		font-size: 15px !important;
		color: var(--fb-text);
	}

	.nexta-fb-fab {
		position: fixed;
		bottom: calc(76px + env(safe-area-inset-bottom));
		right: 16px;
		width: 56px;
		height: 56px;
		border-radius: 50%;
		background: var(--fb-blue);
		color: #fff;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		text-decoration: none;
		box-shadow: 0 6px 20px rgba(44, 92, 220, 0.5);
		z-index: 999;
		transition: transform 0.15s, background 0.2s;
		-webkit-tap-highlight-color: transparent;
	}
	.nexta-fb-fab:hover { background: var(--fb-blue-dark); }
	.nexta-fb-fab:active { transform: scale(0.92); }
	.nexta-fb-fab svg { width: 26px; height: 26px; }

	.nexta-fb-bottomnav {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1000;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		border-top: 1px solid var(--fb-line);
		display: flex;
		justify-content: space-around;
		align-items: stretch;
		padding-bottom: env(safe-area-inset-bottom);
	}
	.nexta-fb-bn-item {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		padding: 10px 4px 8px;
		text-decoration: none;
		color: var(--fb-text-soft);
		-webkit-tap-highlight-color: transparent;
		transition: color 0.15s;
		position: relative;
	}
	.nexta-fb-bn-item svg {
		width: 22px;
		height: 22px;
	}
	.nexta-fb-bn-item span {
		font-size: 11px;
		font-weight: 600;
		letter-spacing: 0.02em;
	}
	.nexta-fb-bn-item:active { transform: scale(0.92); }
	.nexta-fb-bn-item.is-active { color: var(--fb-blue); }
	.nexta-fb-bn-item.is-active svg {
		stroke-width: 2.5;
		fill: rgba(44, 92, 220, 0.1);
	}

	body { padding-bottom: 64px !important; }
}

@media (min-width: 721px) {
	.nexta-fb-bottomnav,
	.nexta-fb-fab,
	.nexta-fb-stories { display: none !important; }
}
