/* =========================================================
   NE Realestates — front-end styles
   Every rule is scoped to a .nere- class so nothing here
   touches the rest of the theme.
   ========================================================= */

:root {
	--nere-navy: #30435B;
	--nere-navy-dark: #243346;
	--nere-navy-soft: #E8EDF3;
	--nere-gold: #BC9D67;
	--nere-gold-dark: #A8895A;
	--nere-gold-soft: #F6F1E7;
	--nere-wa: #25D366;
	--nere-wa-dark: #1EBE5A;
	--nere-green: #1E9E5A;
	--nere-ink: #1A1A1A;
	--nere-muted: #6B7280;
	--nere-line: #E3E7EC;
	--nere-bg: #F5F6F8;
	--nere-radius: 14px;
	--nere-shadow: 0 2px 8px rgba(48, 67, 91, .06);
	--nere-shadow-lg: 0 18px 44px rgba(48, 67, 91, .14);
	--nere-font: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[class^="nere-"], [class*=" nere-"],
[class^="nere-"] *, [class*=" nere-"] * {
	box-sizing: border-box;
}

[class^="nere-"], [class*=" nere-"] {
	font-family: var(--nere-font);
}

/* ---------- Reveal animation ---------- */
.nere-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
	transition-delay: var(--nere-delay, 0ms);
}
.nere-reveal.nere-in {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.nere-reveal { opacity: 1; transform: none; transition: none; }
	.nere-card, .nere-cat-card, .nere-loc-chip { transition: none !important; }
}

/* ---------- Buttons ---------- */
.nere-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 0;
	border-radius: 10px;
	font-family: var(--nere-font);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .2px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .22s ease, transform .18s ease, box-shadow .22s ease;
}
.nere-btn:hover { transform: translateY(-2px); text-decoration: none; }
.nere-btn:focus-visible { outline: 3px solid var(--nere-gold); outline-offset: 2px; }
.nere-btn-gold { background: var(--nere-gold); color: #fff; box-shadow: 0 4px 14px rgba(188,157,103,.32); }
.nere-btn-gold:hover { background: var(--nere-gold-dark); color: #fff; box-shadow: 0 8px 22px rgba(188,157,103,.42); }
.nere-btn-navy { background: var(--nere-navy); color: #fff; }
.nere-btn-navy:hover { background: var(--nere-navy-dark); color: #fff; }
.nere-btn-wa { background: var(--nere-wa); color: #fff; }
.nere-btn-wa:hover { background: var(--nere-wa-dark); color: #fff; }
.nere-btn-block { width: 100%; }
.nere-btn-lg { padding: 15px 26px; font-size: 16px; }
.nere-btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Section title ---------- */
.nere-section-title {
	font-family: var(--nere-font);
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 900;
	color: var(--nere-navy);
	letter-spacing: -.3px;
	margin: 0 0 22px;
	position: relative;
	padding-bottom: 12px;
}
.nere-section-title::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 48px; height: 3px;
	background: var(--nere-gold);
	border-radius: 3px;
}

/* =========================================================
   SEARCH BOX
   ========================================================= */
.nere-search {
	background: #fff;
	border: 1px solid var(--nere-line);
	border-radius: var(--nere-radius);
	box-shadow: var(--nere-shadow-lg);
	padding: 18px;
	margin: 0 0 30px;
}
.nere-search-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr) auto;
	gap: 12px;
	align-items: end;
}
.nere-search-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nere-search-field label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .7px;
	color: var(--nere-muted);
}
.nere-search-field select,
.nere-search-field input {
	width: 100%;
	min-height: 48px;
	height: auto;
	padding: 12px 14px;
	border: 1px solid var(--nere-line);
	border-radius: 9px;
	background: #fff;
	font-family: var(--nere-font);
	font-size: 15px;
	line-height: 1.4;
	color: var(--nere-ink);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.nere-search-field select:focus,
.nere-search-field input:focus {
	outline: none;
	border-color: var(--nere-gold);
	box-shadow: 0 0 0 3px rgba(188,157,103,.16);
}
.nere-search-submit .nere-btn { min-height: 48px; padding: 0 26px; }

.nere-search-toggle {
	margin-top: 14px;
	background: none;
	border: 0;
	padding: 4px 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--nere-font);
	font-size: 13px;
	font-weight: 700;
	color: var(--nere-navy);
	cursor: pointer;
}
.nere-search-toggle svg { transition: transform .25s ease; }
.nere-search-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.nere-search-more {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin-top: 14px;
	padding-top: 16px;
	border-top: 1px dashed var(--nere-line);
	animation: nere-slide .3s ease;
}
@keyframes nere-slide {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

/* =========================================================
   PROPERTY GRID + CARDS
   ========================================================= */
.nere-grid-props {
	display: grid;
	gap: 26px;
	margin: 0 0 34px;
}
.nere-cols-1 { grid-template-columns: 1fr; }
.nere-cols-2 { grid-template-columns: repeat(2, 1fr); }
.nere-cols-3 { grid-template-columns: repeat(3, 1fr); }
.nere-cols-4 { grid-template-columns: repeat(4, 1fr); }

.nere-card {
	background: #fff;
	border: 1px solid var(--nere-line);
	border-radius: var(--nere-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--nere-shadow);
	transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.nere-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--nere-shadow-lg);
	border-color: rgba(188,157,103,.5);
}

.nere-card-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--nere-bg);
}
.nere-card-media img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.nere-card:hover .nere-card-media img { transform: scale(1.06); }
.nere-card-media::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(48,67,91,.78) 0%, rgba(48,67,91,.12) 42%, transparent 70%);
}

.nere-card-badges {
	position: absolute; top: 12px; left: 12px;
	display: flex; flex-wrap: wrap; gap: 6px;
	z-index: 2;
}
.nere-badge {
	display: inline-block;
	padding: 5px 11px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .5px;
	text-transform: uppercase;
	line-height: 1;
}
.nere-badge-gold { background: var(--nere-gold); color: #fff; }
.nere-badge-navy { background: rgba(255,255,255,.94); color: var(--nere-navy); }
.nere-badge-green { background: var(--nere-green); color: #fff; }
.nere-badge-muted { background: rgba(26,26,26,.72); color: #fff; }

.nere-card-price {
	position: absolute; bottom: 13px; left: 14px;
	z-index: 2;
	color: #fff;
	font-size: 21px;
	font-weight: 900;
	letter-spacing: -.3px;
	text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.nere-price-suffix { font-size: 13px; font-weight: 600; opacity: .85; }

.nere-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.nere-card-cat {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: var(--nere-gold-dark);
	margin-bottom: 7px;
}
.nere-card-title { margin: 0 0 8px; font-size: 18px; font-weight: 800; line-height: 1.35; }
.nere-card-title a { color: var(--nere-navy); text-decoration: none; transition: color .2s ease; }
.nere-card-title a:hover { color: var(--nere-gold-dark); }

.nere-card-loc {
	display: flex; align-items: center; gap: 6px;
	margin: 0 0 10px;
	font-size: 13.5px;
	color: var(--nere-muted);
}
.nere-card-loc svg { color: var(--nere-gold); flex-shrink: 0; }

.nere-card-desc {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--nere-muted);
}

.nere-card-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.nere-pill {
	display: inline-block;
	padding: 5px 11px;
	border-radius: 20px;
	background: var(--nere-navy-soft);
	color: var(--nere-navy);
	font-size: 12px;
	font-weight: 700;
}
.nere-pill-lg { padding: 8px 15px; font-size: 13.5px; background: var(--nere-gold-soft); color: var(--nere-navy); }

.nere-card-foot {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--nere-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.nere-card-area {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13.5px; font-weight: 700; color: var(--nere-navy);
}
.nere-card-area svg { color: var(--nere-gold); }
.nere-card-link {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 13.5px; font-weight: 800;
	color: var(--nere-gold-dark);
	text-decoration: none;
}
.nere-card-link svg { transition: transform .22s ease; }
.nere-card-link:hover { color: var(--nere-navy); }
.nere-card-link:hover svg { transform: translateX(4px); }

/* =========================================================
   EMPTY STATE
   ========================================================= */
.nere-empty {
	text-align: center;
	padding: 60px 26px;
	background: #fff;
	border: 1px dashed var(--nere-line);
	border-radius: var(--nere-radius);
	margin: 0 0 34px;
}
.nere-empty-icon { color: var(--nere-gold); opacity: .55; margin-bottom: 14px; }
.nere-empty h3 { margin: 0 0 10px; font-size: 22px; font-weight: 900; color: var(--nere-navy); }
.nere-empty p { max-width: 520px; margin: 0 auto 24px; color: var(--nere-muted); font-size: 15px; line-height: 1.65; }
.nere-empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   BROWSE BY LOCATION
   ========================================================= */
.nere-state-grid { display: grid; gap: 16px; margin-bottom: 34px; }
.nere-state-card {
	background: #fff;
	border: 1px solid var(--nere-line);
	border-radius: var(--nere-radius);
	overflow: hidden;
	box-shadow: var(--nere-shadow);
	transition: box-shadow .3s ease, border-color .3s ease;
}
.nere-state-card:hover { box-shadow: var(--nere-shadow-lg); border-color: rgba(188,157,103,.45); }
.nere-state-head {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 18px 20px;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	font-family: var(--nere-font);
}
.nere-state-name { font-size: 17px; font-weight: 800; color: var(--nere-navy); flex: 1; }
.nere-state-meta { font-size: 12.5px; font-weight: 700; color: var(--nere-gold-dark); }
.nere-state-arrow { color: var(--nere-muted); transition: transform .28s ease; flex-shrink: 0; }
.nere-state-head[aria-expanded="true"] .nere-state-arrow { transform: rotate(180deg); }
.nere-state-body { padding: 0 20px 18px; animation: nere-slide .3s ease; }
.nere-state-none { font-size: 14px; color: var(--nere-muted); margin: 0; }

.nere-loc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nere-loc-chip {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 8px 14px;
	border-radius: 22px;
	background: var(--nere-bg);
	border: 1px solid transparent;
	color: var(--nere-navy);
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .22s ease, border-color .22s ease, transform .18s ease;
}
.nere-loc-chip:hover {
	background: var(--nere-gold-soft);
	border-color: var(--nere-gold);
	color: var(--nere-navy);
	transform: translateY(-2px);
}
.nere-loc-chip em {
	font-style: normal;
	font-size: 11px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 12px;
	background: var(--nere-navy);
	color: #fff;
}
.nere-loc-chip:hover em { background: var(--nere-gold); }

/* =========================================================
   CATEGORY CARDS
   ========================================================= */
.nere-cat-grid { display: grid; gap: 18px; margin-bottom: 34px; }
.nere-cat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 26px 22px;
	background: #fff;
	border: 1px solid var(--nere-line);
	border-radius: var(--nere-radius);
	text-decoration: none;
	overflow: hidden;
	box-shadow: var(--nere-shadow);
	transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.nere-cat-card::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(135deg, rgba(188,157,103,.10), transparent 60%);
	opacity: 0;
	transition: opacity .3s ease;
}
.nere-cat-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--nere-shadow-lg);
	border-color: var(--nere-gold);
}
.nere-cat-card:hover::before { opacity: 1; }
.nere-cat-icon {
	position: relative;
	display: inline-flex;
	align-items: center; justify-content: center;
	width: 52px; height: 52px;
	border-radius: 13px;
	background: var(--nere-gold-soft);
	color: var(--nere-gold-dark);
	transition: background-color .3s ease, color .3s ease;
}
.nere-cat-card:hover .nere-cat-icon { background: var(--nere-gold); color: #fff; }
.nere-cat-name { position: relative; font-size: 17px; font-weight: 800; color: var(--nere-navy); }
.nere-cat-desc { position: relative; font-size: 13.5px; color: var(--nere-muted); line-height: 1.55; }
.nere-cat-count { position: relative; margin-top: auto; padding-top: 8px; font-size: 12px; font-weight: 800; color: var(--nere-gold-dark); text-transform: uppercase; letter-spacing: .6px; }

/* =========================================================
   ARCHIVE
   ========================================================= */
.nere-archive { max-width: 1200px; margin: 0 auto; padding: 34px 20px 60px; }
.nere-archive-head { margin-bottom: 24px; }
.nere-archive-title {
	margin: 8px 0 8px;
	font-size: clamp(27px, 4.2vw, 40px);
	font-weight: 900;
	letter-spacing: -.7px;
	color: var(--nere-navy);
	line-height: 1.15;
}
.nere-archive-sub { margin: 0 0 12px; font-size: 16px; color: var(--nere-muted); max-width: 680px; line-height: 1.6; }
.nere-archive-count {
	display: inline-block;
	margin: 0;
	padding: 6px 14px;
	border-radius: 20px;
	background: var(--nere-gold-soft);
	color: var(--nere-navy);
	font-size: 13.5px;
}
.nere-archive-count strong { color: var(--nere-gold-dark); }
.nere-archive-search { margin-bottom: 30px; }

.nere-crumbs {
	display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
	font-size: 13px; color: var(--nere-muted);
}
.nere-crumbs a { color: var(--nere-muted); text-decoration: none; transition: color .2s ease; }
.nere-crumbs a:hover { color: var(--nere-gold-dark); }
.nere-crumb-current { color: var(--nere-navy); font-weight: 700; }

.nere-pagination { display: flex; justify-content: center; gap: 6px; margin: 30px 0; flex-wrap: wrap; }
.nere-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--nere-line);
	border-radius: 9px;
	background: #fff;
	color: var(--nere-navy);
	font-weight: 700;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.nere-pagination .page-numbers:hover { border-color: var(--nere-gold); color: var(--nere-gold-dark); }
.nere-pagination .page-numbers.current { background: var(--nere-navy); border-color: var(--nere-navy); color: #fff; }

.nere-nearby { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--nere-line); }

/* =========================================================
   SINGLE PROPERTY
   ========================================================= */
.nere-single { max-width: 1200px; margin: 0 auto; padding: 26px 20px 80px; }
.nere-single-head { margin: 14px 0 20px; }
.nere-badges-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.nere-single-title {
	margin: 0 0 10px;
	font-size: clamp(25px, 4vw, 38px);
	font-weight: 900;
	letter-spacing: -.7px;
	line-height: 1.15;
	color: var(--nere-navy);
}
.nere-single-loc {
	display: flex; align-items: center; gap: 7px;
	margin: 0; font-size: 15.5px; color: var(--nere-muted);
}
.nere-single-loc svg { color: var(--nere-gold); flex-shrink: 0; }

/* Gallery */
.nere-gallery { margin-bottom: 32px; }

/* --- Desktop mosaic --- */
.nere-gallery-mosaic {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 8px;
	height: 460px;
	border-radius: var(--nere-radius);
	overflow: hidden;
	box-shadow: var(--nere-shadow-lg);
}
.nere-gm-item {
	position: relative;
	padding: 0;
	border: 0;
	overflow: hidden;
	background: var(--nere-bg);
	cursor: pointer;
	display: block;
}
.nere-gm-item img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s cubic-bezier(.22,.61,.36,1), filter .3s ease;
}
.nere-gm-item::after {
	content: "";
	position: absolute; inset: 0;
	background: rgba(48,67,91,0);
	transition: background-color .3s ease;
}
.nere-gm-item:hover img { transform: scale(1.06); }
.nere-gm-item:hover::after { background: rgba(48,67,91,.16); }
.nere-gm-item:focus-visible { outline: 3px solid var(--nere-gold); outline-offset: -3px; }
.nere-gm-hero { grid-column: 1 / 3; grid-row: 1 / 3; }

/* Fewer than 5 photos — keep the grid balanced instead of leaving holes. */
.nere-tiles-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.nere-tiles-1 .nere-gm-hero { grid-column: 1; grid-row: 1; }
.nere-tiles-2 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; }
.nere-tiles-2 .nere-gm-hero { grid-column: 1 / 3; grid-row: 1; }
.nere-tiles-3 { grid-template-columns: repeat(3, 1fr); }
.nere-tiles-3 .nere-gm-hero { grid-column: 1 / 3; grid-row: 1 / 3; }
.nere-tiles-4 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
.nere-tiles-4 .nere-gm-hero { grid-column: 1 / 3; grid-row: 1 / 4; }

.nere-gm-more {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: rgba(48,67,91,.72);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .3px;
	backdrop-filter: blur(2px);
	z-index: 2;
	transition: background-color .3s ease;
}
.nere-gm-item:hover .nere-gm-more { background: rgba(48,67,91,.82); }

.nere-gallery-count {
	position: absolute; right: 14px; bottom: 14px;
	z-index: 3;
	padding: 8px 15px;
	border-radius: 20px;
	background: rgba(26,26,26,.72);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	backdrop-filter: blur(4px);
	pointer-events: none;
}

/* --- Mobile stack (hidden on desktop) --- */
.nere-gallery-mobile { display: none; }
.nere-gallery-main {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: var(--nere-radius);
	overflow: hidden;
	background: var(--nere-bg);
	box-shadow: var(--nere-shadow-lg);
}
.nere-gallery-main img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	animation: nere-fade .4s ease;
}
@keyframes nere-fade { from { opacity: .4; } to { opacity: 1; } }
.nere-gallery-thumbs {
	display: flex; gap: 8px;
	margin-top: 10px;
	overflow-x: auto;
	padding-bottom: 4px;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
.nere-gal-thumb {
	flex: 0 0 92px;
	height: 66px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 9px;
	overflow: hidden;
	background: none;
	cursor: pointer;
	transition: border-color .22s ease, opacity .22s ease;
	opacity: .68;
}
.nere-gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nere-gal-thumb:hover, .nere-gal-thumb.is-active { border-color: var(--nere-gold); opacity: 1; }

/* --- Lightbox --- */
.nere-lightbox {
	position: fixed; inset: 0;
	z-index: 100000;
	display: flex; align-items: center; justify-content: center;
	background: rgba(14,19,26,.94);
	padding: 60px 70px;
	animation: nere-fade .22s ease;
}
.nere-lightbox[hidden] { display: none; }
.nere-lb-img {
	max-width: 100%; max-height: 100%;
	object-fit: contain;
	border-radius: 8px;
	animation: nere-pop .28s cubic-bezier(.22,.61,.36,1);
}
.nere-lb-close, .nere-lb-nav {
	position: absolute;
	display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px;
	border: 0; border-radius: 50%;
	background: rgba(255,255,255,.1);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s ease, transform .2s ease;
}
.nere-lb-close:hover, .nere-lb-nav:hover { background: rgba(255,255,255,.22); }
.nere-lb-close { top: 20px; right: 20px; }
.nere-lb-prev { left: 16px; }
.nere-lb-next { right: 16px; }
.nere-lb-nav:hover { transform: scale(1.06); }
.nere-lb-count {
	position: absolute; bottom: 22px; left: 50%;
	transform: translateX(-50%);
	padding: 7px 16px;
	border-radius: 20px;
	background: rgba(255,255,255,.12);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

/* Two-column */
.nere-single-cols {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 350px;
	gap: 38px;
	align-items: start;
}

.nere-block {
	background: #fff;
	border: 1px solid var(--nere-line);
	border-radius: var(--nere-radius);
	padding: 26px;
	margin-bottom: 20px;
}
.nere-block h2 {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 900;
	color: var(--nere-navy);
	letter-spacing: -.2px;
}
.nere-overview { margin: 0; font-size: 16px; line-height: 1.75; color: #333; }
.nere-content { font-size: 15.5px; line-height: 1.8; color: #333; }
.nere-content p:last-child { margin-bottom: 0; }

.nere-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; background: var(--nere-line); border-radius: 10px; overflow: hidden; }
.nere-spec { background: #fff; padding: 15px 17px; }
.nere-spec dt { font-size: 11.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--nere-muted); margin-bottom: 5px; }
.nere-spec dd { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--nere-navy); }

.nere-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.nere-features li {
	display: flex; align-items: center; gap: 9px;
	font-size: 14.5px; color: #333;
}
.nere-features svg { color: var(--nere-gold); flex-shrink: 0; }

.nere-landmarks { display: flex; flex-wrap: wrap; gap: 9px; }

.nere-videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.nere-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 11px;
	overflow: hidden;
	background: var(--nere-navy);
	cursor: pointer;
}
.nere-video img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease, opacity .3s ease; }
.nere-video:hover img { transform: scale(1.05); opacity: .82; }
.nere-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.nere-video-play {
	position: absolute; inset: 0;
	margin: auto;
	width: 74px; height: 74px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.nere-play-disc {
	position: relative;
	z-index: 2;
	display: flex; align-items: center; justify-content: center;
	width: 66px; height: 66px;
	border-radius: 50%;
	background: #fff;
	color: var(--nere-navy);
	box-shadow: 0 8px 26px rgba(0,0,0,.32);
	transition: transform .28s cubic-bezier(.34,1.56,.64,1), background-color .25s ease, color .25s ease;
}
.nere-play-disc svg { margin-left: 3px; }
.nere-play-pulse {
	position: absolute; inset: 0;
	margin: auto;
	width: 66px; height: 66px;
	border-radius: 50%;
	background: rgba(255,255,255,.42);
	animation: nere-pulse 2.2s cubic-bezier(.22,.61,.36,1) infinite;
}
@keyframes nere-pulse {
	0%   { transform: scale(1); opacity: .6; }
	70%  { transform: scale(1.7); opacity: 0; }
	100% { transform: scale(1.7); opacity: 0; }
}
.nere-video:hover .nere-play-disc {
	transform: scale(1.12);
	background: var(--nere-gold);
	color: #fff;
}
.nere-video-play:focus-visible .nere-play-disc { outline: 3px solid var(--nere-gold); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .nere-play-pulse { animation: none; opacity: 0; } }

.nere-map-embed { border-radius: 11px; overflow: hidden; border: 1px solid var(--nere-line); }
.nere-map-link { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--nere-gold-dark); text-decoration: none; }
.nere-map-link:hover { text-decoration: underline; }

/* Sidebar price box */
.nere-single-side { position: sticky; top: 24px; }
.nere-price-box {
	background: linear-gradient(160deg, var(--nere-navy) 0%, var(--nere-navy-dark) 100%);
	border-radius: var(--nere-radius);
	padding: 26px 24px;
	color: #fff;
	box-shadow: var(--nere-shadow-lg);
}
.nere-price-label {
	display: block;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--nere-gold);
	margin-bottom: 6px;
}
.nere-price-value {
	font-size: 33px;
	font-weight: 900;
	letter-spacing: -1px;
	line-height: 1.1;
	margin-bottom: 4px;
}
.nere-price-value .nere-price-suffix { font-size: 15px; }
.nere-price-area { display: block; font-size: 13.5px; color: rgba(255,255,255,.72); margin-bottom: 20px; }
.nere-price-box .nere-btn-gold { margin-bottom: 11px; }

.nere-contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.nere-contact-split .nere-btn { padding: 12px 10px; font-size: 14px; }
.nere-price-box .nere-btn-navy { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); }
.nere-price-box .nere-btn-navy:hover { background: rgba(255,255,255,.22); }

.nere-agent {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,.16);
	display: flex; flex-direction: column; gap: 4px;
}
.nere-agent-label { font-size: 11px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.nere-agent strong { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.nere-agent a { color: var(--nere-gold); font-size: 14px; text-decoration: none; }
.nere-agent a:hover { color: #fff; }
.nere-ref { margin: 16px 0 0; font-size: 11.5px; color: rgba(255,255,255,.42); letter-spacing: .5px; }

.nere-similar { margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--nere-line); }

/* =========================================================
   MODAL
   ========================================================= */
.nere-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.nere-modal[hidden] { display: none; }
.nere-modal-backdrop { position: absolute; inset: 0; background: rgba(26,33,45,.62); backdrop-filter: blur(3px); animation: nere-fade .25s ease; }
.nere-modal-box {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 18px;
	padding: 30px;
	box-shadow: 0 30px 70px rgba(0,0,0,.3);
	animation: nere-pop .3s cubic-bezier(.22,.61,.36,1);
}
@keyframes nere-pop { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: none; } }
.nere-modal-x {
	position: absolute; top: 16px; right: 16px;
	display: flex; align-items: center; justify-content: center;
	width: 32px; height: 32px;
	padding: 0;
	border: 0;
	background: none;
	color: #1A1A1A;
	cursor: pointer;
	opacity: .65;
	transition: opacity .2s ease, transform .2s ease;
}
.nere-modal-x:hover { opacity: 1; transform: rotate(90deg); }
.nere-modal-x:focus-visible { outline: 2px solid var(--nere-gold); outline-offset: 2px; border-radius: 4px; }
.nere-modal-box h3 { margin: 0 0 4px; font-size: 23px; font-weight: 900; color: var(--nere-navy); }
.nere-modal-sub { margin: 0 0 22px; font-size: 14px; color: var(--nere-muted); }

/* =========================================================
   FORMS
   ========================================================= */
.nere-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.nere-form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nere-form-field.nere-full { grid-column: 1 / -1; }
.nere-form-field label { font-size: 12.5px; font-weight: 800; color: var(--nere-navy); letter-spacing: .2px; }
.nere-form-field input,
.nere-form-field select,
.nere-form-field textarea {
	width: 100%;
	min-height: 48px;
	height: auto;
	padding: 12px 14px;
	border: 1px solid var(--nere-line);
	border-radius: 9px;
	background: #fff;
	font-family: var(--nere-font);
	font-size: 15px;
	line-height: 1.4;
	color: var(--nere-ink);
	transition: border-color .2s ease, box-shadow .2s ease;
}
.nere-form-field textarea { resize: vertical; line-height: 1.6; }
.nere-form-field input:focus,
.nere-form-field select:focus,
.nere-form-field textarea:focus {
	outline: none;
	border-color: var(--nere-gold);
	box-shadow: 0 0 0 3px rgba(188,157,103,.16);
}
.nere-form-field input.nere-invalid,
.nere-form-field select.nere-invalid,
.nere-form-field textarea.nere-invalid { border-color: #D14343; box-shadow: 0 0 0 3px rgba(209,67,67,.12); }
.nere-req { color: #D14343; }

.nere-visit-form { margin-top: 4px; }
.nere-visit-form .nere-btn { margin-top: 18px; }

.nere-submit-form { max-width: 860px; margin: 0 auto; }
.nere-form-section {
	background: #fff;
	border: 1px solid var(--nere-line);
	border-radius: var(--nere-radius);
	padding: 26px;
	margin-bottom: 18px;
	box-shadow: var(--nere-shadow);
}
.nere-form-section h3 {
	display: flex; align-items: center; gap: 11px;
	margin: 0 0 18px;
	font-size: 19px;
	font-weight: 900;
	color: var(--nere-navy);
}
.nere-step-num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: var(--nere-gold);
	color: #fff;
	font-size: 14px;
	font-weight: 900;
	flex-shrink: 0;
}
.nere-form-note { font-size: 13.5px; color: var(--nere-muted); margin: 0 0 14px; }
.nere-form-actions { text-align: center; padding: 8px 0 20px; }
.nere-form-actions .nere-form-note { margin: 12px 0 0; }

.nere-file-drop {
	position: relative;
	border: 2px dashed var(--nere-line);
	border-radius: 11px;
	padding: 26px 18px;
	text-align: center;
	transition: border-color .22s ease, background-color .22s ease;
}
.nere-file-drop.is-over, .nere-file-drop:hover { border-color: var(--nere-gold); background: var(--nere-gold-soft); }
.nere-file-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.nere-file-label { display: block; font-size: 14px; color: var(--nere-muted); }
.nere-file-count { display: block; margin-top: 7px; font-size: 13px; font-weight: 800; color: var(--nere-gold-dark); }

.nere-hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; width: 0 !important; }

.nere-form-msg { margin-top: 14px; font-size: 14.5px; line-height: 1.6; border-radius: 9px; }
.nere-form-msg:not(:empty) { padding: 13px 16px; }
.nere-form-msg.is-ok { background: #E8F6EE; color: #14663A; border: 1px solid #BEE5CE; }
.nere-form-msg.is-err { background: #FCEBEB; color: #8F2727; border: 1px solid #F3CFCF; }

.nere-notice {
	padding: 16px 20px;
	background: var(--nere-gold-soft);
	border: 1px solid var(--nere-gold);
	border-radius: 10px;
	color: var(--nere-navy);
	font-size: 15px;
}

/* Button spinner */
.nere-btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.nere-btn.is-loading::after {
	content: "";
	position: absolute; inset: 0; margin: auto;
	width: 19px; height: 19px;
	border: 2.5px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: nere-spin .7s linear infinite;
}
@keyframes nere-spin { to { transform: rotate(360deg); } }


/* ---------- Selects: own arrow, never clip the label ---------- */
.nere-form-field select,
.nere-search-field select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 40px;
	text-overflow: ellipsis;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2330435B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
	background-size: 15px 15px;
	cursor: pointer;
}
.nere-form-field select::-ms-expand,
.nere-search-field select::-ms-expand { display: none; }
.nere-form-field select option,
.nere-search-field select option { color: var(--nere-ink); padding: 8px; }
.nere-form-field textarea { min-height: 90px; }
.nere-form-field input[type="date"] { min-height: 48px; }


/* =========================================================
   MEMBER ACCOUNTS
   ========================================================= */
.nere-auth {
	max-width: 520px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--nere-line);
	border-radius: 18px;
	box-shadow: var(--nere-shadow-lg);
	padding: 34px 32px;
}
.nere-auth-head { text-align: center; margin-bottom: 24px; }
.nere-auth-head h2 {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 900;
	color: var(--nere-navy);
	letter-spacing: -.4px;
}
.nere-auth-head p { margin: 0; font-size: 14.5px; color: var(--nere-muted); line-height: 1.6; }

.nere-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	background: var(--nere-bg);
	border-radius: 11px;
	margin-bottom: 24px;
}
.nere-auth-tab {
	padding: 11px 10px;
	border: 0;
	border-radius: 8px;
	background: none;
	font-family: var(--nere-font);
	font-size: 14.5px;
	font-weight: 800;
	color: var(--nere-muted);
	cursor: pointer;
	transition: background-color .22s ease, color .22s ease, box-shadow .22s ease;
}
.nere-auth-tab.is-active {
	background: #fff;
	color: var(--nere-navy);
	box-shadow: 0 1px 5px rgba(48,67,91,.12);
}

.nere-auth-form { display: none; animation: nere-slide .28s ease; }
.nere-auth-form.is-active { display: block; }
.nere-auth-form .nere-btn { margin-top: 20px; }

.nere-auth-link {
	display: block;
	width: 100%;
	margin-top: 14px;
	padding: 4px;
	background: none;
	border: 0;
	font-family: var(--nere-font);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--nere-gold-dark);
	text-align: center;
	cursor: pointer;
	transition: color .2s ease;
}
.nere-auth-link:hover { color: var(--nere-navy); text-decoration: underline; }

.nere-pass-wrap { position: relative; }
.nere-pass-wrap input { padding-right: 46px; }
.nere-pass-eye {
	position: absolute; top: 50%; right: 8px;
	transform: translateY(-50%);
	display: flex; align-items: center; justify-content: center;
	width: 32px; height: 32px;
	border: 0; border-radius: 6px;
	background: none;
	color: var(--nere-muted);
	cursor: pointer;
	transition: color .2s ease;
}
.nere-pass-eye:hover { color: var(--nere-navy); }
.nere-pass-eye.is-on { color: var(--nere-gold-dark); }

.nere-otp-input {
	text-align: center;
	font-size: 26px !important;
	font-weight: 900;
	letter-spacing: 12px;
	padding-left: 12px !important;
}

/* Logged-in strip above the listing form */
.nere-memberbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	max-width: 860px;
	margin: 0 auto 20px;
	padding: 15px 20px;
	background: linear-gradient(140deg, var(--nere-navy) 0%, var(--nere-navy-dark) 100%);
	border-radius: var(--nere-radius);
	color: #fff;
}
.nere-memberbar-who { display: flex; align-items: center; gap: 13px; min-width: 0; }
.nere-memberbar-avatar {
	display: flex; align-items: center; justify-content: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	background: var(--nere-gold);
	color: #fff;
	font-size: 18px;
	font-weight: 900;
	flex-shrink: 0;
}
.nere-memberbar-who strong { display: block; font-size: 15.5px; font-weight: 800; }
.nere-memberbar-who span { display: block; font-size: 13px; color: rgba(255,255,255,.6); }
.nere-memberbar-meta { display: flex; align-items: center; gap: 14px; }
.nere-memberbar-count {
	padding: 5px 12px;
	border-radius: 20px;
	background: rgba(255,255,255,.12);
	font-size: 12.5px;
	font-weight: 700;
}
.nere-memberbar-out {
	color: var(--nere-gold);
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: none;
}
.nere-memberbar-out:hover { color: #fff; text-decoration: underline; }



/* =========================================================
   LINK UNDERLINES
   Many themes underline every <a> inside content. Nothing the
   plugin outputs should carry one — hover states included.
   ========================================================= */
[class^="nere-"] a,
[class*=" nere-"] a,
[class^="nere-"] a:link,
[class*=" nere-"] a:link,
[class^="nere-"] a:visited,
[class*=" nere-"] a:visited,
[class^="nere-"] a:hover,
[class*=" nere-"] a:hover,
[class^="nere-"] a:focus,
[class*=" nere-"] a:focus,
[class^="nere-"] a:active,
[class*=" nere-"] a:active {
	text-decoration: none !important;
	text-decoration-line: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}

/* Theme underline effects are often drawn as a pseudo-element. */
.nere-card-title a::before,  .nere-card-title a::after,
.nere-card-link::before,     .nere-card-link::after,
.nere-loc-chip::before,      .nere-loc-chip::after,
.nere-cat-card::after,
.nere-acc-btn::before,       .nere-acc-btn::after,
.nere-crumbs a::before,      .nere-crumbs a::after,
.nere-map-link::before,      .nere-map-link::after,
.nere-memberbar-out::before, .nere-memberbar-out::after,
.nere-acc-logout::before,    .nere-acc-logout::after {
	content: none !important;
	display: none !important;
}

/* A couple of places genuinely want an underline on hover — keep those. */
.nere-acc-note a:hover,
.nere-agent a:hover,
.nere-map-link:hover,
.nere-memberbar-out:hover,
.nere-acc-logout:hover,
.nere-edit-banner a:hover {
	text-decoration: underline !important;
	text-decoration-line: underline !important;
}

/* =========================================================
   ICON BUTTON SAFETY NET
   Themes commonly restyle every <button> — background, colour, and
   ::before/::after decorations. That paints over our icons. These rules
   strip that back for our icon-only buttons and lift the SVG above any
   leftover decoration.
   ========================================================= */
.nere-lb-close,
.nere-lb-nav,
.nere-modal-x,
.nere-video-play,
.nere-pass-eye,
.nere-gal-remove {
	-webkit-appearance: none !important;
	appearance: none !important;
	box-shadow: none !important;
	text-indent: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	overflow: visible !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	min-width: 0 !important;
	min-height: 0 !important;
}

/* Kill any decorative pseudo-element the theme layers on top. */
.nere-lb-close::before,  .nere-lb-close::after,
.nere-lb-nav::before,    .nere-lb-nav::after,
.nere-modal-x::before,   .nere-modal-x::after,
.nere-video-play::before,.nere-video-play::after,
.nere-pass-eye::before,  .nere-pass-eye::after,
.nere-gal-remove::before,.nere-gal-remove::after,
.nere-acc-avatar::before,.nere-acc-avatar::after,
.nere-memberbar-avatar::before, .nere-memberbar-avatar::after {
	content: none !important;
	display: none !important;
	background: none !important;
}

/* SVG always sits above whatever the theme drew. */
.nere-lb-close svg,
.nere-lb-nav svg,
.nere-modal-x svg,
.nere-video-play svg,
.nere-pass-eye svg,
.nere-gal-remove svg {
	position: relative !important;
	z-index: 5 !important;
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: none;
}

/* Lightbox controls — force our own look over the theme's button styling. */
.nere-lightbox .nere-lb-close,
.nere-lightbox .nere-lb-nav {
	background: rgba(255,255,255,.14) !important;
	border: 1px solid rgba(255,255,255,.3) !important;
	color: #fff !important;
	border-radius: 50% !important;
	padding: 0 !important;
}
.nere-lightbox .nere-lb-close:hover,
.nere-lightbox .nere-lb-nav:hover {
	background: rgba(255,255,255,.28) !important;
}
.nere-lightbox .nere-lb-close svg path,
.nere-lightbox .nere-lb-nav svg path {
	stroke: #fff !important;
	fill: none !important;
	stroke-width: 2.4 !important;
}

.nere-modal .nere-modal-x {
	background: none !important;
	border: 0 !important;
	color: #1A1A1A !important;
	padding: 0 !important;
}
.nere-modal .nere-modal-x svg path { stroke: #1A1A1A !important; fill: none !important; }

.nere-video-play { background: none !important; border: 0 !important; }
.nere-play-disc svg path { fill: var(--nere-navy) !important; stroke: none !important; }
.nere-video:hover .nere-play-disc svg path { fill: #fff !important; }

.nere-pass-eye { background: none !important; border: 0 !important; }
.nere-pass-eye svg path,
.nere-pass-eye svg circle { stroke: currentColor !important; fill: none !important; }

.nere-search-toggle svg path,
.nere-state-arrow path { stroke: currentColor !important; fill: none !important; }

.nere-btn svg path { stroke: currentColor; }
.nere-btn-wa svg path, .nere-mb-wa svg path { fill: currentColor !important; stroke: none !important; }

/* =========================================================
   AVATAR — centre the initials no matter what the theme does
   ========================================================= */
.nere-acc-avatar,
.nere-memberbar-avatar {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--nere-gold) !important;
	background-image: none !important;
	color: #fff !important;
	font-family: var(--nere-font) !important;
	font-weight: 900 !important;
	font-style: normal !important;
	line-height: 1 !important;
	letter-spacing: .5px !important;
	text-transform: uppercase !important;
	text-indent: 0 !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	flex: 0 0 auto !important;
	aspect-ratio: 1 / 1;
}
.nere-acc-avatar { width: 62px !important; height: 62px !important; font-size: 21px !important; }
.nere-memberbar-avatar { width: 44px !important; height: 44px !important; font-size: 15px !important; }

/* =========================================================
   MY ACCOUNT
   ========================================================= */
.nere-account { max-width: 940px; margin: 0 auto; }

.nere-acc-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 18px;
	padding: 26px 28px;
	background: linear-gradient(140deg, var(--nere-navy) 0%, var(--nere-navy-dark) 100%);
	border-radius: var(--nere-radius);
	color: #fff;
	margin-bottom: 18px;
}
.nere-acc-who { display: flex; align-items: center; gap: 16px; min-width: 0; }
.nere-acc-hi { display: block; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.nere-acc-id h2 { margin: 3px 0 3px; font-size: 25px; font-weight: 900; color: #fff; letter-spacing: -.4px; }
.nere-acc-phone { font-size: 13.5px; color: rgba(255,255,255,.68); }
.nere-acc-actions { display: flex; align-items: center; gap: 16px; }
.nere-acc-logout { color: rgba(255,255,255,.72); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.nere-acc-logout:hover { color: #fff; text-decoration: underline; }

.nere-acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.nere-acc-stat {
	background: #fff;
	border: 1px solid var(--nere-line);
	border-radius: var(--nere-radius);
	padding: 18px 20px;
	box-shadow: var(--nere-shadow);
}
.nere-acc-stat strong { display: block; font-size: 30px; font-weight: 900; color: var(--nere-navy); line-height: 1.1; }
.nere-acc-stat span { font-size: 13px; font-weight: 700; color: var(--nere-muted); }
.nere-stat-live strong { color: var(--nere-green); }
.nere-stat-wait strong { color: var(--nere-gold-dark); }

.nere-acc-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--nere-line); margin-bottom: 24px; overflow-x: auto; }
.nere-acc-tab {
	padding: 13px 20px;
	border: 0;
	background: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	font-family: var(--nere-font);
	font-size: 15px;
	font-weight: 800;
	color: var(--nere-muted);
	cursor: pointer;
	white-space: nowrap;
	transition: color .2s ease, border-color .2s ease;
}
.nere-acc-tab.is-active { color: var(--nere-navy); border-bottom-color: var(--nere-gold); }

.nere-acc-panel { display: none; animation: nere-slide .28s ease; }
.nere-acc-panel.is-active { display: block; }

.nere-acc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.nere-acc-filter {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 8px 15px;
	border: 1px solid var(--nere-line);
	border-radius: 22px;
	background: #fff;
	font-family: var(--nere-font);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--nere-navy);
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}
.nere-acc-filter em {
	font-style: normal;
	font-size: 11px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 12px;
	background: var(--nere-bg);
	color: var(--nere-muted);
}
.nere-acc-filter.is-active { background: var(--nere-navy); border-color: var(--nere-navy); color: #fff; }
.nere-acc-filter.is-active em { background: rgba(255,255,255,.18); color: #fff; }

.nere-acc-list { display: flex; flex-direction: column; gap: 14px; }
.nere-acc-item {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 14px;
	background: #fff;
	border: 1px solid var(--nere-line);
	border-radius: var(--nere-radius);
	box-shadow: var(--nere-shadow);
	transition: box-shadow .25s ease, border-color .25s ease;
}
.nere-acc-item:hover { box-shadow: var(--nere-shadow-lg); border-color: rgba(188,157,103,.45); }
.nere-acc-item[hidden] { display: none; }
.nere-acc-thumb { width: 132px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--nere-bg); }
.nere-acc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nere-acc-info { min-width: 0; }
.nere-acc-status {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .5px;
	text-transform: uppercase;
	margin-bottom: 7px;
}
.nere-status-live  { background: #E8F6EE; color: #14663A; }
.nere-status-wait  { background: var(--nere-gold-soft); color: #8A6A28; }
.nere-status-draft { background: var(--nere-bg); color: var(--nere-muted); }
.nere-acc-info h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; color: var(--nere-navy); line-height: 1.35; }
.nere-acc-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 6px; font-size: 13px; color: var(--nere-muted); }
.nere-acc-price { font-size: 18px; font-weight: 900; color: var(--nere-navy); }
.nere-acc-price .nere-price-suffix { font-size: 12px; }

.nere-acc-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.nere-acc-btn {
	padding: 8px 16px;
	border: 1px solid var(--nere-line);
	border-radius: 8px;
	background: #fff;
	font-family: var(--nere-font);
	font-size: 13px;
	font-weight: 800;
	color: var(--nere-navy);
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.nere-acc-btn:hover { border-color: var(--nere-gold); color: var(--nere-gold-dark); }
.nere-acc-btn-del:hover { border-color: #D14343; color: #D14343; background: #FCEBEB; }
.nere-acc-btn-edit { background: var(--nere-navy); border-color: var(--nere-navy); color: #fff; }
.nere-acc-btn-edit:hover { background: var(--nere-navy-dark); border-color: var(--nere-navy-dark); color: #fff; }

/* Edit-mode banner on the listing form */
.nere-edit-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 860px;
	margin: 0 auto 18px;
	padding: 15px 20px;
	background: var(--nere-gold-soft);
	border: 1px solid var(--nere-gold);
	border-radius: var(--nere-radius);
}
.nere-edit-banner strong { display: block; font-size: 15px; color: var(--nere-navy); }
.nere-edit-banner span { font-size: 13.5px; color: var(--nere-muted); }
.nere-edit-banner a { font-size: 13.5px; font-weight: 800; color: var(--nere-gold-dark); text-decoration: none; white-space: nowrap; }
.nere-edit-banner a:hover { text-decoration: underline; }

.nere-current-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.nere-current-photos img {
	width: 76px; height: 60px;
	object-fit: cover;
	border-radius: 7px;
	border: 1px solid var(--nere-line);
	display: block;
}
.nere-acc-hint { font-size: 12px; color: var(--nere-muted); text-align: right; max-width: 150px; line-height: 1.45; }
.nere-acc-note { margin-top: 18px; font-size: 13.5px; color: var(--nere-muted); }
.nere-acc-note a { color: var(--nere-gold-dark); font-weight: 700; }

.nere-acc-empty {
	text-align: center;
	padding: 56px 26px;
	background: #fff;
	border: 1px dashed var(--nere-line);
	border-radius: var(--nere-radius);
	color: var(--nere-muted);
}
.nere-acc-empty svg { color: var(--nere-gold); opacity: .5; margin-bottom: 12px; }
.nere-acc-empty h3 { margin: 0 0 8px; font-size: 21px; font-weight: 900; color: var(--nere-navy); }
.nere-acc-empty p { margin: 0 auto 22px; max-width: 380px; font-size: 15px; line-height: 1.6; }

.nere-acc-form {
	background: #fff;
	border: 1px solid var(--nere-line);
	border-radius: var(--nere-radius);
	padding: 26px;
	box-shadow: var(--nere-shadow);
	max-width: 620px;
}
.nere-acc-form .nere-btn { margin-top: 18px; }

.nere-memberbar-meta { display: flex; align-items: center; gap: 16px; }
.nere-memberbar-acc {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 7px 14px;
	border-radius: 20px;
	background: rgba(255,255,255,.13);
	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .2s ease;
}
.nere-memberbar-acc:hover { background: rgba(255,255,255,.24); }
.nere-memberbar-acc svg path { stroke: #fff !important; }

/* =========================================================
   EMI CALCULATOR
   ========================================================= */
.nere-emi-intro { margin: -6px 0 20px; font-size: 14.5px; color: var(--nere-muted); line-height: 1.65; }
.nere-emi-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.nere-emi-inputs { display: flex; flex-direction: column; gap: 20px; }
.nere-emi-field { display: flex; flex-direction: column; gap: 7px; }
.nere-emi-field > label {
	font-size: 12.5px;
	font-weight: 800;
	color: var(--nere-navy);
	letter-spacing: .2px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}
.nere-emi-field > label em {
	font-style: normal;
	font-size: 12px;
	font-weight: 700;
	color: var(--nere-gold-dark);
}
.nere-emi-input {
	display: flex;
	align-items: center;
	border: 1px solid var(--nere-line);
	border-radius: 9px;
	background: #fff;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.nere-emi-input:focus-within { border-color: var(--nere-gold); box-shadow: 0 0 0 3px rgba(188,157,103,.16); }
.nere-emi-cur, .nere-emi-unit {
	padding: 0 13px;
	font-size: 14px;
	font-weight: 800;
	color: var(--nere-muted);
	white-space: nowrap;
	flex-shrink: 0;
}
.nere-emi-cur { border-right: 1px solid var(--nere-line); align-self: stretch; display: flex; align-items: center; }
.nere-emi-unit { border-left: 1px solid var(--nere-line); align-self: stretch; display: flex; align-items: center; }
.nere-emi-input input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 12px 14px;
	border: 0;
	background: none;
	font-family: var(--nere-font);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--nere-ink);
}
.nere-emi-input input:focus { outline: none; }
.nere-emi-hint { font-size: 12.5px; color: var(--nere-muted); line-height: 1.5; }

.nere-emi-range {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 5px;
	border-radius: 5px;
	background: var(--nere-navy-soft);
	cursor: pointer;
	margin-top: 2px;
}
.nere-emi-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--nere-gold);
	border: 3px solid #fff;
	box-shadow: 0 1px 5px rgba(48,67,91,.3);
	cursor: pointer;
}
.nere-emi-range::-moz-range-thumb {
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--nere-gold);
	border: 3px solid #fff;
	box-shadow: 0 1px 5px rgba(48,67,91,.3);
	cursor: pointer;
}

.nere-emi-result {
	background: linear-gradient(160deg, var(--nere-navy) 0%, var(--nere-navy-dark) 100%);
	border-radius: var(--nere-radius);
	padding: 24px 22px;
	color: #fff;
	position: sticky;
	top: 24px;
}
.nere-emi-result-label {
	display: block;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--nere-gold);
	margin-bottom: 6px;
}
.nere-emi-amount {
	font-size: 32px;
	font-weight: 900;
	letter-spacing: -1px;
	line-height: 1.15;
	margin-bottom: 18px;
	transition: opacity .18s ease;
}
.nere-emi-amount.is-updating { opacity: .45; }
.nere-emi-amount small { font-size: 14px; font-weight: 700; opacity: .7; letter-spacing: 0; }

.nere-emi-bar { display: flex; height: 8px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.12); margin-bottom: 10px; }
.nere-emi-bar span { display: block; height: 100%; transition: width .35s cubic-bezier(.22,.61,.36,1); }
.nere-emi-bar-principal { background: var(--nere-gold); }
.nere-emi-bar-interest { background: rgba(255,255,255,.34); }
.nere-emi-legend { display: flex; gap: 16px; font-size: 12px; color: rgba(255,255,255,.72); margin-bottom: 18px; }
.nere-emi-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }
.nere-dot-p { background: var(--nere-gold); }
.nere-dot-i { background: rgba(255,255,255,.34); }

.nere-emi-breakdown { margin: 0 0 18px; padding: 0; }
.nere-emi-breakdown div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(255,255,255,.11);
}
.nere-emi-breakdown div:last-child { border-bottom: 0; }
.nere-emi-breakdown dt { font-size: 13px; color: rgba(255,255,255,.68); margin: 0; }
.nere-emi-breakdown dd { margin: 0; font-size: 14.5px; font-weight: 800; text-align: right; }
.nere-emi-disclaimer { margin: 12px 0 0; font-size: 11.5px; line-height: 1.55; color: rgba(255,255,255,.5); }

/* =========================================================
   MOBILE STICKY BAR
   ========================================================= */
.nere-mobilebar {
	display: none;
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 9998;
	align-items: center;
	gap: 9px;
	padding: 10px 14px;
	background: #fff;
	border-top: 1px solid var(--nere-line);
	box-shadow: 0 -6px 22px rgba(48,67,91,.12);
}
.nere-mobilebar-price { flex: 1; font-size: 18px; font-weight: 900; color: var(--nere-navy); }
.nere-mobilebar-price .nere-price-suffix { font-size: 12px; }
.nere-mb-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px;
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
	flex-shrink: 0;
}
.nere-mb-call { background: var(--nere-navy); }
.nere-mb-wa { background: var(--nere-wa); }
.nere-mb-visit {
	padding: 0 16px; height: 44px;
	border: 0; border-radius: 10px;
	background: var(--nere-gold);
	color: #fff;
	font-family: var(--nere-font);
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	flex-shrink: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
	.nere-gallery-mosaic { height: 380px; }
	.nere-single-cols { grid-template-columns: 1fr; }
	.nere-single-side { position: static; }
	.nere-search-row { grid-template-columns: repeat(2, 1fr); }
	.nere-search-submit { grid-column: 1 / -1; }
	.nere-search-submit .nere-btn { width: 100%; }
	.nere-search-more { grid-template-columns: repeat(3, 1fr); }
	.nere-cols-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 782px) {
	.nere-cols-3, .nere-cols-4 { grid-template-columns: repeat(2, 1fr); }
	.nere-state-grid.nere-cols-2,
	.nere-state-grid.nere-cols-3,
	.nere-state-grid.nere-cols-4,
	.nere-cat-grid.nere-cols-3,
	.nere-cat-grid.nere-cols-4 { grid-template-columns: repeat(2, 1fr); }
	.nere-videos { grid-template-columns: 1fr; }
	.nere-emi-body { grid-template-columns: 1fr; }
	.nere-emi-result { position: static; }
	.nere-acc-stats { grid-template-columns: repeat(3, 1fr); }
	.nere-mobilebar { display: flex; }
	.nere-single { padding-bottom: 90px; }
	/* Mobile keeps the main-image + thumb-strip gallery. */
	.nere-gallery-mosaic { display: none; }
	.nere-gallery-mobile { display: block; }
	.nere-lightbox { padding: 56px 14px; }
	.nere-lb-prev { left: 8px; }
	.nere-lb-next { right: 8px; }
	.nere-lb-close, .nere-lb-nav { width: 42px; height: 42px; }
}

@media (max-width: 600px) {
	.nere-grid-props { gap: 18px; }
	.nere-cols-2, .nere-cols-3, .nere-cols-4 { grid-template-columns: 1fr; }
	.nere-state-grid.nere-cols-2,
	.nere-state-grid.nere-cols-3,
	.nere-state-grid.nere-cols-4,
	.nere-cat-grid.nere-cols-2,
	.nere-cat-grid.nere-cols-3,
	.nere-cat-grid.nere-cols-4 { grid-template-columns: 1fr; }
	.nere-search-row { grid-template-columns: 1fr; }
	.nere-search-more { grid-template-columns: 1fr; }
	.nere-form-grid { grid-template-columns: 1fr; }
	.nere-specs { grid-template-columns: 1fr; }
	.nere-features { grid-template-columns: 1fr; }
	.nere-block { padding: 20px; }
	.nere-modal-box { padding: 24px 20px; }
	.nere-archive, .nere-single { padding-left: 15px; padding-right: 15px; }
	.nere-mobilebar-price { font-size: 16px; }
	.nere-mb-visit { padding: 0 12px; font-size: 13px; }
	.nere-auth { padding: 26px 20px; border-radius: 14px; }
	.nere-acc-head { padding: 20px; flex-direction: column; align-items: flex-start; }
	.nere-acc-actions { width: 100%; justify-content: space-between; }
	.nere-acc-stats { grid-template-columns: 1fr; gap: 10px; }
	.nere-acc-stat { display: flex; align-items: baseline; gap: 12px; padding: 14px 18px; }
	.nere-acc-stat strong { font-size: 24px; }
	.nere-acc-item { grid-template-columns: 1fr; gap: 12px; }
	.nere-acc-thumb { width: 100%; height: 170px; }
	.nere-acc-item-actions { flex-direction: row; align-items: center; justify-content: space-between; }
	.nere-acc-hint { text-align: left; max-width: none; }
	.nere-acc-form { padding: 20px; }
	.nere-emi-amount { font-size: 28px; }
	.nere-auth-head h2 { font-size: 22px; }
	.nere-memberbar { padding: 14px 16px; }
	.nere-otp-input { font-size: 22px !important; letter-spacing: 8px; }
}

/* =========================================================
   BUYER / SELLER ACCOUNT TYPE PICKER (registration)
   ========================================================= */
.nere-typepick {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.nere-typepick-opt { cursor: pointer; margin: 0; }
.nere-typepick-opt input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}
.nere-typepick-box {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 3px;
	padding: 14px 15px;
	border: 1.5px solid var(--nere-line);
	border-radius: var(--nere-radius);
	background: #fff;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
	height: 100%;
}
.nere-typepick-box svg { color: var(--nere-muted); margin-bottom: 3px; transition: color .18s ease; }
.nere-typepick-box strong { font-size: 15px; font-weight: 800; color: var(--nere-navy); }
.nere-typepick-box em { font-style: normal; font-size: 12px; color: var(--nere-muted); line-height: 1.4; }

.nere-typepick-opt:hover .nere-typepick-box { border-color: var(--nere-gold); }
.nere-typepick-opt input:checked + .nere-typepick-box {
	border-color: var(--nere-gold);
	background: var(--nere-gold-soft);
	box-shadow: 0 0 0 3px rgba(188,157,103,.15);
}
.nere-typepick-opt input:checked + .nere-typepick-box svg { color: var(--nere-gold-dark); }
.nere-typepick-opt input:focus-visible + .nere-typepick-box {
	outline: 2px solid var(--nere-gold);
	outline-offset: 2px;
}

@media (max-width: 480px) {
	.nere-typepick { grid-template-columns: 1fr; }
}

/* =========================================================
   BUYER DASHBOARD
   ========================================================= */
.nere-acc-badge {
	display: inline-block;
	margin-top: 4px;
	padding: 3px 10px;
	border-radius: 20px;
	background: var(--nere-gold-soft);
	border: 1px solid rgba(188,157,103,.4);
	color: var(--nere-gold-dark);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .3px;
	text-transform: uppercase;
}

.nere-acc-headactions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.nere-acc-item-thumb {
	display: block;
	width: 110px;
	flex-shrink: 0;
	border-radius: 10px;
	overflow: hidden;
	line-height: 0;
}
.nere-acc-item-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.nere-acc-item-lines {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin-top: 4px;
}
.nere-acc-item-lines span { font-size: 12.5px; color: var(--nere-muted); }

.nere-acc-item-msg {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--nere-muted);
	padding: 8px 11px;
	background: #F7F8FA;
	border-radius: 8px;
}

.nere-acc-item-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .3px;
	text-transform: uppercase;
	margin-bottom: 6px;
	background: #EEF1F5;
	color: #5B6674;
}
.nere-acc-status-new { background: var(--nere-gold-soft); color: var(--nere-gold-dark); }
.nere-acc-status-contacted { background: #E4F3EA; color: #1E7B45; }
.nere-acc-status-closed { background: #EEF1F5; color: #8A93A0; }

.nere-acc-btn-wa {
	background: #25D366;
	border-color: #25D366;
	color: #fff;
}
.nere-acc-btn-wa:hover { background: #1DAA52; border-color: #1DAA52; color: #fff; }

@media (max-width: 560px) {
	.nere-acc-item-thumb { width: 100%; }
	.nere-acc-headactions { width: 100%; justify-content: space-between; }
}

/* =========================================================
   BUYER DASHBOARD HEADER — name/phone legibility
   The buyer header uses its own markup (.nere-acc-user /
   .nere-acc-meta), so it needs its own rules. Forced with
   !important because themes commonly restyle headings and
   spans inside coloured panels, which washed the name out.
   ========================================================= */
.nere-acc-user { display: flex; align-items: center; gap: 16px; min-width: 0; }
.nere-acc-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.nere-acc-name {
	display: block !important;
	font-size: 24px !important;
	font-weight: 900 !important;
	color: #fff !important;
	letter-spacing: -.4px !important;
	line-height: 1.2 !important;
	opacity: 1 !important;
}
.nere-acc-meta .nere-acc-phone {
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: rgba(255,255,255,.82) !important;
	opacity: 1 !important;
}
.nere-acc-meta .nere-acc-badge {
	align-self: flex-start;
	background: rgba(255,255,255,.14) !important;
	border-color: rgba(255,255,255,.3) !important;
	color: #fff !important;
}

/* "Browse properties" ghost button sat almost invisible on the navy panel. */
.nere-acc-headactions .nere-btn-ghost {
	border-color: rgba(255,255,255,.45) !important;
	color: #fff !important;
	background: transparent !important;
}
.nere-acc-headactions .nere-btn-ghost:hover {
	background: rgba(255,255,255,.12) !important;
	border-color: #fff !important;
	color: #fff !important;
}
.nere-acc-headactions .nere-acc-logout { color: rgba(255,255,255,.85) !important; }
.nere-acc-headactions .nere-acc-logout:hover { color: #fff !important; }

/* =========================================================
   TABBED SEARCH + LIVE RESULTS  [ne_search_tabs]
   ========================================================= */
.nest, .nest * { box-sizing: border-box; }
.nest {
	--nest-green: #202e3f;       /* main website theme */
	--nest-green-dark: #202e3f;  /* hover keeps the same colour */
	--nest-cream: #EFEFE6;
	--nest-line: #E2E5DC;
	font-family: var(--nere-font, 'Lato', sans-serif);
}

/* ---------- Panel ---------- */
.nest-panel {
	background: var(--nest-cream);
	border-radius: 4px;
	padding: 12px;
	box-shadow: 0 20px 50px rgba(20,30,22,.14);
	max-width: 900px;
	margin: 0 auto;
}

/* ---------- Tabs ---------- */
.nest-tabs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 2px;
	background: transparent;
	border-radius: 4px;
	margin-bottom: 12px;
}
.nest-tab {
	appearance: none;
	border: 0;
	background: transparent;
	padding: 13px 8px;
	border-radius: 4px;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 700;
	color: #4A5A4E;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.nest-tab:hover { color: var(--nest-green); }
.nest-tab.is-active {
	background: #fff;
	color: #1B2A1F;
	font-weight: 800;
	box-shadow: 0 2px 8px rgba(20,30,22,.1);
}

/* ---------- Desktop filter row ---------- */
.nest-row {
	display: grid;
	grid-template-columns: minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) auto;
	gap: 10px;
	align-items: center;
}

.nest-field {
	position: relative;
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 4px;
	padding: 0 16px;
	height: 54px;
}
.nest-field[hidden] { display: none; }
.nest-field > svg { color: #202e3f; flex-shrink: 0; margin-right: 8px; }

.nest-field input,
.nest-field select {
	width: 100% !important;
	border: 0 !important;
	background: transparent !important;
	font-family: inherit !important;
	font-size: 14.5px !important;
	color: #1B2A1F !important;
	padding: 0 !important;
	height: 100% !important;
	box-shadow: none !important;
	outline: none !important;
	min-height: 0 !important;
}
.nest-field input::placeholder { color: #8B978F; }

.nest-field select {
	appearance: none !important;
	-webkit-appearance: none !important;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%237C8A80' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right center !important;
	background-size: 13px !important;
	padding-right: 22px !important;
	text-overflow: ellipsis;
}

.nest-search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 54px;
	padding: 0 30px;
	border: 0;
	border-radius: 4px;
	background: var(--nest-green);
	color: #fff !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .2s ease, transform .2s ease;
}
.nest-search:hover { background: var(--nest-green-dark); color: #fff !important; transform: translateY(-1px); }

/* Mobile-only trigger */
.nest-mobile-filters {
	display: none;
	width: 100%;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 52px;
	margin-top: 10px;
	border: 0;
	border-radius: 4px;
	background: #fff;
	color: #1B2A1F;
	font-family: inherit;
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
}

/* ---------- Popular chips ---------- */
.nest-popular {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px 6px 4px;
}
.nest-popular-label { font-size: 13px; color: #6B7A70; font-weight: 700; }
.nest-chip {
	appearance: none;
	border: 1px solid var(--nest-line);
	background: #fff;
	border-radius: 4px;
	padding: 7px 15px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: #3E4F44;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.nest-chip:hover { background: var(--nest-green); border-color: var(--nest-green); color: #fff; }

/* ---------- Results ---------- */
.nest-results { max-width: 1240px; margin: 56px auto 0; padding: 0 4px; }
.nest-results-head { position: relative; margin-bottom: 26px; }
.nest-eyebrow {
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #6B7A70;
	margin-bottom: 8px;
}
.nest-results-title {
	margin: 0 0 6px;
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 900;
	letter-spacing: -.6px;
	color: #16241A;
}
.nest-results-sub { margin: 0; font-size: 15px; color: #6B7A70; }

.nest-viewall {
	position: absolute;
	right: 0; bottom: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 30px;
	border: 1px solid var(--nest-line);
	background: #fff;
	color: #16241A;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none !important;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.nest-viewall:hover { background: var(--nest-green); border-color: var(--nest-green); color: #fff; }

.nest-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	transition: opacity .2s ease;
}
.nest-grid.is-loading { opacity: .45; pointer-events: none; }

.nest-empty {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 44px 24px;
	text-align: center;
	background: #FAFAF8;
	border: 1px dashed var(--nest-line);
	border-radius: 16px;
}
.nest-empty strong { font-size: 16px; color: #16241A; font-weight: 800; }
.nest-empty span { font-size: 14px; color: #6B7A70; }

/* ---------- Mobile filter sheet ---------- */
.nest-sheet { position: fixed; inset: 0; z-index: 9999; }
.nest-sheet[hidden] { display: none; }
.nest-sheet-backdrop {
	position: absolute; inset: 0;
	background: rgba(16,22,18,.5);
	opacity: 0;
	transition: opacity .3s ease;
}
.nest-sheet.is-open .nest-sheet-backdrop { opacity: 1; }

.nest-sheet-body {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	background: #fff;
	border-radius: 22px 22px 0 0;
	padding: 14px 22px 28px;
	transform: translateY(100%);
	transition: transform .32s cubic-bezier(.22,.61,.36,1);
	max-height: 85vh;
	overflow-y: auto;
}
.nest-sheet.is-open .nest-sheet-body { transform: translateY(0); }

.nest-sheet-grab {
	display: block;
	width: 44px; height: 4px;
	margin: 0 auto 14px;
	border-radius: 4px;
	background: #DDE2DA;
}
.nest-sheet-x {
	position: absolute;
	top: 16px; right: 18px;
	width: 34px; height: 34px;
	display: flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%;
	background: #F1F3EF !important;
	color: #1B2A1F !important;
	cursor: pointer;
	padding: 0 !important;
}
.nest-sheet-x svg path { stroke: #1B2A1F !important; }

.nest-sheet-title { margin: 0 0 4px; font-size: 21px; font-weight: 900; color: #16241A; text-align: center; }
.nest-sheet-sub { margin: 0 0 22px; font-size: 14px; color: #6B7A70; text-align: center; }

.nest-sheet-field { margin-bottom: 18px; }
.nest-sheet-field[hidden] { display: none; }
.nest-sheet-field label {
	display: block;
	font-size: 15px;
	font-weight: 800;
	color: #16241A;
	margin-bottom: 9px;
}
.nest-sheet-field select {
	width: 100% !important;
	height: 54px !important;
	padding: 0 42px 0 16px !important;
	border: 1px solid var(--nest-line) !important;
	border-radius: 4px !important;
	background: #fff !important;
	font-family: inherit !important;
	font-size: 15px !important;
	color: #1B2A1F !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%237C8A80' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 16px center !important;
	background-size: 14px !important;
	box-sizing: border-box !important;
}

.nest-sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.nest-sheet-clear, .nest-sheet-apply {
	height: 54px;
	border-radius: 4px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	border: 1px solid var(--nest-line);
}
.nest-sheet-clear { background: #fff; color: #16241A; }
.nest-sheet-apply { background: var(--nest-green); border-color: var(--nest-green); color: #fff !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.nest-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	.nest-panel { border-radius: 4px; padding: 10px; }
	.nest-tabs { grid-template-columns: repeat(5, 1fr); gap: 0; }
	.nest-tab { font-size: 12.5px; padding: 11px 4px; }

	/* Collapse to: locality + one filters button + search */
	.nest-row { grid-template-columns: 1fr; gap: 8px; }
	.nest-field-type, .nest-field-budget { display: none; }
	.nest-mobile-filters { display: flex; }
	.nest-search { width: 100%; }

	.nest-popular { display: none; }

	.nest-results { margin-top: 40px; }
	.nest-results-head { margin-bottom: 20px; }
	.nest-viewall { position: static; margin-top: 14px; display: inline-flex; }
}

@media (max-width: 560px) {
	.nest-grid { grid-template-columns: 1fr; gap: 16px; }
	.nest-tab { font-size: 11.5px; padding: 10px 2px; }
	.nest-sheet-actions { grid-template-columns: 1fr; }
}

/* =========================================================
   HERO BAND FOR [ne_search_tabs]
   Pure presentation — the panel, tabs, filters and results
   markup below it are untouched.
   ========================================================= */
.nest-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #202e3f;                       /* fallback if the photo is missing */
	padding: clamp(34px, 6.5vh, 78px) 22px clamp(30px, 5vh, 62px);
	min-height: clamp(470px, 76vh, 760px);     /* leaves the listings peeking below */
}

/* Full-bleed out of the Elementor container so the photo runs edge to edge */
.nest-hero.is-bleed {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.nest-hero-img {
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: center 58%;
}

.nest-hero-scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(12,20,28,.74) 0%, rgba(12,20,28,.40) 34%, rgba(12,20,28,.52) 64%, rgba(12,20,28,.80) 100%),
		radial-gradient(120% 95% at 50% 26%, rgba(32,46,63,.16) 0%, rgba(32,46,63,.58) 100%);
}

.nest-hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1020px;
	margin: 0 auto;
}

/* ---------- Copy ---------- */
.nest-hero-copy {
	max-width: 780px;
	margin: 0 auto clamp(22px, 3.4vh, 36px);
	text-align: center;
}

.nest-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 15px 7px 13px;
	margin-bottom: clamp(12px, 1.8vh, 18px);
	border-radius: 999px;
	background: rgba(255,255,255,.13);
	border: 1px solid rgba(255,255,255,.32);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 11.5px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}
.nest-hero-badge svg { color: #BC9D67; flex-shrink: 0; }

.nest-hero-title {
	margin: 0 0 clamp(10px, 1.6vh, 16px);
	color: #fff !important;
	font-family: inherit;
	font-size: clamp(28px, 4.4vw, 52px);
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: -.8px;
	text-shadow: 0 2px 26px rgba(0,0,0,.34);
}

.nest-hero-sub {
	margin: 0 auto;
	max-width: 640px;
	color: rgba(255,255,255,.92);
	font-size: clamp(14px, 1.35vw, 17.5px);
	line-height: 1.55;
	text-shadow: 0 1px 14px rgba(0,0,0,.32);
}

.nest-hero-feats {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 26px;
	margin: clamp(14px, 2vh, 22px) 0 0;
	padding: 0;
}
.nest-hero-feat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #fff;
	font-size: clamp(12.5px, 1.05vw, 15px);
	font-weight: 700;
	list-style: none;
}
.nest-hero-feat svg { color: #BC9D67; flex-shrink: 0; }

/* ---------- Panel sitting on the photo ---------- */
.nest-hero .nest-panel {
	max-width: 940px;
	padding: 14px;
	border-radius: 10px;
	background: rgba(243,243,238,.96);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 26px 60px rgba(9,16,22,.42);
}
.nest-hero .nest-tabs {
	background: rgba(32,46,63,.06);
	padding: 4px;
	border-radius: 8px;
}
.nest-hero .nest-field,
.nest-hero .nest-search,
.nest-hero .nest-mobile-filters { border-radius: 6px; }

/* ---------- Listings below the hero ---------- */
.nest-has-hero .nest-results {
	margin: clamp(32px, 5vh, 56px) auto 0;
	padding: 0 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.nest-hero {
		align-items: flex-start;
		min-height: 0;
		padding: clamp(22px, 3.4vh, 34px) 16px clamp(22px, 3vh, 32px);
	}
	.nest-hero-copy { margin-bottom: 18px; }
	.nest-hero-title { font-size: clamp(25px, 6.6vw, 33px); letter-spacing: -.4px; }
	.nest-hero-sub { font-size: 14px; line-height: 1.5; max-width: 470px; }
	.nest-hero-feats { gap: 8px 16px; margin-top: 12px; }
	.nest-hero-feat { font-size: 12.5px; gap: 6px; }
	.nest-hero-feat svg { width: 14px; height: 14px; }
	.nest-hero .nest-panel { padding: 10px; border-radius: 8px; }
	.nest-has-hero .nest-results { margin-top: 28px; padding: 0 14px; }
}

@media (max-width: 560px) {
	.nest-hero { padding-top: 20px; padding-bottom: 20px; }
	.nest-hero-badge { margin-bottom: 10px; padding: 6px 12px; font-size: 10.5px; letter-spacing: 1.1px; }
	.nest-hero-title { font-size: clamp(23px, 7vw, 30px); margin-bottom: 8px; }
	.nest-hero-sub { font-size: 13.5px; }
	.nest-hero-feats { gap: 6px 14px; }
	.nest-hero-feat { font-size: 11.5px; }
}

/* Short phone screens: trim the chrome so the search box always lands
   inside the first view without scrolling. */
@media (max-width: 860px) and (max-height: 740px) {
	.nest-hero { padding-top: 16px; padding-bottom: 18px; }
	.nest-hero-badge { display: none; }
	.nest-hero-copy { margin-bottom: 14px; }
	.nest-hero-feats { margin-top: 10px; }
}
