:root {
  --black: #0b1015;
  --black-2: #151c23;
  --ink: #151a1f;
  --muted: #68727a;
  --cream: #f4f1ea;
  --cream-2: #fbfaf7;
  --white: #fff;
  --gold: #d9ad43;
  --gold-dark: #b68725;
  --line: #e3ded4;
  --line-dark: rgba(255,255,255,.10);
  --radius: 18px;
  --container: min(1280px,calc(100% - 56px));
  --shadow: 0 20px 60px rgba(11,15,20,.09);
  --ease: cubic-bezier(.2,.8,.2,1);
  --paper: #ffffff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}
body.is-locked {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,input,select,textarea {
  font: inherit;
  max-width: 100%;
}
button {
  cursor: pointer;
}
.container {
  width: var(--container);
  margin-inline: auto;
}
main {
  min-height: 40vh;
}
::selection {
  background: rgba(239,200,95,.4);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #8e7541;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  flex: 0 0 24px;
}
.eyebrow.light {
  color: var(--gold);
}
em {
  font-style: normal;
  color: var(--gold);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s var(--ease),box-shadow .2s var(--ease),background .2s var(--ease),color .2s var(--ease),border-color .2s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: #111;
  box-shadow: 0 12px 28px rgba(239,200,95,.18);
}
.btn-gold:hover {
  background: #f5d577;
}
.btn-dark {
  background: var(--black-2);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border-color: #d7d0c2;
  color: var(--ink);
}
.btn.full {
  width: 100%;
  margin-top: 8px;
}
.site-header {
  position: relative;
  z-index: 100;
  background: rgba(8,12,16,.97);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.topline {
  height: 30px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  background: #06080b;
  display: none !important;
}
.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7e878f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.topbar-inner a:hover {
  color: #fff;
}
.topbar-inner i {
  font-style: normal;
  margin: 0 8px;
  color: #4e555b;
}
.site-header .nav {
  height: 88px;
  display: grid;
  grid-template-columns: 190px minmax(0,1fr) auto;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  height: 88px;
}
.brand img {
  width: 148px;
  height: 78px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 5px 16px rgba(0,0,0,.25));
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-width: 0;
}
.desktop-nav>a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #d7dce0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
}
.desktop-nav>a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s var(--ease);
}
.desktop-nav>a:hover,.desktop-nav>a.active {
  color: #fff;
}
.desktop-nav>a:hover::after,.desktop-nav>a.active::after {
  transform: scaleX(1);
}
.desktop-nav>a.consultation-nav {
  color: var(--gold);
  padding: 0 13px;
  border: 1px solid rgba(239,200,95,.36);
  border-radius: 999px;
  background: rgba(239,200,95,.08);
}
.desktop-nav>a.consultation-nav:hover,.desktop-nav>a.consultation-nav.active {
  color: #111;
  background: var(--gold);
  border-color: var(--gold);
}
.desktop-nav>a.consultation-nav::after {
  background: var(--gold);
  display: none;
}
.mobile-drawer .mobile-consultation-nav {
  color: var(--gold);
  font-weight: 900;
}
.special {
  gap: 8px;
}
.special b,.mobile-special b {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-size: 9px;
  line-height: 1;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}
.heart,.call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
}
.heart {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
}
.call {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
}
.call b {
  color: var(--gold);
}
.hamb {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.hamb span {
  width: 16px;
  height: 1.5px;
  background: #fff;
  transition: transform .2s,opacity .2s;
}
.hamb.open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.hamb.open span:nth-child(2) {
  opacity: 0;
}
.hamb.open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #080b0f;
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 50px rgba(0,0,0,.32);
}
.mobile-drawer.open {
  display: block;
}
.mobile-drawer-inner {
  width: var(--container);
  margin: auto;
  padding: 16px 0 24px;
  display: grid;
  gap: 4px;
}
.mobile-drawer-inner a {
  padding: 13px 12px;
  border-radius: 12px;
  color: #e7eaec;
  font-size: 14px;
  font-weight: 800;
}
.mobile-drawer-inner a:hover {
  background: rgba(255,255,255,.05);
}
.mobile-special {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}
.hero-home {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  isolation: isolate;
  background: #10161c;
  color: #fff;
}
.hero-backdrop {
  z-index: 0;
  background-image: var(--hero-backdrop);
  background-size: cover;
  background-position: center;
}
.hero-video {
  z-index: 1;
  overflow: hidden;
  background: #05080c;
}
.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 67.5vw;
  min-width: 1700px;
  min-height: 956px;
  transform: translate(-50%,-50%);
  border: 0;
  opacity: .62;
  pointer-events: none;
  filter: saturate(.85) contrast(1.04);
}
.hero-shade {
  z-index: 2;
  background: linear-gradient(90deg,rgba(4,8,12,.60) 0%,rgba(4,8,12,.42) 45%,rgba(4,8,12,.20) 80%,rgba(4,8,12,.32)),linear-gradient(180deg,rgba(4,8,12,.05),rgba(4,8,12,.45));
}
.hero-inner {
  position: relative;
  z-index: 4;
  min-height: 720px;
  padding: 92px 0 156px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  width: var(--container);
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}
.hero-copy {
  max-width: 850px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}
.hero-copy h1 {
  margin: 14px 0 16px;
  font-family: Manrope,system-ui,sans-serif;
  font-size: clamp(42px,5vw,68px);
  line-height: .96;
  letter-spacing: -.058em;
  max-width: 760px;
}
.hero-copy p {
  max-width: 670px;
  margin: 0;
  color: #edf0f2;
  font-size: 16px;
  line-height: 1.6;
  margin-inline: auto;
}
.hero-actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-top: 22px;
  position: relative;
  margin-inline: auto;
  max-width: 1160px;
}
.hero-video-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  margin-left: auto;
  text-align: right;
}
.play-circle {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
}
.hero-video-link:hover .play-circle {
  border-color: var(--gold);
  background: rgba(239,200,95,.11);
}
.hero-video-link b {
  font-size: 12px;
  display: block;
}
.hero-video-link small {
  font-size: 9px;
  color: #aab3ba;
  display: block;
  margin-top: 2px;
}
.search-panel {
  background: rgba(8,11,15,.94);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0,0,0,.35);
  backdrop-filter: blur(16px);
  color: #fff;
}
.search-panel-home {
  width: 100%;
  padding: 14px;
  margin-top: 26px;
  align-self: end;
  max-width: 1160px;
  background: rgba(11,16,21,.88);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 26px 70px rgba(0,0,0,.36);
  margin-inline: auto;
  text-align: left;
}
.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.search-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-tabs {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  overflow: hidden;
}
.search-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  color: #aeb6be;
  font-size: 10px;
  font-weight: 800;
}
.search-tab input {
  position: absolute;
  opacity: 0;
}
.search-tab:has(input:checked) {
  background: var(--gold);
  color: #111;
}
.search-quick-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid rgba(239,200,95,.32);
  border-radius: 12px;
}
.search-quick-option input {
  accent-color: var(--gold);
}
.search-quick-option b {
  font-size: 9px;
}
.search-quick-option small {
  color: #a1a9b0;
  font-size: 8px;
}
.search-hint {
  font-size: 8px;
  color: #8f979f;
  white-space: nowrap;
}
.field {
  min-width: 0;
}
.field>label,.filter-field-label>span {
  display: block;
  margin-bottom: 6px;
  color: #98a0a8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.field input,.field select,.search-query-wrap input,.range-pair input,.filter-row input,.filter-row select,.smart-form input,.smart-form select,.smart-form textarea {
  width: 100%;
  height: 48px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  background: #171c21;
  color: #fff;
  outline: 0;
  transition: border-color .18s,box-shadow .18s,background .18s;
}
.field input::placeholder,.search-query-wrap input::placeholder,.filter-row input::placeholder {
  color: #858d95;
}
.field input:focus,.field select:focus,.search-query-wrap input:focus,.range-pair input:focus,.filter-row input:focus,.filter-row select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(239,200,95,.10);
}
.dual-input,.range-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.search-row {
  display: grid;
  gap: 10px;
  align-items: end;
}
.search-row-primary {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.search-row-secondary {
  grid-template-columns: 1.15fr 1.15fr 1.15fr 1.35fr .82fr;
  align-items: end;
  margin-top: 10px;
}
.search-submit {
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: #111;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 145px;
}
.search-submit b {
  font-size: 15px;
}
.advanced-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 8px auto 0;
  padding: 10px 15px;
  border: 1px solid #d7d0c4;
  background: #fff;
  color: #252b30;
  font-size: 10px;
  font-weight: 900;
  border-radius: 999px;
  cursor: pointer;
  transition: .18s ease;
}
.advanced-search {
  padding-top: 13px;
  margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.advanced-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 8px;
  margin-top: 10px;
}
.check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  color: #d7dce1;
  font-size: 8.5px;
  font-weight: 800;
  cursor: pointer;
}
.check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.check span {
  width: 15px;
  height: 15px;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 4px;
  flex: 0 0 15px;
  display: grid;
  place-items: center;
}
.check input:checked+span {
  background: var(--gold);
  border-color: var(--gold);
}
.check input:checked+span::after {
  content: "✓";
  font-size: 10px;
  font-weight: 900;
  color: #111;
}
.hero-benefits {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: var(--container);
  display: grid;
  grid-template-columns: repeat(4,1fr);
  background: rgba(8,12,16,.86);
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-benefits>div {
  min-height: 70px;
  padding: 14px 18px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.hero-benefits>div:last-child {
  border-right: 0;
}
.hero-benefits b {
  display: block;
  font-size: 9px;
}
.hero-benefits span {
  display: block;
  margin-top: 3px;
  color: #99a1a8;
  font-size: 8px;
  line-height: 1.45;
}
.xpert-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2,5,8,.84);
}
.xpert-video-modal.is-open {
  display: flex;
}
.xpert-video-dialog {
  position: relative;
  width: min(1120px,100%);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,.65);
}
.xpert-video-dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.xpert-video-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(8,11,15,.76);
  color: #fff;
  font-size: 24px;
}
.section {
  padding: 88px 0;
}
.section-light {
  background: var(--cream);
}
.section-white {
  background: #fff;
}
.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.section-top h2,.section h2 {
  margin: 12px 0 0;
  font-family: Manrope,system-ui,sans-serif;
  font-size: clamp(34px,4vw,54px);
  line-height: 1;
  letter-spacing: -.052em;
}
.section-top p {
  margin: 9px 0 0;
  max-width: 700px;
  color: #747c84;
  font-size: 12px;
}
.section-top>a {
  color: #7f6830;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.market-section {
  background: var(--cream-2);
}
.market-grid {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  grid-auto-rows: 1fr;
  min-height: 232px;
}
.market-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(20,24,29,.035);
  transition: transform .2s var(--ease),box-shadow .2s var(--ease),border-color .2s;
}
.market-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cbbf9e;
}
.market-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.market-card-top strong {
  font-size: 14px;
}
.market-card-top span {
  font-size: 9px;
  color: #90979e;
}
.market-value {
  margin-top: 14px;
  font-family: Manrope;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.045em;
}
.market-value small {
  font-family: "DM Sans";
  font-size: 10px;
  color: #76643a;
}
.market-meter {
  position: relative;
  height: 4px;
  margin: 15px 0 7px;
  border-radius: 99px;
  background: #ece7de;
}
.market-meter span {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(239,200,95,.15);
}
.market-range {
  display: flex;
  justify-content: space-between;
  color: #8a9197;
  font-size: 8px;
}
.projects-section {
  background: #fff;
}
.projects-mosaic {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  grid-template-rows: 260px 260px;
  gap: 14px;
}
.project-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  color: #fff;
  min-width: 0;
}
.project-tile:first-child {
  grid-row: 1/3;
}
.project-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s var(--ease);
}
.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.84));
}
.project-tile:hover .project-bg {
  transform: scale(1.035);
}
.project-tile>span,.project-tile>strong,.project-tile>small {
  position: absolute;
  left: 20px;
  z-index: 2;
}
.project-tile>span {
  top: 17px;
  color: #cdd4da;
  font-size: 8px;
}
.project-tile>strong {
  right: 45px;
  bottom: 42px;
  font-family: Manrope;
  font-size: 24px;
  line-height: 1.05;
}
.project-tile>small {
  bottom: 18px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}
.project-tile>i {
  position: absolute;
  right: 15px;
  bottom: 14px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}
.property-card {
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(18,24,28,.05);
  transition: transform .22s var(--ease),box-shadow .22s var(--ease),border-color .22s;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cabf9f;
}
.property-media {
  position: relative;
  height: 272px;
  overflow: hidden;
  background: #e8e3da;
}
.property-image-link,.property-link {
  display: block;
  width: 100%;
  height: 100%;
}
.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.property-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
}
.property-tag,.property-badge,.property-3d {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(10,13,17,.74);
  color: #fff;
  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: .05em;
  backdrop-filter: blur(6px);
}
.property-tag {
  background: var(--gold);
  color: #111;
}
.property-save {
  position: static !important;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: #4b545c;
  font-size: 19px;
  margin: 0 !important;
}
.property-save.saved {
  color: #9e7614;
}
.property-code {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(10,13,17,.72);
  color: #fff;
  font-size: 7.5px;
  letter-spacing: .08em;
}
.property-body {
  padding: 19px;
}
.property-loc {
  color: #8a9198;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.property-body h3 {
  color: var(--ink);
  margin: 7px 0 0;
  font-family: Manrope;
  font-size: 16px;
  line-height: 1.16;
  letter-spacing: -.025em;
}
.property-price-block {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 9px;
  margin-top: 15px;
  position: relative;
  flex-wrap: wrap;
}
.property-price-block strong {
  color: var(--ink);
  font-family: Manrope;
  font-size: 25px;
  letter-spacing: -.04em;
}
.property-price-block span {
  color: #000;
  font-size: 15px;
  font-weight: 900;
}
.property-rate-meter {
  margin-top: 13px;
  padding: 11px;
  border-radius: 12px;
  background: #f5f1e8;
}
.property-rate-head {
  display: flex;
  justify-content: space-between;
  color: #8a9097;
  font-size: 7.5px;
}
.property-rate-head b {
  color: #9a7519;
  font-size: 8.5px;
}
.property-rate-track {
  position: relative;
  height: 3px;
  margin: 9px 0;
  border-radius: 999px;
  background: #ddd7cb;
}
.property-rate-dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: var(--gold);
}
.property-rate-scale {
  display: flex;
  justify-content: space-between;
  color: #969da4;
  font-size: 7px;
}
.property-keyfacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #eee9df;
}
.property-keyfacts span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #646d76;
  font-size: 9px;
}
.property-keyfacts i {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  background: #f1ede4;
  color: #8c723d;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 11px;
  flex: 0 0 27px;
}
.property-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.property-highlights span {
  padding: 5px 7px;
  border-radius: 999px;
  background: #f4f1e9;
  color: #68707a;
  font-size: 7px;
}
.property-detail-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #eee9df;
  font-size: 8.5px;
  font-weight: 900;
  color: #75602d;
}
.property-detail-link:hover {
  color: #a47d13;
}
.commission-spotlight {
  background: var(--black);
  color: #fff;
  border-block: 1px solid rgba(255,255,255,.04);
}
.commission-spotlight-inner {
  min-height: 230px;
  padding: 36px 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 36px;
  align-items: center;
}
.commission-copy {
  display: flex;
  align-items: center;
  gap: 24px;
}
.commission-mark {
  width: 86px;
  height: 86px;
  border: 1px solid rgba(239,200,95,.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
  flex: 0 0 86px;
  border-color: rgba(217,173,67,.58);
  background: radial-gradient(circle at 35% 25%,rgba(217,173,67,.13),transparent 60%);
}
.commission-copy h2 {
  margin: 10px 0 8px;
  font-family: Manrope;
  font-size: clamp(34px,4vw,54px);
  line-height: .96;
  letter-spacing: -.05em;
}
.commission-copy p {
  max-width: 700px;
  margin: 0;
  color: #99a3ac;
  font-size: 11px;
}
.commission-proof {
  display: flex;
  gap: 18px;
}
.commission-proof>div {
  min-width: 105px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.commission-proof strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}
.commission-proof span {
  display: block;
  margin-top: 4px;
  color: #858e97;
  font-size: 8px;
}
.seller-cta {
  padding: 82px 0;
  background: linear-gradient(135deg,#11181e,#18242e);
  color: #fff;
}
.consultation-cta {
  padding: 74px 0;
  background: var(--black-2);
  color: #fff;
}
.consultation-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.consultation-cta h2 {
  margin: 10px 0 9px;
  font-family: Manrope;
  font-size: clamp(34px,4vw,50px);
  line-height: 1;
  letter-spacing: -.05em;
}
.consultation-cta p {
  max-width: 720px;
  margin: 0;
  color: #aab3ba;
  font-size: 11px;
  line-height: 1.7;
}
.consultation-cta .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}
.seller-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.seller-cta h2 {
  margin: 10px 0 8px;
  font-family: Manrope;
  font-size: clamp(38px,4.6vw,58px);
  line-height: .98;
  letter-spacing: -.05em;
}
.seller-cta p {
  max-width: 650px;
  margin: 0;
  color: #9ca6af;
  font-size: 11px;
}
.experience-strip {
  padding: 84px 0;
  background: #fff;
}
.experience-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3,minmax(0,1fr));
  gap: 16px;
}
.experience-grid>* {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfaf7;
  min-height: 190px;
  border-color: var(--line);
}
.experience-intro {
  background: linear-gradient(160deg,#fff,#f4efe4) !important;
}
.experience-intro h2 {
  margin: 12px 0 10px;
  font-family: Manrope;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -.05em;
}
.experience-intro p,.experience-step p {
  margin: 0;
  color: #6d757d;
  font-size: 11px;
  line-height: 1.65;
}
.experience-intro .btn {
  margin-top: 18px;
}
.experience-step span {
  display: block;
  color: #9a9fa5;
  font-size: 8px;
  letter-spacing: .16em;
}
.experience-step b {
  display: block;
  margin: 20px 0 10px;
  font-family: Manrope;
  font-size: 20px;
  line-height: 1.05;
}
.why-section {
  padding: 84px 0;
  background: var(--cream);
}
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr repeat(2,minmax(0,1fr));
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.why-grid>* {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.why-head {
  grid-row: 1/3;
  background: linear-gradient(150deg,#10171e,#1a252e) !important;
  border-color: var(--black-2) !important;
  color: #fff;
}
.why-head h2 {
  margin: 12px 0 12px;
  font-family: Manrope;
  font-size: 39px;
  line-height: .98;
  letter-spacing: -.05em;
}
.why-head p {
  max-width: 410px;
  color: #b7c0c7;
  font-size: 11px;
  line-height: 1.7;
}
.why-item b {
  display: block;
  margin-bottom: 10px;
  font-family: Manrope;
  font-size: 19px;
}
.why-item p {
  margin: 0;
  color: #6d757d;
  font-size: 11px;
  line-height: 1.65;
}
.page-hero {
  padding: 68px 0 58px;
  background: linear-gradient(135deg,#0d141b,#1e2932);
  color: #fff;
}
.page-hero h1 {
  max-width: 800px;
  margin: 14px 0 10px;
  font-family: Manrope;
  font-size: clamp(34px,3.7vw,50px);
  line-height: .98;
  letter-spacing: -.055em;
}
.page-hero p {
  max-width: 780px;
  margin: 0;
  color: #c5cbd1;
  font-size: 13px;
}
.listing-section {
  padding: 54px 0 92px;
  background: var(--cream);
  padding-top: 42px;
}
.filter-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(25,29,33,.065);
}
.filter-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ece6dc;
}
.filter-title h2 {
  margin: 10px 0 0;
  font-family: Manrope;
  font-size: 35px;
  line-height: 1;
  letter-spacing: -.045em;
}
.filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-reset {
  border: 0;
  background: none;
  color: #7d858d;
  font-size: 10px;
  font-weight: 800;
}
.filter-modebar {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
}
.filter-purpose-tabs {
  display: flex;
  border: 1px solid #dad4c9;
  border-radius: 999px;
  overflow: hidden;
}
.purpose-pill {
  position: relative;
  display: flex;
}
.purpose-pill input {
  position: absolute;
  opacity: 0;
}
.purpose-pill span {
  padding: 10px 16px;
  color: #7e858c;
  font-size: 10px;
  font-weight: 900;
}
.purpose-pill input:checked+span {
  background: var(--black-2);
  color: #fff;
}
.filter-credit-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 39px;
  padding: 8px 11px;
  border: 1px solid #ded7ca;
  border-radius: 999px;
  cursor: pointer;
}
.filter-credit-pill.active {
  border-color: #c8a13b;
  background: #fbf6ea;
}
.filter-credit-pill input {
  position: absolute;
  opacity: 0;
}
.quick-check {
  width: 15px;
  height: 15px;
  border: 1px solid #bcb5aa;
  border-radius: 4px;
}
.filter-credit-pill input:checked~.quick-check {
  background: var(--gold);
  border-color: var(--gold);
}
.filter-credit-pill input:checked~.quick-check::after {
  content: "✓";
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 9px;
  color: #111;
  font-weight: 900;
}
.filter-credit-pill b {
  font-size: 8.5px;
}
.filter-credit-pill small {
  color: #8d949a;
  font-size: 7.5px;
}
.filter-mode-help {
  justify-self: end;
  color: #989ea4;
  font-size: 8px;
  text-align: right;
}
.filter-row {
  display: grid;
  gap: 10px;
  align-items: end;
}
.filter-row-main {
  grid-template-columns: 1fr 1fr 1fr 1.65fr;
}
.filter-row-secondary {
  grid-template-columns: 1.15fr 1.15fr 1.15fr .8fr .8fr;
  margin-top: 12px;
}
.filter-field-label>span {
  margin-bottom: 6px;
  color: #6f777f;
}
.filter-row input,.filter-row select,.search-query-wrap input {
  background: #fff;
  color: var(--ink);
  border-color: #d9d3c9;
}
.filter-row input:focus,.filter-row select:focus,.search-query-wrap input:focus {
  border-color: #bd922c;
  box-shadow: 0 0 0 3px rgba(239,200,95,.16);
}
.filter-checks {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 8px;
  padding-top: 17px;
  margin-top: 17px;
  border-top: 1px solid #ebe5da;
}
.filter-checks .check {
  position: relative;
  color: #5e6770;
  border-color: #e1dbd1;
  background: #fff;
}
.filter-checks .check:hover {
  border-color: #c7b88d;
  background: #fcfaf6;
}
.filter-checks .listing-check {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 13px;
  cursor: pointer;
  user-select: none;
}
.filter-checks .listing-check input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}
.filter-checks .listing-check .check-box {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1.5px solid #aaa296;
  border-radius: 4px;
  background: #fff;
  display: grid;
  place-items: center;
  transition: .16s ease;
  pointer-events: none;
}
.filter-checks .listing-check .check-label {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
  pointer-events: none;
}
.filter-checks .listing-check input:checked+.check-box {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(239,200,95,.16);
}
.filter-checks .listing-check input:checked+.check-box::after {
  content: "✓";
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  color: #111;
}
.map-search-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid #ddd7cc;
  border-radius: 16px;
  background: #fff;
  border-color: var(--line);
}
.map-search-toolbar>div:first-child strong {
  display: block;
  font-size: 11px;
}
.map-search-toolbar>div:first-child span {
  display: block;
  margin-top: 3px;
  color: #8b9298;
  font-size: 7.5px;
}
.map-search-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.map-btn {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d6cfc2;
  border-radius: 999px;
  background: #fff;
  color: #3f474f;
  font-size: 8.5px;
  font-weight: 900;
}
.map-btn-primary {
  background: var(--black-2);
  color: #fff;
  border-color: var(--black-2);
}
.map-btn-primary:disabled,.map-btn-ghost:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.map-search-panel {
  position: relative;
  margin-top: 10px;
  border: 1px solid #ddd7cc;
  border-radius: 18px;
  overflow: hidden;
  background: #e9e5dd;
  box-shadow: 0 14px 36px rgba(20,24,29,.06);
}
.map-search-panel.is-collapsed {
  display: none;
}
.xpert-search-map {
  height: 450px;
}
.map-search-help {
  padding: 9px 13px;
  background: #fff;
  color: #7e878e;
  font-size: 8px;
}
.map-search-empty {
  display: none;
}
.results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 38px 0 22px;
  gap: 20px;
  margin-top: 22px;
  padding-bottom: 2px;
}
.results-head h2 {
  margin: 9px 0 0;
  font-family: Manrope;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.045em;
}
.results-head h2 em {
  color: #9a8150;
}
.empty-state {
  text-align: center;
  padding: 65px 20px;
  border: 1px dashed #d3cdc1;
  border-radius: 18px;
  background: rgba(255,255,255,.58);
}
.empty-state h3 {
  margin: 0;
  font-family: Manrope;
  font-size: 28px;
}
.empty-state p {
  max-width: 540px;
  margin: 9px auto 21px;
  color: #777f86;
  font-size: 11px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}
.pagination a {
  width: 36px;
  height: 36px;
  border: 1px solid #d6d0c4;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
}
.pagination a.active,.pagination a:hover {
  background: var(--black-2);
  color: #fff;
  border-color: var(--black-2);
}
body.route-oglas {
  background: var(--cream);
  color: var(--ink);
}
.detail-topbar {
  padding: 42px 0 35px;
  background: linear-gradient(135deg,#0d141a,#1d2831);
  color: #fff;
}
.detail-back {
  color: #9da7af;
  font-size: 9px;
  font-weight: 800;
}
.detail-back:hover {
  color: #fff;
}
.detail-top-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}
.detail-top-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #b7c0c8;
  font-size: 7.5px;
  font-weight: 800;
}
.detail-topbar h1 {
  max-width: 1050px;
  margin: 15px 0 0;
  font-family: Manrope;
  font-size: clamp(28px,4.15vw,52px);
  line-height: 1.02;
  letter-spacing: -.052em;
}
.detail-redesign {
  padding: 30px 0 90px;
  background: var(--cream);
}
.detail-main-grid {
  display: grid;
  grid-template-columns: minmax(0,1.55fr) minmax(300px,.55fr);
  gap: 26px;
  align-items: start;
}
.gallery-shell {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(18,23,29,.08);
  border-color: var(--line);
}
.gallery-main {
  position: relative;
  height: 560px;
  background: #fff;
}
.gallery-main>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f4f1ea;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(9,13,17,.64);
  color: #fff;
  font-size: 24px;
}
.gallery-nav.prev {
  left: 14px;
}
.gallery-nav.next {
  right: 14px;
}
.gallery-counter {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8,11,15,.72);
  color: #fff;
  font-size: 8px;
}
.gallery-full {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: rgba(8,11,15,.62);
  color: #fff;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 9px;
  background: #f3f0e9;
  border-top: 1px solid var(--line);
}
.gallery-thumb {
  width: 82px;
  height: 60px;
  flex: 0 0 82px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #d7d2c8;
}
.gallery-thumb.active {
  border-color: var(--gold);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-primary-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 0 2px 18px;
  border-bottom: 1px solid var(--line);
}
.detail-label {
  color: #858e95;
  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: .15em;
}
.detail-price-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.detail-price-line strong {
  color: var(--ink);
  font-family: Manrope;
  font-size: 45px;
  line-height: 1;
  letter-spacing: -.05em;
}
.detail-price-line span {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 900;
}
.detail-actions {
  display: flex;
  gap: 8px;
}
.save-large,.share-btn {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: #fff;
  color: #3e474f;
  font-size: 8.5px;
  font-weight: 800;
  border-color: #d8d1c6;
}
.save-large.saved {
  color: var(--gold);
  border-color: rgba(239,200,95,.38);
}
.detail-keyfacts {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 9px;
  margin-top: 16px;
}
.detail-keyfacts>div {
  min-height: 88px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(18,23,29,.025);
}
.detail-keyfacts i {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: #f3efe6;
  color: #8d6c28;
  display: grid;
  place-items: center;
  font-style: normal;
}
.detail-keyfacts span {
  display: block;
  margin-top: 9px;
  color: #8b959e;
  font-size: 7.5px;
}
.detail-keyfacts b {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 10px;
}
.detail-secondary-facts {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  border-color: var(--line);
}
.detail-secondary-facts>div {
  padding: 13px;
  background: #fff;
}
.detail-secondary-facts span {
  display: block;
  color: #7d8790;
  font-size: 7.5px;
}
.detail-secondary-facts b {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 9px;
}
.detail-block {
  margin-top: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(18,23,29,.035);
}
.detail-block h2 {
  margin: 9px 0 10px;
  color: var(--ink);
  font-family: Manrope;
  font-size: 28px;
  line-height: 1;
}
.detail-section-kicker {
  color: #858e95;
  font-size: 7.5px;
  font-weight: 900;
  letter-spacing: .15em;
}
.detail-section-kicker.light {
  color: var(--gold-dark);
}
.detail-desc {
  margin: 0;
  color: #4f5a63;
  font-size: 12px;
  line-height: 1.8;
}
.detail-desc.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-top: 16px;
}
.feature-grid span {
  padding: 10px 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  background: #faf8f3;
  color: #4f5961;
  font-size: 8px;
  border-color: var(--line);
}
.tour-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.tour-box h3 {
  margin: 8px 0 5px;
  color: #fff;
  font-family: Manrope;
  font-size: 24px;
}
.tour-box p {
  margin: 0;
  color: #9ea8b0;
  font-size: 9px;
}
.tour-frame-wrap {
  margin-top: 15px;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 13px;
  background: #111;
}
.tour-frame {
  width: 100%;
  height: 100%;
  border: 0;
}
.agent-card-premium {
  position: sticky;
  top: 108px;
  padding: 23px;
  border: 1px solid rgba(239,200,95,.20);
  border-radius: 18px;
  background: linear-gradient(155deg,#fff,#f7f3ea);
  box-shadow: 0 16px 45px rgba(18,23,29,.09);
  border-color: #ddcfad;
}
.agent-card-premium h3 {
  margin: 10px 0 7px;
  color: var(--ink);
  font-family: Manrope;
  font-size: 28px;
  line-height: 1;
}
.agent-card-premium p {
  margin: 0;
  color: #6d767e;
  font-size: 10px;
}
.agent-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 15px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  border-color: var(--line);
}
.agent-mini-grid>div {
  padding: 11px;
  background: #fff;
}
.agent-mini-grid span {
  display: block;
  color: #899197;
  font-size: 7px;
}
.agent-mini-grid b {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 8.5px;
}
.agent-price-note {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-top-color: var(--line);
}
.agent-price-note b {
  color: var(--gold-dark);
  font-size: 19px;
}
.agent-price-note span {
  color: #899197;
  font-size: 7.5px;
}
.detail-related {
  padding-top: 8px;
  background: #fff;
}
.related-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.saved-hero,.kontakt,.vesti,.o-nama,.akademija,.karijera {
  background: linear-gradient(135deg,#0c1218,#18222c);
}
.saved-section {
  min-height: 54vh;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  align-items: start;
}
.contact-block {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  margin-top: 10px;
}
.contact-block span {
  display: block;
  color: #737b82;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.contact-block a {
  display: inline-block;
  margin: 7px 12px 0 0;
  font-size: 12px;
  font-weight: 700;
}
.contact-block p {
  margin: 7px 0 0;
  color: #667079;
  font-size: 11px;
  line-height: 1.6;
}
.contact-form-wrap {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.smart-form {
  display: grid;
  gap: 13px;
}
.smart-form label {
  display: grid;
  gap: 6px;
  color: #626a72;
  font-size: 8.5px;
  font-weight: 800;
}
.smart-form input,.smart-form select,.smart-form textarea {
  background: #fff;
  color: var(--ink);
  border-color: #d8d2c7;
}
.smart-form input:focus,.smart-form select:focus,.smart-form textarea:focus {
  border-color: #bd922c;
  box-shadow: 0 0 0 3px rgba(239,200,95,.14);
}
.smart-form textarea {
  height: auto;
  min-height: 130px;
  padding: 13px 14px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-status {
  padding: 12px 0;
  background: #f7f2e8;
  color: #705c25;
}
.form-status>.container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.article-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 34px;
  align-items: start;
}
.article-grid article {
  max-width: 840px;
}
.article-grid article p {
  color: #5e6870;
  font-size: 13px;
  line-height: 1.8;
}
.quote-card {
  padding: 28px;
  border-radius: 18px;
  background: var(--black-2);
  color: #fff;
  align-self: start;
}
.quote-card span {
  display: block;
  color: var(--gold);
  font-family: Georgia,serif;
  font-size: 46px;
  line-height: 1;
}
.quote-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.45;
}
.manifesto {
  max-width: 1180px;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  margin-top: 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  overflow: hidden;
}
.manifesto-grid>div {
  padding: 26px;
  background: #111820;
}
.manifesto-grid>div:not(:first-child) {
  border-left: 1px solid rgba(255,255,255,.06);
}
.manifesto-grid span {
  color: #8b969f;
  font-size: 8px;
}
.manifesto-grid h3 {
  margin: 14px 0 8px;
  color: #fff;
  font-family: Manrope;
  font-size: 20px;
}
.manifesto-grid p {
  margin: 0;
  color: #abb4bd;
  font-size: 10px;
  line-height: 1.7;
}
.news-grid,.news-grid-premium {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(13,18,24,.04);
}
.news-image-link {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
}
.news-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.news-card:hover .news-image-link img {
  transform: scale(1.04);
}
.news-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-size: 7px;
  font-weight: 900;
}
.news-body {
  padding: 18px;
}
.news-meta {
  color: #90969d;
  font-size: 7.5px;
  font-weight: 800;
}
.news-body h3 {
  margin: 8px 0 7px;
  font-family: Manrope;
  font-size: 21px;
  line-height: 1.08;
}
.news-body p {
  margin: 0;
  color: #6f787f;
  font-size: 9.5px;
  line-height: 1.6;
}
.news-link {
  display: inline-flex;
  gap: 6px;
  margin-top: 12px;
  color: #7a642f;
  font-size: 8.5px;
  font-weight: 900;
}
.article-detail-hero {
  padding: 66px 0 60px;
  background: linear-gradient(135deg,#0b1117,#18222d);
  color: #fff;
}
.article-detail-hero h1 {
  max-width: 850px;
  margin: 14px 0 10px;
  font-family: Manrope;
  font-size: clamp(36px,4.5vw,58px);
  line-height: .97;
  letter-spacing: -.055em;
}
.article-detail-hero p {
  max-width: 760px;
  color: #bcc5cc;
  font-size: 12px;
}
.article-detail-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 34px;
  align-items: start;
}
.article-cover {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 18px;
}
.article-copy {
  padding: 24px 0;
}
.article-copy p {
  color: #5e6871;
  font-size: 13px;
  line-height: 1.85;
}
.article-aside {
  position: sticky;
  top: 108px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.article-aside h3 {
  margin: 9px 0 7px;
  font-family: Manrope;
  font-size: 28px;
}
.article-aside p {
  color: #6d757d;
  font-size: 10px;
}
.dark-section {
  background: var(--black-2);
  color: #fff;
}
.course-list,.module-list,.steps,.cards,.list-row {
  display: grid;
  gap: 14px;
}
.course-list,.module-list {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.course-list>div,.module-list>div {
  padding: 22px;
  border: 1px solid #ddd7cd;
  border-radius: 16px;
  background: #fff;
}
.course-list span,.module-list span {
  color: #8c9298;
  font-size: 8px;
}
.course-list b,.module-list b {
  display: block;
  margin: 14px 0 8px;
  font-family: Manrope;
  font-size: 18px;
}
.course-list p,.module-list p {
  margin: 0;
  color: #6f7880;
  font-size: 10px;
  line-height: 1.6;
}
.steps {
  grid-template-columns: repeat(2,1fr);
}
.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.richtext {
  color: #667079;
  line-height: 1.75;
}
.alert {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7f2e8;
  color: #786128;
  font-size: 9px;
}
.danger {
  background: #fbefef;
  color: #8d4545;
}
.dark-section .panel {
  background: #111820;
  border-color: rgba(255,255,255,.08);
  color: #fff;
}
.two-col,.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.footer {
  position: relative;
  z-index: 20;
  clear: both;
  background: #080d12;
  color: #fff;
  padding: 58px 0 20px;
}
.footer-cta {
  display: grid;
  grid-template-columns: 1.3fr .9fr auto;
  gap: 26px;
  align-items: center;
  padding: 25px 28px;
  margin-bottom: 42px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: #111820;
}
.footer-cta h3 {
  margin: 9px 0 6px;
  font-family: Manrope;
  font-size: 27px;
  line-height: 1;
}
.footer-cta p {
  margin: 0;
  color: #96a0a8;
  font-size: 8.5px;
}
.footer-contact {
  display: grid;
  gap: 6px;
}
.footer-contact a,.footer-contact span {
  color: #cbd0d5;
  font-size: 8.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 30px;
}
.footer-brand p {
  max-width: 250px;
  margin: 12px 0 0;
  color: #8f99a1;
  font-size: 8.5px;
  line-height: 1.7;
}
.footer-logo {
  width: 135px;
  height: auto;
}
.footer-grid h4 {
  margin: 0 0 11px;
  color: #fff;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-grid>div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 7px;
}
.footer-grid a,.footer-grid span {
  color: #969fa7;
  font-size: 8.5px;
}
.footer-grid a:hover {
  color: #fff;
}
.social {
  display: flex !important;
  gap: 6px !important;
  margin-top: 5px;
}
.social a {
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff !important;
  font-size: 8px !important;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #69737b;
  font-size: 7.5px;
}
.footer-bottom span:last-child {
  display: flex;
  gap: 14px;
}
.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 41px;
  height: 41px;
  border: 1px solid rgba(8,11,15,.12);
  border-radius: 50%;
  background: #fff;
  color: #222;
  box-shadow: 0 10px 24px rgba(8,11,15,.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.xpert-price-marker-wrap {
  background: transparent;
  border: 0;
}
/* V71: same price typography, tighter marker footprint. */
.xpert-price-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  padding: 4px 6px;
  border-radius: 7px;
  background: #0f151b;
  color: #fff;
  border: 1px solid rgba(239,200,95,.68);
  font: 800 9px/1 "DM Sans",sans-serif;
  box-shadow: 0 5px 11px rgba(0,0,0,.22);
  transform: translate(-50%,-100%);
  white-space: nowrap;
}
.xpert-price-pin {
  display: block;
  width: 6px;
  height: 6px;
  margin: -1px auto 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(239,200,95,.16);
}
.xpert-map-popup {
  min-width: 225px;
  display: grid;
  gap: 6px;
  padding: 2px;
}
.xpert-map-popup strong {
  font-size: 10.5px;
  line-height: 1.3;
}
.xpert-map-popup span,.xpert-map-popup small {
  color: #79828a;
  font-size: 8px;
}
.xpert-map-popup b {
  font-size: 15px;
  color: #161c21;
}
.xpert-map-popup a {
  margin-top: 3px;
  color: #89681f;
  font-size: 8.5px;
  font-weight: 900;
}
.leaflet-container {
  font-family: "DM Sans",system-ui,sans-serif;
}
.leaflet-control-zoom a {
  color: #111 !important;
}
.leaflet-popup-content-wrapper {
  border-radius: 15px;
  box-shadow: 0 16px 45px rgba(10,14,18,.16);
}
.leaflet-popup-tip {
  background: #fff;
}
.is-drawing {
  cursor: crosshair !important;
}
.reveal {
  opacity: 1;
  transform: none;
}
.property-card,.market-card,.project-tile,.news-card,.panel,.contact-block,.why-item,.experience-grid>* {
  min-width: 0;
}
.route-404 main {
  background: var(--cream);
}
.home-trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.home-trust-grid>div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}
.home-trust-grid>div:last-child {
  border-right: 0;
}
.home-trust-grid strong {
  display: block;
  font: 800 24px/1 Manrope,sans-serif;
  color: var(--ink);
}
.home-trust-grid span {
  display: block;
  margin-top: 5px;
  color: #7b858d;
  font-size: 9px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1.22fr .78fr;
  grid-template-rows: 250px 250px;
  gap: 14px;
}
.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  border-radius: 20px;
  background: #121820;
  color: #fff;
  box-shadow: 0 14px 40px rgba(18,23,28,.10);
  isolation: isolate;
}
.project-card.large {
  grid-row: 1/3;
}
.project-card .project-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .55s var(--ease),filter .55s var(--ease);
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,rgba(6,10,13,.02) 25%,rgba(6,10,13,.90) 100%);
}
.project-card:hover .project-bg {
  transform: scale(1.045);
  filter: saturate(1.04);
}
.project-content {
  position: absolute;
  left: 24px;
  right: 56px;
  bottom: 22px;
  z-index: 2;
}
.project-content small {
  display: block;
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.project-content h3 {
  margin: 8px 0 7px;
  font: 800 28px/1.02 Manrope,sans-serif;
  letter-spacing: -.04em;
}
.project-card:not(.large) .project-content h3 {
  font-size: 22px;
}
.project-content span {
  color: #e0e5e8;
  font-size: 9px;
  font-weight: 800;
}
.project-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: .2s var(--ease);
}
.project-card:hover .project-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}
/* Homepage project carousel — all featured projects in one responsive slider. */
.project-carousel {
  position: relative;
}
.project-carousel-viewport {
  overflow: hidden;
  border-radius: 20px;
  touch-action: pan-y;
  cursor: grab;
}
.project-carousel-viewport:active {
  cursor: grabbing;
}
.project-carousel-track {
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform .45s var(--ease);
}
.project-slide {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: 0;
}
.project-slide .project-card {
  height: 360px;
  min-height: 360px;
}
.project-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.project-nav {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font: 700 17px/1 Manrope,sans-serif;
  cursor: pointer;
  transition: .2s var(--ease);
}
.project-nav:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.project-nav:disabled {
  opacity: .36;
  cursor: not-allowed;
}
.project-page {
  min-width: 54px;
  text-align: center;
  color: #7b858d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
.featured {
  background: var(--cream);
}
.map-search-toolbar strong em {
  font-style: normal;
  color: var(--gold-dark);
  margin-left: 5px;
}
.map-search-help span:first-child {
  color: #c6972f;
  font-size: 12px;
  vertical-align: -1px;
}
body.route-oglas main {
  background: var(--cream);
}
.detail-keyfacts span,.detail-secondary-facts span {
  color: #7c858d;
}
.detail-keyfacts b,.detail-secondary-facts b {
  color: var(--ink);
}
.detail-local-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #e0d4b8;
  border-radius: 15px;
  background: linear-gradient(90deg,#fffaf0,#fff);
}
.detail-local-note>div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-local-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f3e7cc;
  color: #8f6b25;
}
.detail-local-note strong {
  display: block;
  font-size: 10px;
}
.detail-local-note span:not(.detail-local-icon) {
  display: block;
  color: #8b949b;
  font-size: 7.5px;
  margin-top: 2px;
}
.detail-local-note a {
  color: #8b681f;
  font-size: 8.5px;
  font-weight: 900;
}
.tour-section .tour-box h3 {
  color: var(--ink);
}
.tour-section .tour-box p {
  color: #727b82;
}
.agent-card-premium .eyebrow {
  color: #8c6c2c;
}
.xpert-map-price {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px !important;
  height: 26px !important;
  padding: 0 7px !important;
  border-radius: 8px !important;
  background: #121a21;
  color: #fff;
  border: 1px solid rgba(217,173,67,.78);
  font: 800 10px/1 "DM Sans",sans-serif;
  box-shadow: 0 6px 12px rgba(15,20,24,.18) !important;
  white-space: nowrap;
  font-size: 8px !important;
}
.xpert-map-price i {
  position: absolute;
  left: 50%;
  bottom: -5px !important;
  width: 8px !important;
  height: 8px !important;
  background: #121a21;
  border-right: 1px solid rgba(217,173,67,.78);
  border-bottom: 1px solid rgba(217,173,67,.78);
  transform: translateX(-50%) rotate(45deg);
}
.xpert-map-cluster {
  width: 68px !important;
  height: 42px !important;
  border-radius: 10px !important;
  display: grid;
  place-items: center;
  align-content: center;
  background: #121a21;
  color: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 6px 14px rgba(14,19,23,.2) !important;
  line-height: 1.05 !important;
}
.xpert-map-cluster strong {
  font: 900 15px/1 Manrope,sans-serif;
  font-size: 10px !important;
  white-space: nowrap;
}
.xpert-map-cluster span {
  margin-top: 2px !important;
  font-size: 6px !important;
  color: #ccd1d4;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.leaflet-popup-content {
  margin: 12px 13px;
}
.home-purpose-cards {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  width: min(100%,760px);
  margin-top: 26px;
}
.home-purpose-card {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(14,18,22,.42);
  backdrop-filter: blur(12px);
  color: #fff;
  transition: .2s ease;
}
.home-purpose-card:hover {
  transform: translateY(-2px);
  border-color: rgba(239,200,95,.65);
  background: rgba(20,24,28,.62);
}
.home-purpose-card small {
  font-size: 8px;
  letter-spacing: .18em;
  color: #c8a13b;
  font-weight: 900;
}
.home-purpose-card strong {
  font: 800 24px/1.05 Manrope;
  margin: 6px 0;
}
.home-purpose-card span {
  font-size: 10px;
  color: #cbd0d5;
}
.filter-fixed-purpose {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid #d9cfba;
  border-radius: 999px;
  background: #fbf7ed;
  min-height: 39px;
}
.filter-fixed-purpose strong {
  font-size: 10px;
  letter-spacing: .08em;
  color: #17191b;
}
.filter-fixed-purpose span {
  font-size: 9px;
  color: #8a7d68;
}
.load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 34px auto 8px;
}
.load-more-btn {
  min-width: 220px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid #cfc7bb;
  border-radius: 999px;
  background: #fff;
  color: #1f252a;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(22,24,26,.06);
}
.load-more-btn:hover {
  border-color: #b99031;
  transform: translateY(-1px);
}
.load-more-btn b {
  margin-left: 7px;
  color: #b99031;
}
.load-more-btn.is-loading {
  opacity: .7;
  cursor: wait;
}
.load-more-wrap small {
  font-size: 8px;
  color: #8b9298;
}
.filter-panel-fixed-purpose .filter-modebar {
  grid-template-columns: auto 1fr;
}
.filter-panel-fixed-purpose .filter-mode-help {
  justify-self: end;
}
.filter-panel-fixed-purpose .filter-actions .filter-reset {
  cursor: pointer;
}
.filter-panel[data-live-filter] .filter-actions .btn.is-loading,
.search-panel [type="submit"].is-loading {
  opacity: .65;
  pointer-events: none;
}
.property-grid.is-updating {
  opacity: .58;
  transition: opacity .16s ease;
}
.advanced-toggle-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0 0;
  margin-top: 16px;
  border-top: 1px solid #ebe5da;
}
.advanced-toggle:hover {
  border-color: #b89032;
  transform: translateY(-1px);
}
.advanced-toggle span {
  color: #8c9399;
  font-weight: 700;
  margin-left: 4px;
}
.advanced-summary {
  font-size: 9px;
  color: #959ca1;
}
.filter-checks.is-hidden {
  display: none;
}
.sort-control {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 3px;
}
.sort-control span {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 900;
  color: #858c92;
}
.sort-control select {
  min-width: 180px;
  padding: 11px 34px 11px 13px;
  border: 1px solid #d8d1c6;
  border-radius: 999px;
  background: #fff;
  color: #252b30;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  appearance: auto;
}
.sort-control select:focus {
  outline: none;
  border-color: #bd922c;
  box-shadow: 0 0 0 3px rgba(239,200,95,.16);
}
.hero-video-link-right {
  position: static;
  right: 0;
  top: 50%;
  transform: none;
  justify-content: center;
  width: auto;
  margin: 0;
  padding: 0;
  text-align: left;
  white-space: nowrap;
  margin-left: auto;
}
.hero-video-label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.consultation-page-hero p {
  max-width: 760px;
}
.consultation-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 42px;
  align-items: start;
}
.consultation-copy h2 {
  margin: 10px 0 14px;
  font-family: Manrope;
  font-size: clamp(34px,4vw,52px);
  line-height: 1;
  letter-spacing: -.05em;
}
.consultation-copy>p {
  max-width: 720px;
  margin: 0;
  color: #667079;
  font-size: 13px;
  line-height: 1.8;
}
.consultation-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}
.consultation-points>div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.consultation-points span {
  font-size: 9px;
  font-weight: 900;
  color: #a8893b;
}
.consultation-points strong {
  display: block;
  font-family: Manrope;
  font-size: 16px;
}
.consultation-points p {
  margin: 5px 0 0;
  color: #747d84;
  font-size: 10.5px;
  line-height: 1.6;
}
.consultation-form-card h2 {
  margin: 10px 0 7px;
  font-family: Manrope;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.045em;
}
.consultation-form-note {
  margin: 0 0 18px;
  color: #727b82;
  font-size: 11px;
  line-height: 1.65;
}
.consultation-cta .eyebrow {
  color: #e6c35f;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.filter-checks .listing-check input:focus-visible+.check-box {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.filter-checks .listing-check.active {
  border-color: #c6a452;
  background: #fcf8ee;
}
.filter-checks .listing-check.active .check-label {
  color: #252a2f;
}
.detail-keyfacts>div,.detail-secondary-facts>div {
  transition: transform .18s ease,border-color .18s ease;
}
.detail-keyfacts>div:hover,.detail-secondary-facts>div:hover {
  transform: translateY(-1px);
  border-color: rgba(239,200,95,.26);
}
.agent-primary-cta {
  margin-top: 16px;
}
.agent-consult-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #aab2b9;
  font-size: 8.5px;
  line-height: 1.5;
}
.agent-consult-note b {
  color: var(--gold);
}
.filter-checks .listing-check:focus-within {
  border-color: #c6a452;
  box-shadow: 0 0 0 3px rgba(217,173,67,.14);
}
.filter-checks .listing-check.active .check-box {
  background: var(--gold);
  border-color: var(--gold);
}
.filter-checks .listing-check.active .check-box::after {
  content: "✓";
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  color: #111;
}
.property-card-actions {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  display: flex;
  gap: 7px;
}
.property-card-actions button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8,12,16,.72);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: .18s ease;
}
.property-card-actions button:hover,.property-card-actions button.saved,.property-card-actions button.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
  transform: translateY(-1px);
}
.property-compare {
  font-size: 15px !important;
}
.property-badge-new {
  background: #fff !important;
  color: #20262b !important;
}
.property-badge-drop {
  background: var(--gold) !important;
  color: #111 !important;
}
.price-drop-note {
  margin: -2px 0 9px;
  color: #b48626;
  font-size: 9px;
  font-weight: 900;
}
.property-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}
.property-share-inline {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #252b30;
  cursor: pointer;
}
.property-share-inline:hover {
  border-color: var(--gold);
  color: #8e6a20;
}
.compare-large {
  border: 1px solid #d8d1c6;
  background: #fff;
  color: #252b30;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}
.compare-large:hover {
  border-color: var(--gold);
}
.detail-meta-badge {
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff0cf !important;
  color: #765718 !important;
  font-weight: 900;
}
.detail-meta-drop {
  background: #f7df8f !important;
  color: #6b5118 !important;
}
.detail-price-drop {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff0cf;
  color: #e6b936;
  font-size: 10px;
  font-weight: 900;
  order: 2;
}
.compare-nav {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #e4e8ea;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 15px;
}
.compare-nav:hover {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}
.compare-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 15px 11px 18px;
  border: 1px solid #dfd5c4;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 50px rgba(20,24,29,.16);
  backdrop-filter: blur(12px);
}
.compare-bar span {
  font-size: 10px;
  font-weight: 900;
  color: #383f45;
}
.compare-bar small {
  font-size: 9px;
  color: #879097;
}
.compare-bar a,.compare-bar button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
}
.compare-bar a {
  background: var(--gold);
  color: #111;
  text-decoration: none;
}
.compare-bar button {
  background: #eef0f1;
  color: #252a2f;
}
.compare-app {
  min-height: 200px;
}
.compare-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.compare-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}
.compare-table th,.compare-table td {
  padding: 16px;
  border-bottom: 1px solid #eee9e1;
  text-align: left;
  vertical-align: top;
}
.compare-table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #7c858b;
  background: #faf8f3;
}
.compare-table td:first-child {
  font-weight: 900;
  width: 180px;
  color: #4d565e;
}
.compare-product {
  position: relative;
  min-width: 220px;
}
.compare-product img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 13px;
  display: block;
  margin-bottom: 10px;
}
.compare-product strong {
  font: 800 17px/1.12 Manrope;
  display: block;
}
.compare-product a {
  display: block;
  margin-top: 6px;
  color: #8d6a23;
  font-size: 9px;
  font-weight: 900;
  text-decoration: none;
}
.compare-remove {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  cursor: pointer;
}
.compare-actions-row {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin: 12px 0;
}
.compare-empty-inline {
  padding: 48px 20px;
  text-align: center;
  color: #7a8389;
}
.mobile-detail-cta {
  display: none;
}
.xpert-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%,12px);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: #111820;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
  transition: .18s ease;
}
.xpert-toast.show {
  opacity: 1;
  transform: translate(-50%,0);
}
.hero-actions,
.search-panel-home {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
}
.search-panel-home .search-head {
  justify-content: space-between;
}
.range-filter {
  min-width: 0;
}
.range-filter .range-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 1px 5px;
  color: #858e96;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.1;
}
.range-filter .range-values span:last-child {
  text-align: right;
}
.range-inputs {
  position: relative;
  height: 22px;
  margin: 0 5px;
}
.range-inputs::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #3b434a;
  pointer-events: none;
  z-index: 1;
}
.range-inputs input[type=range] {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  transform: translateY(-50%);
  pointer-events: none;
}
.range-inputs input[type=range]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: transparent;
}
.range-inputs input[type=range]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: transparent;
}
.range-inputs input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 15px;
  height: 15px;
  margin-top: -5.5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 1px 5px rgba(0,0,0,.25);
  pointer-events: auto;
  cursor: pointer;
}
.range-inputs input[type=range]::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 1px 5px rgba(0,0,0,.25);
  pointer-events: auto;
  cursor: pointer;
}
.range-inputs input.range-min {
  z-index: 3;
}
.range-inputs input.range-max {
  z-index: 2;
}
.range-filter.is-filtered .range-values {
  color: #c7a047;
}
.search-panel-home .range-filter .range-values {
  color: #aab2ba;
}
.search-panel-home .range-filter.is-filtered .range-values {
  color: var(--gold);
}
.filter-row-secondary.range-filter-row {
  grid-template-columns: 1.15fr 1.15fr 1.15fr 1fr 1fr;
  align-items: end;
}
.hero-home .hero-copy h1 {
  margin-bottom: 0;
  margin: 0;
}
.hero-home .hero-copy em {
  color: var(--gold);
  font-style: normal;
}
.hero-home .hero-inner {
  grid-template-rows: auto auto auto;
  align-content: center;
  min-height: 700px;
  padding: 82px 0 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.hero-home .hero-copy {
  margin: 0;
}
.filter-type-dependent.is-type-hidden {
  display: none !important;
}
.property-credit-note,.detail-credit-note {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid #eadfc4;
  border-radius: 12px;
  background: #fbf8f0;
}
.property-credit-note>div,.detail-credit-note>div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.property-credit-note span,.detail-credit-note span {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8b8f94;
}
.property-credit-note strong {
  font-size: 12px;
  color: #9b761b;
  white-space: nowrap;
}
.property-credit-note small,.detail-credit-note small {
  display: block;
  margin-top: 5px;
  color: #8a9096;
  font-size: 7px;
  line-height: 1.35;
}
.detail-credit-note {
  max-width: 520px;
  margin: 12px 0 0;
  padding: 13px 14px;
}
.detail-credit-note strong {
  font-size: 18px;
  color: var(--gold-dark,#9b761b);
  white-space: nowrap;
}
.rgz-strip {
  background: #f4f0e7;
  border-top: 1px solid #e6dfd2;
  border-bottom: 1px solid #e6dfd2;
}
.rgz-strip-inner {
  padding: 14px 0 12px;
}
.rgz-strip-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e1d9cb;
}
.rgz-strip-title .eyebrow {
  color: #9b741b;
  margin: 0;
}
.rgz-strip-title strong {
  font-size: 10px;
  letter-spacing: -.01em;
  color: #4f575e;
}
.rgz-strip-stats {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 0;
  margin-top: 10px;
}
.rgz-strip-stats>div {
  padding: 4px 14px;
  border-right: 1px solid #ddd5c7;
}
.rgz-strip-stats>div:first-child {
  padding-left: 0;
}
.rgz-strip-stats>div:last-child {
  padding-right: 0;
  border-right: 0;
}
.rgz-strip-stats b {
  display: block;
  color: #9b7214;
  font-family: Manrope;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -.04em;
}
.rgz-strip-stats span {
  display: block;
  margin-top: 4px;
  color: #747b82;
  font-size: 7px;
  line-height: 1.25;
}
.rgz-strip-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: #9a9fa4;
  font-size: 7px;
}
.rgz-strip-foot a {
  color: #81651f;
  font-weight: 900;
  text-decoration: none;
}
.rgz-strip-foot a:hover {
  color: #a37f1b;
}
.property-credit-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(178,133,25,.42);
  border-radius: 999px;
  background: #fffdf8;
  color: #9b741b;
  font-size: 8.5px;
  font-weight: 900;
  white-space: nowrap;
}
.property-credit-pill::before {
  content: "";
  display: none;
}
.gallery-shell .gallery-main {
  position: relative;
}
.gallery-shell .gallery-nav {
  position: absolute;
  z-index: 4;
}
body > .gallery-nav, body > button.gallery-nav {
  display: none !important;
}
.market-carousel {
  position: relative;
}
.market-grid .market-card[hidden] {
  display: none !important;
}
.market-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.market-nav {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #1d252b;
  cursor: pointer;
  font-size: 15px;
  display: grid;
  place-items: center;
  transition: .18s ease;
}
.market-nav:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.market-nav:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
}
.market-page {
  min-width: 62px;
  text-align: center;
  color: #7d858b;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
}
.xpert-map-criteria-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5,8,11,.62);
  backdrop-filter: blur(7px);
  display: grid;
  place-items: center;
  padding: 18px;
}
.xpert-map-criteria-dialog {
  width: min(560px,100%);
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  position: relative;
}
.xpert-map-criteria-dialog h3 {
  margin: 8px 0 8px;
  font: 800 27px/1.1 Manrope;
  color: #172027;
}
.xpert-map-criteria-dialog p {
  margin: 0;
  color: #737d84;
  font-size: 11px;
  line-height: 1.55;
}
.xpert-map-criteria-close {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}
.xpert-map-criteria-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
  margin: 20px 0;
}
.xpert-map-criteria-grid>div {
  padding: 11px 12px;
  border: 1px solid #ece6dc;
  border-radius: 12px;
  background: #faf8f3;
}
.xpert-map-criteria-grid span {
  display: block;
  color: #8b949a;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
}
.xpert-map-criteria-grid b {
  display: block;
  margin-top: 4px;
  color: #1c252b;
  font-size: 10px;
}
.xpert-map-criteria-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
html, body {
  max-width: 100%;
  overflow-x: clip;
}
.container, .hero-inner {
  min-width: 0;
}
button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}
.mobile-call-fab {
  display: none;
}
.xpert-map-choice-list {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}
.xpert-map-choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 8px;
  padding: 9px 10px;
  border: 1px solid #ebe5da;
  border-radius: 10px;
  background: #faf8f3;
  color: #1c252b;
  text-decoration: none;
}
.xpert-map-choice strong {
  font-size: 11px;
  color: #8c671d;
  grid-column: 1;
}
.xpert-map-choice span {
  font-size: 9px;
  font-weight: 800;
  grid-column: 2;
  align-self: center;
  min-width: 0;
}
.xpert-map-choice small {
  grid-column: 1/-1;
  color: #81898f;
  font-size: 7px;
}
.xpert-map-chooser {
  min-width: 230px;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3,6,9,.94);
}
.lightbox.show {
  display: flex;
}
.lightbox>img {
  display: block;
  width: auto;
  max-width: min(94vw,1400px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 100px rgba(0,0,0,.55);
}
.lightbox>[data-close] {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(10,14,18,.72);
  color: #fff;
  font-size: 25px;
  line-height: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(10,14,18,.72);
  color: #fff;
  font-size: 27px;
  line-height: 1;
}
.lightbox-prev {
  left: 18px;
}
.lightbox-next {
  right: 18px;
}
html,body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
*,*::before,*::after {
  box-sizing: border-box;
}
img,video,iframe,canvas,svg {
  max-width: 100%;
}
select[multiple][data-multi-hood] {
  min-height: 48px;
  padding: 8px 12px;
}
select[multiple][data-multi-hood] option {
  padding: 5px 3px;
}
.price-drop-inline {
  color: #b48626 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  white-space: nowrap;
}
.credit-calculator {
  margin-top: 16px !important;
}
.credit-calculator-intro {
  color: #a6afb7;
  font-size: 10px;
  line-height: 1.6;
}
.credit-calc-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 9px;
  margin-top: 15px;
}
.credit-calc-grid label {
  display: block;
}
.credit-calc-grid label>span {
  display: block;
  color: #858f98;
  font-size: 7px;
  margin-bottom: 5px;
}
.credit-calc-grid input {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  background: #10171d;
  color: #fff;
  padding: 0 10px;
  font-size: 10px;
}
.credit-calc-results {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-top: 13px;
}
.credit-calc-results>div {
  padding: 13px;
  border-radius: 10px;
  background: #0f151b;
  border: 1px solid rgba(255,255,255,.07);
}
.credit-calc-results span {
  display: block;
  color: #78838d;
  font-size: 7px;
}
.credit-calc-results b {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-family: Manrope;
  font-size: 18px;
}
.credit-calc-results>div:nth-child(2) b {
  color: var(--gold);
}
.credit-calc-note {
  display: block;
  margin-top: 10px;
  color: #6f7982;
  font-size: 7px;
}
.field-multi-select {
  position: relative;
  min-width: 0;
}
.field-multi-select>label {
  display: block;
}
.multi-select-trigger {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #d7d0c6;
  border-radius: 12px;
  background: #fff;
  color: #252a2f;
  font: 800 10px/1 "DM Sans",sans-serif;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.search-panel-home .multi-select-trigger {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.28);
  color: #fff;
  backdrop-filter: blur(8px);
}
.multi-select-trigger b {
  font-size: 13px;
  line-height: 1;
  opacity: .65;
  transition: transform .16s ease;
}
.field-multi-select.is-open .multi-select-trigger {
  border-color: #b99231;
  box-shadow: 0 0 0 3px rgba(185,146,49,.12);
}
.field-multi-select.is-open .multi-select-trigger b {
  transform: rotate(180deg);
}
.multi-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 7px);
  z-index: 500;
  max-height: 290px;
  overflow: auto;
  padding: 7px;
  border: 1px solid #d9d1c4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(18,23,29,.16);
}
.search-panel-home .multi-select-menu {
  border-color: rgba(255,255,255,.22);
  background: rgba(20,25,30,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
}
.multi-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 9px;
  color: #343b42;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}
.search-panel-home .multi-option {
  color: #e8ebee;
}
.multi-option:hover {
  background: #f4f0e7;
}
.search-panel-home .multi-option:hover {
  background: rgba(255,255,255,.08);
}
.multi-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.multi-check {
  width: 16px;
  height: 16px;
  flex: none;
  border: 1px solid #c7beb0;
  border-radius: 5px;
  background: #fff;
  display: grid;
  place-items: center;
}
.search-panel-home .multi-check {
  background: transparent;
  border-color: rgba(255,255,255,.4);
}
.multi-option input:checked+.multi-check {
  background: var(--gold);
  border-color: var(--gold);
}
.multi-option input:checked+.multi-check::after {
  content: "✓";
  font-size: 11px;
  line-height: 1;
  color: #111;
  font-weight: 900;
}
.multi-option-all {
  margin-bottom: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee7dc;
}
.search-panel-home .multi-option-all {
  border-bottom-color: rgba(255,255,255,.1);
}

/* =========================================================
   V47 — CANONICAL UI TOKENS / NO-DRIFT LAYER
   One visual language for all search controls and small text.
   ========================================================= */
:root{
  --ui-control-font: "DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --ui-control-size: 12px;
  --ui-control-weight: 700;
  --ui-label-size: 10px;
  --ui-meta-size: 9px;
}
.field input,.field select,.search-query-wrap input,.range-pair input,.filter-row input,.filter-row select,
.smart-form input,.smart-form select,.smart-form textarea,.multi-select-trigger{
  font-family:var(--ui-control-font)!important;
  font-size:var(--ui-control-size)!important;
  font-weight:var(--ui-control-weight)!important;
  line-height:1.2!important;
  letter-spacing:0!important;
}
.field>label,.filter-field-label>span,.sort-control>span,.credit-calc-grid label>span,
.search-head .search-hint,.range-filter .range-values,.advanced-summary{
  font-family:var(--ui-control-font)!important;
  font-size:var(--ui-label-size)!important;
  font-weight:700!important;
  line-height:1.35!important;
}
.multi-select-trigger{min-height:48px!important;padding:0 14px!important;border-radius:12px!important}
.search-panel-home .multi-select-trigger{background:#171c21!important;color:#fff!important;border-color:rgba(255,255,255,.14)!important}
.multi-select-menu{overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;z-index:900!important}
.multi-option{font-family:var(--ui-control-font)!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important}
.multi-option-all{font-weight:800!important}
.property-price-block .price-drop-inline{order:2}
.property-price-block>strong{order:1}
.property-price-block>span:not(.price-drop-inline){order:3}
.credit-calculator-intro{font-size:12px!important;color:#6d767d!important}
.credit-calc-grid label>span{font-size:9px!important;color:#656f77!important;font-weight:800!important}
.credit-calc-note{font-size:9px!important;color:#6f7982!important}
.credit-calc-grid input{font-size:12px!important;font-weight:700!important}
.credit-calc-results span{font-size:9px!important;font-weight:700!important}
.credit-calc-results b{font-size:20px!important}
.detail-price-drop{order:2!important;margin:0 0 0 2px!important;padding:6px 9px!important;font-size:10px!important}
.detail-price-line strong{order:1}
.detail-price-line>span:not(.detail-price-drop){order:3}
/* Slightly stronger secondary text across the site without inflating headings. */
.site-header .topbar-inner,.footer-grid a,.footer-grid span,.footer-contact a,.footer-contact span,.footer-brand p,
.footer-bottom,.property-highlights,.property-detail-link,.detail-secondary-facts span,.detail-local-note span,
.detail-credit-note small,.filter-mode-help,.map-search-help{font-size:calc(100% + 1px)}
@media(max-width:700px){
  .multi-select-trigger,.field input,.field select,.search-query-wrap input,.filter-row input,.filter-row select{font-size:13px!important}
  .multi-option{font-size:13px!important}
  .field>label,.filter-field-label>span,.sort-control>span,.credit-calc-grid label>span{font-size:10px!important}
}

/* =========================================================
   V66 — MOBILE MASTER ORDER FIX
   Responsive rules follow base component rules so mobile overrides are authoritative.
   ========================================================= */
/*
 * Nekretnine Xpert — consolidated UI stylesheet
 * V47: duplicate selectors merged within each CSS scope.
 * Responsive media scopes remain isolated so the cascade is intentional.
 */
/* HEADER */
/* HERO */
/* GENERAL SECTIONS */
/* COMMISSION / SELLER / COMPANY */
/* LISTING SEARCH */
/* DETAIL */
/* CONTACT / BLOG / STATIC */
/* FOOTER */
/* MAP */
/* UNIVERSAL SAFETY */
@media (max-width:1180px) {
  :root {
    --container: min(1180px,calc(100% - 40px));
  }
  .desktop-nav {
    gap: 17px;
  }
  .desktop-nav>a {
    font-size: 9px;
  }
  .site-header .nav {
    grid-template-columns: 160px minmax(0,1fr) auto;
    gap: 16px;
  }
  .brand img {
    width: 135px;
  }
  .hero-inner {
    padding-top: 90px;
  }
  .hero-copy h1 {
    font-size: clamp(46px,6.2vw,68px);
  }
  .property-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .filter-checks,.check-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
  .detail-main-grid {
    grid-template-columns: 1.35fr .65fr;
  }
  .gallery-main {
    height: 520px;
  }
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
  .footer-cta {
    grid-template-columns: 1.2fr 1fr auto;
  }
}
@media (max-width:900px) {
  :root {
    --container: min(100% - 28px,760px);
  }
  .topline {
    display: none;
  }
  .site-header .nav {
    height: 82px;
    grid-template-columns: 1fr auto;
  }
  .brand {
    height: 82px;
  }
  .brand img {
    width: 125px;
    height: 68px;
  }
  .desktop-nav,.call {
    display: none;
  }
  .hamb {
    display: flex;
  }
  .mobile-drawer {
    top: 82px;
  }
  .hero-home {
    min-height: 980px;
  }
  .hero-inner {
    min-height: 900px;
    padding: 76px 0 150px;
  }
  .hero-copy h1 {
    font-size: clamp(44px,9vw,66px);
  }
  .hero-copy p {
    font-size: 14px;
  }
  .hero-actions {
    margin-top: 25px;
  }
  .search-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .search-hint {
    white-space: normal;
  }
  .search-row-primary,.search-row-secondary {
    grid-template-columns: 1fr 1fr;
  }
  .search-row-secondary .field-code {
    grid-column: 1/-1;
  }
  .search-submit {
    grid-column: 1/-1;
  }
  .advanced-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .hero-benefits {
    grid-template-columns: repeat(2,1fr);
  }
  .hero-benefits>div:nth-child(2) {
    border-right: 0;
  }
  .hero-benefits>div:nth-child(n/**/+3) {
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .commission-spotlight-inner {
    grid-template-columns: 1fr;
  }
  .commission-proof {
    justify-content: flex-start;
  }
  .market-grid,.news-grid,.news-grid-premium {
    grid-template-columns: 1fr 1fr;
  }
  .projects-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 230px 230px;
  }
  .property-grid,.related-grid {
    grid-template-columns: 1fr 1fr;
  }
  .seller-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }
  .experience-intro {
    grid-column: 1/-1;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .why-head {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .filter-modebar {
    grid-template-columns: 1fr;
  }
  .filter-mode-help {
    justify-self: start;
    text-align: left;
  }
  .filter-row-main,.filter-row-secondary {
    grid-template-columns: 1fr 1fr;
  }
  .filter-checks {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  .map-search-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .map-search-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .detail-main-grid,.article-detail-grid,.article-grid,.contact-grid {
    grid-template-columns: 1fr;
  }
  .agent-card-premium,.article-aside {
    position: static;
  }
  .detail-keyfacts,.detail-secondary-facts {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-main {
    height: 470px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .manifesto-grid,.course-list,.module-list,.steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-cta {
    grid-template-columns: 1fr;
  }
  .footer-cta>.btn {
    justify-self: start;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width:640px) {
  :root {
    --container: min(100% - 22px,560px);
  }
  .site-header .nav {
    height: 72px;
  }
  .brand {
    height: 72px;
  }
  .brand img {
    width: 112px;
    height: 58px;
  }
  .mobile-drawer {
    top: 72px;
  }
  .hero-home {
    min-height: 1050px;
  }
  .hero-inner {
    min-height: 980px;
    padding: 64px 0 165px;
  }
  .hero-copy h1 {
    font-size: clamp(40px,12.8vw,56px);
  }
  .hero-copy p {
    font-size: 13px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 13px;
  }
  .hero-video-link {
    margin-left: auto;
  }
  .search-panel-home {
    padding: 13px;
  }
  .search-head-left {
    display: grid;
    width: 100%;
    gap: 8px;
  }
  .search-quick-option {
    width: 100%;
  }
  .search-row-primary,.search-row-secondary,.advanced-grid {
    grid-template-columns: 1fr;
  }
  .search-row-secondary .field-code,.search-submit {
    grid-column: auto;
  }
  .check-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-benefits {
    grid-template-columns: 1fr;
  }
  .hero-benefits>div {
    border-right: 0;
  }
  .hero-benefits>div+div {
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .section {
    padding: 62px 0;
  }
  .section-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .section-top h2,.section h2 {
    font-size: 37px;
  }
  .market-grid,.projects-mosaic,.property-grid,.related-grid,.news-grid,.news-grid-premium {
    grid-template-columns: 1fr;
  }
  .projects-mosaic {
    grid-template-rows: none;
    grid-auto-rows: 220px;
  }
  .project-tile:first-child {
    grid-row: auto;
  }
  .property-media {
    height: 250px;
  }
  .commission-copy {
    align-items: flex-start;
    flex-direction: column;
  }
  .commission-mark {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
    font-size: 21px;
  }
  .commission-proof {
    flex-wrap: wrap;
  }
  .seller-cta h2 {
    font-size: 39px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
  }
  .experience-intro {
    grid-column: auto;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-head {
    grid-column: auto;
  }
  .page-hero {
    padding: 56px 0 50px;
  }
  .page-hero h1 {
    font-size: clamp(40px,11.5vw,55px);
  }
  .listing-section {
    padding: 36px 0 70px;
  }
  .filter-panel {
    padding: 15px;
  }
  .filter-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .filter-actions {
    width: 100%;
  }
  .filter-actions .btn {
    flex: 1;
  }
  .filter-purpose-tabs {
    width: 100%;
  }
  .purpose-pill {
    flex: 1;
  }
  .purpose-pill span {
    width: 100%;
    text-align: center;
  }
  .filter-credit-pill {
    width: 100%;
  }
  .filter-row-main,.filter-row-secondary {
    grid-template-columns: 1fr;
  }
  .filter-checks {
    grid-template-columns: 1fr 1fr;
  }
  .map-search-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .map-btn {
    width: 100%;
  }
  .xpert-search-map {
    height: 330px;
  }
  .results-head h2 {
    font-size: 33px;
  }
  .detail-topbar {
    padding: 40px 0 28px;
  }
  .detail-topbar h1 {
    font-size: clamp(34px,8.5vw,44px);
  }
  .detail-primary-info {
    align-items: flex-start;
    flex-direction: column;
  }
  .detail-price-line strong {
    font-size: 37px;
  }
  .detail-actions {
    width: 100%;
  }
  .save-large,.share-btn {
    flex: 1;
  }
  .detail-keyfacts,.detail-secondary-facts {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-main {
    height: 360px;
  }
  .gallery-thumb {
    width: 68px;
    height: 52px;
    flex-basis: 68px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .tour-box {
    align-items: flex-start;
    flex-direction: column;
  }
  .article-cover {
    height: 300px;
  }
  .manifesto-grid,.course-list,.module-list,.steps,.two-col,.grid2,.form-row {
    grid-template-columns: 1fr;
  }
  .contact-block h2 {
    font-size: 33px;
  }
  .footer {
    padding-top: 46px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-bottom span:last-child {
    flex-wrap: wrap;
  }
  .zero-banner-inner,.seller-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
/* =========================
   XPERT 10/10 POLISH LAYER
   ========================= */
/* Homepage project markup uses .project-card, not the legacy .project-tile selector. */
/* Listing page */
/* Property cards: brighter, calmer, more scannable. */
/* Detail page: white/cream content instead of an all-black page. */
/* Map price markers — actual visible dimensions, not 0x0. */
@media (max-width:1100px) {
  .project-slide {
    flex-basis: calc((100% - 16px) / 2);
  }
  .project-slide .project-card {
    height: 330px;
    min-height: 330px;
  }
}

@media (max-width:640px) {
  .project-carousel-track {
    gap: 12px;
  }
  .project-slide {
    flex-basis: 100%;
  }
  .project-slide .project-card {
    height: 280px;
    min-height: 280px;
  }
  .project-carousel-controls {
    margin-top: 14px;
  }
}

@media (max-width:900px) {
  .home-trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-trust-grid>div:nth-child(2) {
    border-right: 0;
  }
  .home-trust-grid>div:nth-child(n/**/+3) {
    border-top: 1px solid var(--line);
  }
  .project-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 250px;
  }
  .project-card.large {
    grid-row: 1/3;
  }
  .xpert-search-map {
    height: 390px;
  }
}
@media (max-width:640px) {
  .hero-home {
    min-height: 930px;
  }
  .hero-inner {
    min-height: 860px;
    padding: 58px 0 145px;
  }
  .home-trust-grid {
    grid-template-columns: 1fr;
  }
  .home-trust-grid>div {
    border-right: 0 !important;
    border-top: 1px solid var(--line);
  }
  .home-trust-grid>div:first-child {
    border-top: 0;
  }
  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 230px;
    gap: 12px;
  }
  .project-card.large {
    grid-row: auto;
  }
  .project-content h3,.project-card:not(.large) .project-content h3 {
    font-size: 22px;
  }
  .xpert-search-map {
    height: 330px;
  }
  .detail-local-note {
    align-items: flex-start;
    flex-direction: column;
  }
  .detail-local-note a {
    padding-left: 44px;
  }
}
@media (max-width:700px) {
  .home-purpose-cards {
    grid-template-columns: 1fr;
  }
  .home-purpose-card {
    padding: 15px 16px;
  }
  .filter-fixed-purpose {
    align-items: flex-start;
    border-radius: 14px;
    flex-direction: column;
    gap: 3px;
  }
  .load-more-btn {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width:720px) {
  .filter-panel-fixed-purpose .filter-modebar {
    grid-template-columns: 1fr;
  }
  .filter-fixed-purpose {
    width: 100%;
    justify-content: space-between;
  }
  .filter-fixed-purpose span {
    font-size: 8px;
  }
}
@media (max-width:700px) {
  .filter-panel-fixed-purpose .filter-modebar {
    grid-template-columns: 1fr;
  }
  .filter-panel-fixed-purpose .filter-mode-help {
    justify-self: start;
    text-align: left;
  }
}
@media (max-width:700px) {
  .consultation-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .consultation-cta .btn {
    width: 100%;
  }
  .advanced-toggle-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .advanced-summary {
    font-size: 8px;
  }
  .results-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .sort-control {
    width: 100%;
    justify-content: space-between;
  }
  .sort-control select {
    flex: 1;
    min-width: 0;
  }
}
@media (max-width:700px) {
  .hero-video-link-right {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: auto;
    margin-left: auto;
  }
  .hero-video-label {
    font-size: 11px;
  }
}
/* Besplatne konsultacije */
@media (max-width:900px) {
  .consultation-layout {
    grid-template-columns: 1fr;
  }
  .consultation-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .consultation-cta .btn {
    width: 100%;
  }
}
/* UX polish: keep the established visual language while tightening hierarchy and accessibility. */
@media (max-width:900px) {
  .desktop-nav>a.consultation-nav {
    padding: 0;
  }
  .detail-topbar h1 {
    font-size: clamp(34px,7vw,48px);
  }
}
/* UX refinement: keep the hero video label aligned with the search container without changing the visual language. */
/* Make interactive listing controls unmistakably clickable while preserving the current design. */
/* Shop-style sorting remains compact, but stays easy to scan on small screens. */
@media (max-width:700px) {
  .hero-actions {
    width: 100%;
  }
  .results-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width:700px) {
  .compare-bar {
    left: 11px;
    right: 11px;
    bottom: 12px;
    transform: none;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
  }
  .compare-bar small {
    display: none;
  }
  .compare-bar a,.compare-bar button {
    padding: 9px 11px;
  }
  .property-card-actions {
    right: 10px;
    bottom: 10px;
  }
  .mobile-detail-cta {
    position: fixed;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 8px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 95;
    padding: 8px;
    border: 1px solid rgba(220,214,202,.9);
    border-radius: 16px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 14px 40px rgba(20,24,29,.14);
    backdrop-filter: blur(12px);
  }
  .mobile-detail-cta a {
    display: grid;
    place-items: center;
    height: 46px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
  }
  .mobile-detail-call {
    background: #f3f1eb;
    color: #222;
  }
  .mobile-detail-book {
    background: var(--gold);
    color: #111;
  }
  .detail-section {
    padding-bottom: 90px;
  }
}
/* FINAL HERO ALIGNMENT: keep the CTA row and search panel on the same centered axis. */
@media (max-width:640px) {
  .hero-actions,.search-panel-home {
    max-width: 100%;
  }
}
/* HERO FINAL: center the complete hero composition without changing its visual language. */
@media (max-width:700px) {
  .hero-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
  }
  .hero-video-link-right {
    margin: 0;
  }
  .hero-copy,.hero-copy p {
    margin-inline: auto;
    text-align: center;
  }
}
/* SIMPLE RANGE FILTERS: choose from/to without typing. */
@media (max-width:1050px) {
  .search-row-secondary {
    grid-template-columns: 1fr 1fr;
  }
  .search-row-secondary .field-code,.search-row-secondary .search-submit {
    grid-column: 1/-1;
  }
  .filter-row-secondary.range-filter-row {
    grid-template-columns: 1fr 1fr;
  }
  .filter-row-secondary.range-filter-row select {
    min-width: 0;
  }
}
@media (max-width:700px) {
  .search-row-secondary,.filter-row-secondary.range-filter-row {
    grid-template-columns: 1fr;
  }
  .search-row-secondary .field-code,.search-row-secondary .search-submit {
    grid-column: auto;
  }
}
/* The homepage hero intentionally stays minimal: headline + actions + search. */
@media (max-width:700px) {
  .hero-home .hero-inner {
    align-content: start;
  }
}
/* HERO MINIMAL: headline and search only. */
@media (max-width:700px) {
  .hero-home {
    min-height: 760px;
  }
  .hero-home .hero-inner {
    min-height: 760px;
    padding: 70px 0 70px;
    gap: 22px;
  }
}
/* TYPE-AWARE SEARCH — show only relevant filters for selected property type */
@media (max-width:700px) {
  .property-credit-note strong {
    font-size: 11px;
  }
  .detail-credit-note strong {
    font-size: 16px;
  }
}
/* RGZ — Novi Sad market strip */
/* Compact credit badge on property cards */
/* Prevent gallery controls from ever escaping their gallery */
@media (max-width:900px) {
  .rgz-strip-stats {
    grid-template-columns: repeat(3,minmax(0,1fr));
    row-gap: 9px;
  }
  .rgz-strip-stats>div:nth-child(3) {
    border-right: 0;
  }
  .rgz-strip-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
@media (max-width:640px) {
  .rgz-strip-inner {
    padding: 13px 0 11px;
  }
  .rgz-strip-stats {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .rgz-strip-stats>div {
    padding: 5px 10px;
    border-right: 1px solid #ddd5c7;
  }
  .rgz-strip-stats>div:nth-child(3),.rgz-strip-stats>div:nth-child(5) {
    border-right: 0;
  }
  .rgz-strip-stats b {
    font-size: 15px;
  }
  .rgz-strip-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .property-credit-pill {
    font-size: 8px;
    min-height: 26px;
    padding: 0 9px;
  }
}
/* V40 — map, market carousel and mobile refinement */
@media (max-width:640px) {
  /* Legacy market-grid rules consolidated into the final carousel block below. */
  .xpert-map-criteria-dialog {
    padding: 22px 16px;
    border-radius: 18px;
  }
  .xpert-map-criteria-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin: 16px 0;
  }
  .xpert-map-criteria-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .xpert-map-criteria-actions .btn {
    width: 100%;
  }
  .property-grid {
    gap: 12px !important;
  }
  .property-card {
    content-visibility: auto;
    contain-intrinsic-size: 350px;
  }
  img {
    height: auto;
  }
  .search-panel-home {
    backdrop-filter: blur(10px);
  }
  .mobile-drawer a,.hamb {
    min-height: 44px;
  }
  .filter-panel button,.filter-panel select,.filter-panel input {
    min-height: 44px;
  }
  .map-btn {
    min-height: 44px !important;
  }
  .xpert-search-map {
    height: 300px !important;
  }
}
@media (prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
/* =========================================================
   V41 — MOBILE MASTER PASS
   Existing copy/content preserved; responsive behavior only.
   ========================================================= */
@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 120;
  }
  .nav-right {
    gap: 7px;
  }
  .heart, .compare-nav, .hamb {
    flex: 0 0 40px;
  }
  .heart, .compare-nav {
    width: 40px;
    height: 40px;
  }
  .page-hero .container,
  .section .container,
  .listing-section .container,
  .footer .container,
  .detail-redesign .container,
  .detail-topbar .container {
    min-width: 0;
  }
  .page-hero h1,
  .section h2,
  .section-top h2,
  .detail-topbar h1,
  .detail-block h2,
  .hero-copy h1 {
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .section-top > *,
  .filter-top > *,
  .detail-primary-info > *,
  .detail-local-note > *,
  .footer-cta > *,
  .footer-bottom > * {
    min-width: 0;
  }
  .btn {
    min-height: 48px;
  }
  .smart-form input,
  .smart-form select,
  .smart-form textarea,
  .filter-row input,
  .filter-row select,
  .search-query-wrap input {
    font-size: 16px;
  }
}
@media (max-width: 640px) {
  /* Hero: keep it strong, but stop it from dominating the phone. */
  /* Homepage search — thumb friendly and visually stable. */
  /* Listings: readable cards, fewer oversized gaps. */
  /* Detail page — gallery, title, facts and actions become one-column rhythm. */
  /* Forms / informational pages. */
  /* Projects/news/benefit grids — no cramped two-card columns. */
  /* RGZ and market prices — compact, bounded, swipe/pagination friendly. */
  /* Map — controls always reachable with a thumb. */
  /* Compare / saved pages. */
  /* Footer becomes a clean stacked contact block. */
  /* Fixed mobile CTA must not cover content or the compare bar. */
  /* Modals / lightboxes stay inside the viewport. */
  /* Don't let long contact/email strings create horizontal scrolling. */
  :root {
    --container: calc(100% - 20px);
  }
  .site-header .nav {
    height: 68px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }
  .brand,
  .brand img {
    height: 68px;
  }
  .brand img {
    width: 108px;
  }
  .nav-right {
    gap: 5px;
  }
  .heart, .compare-nav, .hamb {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .heart {
    font-size: 17px;
  }
  .compare-nav {
    font-size: 14px;
  }
  .hamb {
    gap: 3px;
  }
  .mobile-drawer {
    top: 68px;
    max-height: calc(100svh - 68px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-drawer-inner {
    width: var(--container);
    padding: 10px 0 calc(18px + env(safe-area-inset-bottom));
    gap: 3px;
  }
  .mobile-drawer-inner a {
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 15px;
    padding: 12px 14px;
  }
  .hero-home,
  .hero-home .hero-inner {
    min-height: auto;
  }
  .hero-home .hero-inner {
    padding: 72px 0 34px;
    gap: 18px;
  }
  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 52px);
    line-height: .96;
  }
  .hero-video iframe {
    min-width: 860px;
    min-height: 484px;
    opacity: .22;
  }
  .hero-shade {
    background: linear-gradient(180deg, rgba(3,6,9,.62), rgba(3,6,9,.72)),
      linear-gradient(180deg, rgba(3,6,9,.18), rgba(3,6,9,.88));
  }
  .search-panel-home {
    margin-top: 6px;
    padding: 12px;
    border-radius: 16px;
  }
  .search-head {
    margin-bottom: 10px;
    gap: 9px;
  }
  .search-head-left {
    gap: 7px;
  }
  .search-tabs {
    width: 100%;
  }
  .search-tab {
    flex: 1 1 0;
    justify-content: center;
    min-height: 42px;
    padding: 10px 9px;
    font-size: 11px;
  }
  .search-quick-option {
    min-height: 44px;
    padding: 9px 10px;
  }
  .search-hint {
    font-size: 8px;
    line-height: 1.35;
  }
  .search-row-primary,
  .search-row-secondary,
  .advanced-grid,
  .filter-row-main,
  .filter-row-secondary {
    gap: 9px;
  }
  .field input,
  .field select,
  .range-pair input {
    height: 48px;
  }
  .listing-section {
    padding: 28px 0 72px;
  }
  .filter-panel {
    padding: 13px;
    border-radius: 16px;
  }
  .filter-title h2 {
    font-size: 30px;
  }
  .filter-modebar {
    padding: 13px 0;
  }
  .filter-actions {
    gap: 7px;
  }
  .filter-actions .btn {
    min-height: 46px;
  }
  .filter-checks {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-top: 13px;
    margin-top: 13px;
  }
  .filter-checks .listing-check {
    min-height: 46px;
  }
  .results-head {
    gap: 9px;
  }
  .results-head h2 {
    font-size: 30px;
  }
  .sort-control select {
    min-height: 44px;
  }
  .property-grid,
  .related-grid {
    grid-template-columns: 1fr;
    gap: 14px !important;
  }
  .property-card {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(18,24,28,.055);
  }
  .property-media {
    height: 220px;
  }
  .property-body {
    padding: 14px;
  }
  .property-body h3 {
    font-size: 15px;
  }
  .property-price-block {
    margin-top: 12px;
    gap: 8px;
  }
  .property-price-block strong {
    font-size: 22px;
  }
  .property-price-block span {
    font-size: 13px;
  }
  .property-credit-pill {
    min-height: 26px;
    padding: 0 8px;
    font-size: 7.8px;
  }
  .property-keyfacts {
    gap: 7px;
    margin-top: 11px;
    padding-top: 11px;
  }
  .property-highlights {
    max-height: 52px;
    overflow: hidden;
  }
  .property-detail-link {
    margin-top: 12px;
    padding-top: 11px;
  }
  .detail-topbar {
    padding: 34px 0 24px;
  }
  .detail-topbar h1 {
    font-size: clamp(31px, 9.5vw, 42px);
  }
  .detail-redesign {
    padding: 22px 0 90px;
  }
  .detail-main-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-main {
    height: 300px;
  }
  .gallery-thumb {
    width: 62px;
    height: 48px;
    flex-basis: 62px;
  }
  .detail-primary-info {
    gap: 9px;
    margin-top: 13px;
    padding-bottom: 14px;
  }
  .detail-price-line strong {
    font-size: 33px;
  }
  .detail-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .detail-actions .btn,
  .save-large,
  .share-btn {
    min-width: 0;
    width: 100%;
  }
  .detail-keyfacts,
  .detail-secondary-facts {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .detail-keyfacts > div,
  .detail-secondary-facts > div {
    padding: 10px;
  }
  .detail-local-note {
    align-items: flex-start;
    padding: 11px 12px;
  }
  .detail-local-note a {
    white-space: nowrap;
  }
  .detail-block {
    border-radius: 15px;
  }
  .detail-block h2 {
    font-size: 29px;
  }
  .detail-credit-note {
    max-width: none;
    margin-top: 10px;
  }
  .page-hero {
    padding: 48px 0 42px;
  }
  .page-hero p {
    font-size: 12px;
    line-height: 1.6;
  }
  .section {
    padding: 52px 0;
  }
  .section-top {
    margin-bottom: 22px;
  }
  .section-top h2,
  .section h2 {
    font-size: clamp(31px, 9vw, 38px);
  }
  .two-col,
  .grid2,
  .article-grid,
  .contact-grid,
  .consultation-layout,
  .article-detail-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .article-cover {
    height: 240px;
  }
  .article-aside,
  .quote-card,
  .contact-form-wrap,
  .panel,
  .legal,
  .contact-block,
  .consultation-form-card {
    padding: 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .smart-form {
    gap: 10px;
  }
  .smart-form label {
    gap: 5px;
    font-size: 9px;
  }
  .smart-form textarea {
    min-height: 120px;
  }
  .projects-mosaic,
  .news-grid,
  .news-grid-premium,
  .feature-grid,
  .experience-grid,
  .why-grid,
  .course-list,
  .module-list,
  .steps {
    grid-template-columns: 1fr;
  }
  .projects-mosaic {
    grid-auto-rows: 190px;
  }
  .why-head {
    grid-column: auto;
  }
  .why-grid > * {
    padding: 19px;
  }
  .rgz-strip-inner {
    padding: 12px 0 10px;
  }
  .rgz-strip-title {
    padding-bottom: 8px;
  }
  .rgz-strip-title strong {
    font-size: 9px;
  }
  .rgz-strip-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .rgz-strip-stats > div {
    min-width: 0;
    padding: 7px 9px;
    border-right: 1px solid #ddd5c7;
  }
  .rgz-strip-stats > div:nth-child(2n) {
    border-right: 0;
  }
  .rgz-strip-stats b {
    font-size: 14px;
  }
  .rgz-strip-stats span {
    font-size: 6.5px;
  }
  .rgz-strip-foot {
    font-size: 6.5px;
  }
  /* Legacy V42 market carousel rules consolidated below. */
  .market-value small {
    font-size: 7px;
  }
  .market-meter {
    margin: 7px 0 5px;
    height: 3px;
  }
  .market-range {
    font-size: 5.8px !important;
  }
  .market-controls {
    margin-top: 9px;
    gap: 8px;
  }
  .market-nav {
    width: 38px;
    height: 38px;
  }
  .market-page {
    min-width: 54px;
    font-size: 7px;
  }
  .map-search-toolbar {
    gap: 9px;
  }
  .map-search-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    width: 100%;
  }
  .map-search-actions .map-btn,
  .map-btn {
    width: 100%;
    min-height: 46px !important;
  }
  .xpert-search-map {
    height: 340px !important;
    border-radius: 14px;
  }
  .xpert-map-popup {
    min-width: 180px;
  }
  .xpert-map-cluster {
    width: 66px !important;
    height: 42px !important;
  }
  .xpert-map-cluster strong {
    font-size: 9px !important;
  }
  .xpert-map-price {
    min-width: 70px !important;
    height: 26px !important;
    font-size: 7px !important;
  }
  .leaflet-control-zoom a {
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
  }
  .compare-app {
    min-width: 0;
  }
  .compare-table-wrap {
    margin-inline: -1px;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
  }
  .compare-table {
    min-width: 720px;
  }
  .compare-table th,
  .compare-table td {
    padding: 11px;
  }
  .compare-product {
    min-width: 190px;
  }
  .compare-product img {
    height: 110px;
  }
  .compare-bar {
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    transform: none;
    gap: 6px;
    padding: 8px;
    border-radius: 14px;
  }
  .compare-bar span {
    font-size: 8px;
  }
  .compare-bar a,
  .compare-bar button {
    padding: 9px 10px;
    font-size: 8px;
  }
  .footer {
    padding: 42px 0 calc(18px + env(safe-area-inset-bottom));
  }
  .footer-cta {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    margin-bottom: 30px;
    border-radius: 16px;
  }
  .footer-cta h3 {
    font-size: 24px;
    line-height: 1.04;
  }
  .footer-cta p {
    font-size: 8px;
    line-height: 1.5;
  }
  .footer-cta > .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer-logo {
    width: 122px;
  }
  .footer-grid h4 {
    margin-bottom: 8px;
  }
  .footer-bottom {
    gap: 10px;
    margin-top: 24px;
    padding-top: 12px;
  }
  .footer-bottom span:last-child {
    gap: 8px;
  }
  .back-top {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
  }
  .mobile-detail-cta {
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 8px;
    right: 8px;
    gap: 6px;
    padding: 7px;
    border-radius: 15px;
  }
  .mobile-detail-cta a {
    min-height: 44px;
  }
  .detail-section {
    padding-bottom: 96px;
  }
  .xpert-map-criteria-modal,
  .xpert-video-modal {
    padding: 10px;
  }
  .xpert-map-criteria-dialog,
  .xpert-video-dialog {
    width: 100%;
    max-height: calc(100svh - 20px);
    overflow: auto;
  }
  .xpert-map-criteria-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .xpert-map-criteria-grid > div {
    padding: 9px 10px;
  }
  .xpert-map-criteria-grid b {
    font-size: 9px;
  }
  .xpert-map-criteria-actions {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 8px;
  }
  .footer a,
  .contact-block a,
  .richtext,
  .legal,
  .detail-desc {
    overflow-wrap: anywhere;
  }
}
/* =========================================================
   V42 — TRUE MOBILE INTERACTION / WHOLE PROJECT
   ========================================================= */
@media (max-width:900px) {
  /* Keep every page inside the viewport. */
  /* Better mobile map interaction. */
  /* Full-width mobile filter actions and predictable tap order. */
  /* Make the market-price carousel feel like a compact app module. */
  /* Gallery: buttons are always thumb reachable. */
  /* Prevent sticky/fixed mobile controls from covering the final content. */
  .mobile-call-fab {
    display: grid;
    position: fixed;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 94;
    grid-template-columns: 24px auto;
    align-items: center;
    gap: 5px;
    min-width: 88px;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid rgba(198,154,47,.36);
    border-radius: 999px;
    background: var(--gold);
    color: #111;
    box-shadow: 0 12px 30px rgba(20,24,29,.18);
    text-decoration: none;
  }
  .mobile-call-fab span {
    font-size: 17px;
    line-height: 1;
  }
  .mobile-call-fab b {
    font-size: 9px;
    letter-spacing: .04em;
    text-transform: uppercase;
  }
  main, section, article, aside, footer, header, .container, .panel, .card, .grid2, .two-col {
    min-width: 0;
    max-width: 100%;
  }
  iframe, video, svg, canvas {
    max-width: 100%;
  }
  table {
    max-width: 100%;
  }
  pre, code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }
  input, select, textarea, button {
    max-width: 100%;
  }
  .xpert-search-map {
    touch-action: pan-x pan-y;
    user-select: none;
    -webkit-user-select: none;
  }
  .xpert-search-map.is-drawing {
    touch-action: none !important;
    cursor: crosshair !important;
  }
  .xpert-search-map .leaflet-control-zoom {
    margin-top: 8px;
    margin-right: 8px;
  }
  .xpert-search-map .leaflet-control-attribution {
    font-size: 7px;
  }
  .xpert-map-choice-list {
    max-height: 42svh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
  }
  .xpert-map-choice {
    min-height: 52px;
  }
  .xpert-map-choice strong {
    font-size: 12px;
  }
  .xpert-map-choice span {
    font-size: 9px;
  }
  .xpert-map-choice small {
    font-size: 7px;
  }
  .filter-panel .filter-top,
  .filter-panel .filter-modebar,
  .map-search-toolbar,
  .map-search-actions,
  .advanced-toggle-row,
  .results-head,
  .detail-actions,
  .footer-cta,
  .footer-grid,
  .footer-bottom {
    min-width: 0;
  }
  .map-search-toolbar {
    overflow: visible;
  }
  .map-search-actions .map-btn {
    white-space: normal;
    line-height: 1.2;
  }
  .market-carousel {
    width: 100%;
  }
  .market-grid {
    width: 100%;
  }
  .market-controls {
    padding-bottom: 2px;
  }
  .gallery-main {
    touch-action: pan-y;
  }
  .gallery-nav {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }
  .gallery-thumbs {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .gallery-thumbs::-webkit-scrollbar {
    display: none;
  }
  .route-oglas main {
    padding-bottom: 88px;
  }
  .route-oglas .mobile-detail-cta + * {
    margin-bottom: 0;
  }
}
@media (max-width:640px) {
  /* One-column where dense modules become cramped; leave market cards at 2x2. */
  /* More useful full-screen mobile modal behavior. */
  /* Inputs remain readable on iOS/Android and don't trigger layout overflow. */
  /* Home/listing cards and page sections use consistent edge gutters. */
  .mobile-call-fab {
    right: 10px;
  }
  .mobile-call-fab:has(+ .compare-bar), .mobile-call-fab:has(~ .compare-bar) {
    bottom: 74px;
  }
  .compare-bar {
    z-index: 96;
  }
  .mobile-detail-cta ~ .mobile-call-fab {
    display: none !important;
  }
  .compare-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
  }
  .compare-product strong {
    font-size: 15px;
  }
  .compare-table {
    min-width: 670px;
  }
  .compare-product {
    min-width: 175px;
  }
  .xpert-map-criteria-dialog,
  .xpert-video-dialog {
    border-radius: 16px !important;
  }
  .xpert-map-criteria-actions .btn {
    min-height: 48px;
  }
  .smart-form input,
  .smart-form select,
  .smart-form textarea,
  .filter-row input,
  .filter-row select,
  .search-query-wrap input {
    min-width: 0;
    width: 100%;
    font-size: 16px !important;
  }
  .rgz-strip-stats > div {
    min-width: 0;
  }
  .rgz-strip-stats span {
    overflow-wrap: anywhere;
  }
  .container {
    width: calc(100% - 20px) !important;
  }
  .property-body, .market-card, .panel, .contact-block, .article-aside, .consultation-form-card {
    min-width: 0;
  }
}
/* V43 — FINAL MOBILE STABILITY PASS
   Responsive/layout corrections only. Existing copy and desktop design stay intact. */
/* Lightbox must be a real overlay. Without this it renders inline and creates the
   stray × ‹ › controls / huge empty area visible on mobile. */
/* Never allow a child component to establish a wider layout than the viewport. */
@media (max-width:900px) {
  /* Detail page */
  /* Related listings */
  /* Generic content pages */
  /* Search/filter */
  /* Map drawing: make the actual map surface the drawing target and keep buttons above it. */
  /* Market/RGZ sections */
  /* Compare */
  /* Footer */
  /* The fixed detail CTA needs enough content clearance. */
  .container {
    width: calc(100% - 28px);
    max-width: 100%;
    margin-inline: auto;
  }
  .site-header {
    width: 100%;
    overflow: visible;
  }
  .site-header .nav {
    width: 100%;
    padding-inline: 14px;
  }
  .detail-topbar .container,
  .detail-redesign .container {
    width: calc(100% - 28px);
  }
  .detail-topbar {
    overflow: hidden;
  }
  .detail-topbar h1 {
    font-size: clamp(30px,8.8vw,46px) !important;
    line-height: .98;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
  }
  .detail-main-grid {
    display: block;
  }
  .detail-main-grid>div {
    min-width: 0;
    width: 100%;
  }
  .agent-card-premium {
    position: static;
    margin-top: 16px;
  }
  .detail-primary-info {
    align-items: flex-start;
    flex-direction: column;
  }
  .detail-actions {
    width: 100%;
  }
  .gallery-shell {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }
  .gallery-main {
    width: 100%;
    height: min(72vw,430px);
    min-height: 250px;
    background: #20272e;
  }
  .gallery-main>img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    object-fit: contain;
  }
  .gallery-nav {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 23px;
  }
  .gallery-nav.prev {
    left: 10px;
  }
  .gallery-nav.next {
    right: 10px;
  }
  .gallery-counter {
    right: 10px;
    top: 10px;
  }
  .gallery-full {
    right: 10px;
    bottom: 10px;
  }
  .gallery-thumbs {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-thumbs::-webkit-scrollbar {
    display: none;
  }
  .gallery-thumb {
    width: 68px;
    height: 52px;
    flex: 0 0 68px;
  }
  .detail-keyfacts,.detail-secondary-facts {
    grid-template-columns: 1fr 1fr;
  }
  .detail-keyfacts>div,.detail-secondary-facts>div {
    min-width: 0;
  }
  .detail-block {
    min-width: 0;
    overflow: hidden;
  }
  .detail-desc {
    font-size: 12px;
    line-height: 1.72;
    overflow-wrap: anywhere;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tour-box {
    align-items: flex-start;
    flex-direction: column;
  }
  .tour-box .btn {
    width: 100%;
  }
  .tour-frame-wrap {
    width: 100%;
    max-width: 100%;
  }
  .tour-frame {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .related-grid,.property-grid {
    grid-template-columns: 1fr !important;
    width: 100%;
    max-width: 100%;
    gap: 14px !important;
  }
  .property-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .property-media {
    height: 220px;
  }
  .property-body {
    min-width: 0;
    overflow: hidden;
  }
  .property-body h3 {
    overflow-wrap: anywhere;
  }
  .property-price-block {
    min-width: 0;
    align-items: flex-start;
  }
  .property-price-block strong {
    min-width: 0;
  }
  .property-credit-pill {
    margin-left: auto;
    flex: 0 0 auto;
  }
  .section,.page-hero,.listing-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .section-top {
    min-width: 0;
  }
  .section-top h2,.section h2,.page-hero h1 {
    overflow-wrap: anywhere;
  }
  .panel,.legal,.contact-block,.contact-form-wrap,.consultation-form-card,.article-aside {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .smart-form,.form-shell,.form-row {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .smart-form input,.smart-form select,.smart-form textarea {
    width: 100%;
    min-width: 0;
  }
  .filter-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .filter-row-main,.filter-row-secondary,.search-row-primary,.search-row-secondary,.advanced-grid {
    grid-template-columns: 1fr !important;
  }
  .filter-row-main>*,.filter-row-secondary>*,.search-row-primary>*,.search-row-secondary>* {
    min-width: 0;
    width: 100%;
  }
  .range-filter {
    width: 100%;
    min-width: 0;
  }
  .filter-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .filter-actions>* {
    width: 100%;
  }
  .map-search-toolbar {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .map-search-actions {
    width: 100%;
  }
  .map-search-panel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .xpert-search-map {
    width: 100%;
    height: 360px !important;
    max-width: 100%;
    touch-action: pan-x pan-y;
  }
  .xpert-search-map.is-drawing {
    touch-action: none !important;
    cursor: crosshair;
  }
  .xpert-search-map .leaflet-container {
    width: 100%;
    height: 100%;
  }
  .leaflet-control-zoom a {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
  }
  .xpert-map-popup {
    max-width: calc(100vw - 44px) !important;
  }
  .xpert-map-choice-list {
    max-height: 44svh;
    overflow: auto;
  }
  .market-carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .market-grid {
    width: 100%;
    max-width: 100%;
  }
  .rgz-strip-inner {
    width: 100%;
    min-width: 0;
  }
  .rgz-strip-stats {
    width: 100%;
    min-width: 0;
  }
  .compare-app,.compare-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .compare-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .compare-table {
    min-width: 680px;
  }
  .footer {
    width: 100%;
    overflow: hidden;
  }
  .footer-cta,.footer-grid,.footer-bottom {
    width: 100%;
    min-width: 0;
  }
  .footer-contact a,.footer-grid a,.footer-grid span,.footer-bottom span {
    overflow-wrap: anywhere;
  }
  .route-oglas main {
    padding-bottom: 100px;
  }
  .mobile-detail-cta {
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
  }
}
@media (max-width:640px) {
  /* Prevent long headings/URLs/labels from forcing a horizontal layout. */
  .container,.detail-topbar .container,.detail-redesign .container {
    width: calc(100% - 20px);
  }
  .site-header .nav {
    height: 68px;
    padding-inline: 10px;
  }
  .brand img {
    width: 108px;
  }
  .nav-right {
    gap: 5px;
  }
  .hero-home .hero-inner {
    padding: 58px 0 30px;
  }
  .hero-copy h1 {
    font-size: clamp(36px,11vw,50px);
    line-height: .96;
  }
  .hero-actions {
    gap: 12px;
  }
  .search-panel-home {
    padding: 11px;
  }
  .search-tab {
    min-height: 44px;
  }
  .listing-section {
    padding: 24px 0 70px;
  }
  .filter-panel {
    padding: 12px;
  }
  .filter-title h2 {
    font-size: 27px;
  }
  .results-head h2 {
    font-size: 28px;
  }
  .property-media {
    height: 215px;
  }
  .property-body {
    padding: 14px;
  }
  .property-body h3 {
    font-size: 16px;
    line-height: 1.15;
  }
  .property-price-block strong {
    font-size: 23px;
  }
  .property-credit-pill {
    font-size: 7.8px;
  }
  .detail-topbar {
    padding: 30px 0 22px;
  }
  .detail-top-meta {
    gap: 5px;
  }
  .detail-top-meta span {
    padding: 7px 8px;
  }
  .detail-redesign {
    padding: 16px 0 80px;
  }
  .gallery-main {
    height: 68vw;
    min-height: 240px;
    max-height: 360px;
  }
  .gallery-thumb {
    width: 62px;
    height: 48px;
    flex-basis: 62px;
  }
  .detail-price-line {
    gap: 8px;
    flex-wrap: wrap;
  }
  .detail-price-line strong {
    font-size: 31px;
  }
  .detail-price-line span {
    font-size: 10px;
  }
  .detail-actions {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .detail-actions button {
    padding-inline: 8px;
  }
  .detail-keyfacts,.detail-secondary-facts {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .detail-keyfacts>div {
    min-height: 78px;
    padding: 9px;
  }
  .detail-keyfacts i {
    width: 28px;
    height: 28px;
  }
  .detail-keyfacts span {
    font-size: 7px;
  }
  .detail-keyfacts b {
    font-size: 9px;
    overflow-wrap: anywhere;
  }
  .detail-secondary-facts>div {
    padding: 9px;
  }
  .detail-block {
    padding: 17px;
    border-radius: 14px;
  }
  .detail-block h2 {
    font-size: 28px;
  }
  .detail-desc {
    font-size: 12px;
    line-height: 1.75;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .feature-grid span {
    padding: 9px 10px;
  }
  .agent-card-premium {
    padding: 17px;
  }
  .agent-card-premium h3 {
    font-size: 25px;
  }
  .mobile-detail-cta {
    grid-template-columns: 1fr 1.25fr;
    left: 8px;
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    padding: 7px;
    border-radius: 16px;
  }
  .mobile-detail-cta a {
    min-height: 46px;
  }
  .lightbox {
    padding: 12px;
  }
  .lightbox>img {
    max-width: 96vw;
    max-height: 82vh;
    border-radius: 7px;
  }
  .lightbox>[data-close] {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
  }
  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 23px;
  }
  .lightbox-prev {
    left: 9px;
  }
  .lightbox-next {
    right: 9px;
  }
  .xpert-search-map {
    height: 320px !important;
  }
  .map-search-actions {
    grid-template-columns: 1fr !important;
  }
  .map-search-actions .map-btn {
    min-height: 48px !important;
  }
  .market-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .market-card {
    min-width: 0;
  }
  .footer-cta {
    padding: 16px;
  }
  .footer-cta h3 {
    font-size: 23px;
  }
  .footer-grid {
    gap: 20px;
  }
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .footer-bottom span:last-child {
    display: flex;
    flex-wrap: wrap;
  }
  h1,h2,h3,h4,p,a,span,strong,b,small,label {
    overflow-wrap: anywhere;
  }
}
/* Micro UX: dynamic search, multi-neighbourhoods, inline price drops and credit calculator */
@media (max-width:700px) {
  .credit-calc-grid,.credit-calc-results {
    grid-template-columns: 1fr 1fr;
  }
  .credit-calc-results>div:last-child {
    grid-column: 1/-1;
  }
  .credit-calc-results b {
    font-size: 15px;
  }
}
/* Custom neighbourhood multi-select: replaces the native multiple select in both searches. */
@media (max-width:700px) {
  .multi-select-menu {
    max-height: 250px;
  }
  .multi-option {
    padding: 10px;
    font-size: 11px;
  }
}



/* V66 FONT / VIEWPORT STABILITY */
html{font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;}
body{max-width:100%;overflow-x:clip;}
img,video,iframe,svg,canvas{max-width:100%;}


/* =========================================================
   V67 — PROPERTY CARD TEXT CLARITY / HD RENDER
   Final authoritative layer. Keeps card text crisp, darker and
   comfortably readable on desktop + mobile without changing layout.
   ========================================================= */
.property-card .property-body,
.property-card .property-keyfacts,
.property-card .property-card-bottom{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.property-card .property-loc{
  color:#6f7881!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.075em!important;
  line-height:1.25!important;
}

.property-card .property-body h3{
  color:#151a1f!important;
  font-weight:800!important;
  text-rendering:geometricPrecision;
}

.property-card .property-keyfacts{
  gap:10px 12px!important;
}

.property-card .property-keyfacts span{
  color:#4d5962!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.3!important;
  letter-spacing:0!important;
  min-width:0;
  text-rendering:geometricPrecision;
}

.property-card .property-keyfacts i{
  color:#806620!important;
  background:#f0ebe1!important;
  font-size:12px!important;
  font-weight:700!important;
  opacity:1!important;
}

.property-card .property-highlights span{
  color:#59646d!important;
  font-size:8px!important;
  font-weight:700!important;
  opacity:1!important;
}

.property-card .property-detail-link{
  color:#6e551b!important;
  font-size:10.5px!important;
  font-weight:900!important;
  line-height:1.25!important;
  opacity:1!important;
}

@media (max-width:700px){
  .property-card .property-loc{
    font-size:9.5px!important;
  }
  .property-card .property-keyfacts{
    gap:9px 10px!important;
  }
  .property-card .property-keyfacts span{
    font-size:11px!important;
    font-weight:600!important;
  }
  .property-card .property-keyfacts i{
    width:29px!important;
    height:29px!important;
    flex-basis:29px!important;
    font-size:12px!important;
  }
  .property-card .property-detail-link{
    font-size:10.5px!important;
  }
}

/* =========================================================
   V69 — PERFORMANCE + ACCESSIBILITY MASTER
   Does not alter the visual identity; it reduces critical rendering,
   improves text contrast, and lets below-the-fold sections paint on demand.
   ========================================================= */
:root{--muted:#56616a;}
html{font-synthesis:none;text-rendering:optimizeLegibility;}
.skip-link{position:fixed;left:12px;top:12px;z-index:10000;transform:translateY(-160%);padding:10px 14px;border-radius:10px;background:#fff;color:#111;font-weight:800;box-shadow:0 8px 24px rgba(0,0,0,.18);transition:transform .18s ease;}
.skip-link:focus{transform:translateY(0);outline:3px solid #d9ad43;outline-offset:2px;}
.eyebrow{color:#765f2f;}
.market-section,.projects-section,.featured,.consultation-cta,.why-section{content-visibility:auto;contain-intrinsic-size:700px;}
.hero-video iframe{border:0;}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.skip-link{transition:none!important}}


/* =========================================================
   V70 — MOBILE FILTER + MAP INTERACTION MASTER
   ========================================================= */
.xpert-draw-surface{
  display:block;
  box-sizing:border-box;
  pointer-events:none;
  touch-action:none!important;
  -ms-touch-action:none!important;
  user-select:none!important;
  -webkit-user-select:none!important;
  cursor:crosshair;
}
.xpert-search-map.is-drawing .xpert-draw-surface{
  pointer-events:auto!important;
  touch-action:none!important;
  -ms-touch-action:none!important;
  cursor:crosshair!important;
}

  /* The map drawing surface must remain touchable only while drawing. */
  .xpert-search-map{
    position:relative!important;
    touch-action:pan-x pan-y;
  }
  .xpert-search-map.is-drawing,
  .xpert-search-map.is-drawing .leaflet-container,
  .xpert-search-map.is-drawing .leaflet-pane,
  .xpert-search-map.is-drawing .leaflet-map-pane{
    touch-action:none!important;
  }
  .xpert-search-map.is-drawing .xpert-draw-surface{
    pointer-events:auto!important;
  }

/* =========================================================
   V71 — FINAL DETAIL / MAP / MOBILE POLISH
   ========================================================= */
@media (min-width: 901px) {
  body.route-oglas .agent-card-premium {
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
    align-self: start;
  }
}
@media (max-height: 760px) and (min-width: 901px) {
  body.route-oglas .agent-card-premium {
    top: 22px;
    transform: none;
  }
}
@media (max-width: 900px) {
  body.route-oglas .agent-card-premium {
    position: static;
    top: auto;
    transform: none;
    width: 100%;
    box-sizing: border-box;
  }
  body.route-oglas .detail-main-grid,
  body.route-oglas .detail-main-grid > * {
    min-width: 0;
    max-width: 100%;
  }
  body.route-oglas .mobile-detail-cta {
    padding-bottom: calc(7px + env(safe-area-inset-bottom));
  }
  body.route-oglas .mobile-detail-cta a {
    touch-action: manipulation;
  }
}
@media (max-width: 480px) {
  body.route-oglas .xpert-price-marker {
    min-width: 66px;
    padding: 4px 5px;
    border-radius: 6px;
  }
}

/* V72 map marker polish: smaller shell, same readable price text. */
.xpert-map-price { min-width:70px !important; height:26px !important; padding:0 6px !important; border-radius:7px !important; font-size:8px !important; }
.xpert-map-price i { bottom:-4px !important; width:7px !important; height:7px !important; }
.xpert-map-cluster { width:68px !important; height:42px !important; border-radius:9px !important; }
.xpert-map-popup.xpert-map-chooser { max-width:min(320px, calc(100vw - 34px)); }
.xpert-map-choice-list { max-height:280px; overflow:auto; -webkit-overflow-scrolling:touch; }
.xpert-map-choice { cursor:pointer; touch-action:manipulation; }
@media (max-width:900px) {
  .xpert-map-price { min-width:68px !important; height:25px !important; font-size:8px !important; }
  .xpert-map-cluster { width:64px !important; height:40px !important; }
  .xpert-map-choice-list { max-height:46svh; }
}

/* V74 — MASTER DETAIL WIDTH / STABLE STICKY */
@media (min-width:901px){
 body.route-oglas .detail-topbar .container, body.route-oglas .detail-redesign .container{width:min(1600px,calc(100% - 64px))!important;max-width:1600px!important;}
 body.route-oglas .detail-main-grid{grid-template-columns:minmax(0,1.75fr) minmax(360px,.72fr)!important;gap:30px!important;}
 body.route-oglas .gallery-main{height:570px!important;}
 body.route-oglas .agent-card-premium{position:sticky!important;top:24px!important;transform:none!important;align-self:start!important;max-height:none!important;overflow:visible!important;}
}
.xpert-map-price{min-width:60px!important;height:24px!important;padding:0 5px!important;border-radius:6px!important;font-size:9px!important;}
.xpert-map-price i{bottom:-4px!important;width:6px!important;height:6px!important;}
.xpert-map-cluster{width:60px!important;height:38px!important;border-radius:8px!important;}
@media(max-width:900px){
 body.route-oglas .gallery-main{height:68vw!important;min-height:250px!important;max-height:430px!important;}
 body.route-oglas .agent-card-premium{max-height:none!important;overflow:visible!important;}
 .xpert-map-price{min-width:58px!important;height:23px!important;font-size:9px!important;}
 .xpert-map-cluster{width:58px!important;height:36px!important;}
}

/* V74 — CORE WEB VITALS / ACCESSIBILITY BASICS */
html{overflow-x:hidden;}
img{height:auto;}
:focus-visible{outline:3px solid rgba(217,173,67,.72);outline-offset:3px;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important;}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}}
body.route-oglas .gallery-main{contain:layout paint;}
body.route-oglas .gallery-main>img{aspect-ratio:3/2;object-fit:cover;}

.form-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;}

.project-bg>img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:inherit;}

/* V75 detail width correction is finalized in ux-final.css. */

/* =========================================================
   V83 — CONSOLIDATED MOBILE RANGE CONTROLS
   One authoritative rule-set: no cascade collisions, no duplicate
   track positioning. Track + both thumbs move together as one unit.
   ========================================================= */
@media (max-width:700px){
  .filter-row-secondary.range-filter-row{
    grid-template-columns:1fr!important;
    row-gap:0!important;
  }

  .filter-row-secondary.range-filter-row .range-filter{
    position:relative!important;
    display:block!important;
    width:100%!important;
    min-height:104px!important;
    margin:0!important;
    padding:0 0 24px!important;
    box-sizing:border-box!important;
  }

  .filter-row-secondary.range-filter-row .range-filter>span{
    display:block!important;
    margin:0 0 9px!important;
    line-height:1.2!important;
  }

  .filter-row-secondary.range-filter-row .range-filter .range-values{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    margin:0 2px 13px!important;
    min-height:17px!important;
    line-height:1.25!important;
  }

  .filter-row-secondary.range-filter-row .range-filter .range-inputs{
    position:relative!important;
    width:calc(100% - 14px)!important;
    height:30px!important;
    margin:0 7px!important;
    box-sizing:border-box!important;
    transform:translateY(-9px)!important;
  }

  .filter-row-secondary.range-filter-row .range-filter .range-inputs::before{
    content:""!important;
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:50%!important;
    height:4px!important;
    transform:translateY(-50%)!important;
    border-radius:999px!important;
    background:#3a4249!important;
    pointer-events:none!important;
    z-index:0!important;
  }

  .filter-row-secondary.range-filter-row .range-filter .range-inputs input[type=range]{
    position:absolute!important;
    left:0!important;
    right:auto!important;
    top:8px!important;
    width:100%!important;
    height:8px!important;
    z-index:2!important;
  }

  .filter-row-secondary.range-filter-row .range-filter .range-inputs input[type=range]::-webkit-slider-runnable-track,
  .filter-row-secondary.range-filter-row .range-filter .range-inputs input[type=range]::-moz-range-track{
    height:4px!important;
  }
}

/* FINAL MARKET CAROUSEL FIX — same mobile viewport/track model as Projekti koje vredi pogledati */
.market-carousel-viewport {
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
  cursor: grab;
}
.market-carousel-viewport:active { cursor: grabbing; }

@media (max-width:640px) {
  .market-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .market-carousel-viewport::-webkit-scrollbar { display:none; }
  .market-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    grid-auto-rows: auto !important;
    gap: 12px !important;
    min-height: 0 !important;
    width: 100% !important;
  }
  .market-grid .market-card {
    display: block !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}


/* =========================================================
   HOMEPAGE MOBILE — MAP FIRST SEARCH
   Desktop is intentionally unchanged.
   ========================================================= */
.home-mobile-map{display:none;}
.home-mobile-filter-stage{display:contents;}

@media (max-width:640px){
  /* Replace the dense homepage search controls with the map-first flow. */
  .search-panel-home .search-row-primary{display:none!important;}
  .search-panel-home .search-quick-option{display:none!important;}

  .home-mobile-map{
    display:block;
    margin-top:6px;
    padding:10px;
    border:1px solid rgba(255,255,255,.14);
    border-radius:15px;
    background:rgba(7,11,15,.34);
    box-shadow:0 12px 30px rgba(0,0,0,.16);
  }

  .home-mobile-map-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    padding:2px 3px 9px;
  }
  .home-mobile-map-head>div{min-width:0;}
  .home-mobile-map-head span:first-child{
    display:block;
    color:#d5b25b;
    font-size:7px;
    font-weight:900;
    letter-spacing:.16em;
  }
  .home-mobile-map-head strong{
    display:block;
    margin-top:4px;
    color:#fff;
    font:800 14px/1.15 Manrope,sans-serif;
  }
  .home-mobile-map-count{
    flex:0 0 auto;
    color:#a9b1b8;
    font-size:8px;
    font-weight:800;
    white-space:nowrap;
  }

  .home-mobile-map-panel{
    display:block!important;
    margin-top:0!important;
    border:1px solid rgba(255,255,255,.10)!important;
    border-radius:12px!important;
    overflow:hidden!important;
    background:#e9e5dd!important;
  }
  .home-mobile-map-panel .xpert-search-map{
    height:min(58svh,390px)!important;
    min-height:300px!important;
    max-height:390px!important;
  }
  .home-mobile-map-panel .leaflet-container{
    width:100%;
    height:100%;
    min-height:300px;
    border-radius:12px;
    font-family:Manrope,sans-serif;
    background:#e8e4dc;
  }
  .home-mobile-map-panel .leaflet-control-zoom{
    margin-top:10px!important;
    margin-right:10px!important;
  }
  .home-mobile-map-panel .leaflet-control-attribution{
    font-size:8px;
  }

  .home-mobile-map-actions{
    display:grid;
    grid-template-columns:1.25fr 1.25fr .65fr;
    gap:6px;
    margin-top:8px;
  }
  .home-mobile-map-actions .map-btn{
    min-width:0;
    min-height:44px!important;
    padding:0 8px!important;
    font-size:9px!important;
    line-height:1.1!important;
  }
  .home-mobile-map-actions .map-btn-primary:first-child{background:var(--gold);color:#111;border-color:var(--gold);}
  .home-mobile-map-actions .map-btn-primary:first-child.active{background:#111;color:#fff;border-color:#111;}

  .home-mobile-filter-stage{
    display:none;
    margin-top:9px;
    padding:10px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:15px;
    background:rgba(7,11,15,.38);
  }
  .home-mobile-filter-stage.is-visible{display:block;}

  .home-mobile-filter-stage .search-row-secondary{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    margin-top:0!important;
  }
  .home-mobile-filter-stage .field-code{display:none!important;}
  .home-mobile-filter-stage .range-filter{
    padding:9px 10px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:11px;
    background:rgba(255,255,255,.045);
  }
  .home-mobile-filter-stage .range-filter>label{
    margin-bottom:5px!important;
    color:#d9dee2!important;
  }
  .home-mobile-filter-stage .range-values{
    font-size:8px!important;
  }
  .home-mobile-filter-stage .range-inputs{margin-top:4px;}

  .home-mobile-filter-stage .advanced-toggle{
    width:100%;
    min-height:46px;
    margin:9px 0 0;
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.16);
    color:#fff;
    font-size:10px;
  }
  .home-mobile-filter-stage .advanced-search{
    margin-top:9px;
    padding-top:9px;
    border-top:1px solid rgba(255,255,255,.10);
  }
  .home-mobile-filter-stage .advanced-grid{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .home-mobile-filter-stage .check-grid{
    grid-template-columns:1fr 1fr!important;
    gap:7px!important;
    margin-top:9px!important;
  }
  .home-mobile-filter-stage .check{
    min-height:42px;
    padding:7px 8px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:10px;
    background:rgba(255,255,255,.035);
  }
  .home-mobile-filter-stage .search-submit{
    width:100%;
    min-height:48px;
    margin-top:9px;
    border-radius:12px;
    background:var(--gold);
    color:#111;
  }

  /* The map opens first; filters only appear after the user confirms the area. */
  .search-panel-home .search-head{margin-bottom:8px;}
  .search-panel-home .search-tabs{width:100%;}
  .search-panel-home .search-tab{min-height:40px;}
}

/* HOMEPAGE MOBILE MAP FALLBACK — mobile only, desktop untouched. */
@media (max-width:640px){
  .home-mobile-map-panel.xpert-home-fallback-map{
    position:relative!important;
    width:100%!important;
    height:min(58svh,390px)!important;
    min-height:300px!important;
    max-height:390px!important;
    overflow:hidden!important;
    background:#dfe0dc!important;
  }
  .home-mobile-map-panel.xpert-home-fallback-map iframe{
    position:absolute!important;
    inset:0!important;
    z-index:1!important;
    width:100%!important;
    height:100%!important;
    display:block!important;
    border:0!important;
    pointer-events:none!important;
  }
  .home-mobile-map-panel .xpert-fallback-draw-overlay{
    position:absolute!important;
    inset:0!important;
    z-index:4!important;
    width:100%!important;
    height:100%!important;
    pointer-events:none!important;
    overflow:visible!important;
  }
  .home-mobile-map-panel .xpert-fallback-draw-surface{
    position:absolute!important;
    inset:0!important;
    z-index:5!important;
    width:100%!important;
    height:100%!important;
    pointer-events:none;
    touch-action:none!important;
    user-select:none!important;
    -webkit-user-select:none!important;
    cursor:crosshair!important;
    background:transparent!important;
  }
  .home-mobile-map-panel.xpert-home-fallback-map.is-drawing .xpert-fallback-draw-surface{
    pointer-events:auto!important;
  }
}


/* =========================================================
   FINAL XPERT SEARCH / MAP / MOBILE CAROUSEL CONSOLIDATION
   This layer is intentionally the single authority for the latest fixes.
   ========================================================= */

/* Custom dropdowns use exactly the same trigger/menu visual system as Naselje. */
.field-single-select{position:relative;min-width:0;}
.field-single-select .xpert-native-select-hidden{
  position:absolute!important;
  width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;border:0!important;
  overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;
  opacity:0!important;pointer-events:none!important;
}
.field-single-select .multi-select-trigger:disabled{opacity:.48;cursor:not-allowed;}
.single-select-menu.single-select-menu,
.xpert-single-select-menu-portal{
  position:fixed!important;
  z-index:10000!important;
  max-width:calc(100vw - 20px);
}
.single-option{
  width:100%;
  border:0;
  background:transparent;
  text-align:left;
  color:inherit;
  font:inherit;
  cursor:pointer;
}
.single-option[aria-selected="true"]{background:rgba(198,154,47,.13);}
.search-panel-home .single-option[aria-selected="true"]{background:rgba(255,255,255,.08);}

/* Keep menus above the hero/content stack while open. */
.xpert-single-select-menu-portal{backdrop-filter:blur(16px);}

/* Live result cue: feedback without auto-scrolling the page. */
.live-results-cue{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:30px;padding:0 11px;margin-left:auto;
  border:1px solid var(--line);border-radius:999px;background:#fff;color:#6f5b2d;
  font:800 8px/1 var(--ui-control-font,system-ui,sans-serif);
  opacity:0;transform:translateY(8px) scale(.96);pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
}
.live-results-cue.show{opacity:1;transform:translateY(0) scale(1);animation:xpertResultBounce .52s ease;}
.market-section.live-updated .market-head h2{animation:xpertResultBounce .52s ease;}
@keyframes xpertResultBounce{0%{transform:translateY(0)}35%{transform:translateY(-4px)}62%{transform:translateY(1px)}100%{transform:translateY(0)}}
.market-card .market-meter span.is-empty{left:50%!important;}

/* Real map polygon is a Leaflet layer, so it moves with the geography when the map pans/zooms. */
.xpert-draw-overlay{pointer-events:none!important;}
.xpert-search-map .leaflet-pane.xpert-selected-area-pane{z-index:650!important;pointer-events:none!important;}
.xpert-search-map .leaflet-pane.xpert-selected-area-pane path{pointer-events:none!important;}

/* Mobile map-first on listing pages. */
.listing-mobile-map{display:none;}
.listing-mobile-filter-stage{display:contents;}
.listing-mobile-map-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:2px 3px 9px;}
.listing-mobile-map-head span:first-child{display:block;color:#8f6f28;font-size:8px;font-weight:900;letter-spacing:.16em;}
.listing-mobile-map-head strong{display:block;margin-top:4px;color:#fff;font:800 14px/1.15 Manrope,sans-serif;}
.listing-mobile-map-count{flex:0 0 auto;color:#a9b1b8;font-size:8px;font-weight:800;white-space:nowrap;}
.listing-mobile-map-actions{display:grid;grid-template-columns:1.25fr 1.25fr .65fr;gap:6px;margin-top:8px;}
.listing-mobile-map-actions .map-btn{min-width:0;min-height:44px!important;padding:0 8px!important;font-size:9px!important;line-height:1.1!important;}
.listing-mobile-filter-submit{display:block;width:100%;min-height:50px;margin-top:11px;border-radius:12px;}

/* Proper horizontal/vertical touch arbitration: browser handles vertical page scroll; native overflow handles horizontal card swipe. */
.market-carousel-viewport,
.project-carousel-viewport{
  width:100%;max-width:100%;min-width:0;
  touch-action:pan-x pan-y;
  overscroll-behavior-y:auto;
  overscroll-behavior-x:contain;
}

@media (max-width:640px){
  .live-results-cue{margin-left:0;}
  .market-carousel{overflow:visible;}
  .market-carousel-viewport{
    display:block;overflow-x:auto;overflow-y:hidden;
    -webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;
    scrollbar-width:none;cursor:grab;
  }
  .market-carousel-viewport::-webkit-scrollbar{display:none;}
  .market-grid{
    display:flex!important;flex-wrap:nowrap!important;
    width:max-content!important;min-width:100%!important;
    gap:12px!important;grid-template-columns:none!important;
    grid-auto-rows:auto!important;min-height:0!important;
  }
  .market-grid .market-card{
    display:block!important;flex:0 0 100%!important;
    width:100%!important;min-width:100%!important;max-width:100%!important;
    box-sizing:border-box;scroll-snap-align:start;scroll-snap-stop:always;
  }
  .market-grid .market-card[hidden]{display:none!important;}

  .project-carousel-viewport{
    overflow-x:auto;overflow-y:hidden;
    -webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;
    scrollbar-width:none;cursor:grab;
  }
  .project-carousel-viewport::-webkit-scrollbar{display:none;}
  .project-carousel-track{
    width:max-content!important;min-width:100%!important;
    gap:12px!important;transform:none!important;transition:none!important;
  }
  .project-slide{
    flex:0 0 100%!important;width:100%!important;min-width:100%!important;
    scroll-snap-align:start;scroll-snap-stop:always;
  }
  .project-slide .project-card{width:100%!important;}

  /* Map-first listing flow: old filter/search UI disappears until Dalje is pressed. */
  .filter-panel-mobile-map-first .filter-top,
  .filter-panel-mobile-map-first .filter-modebar,
  .filter-panel-mobile-map-first .filter-row-main,
  .filter-panel-mobile-map-first .map-search-toolbar,
  .filter-panel-mobile-map-first > .map-search-panel{display:none!important;}
  .filter-panel-mobile-map-first .listing-mobile-map{display:block!important;margin-bottom:10px;padding:10px;border:1px solid var(--line);border-radius:15px;background:#111820;box-shadow:0 12px 30px rgba(0,0,0,.14);}
  .listing-mobile-map-panel{display:block!important;margin:0!important;border-radius:12px!important;overflow:hidden!important;background:#e9e5dd!important;}
  .listing-mobile-map-panel .xpert-search-map{height:min(58svh,390px)!important;min-height:300px!important;max-height:390px!important;}
  .listing-mobile-filter-stage{display:none!important;margin-top:9px;padding:10px;border:1px solid var(--line);border-radius:15px;background:#111820;}
  .filter-panel-mobile-map-first .listing-mobile-filter-stage.is-visible{display:block!important;}
  .filter-panel-mobile-map-first .listing-mobile-filter-stage .filter-row-secondary{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:0!important;}
  .filter-panel-mobile-map-first .listing-mobile-filter-stage .advanced-toggle-row{display:block!important;}
  .filter-panel-mobile-map-first .listing-mobile-filter-stage .filter-checks{display:none;}
  .filter-panel-mobile-map-first .listing-mobile-filter-stage .filter-checks.is-visible{display:grid;}
  .filter-panel-mobile-map-first .listing-mobile-map-actions{grid-template-columns:1.25fr 1.25fr .65fr;}
  .filter-panel-mobile-map-first .listing-mobile-map-actions .map-btn:first-child{background:var(--gold);color:#111;border-color:var(--gold);}

  /* Homepage map-first retains its working look but uses the same touch/map semantics. */
  .home-mobile-map-panel .leaflet-container{touch-action:pan-x pan-y;}
}


.xpert-single-select-menu-portal.search-panel-home,
.xpert-home-dropdown-menu{background:rgba(20,25,30,.97)!important;border-color:rgba(255,255,255,.22)!important;color:#e8ebee!important;box-shadow:0 18px 45px rgba(0,0,0,.28)!important;backdrop-filter:blur(16px);}
.xpert-single-select-menu-portal{background:#fff;border:1px solid #d9d1c4;border-radius:14px;box-shadow:0 18px 45px rgba(18,23,29,.16);padding:7px;overflow:auto;}
.xpert-home-dropdown-menu .single-option{color:#e8ebee;}
.xpert-home-dropdown-menu .single-option:hover{background:rgba(255,255,255,.08);}
.filter-panel-mobile-map-first .field-single-select.is-type-hidden{display:none!important;}
@media (max-width:640px){
  .filter-panel-mobile-map-first .listing-mobile-filter-stage .filter-checks:not(.is-hidden){display:grid!important;}
  .filter-panel-mobile-map-first .listing-mobile-filter-stage .filter-checks.is-hidden{display:none!important;}
  .listing-mobile-map-panel .leaflet-container{touch-action:pan-x pan-y;}
  .listing-mobile-map-panel.xpert-home-fallback-map{position:relative!important;min-height:300px!important;}
  .listing-mobile-map-panel.xpert-home-fallback-map iframe{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;border:0!important;pointer-events:none!important;}
  .listing-mobile-map-panel .xpert-fallback-draw-surface{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:1001!important;pointer-events:none;touch-action:none!important;}
  .listing-mobile-map-panel.xpert-home-fallback-map.is-drawing .xpert-fallback-draw-surface{pointer-events:auto!important;}
}


/* =========================================================
   FINAL STABILITY OVERRIDES — DESKTOP SEARCH + MARKET CARDS
   ========================================================= */
@media (min-width:641px){
  /* City and property-type custom controls must occupy the grid tracks.
     Their native selects are hidden only as data controls; the trigger is visible. */
  .filter-row-main > .field-single-select,
  .filter-row-main > .field-multi-select{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .filter-row-main > .field-single-select .multi-select-trigger{
    display:flex!important;
    width:100%!important;
    min-height:48px!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .filter-row-main > .field-single-select .xpert-native-select-hidden{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    opacity:0!important;
    pointer-events:none!important;
  }

  /* The desktop market section is always a 3×3 grid. Hidden cards are only
     those explicitly marked by the live filter as having zero matches. */
  .market-carousel-viewport{
    width:100%!important;
    overflow:hidden!important;
  }
  .market-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    min-height:232px!important;
    transform:none!important;
  }
  .market-grid .market-card{
    display:block!important;
  }
  .market-grid .market-card[hidden]{display:none!important;}
}

/* Single-select dropdown uses the exact same menu shell as Naselje. */
.field-single-select .multi-select-trigger{position:relative;}
.field-single-select .multi-select-menu.single-select-menu{padding:7px;}
.single-option{display:flex!important;align-items:center;min-height:42px;padding:10px 11px!important;border-radius:9px;}

/* FINAL TARGETED FIX — native mobile card swipe + no sticky project-image zoom */
@media (max-width:640px){
  .market-carousel-viewport,
  .project-carousel-viewport{
    touch-action:pan-x pan-y!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:contain;
    overscroll-behavior-y:auto;
  }
  .market-carousel-viewport{overflow-x:auto!important;overflow-y:hidden!important;}
  .project-carousel-viewport{overflow-x:auto!important;overflow-y:hidden!important;}
}

/* Touchscreens can keep :hover active after a tap; cancel only the image zoom,
   without disabling hover styling on desktop or changing project dimensions. */
@media (hover:none), (pointer:coarse){
  .project-card:hover .project-bg,
  .project-tile:hover .project-bg{
    transform:none!important;
    filter:none!important;
  }
  .project-card .project-bg>img,
  .project-tile .project-bg>img{
    transform:none!important;
    object-fit:cover;
  }
}


/* Mobile RGZ alignment: first statistic aligns with the left column below. */
@media (max-width: 640px) {
  .rgz-strip-stats > div:first-child {
    padding-left: 9px !important;
  }
}


/* Empty-state feedback for live market cards when active homepage filters have no matches. */
.market-filter-empty{margin:12px 0 0;padding:15px 17px;border:1px dashed var(--line);border-radius:13px;background:#fffdf8;color:#6d747a;font-size:13px;line-height:1.55}
.market-filter-empty[hidden]{display:none!important}


/* Market price cards remain paginated when filters produce zero matches in a neighbourhood. */
.market-card.market-card-no-results{background:linear-gradient(145deg,#fff,#faf8f2);border-style:dashed;}
.market-card.market-card-no-results .market-value{color:#777!important;font-size:22px;}
.market-card.market-card-no-results .market-meter span{left:50%!important;opacity:.45;}
.map-guide-trigger{font:inherit;cursor:pointer;}
.map-guide-trigger:focus-visible{outline:2px solid #d8b45d;outline-offset:3px;}
@media(max-width:640px){
  .map-guide-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:36px;margin:8px 0 4px;padding:7px 10px;border:1px solid rgba(216,180,93,.42);border-radius:9px;background:rgba(216,180,93,.07);color:#dfc17e;font-size:12px;font-weight:750;}
}
