/* ============================================================
   AlfaInformation – modern.css v2
   Single clean file. All mobile rules in one place at the
   bottom. No conflicting @media blocks.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --brand:    #22BE73;
  --brand-dk: #189f5e;
  --brand-lt: #ecfdf5;
  --text:     #0f172a;
  --text-2:   #334155;
  --muted:    #64748b;
  --border:   #e2e8f0;
  --bg:       #f8fafc;
  --white:    #ffffff;
  --dark:     #0f172a;
  --sh-xs:    0 1px 3px rgba(0,0,0,.07);
  --sh-sm:    0 2px 8px rgba(0,0,0,.09);
  --sh-md:    0 6px 24px rgba(0,0,0,.10);
  --sh-lg:    0 16px 48px rgba(0,0,0,.14);
  --r:        12px;
  --r-sm:     8px;
}

/* ── Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { transition: color .2s; }
img { max-width: 100%; height: auto; }

/* Foundation row wider on large screens */
.row { max-width: 88rem !important; }
.row .row, .row .row.collapse { max-width: none !important; }

/* ── Top bar ───────────────────────────────────────────── */
.top-bar {
  background: var(--dark) !important;
  border-bottom: none !important;
  padding: 7px 0; font-size: 13px;
}
.top-bar a { color: #94a3b8 !important; text-decoration: none; }
.top-bar a:hover { color: var(--brand) !important; }
.top-bar .fa { color: var(--brand); margin-right: 5px; font-size: 12px; }

/* ── Header ────────────────────────────────────────────── */
#header.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 8000;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  padding: 0;
}
#header .row {
  display: flex !important;
  align-items: stretch;
  flex-wrap: nowrap;
}
/* Logo: always left */
#header .row > .medium-3.columns {
  order: 1; flex: 0 0 auto;
  width: auto !important; float: none !important; padding: 0 !important;
}
/* Nav: always right */
#header .row > .medium-9.columns {
  order: 2; flex: 1;
  float: none !important;
  display: flex; align-items: center; justify-content: flex-end;
}
a.logo {
  display: flex; align-items: center;
  padding: 10px 20px 10px 0; text-decoration: none;
}
a.logo img { max-height: 54px; width: auto; }

/* Navigation */
.navigation { background: none !important; padding: 0 !important; margin: 0 !important; }
.navigation ul { display: flex; margin: 0; padding: 0; list-style: none; }
.navigation ul li { display: inline-flex; align-items: stretch; }
.navigation ul li a {
  display: flex; align-items: center;
  padding: 18px 16px;
  color: var(--text-2) !important; font-weight: 500; font-size: 14px;
  text-decoration: none !important;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.navigation ul li a:hover { color: var(--brand) !important; border-bottom-color: var(--brand); }

/* Hamburger — hidden on desktop */
#responsive-menu-toggle { display: none !important; }

/* ── Section wrapper — consistent vertical rhythm ───────── */
.content { background: transparent !important; margin-top: 0 !important; padding: 32px 0 !important; }
.main { padding-right: 20px; }
.properties-section { margin-bottom: 40px; }

/* ── Section titles ─────────────────────────────────────── */
h2.section-title {
  font-size: 20px !important; font-weight: 800 !important; color: var(--text) !important;
  letter-spacing: -.02em; padding-bottom: 10px; margin-bottom: 24px;
  border-bottom: 3px solid var(--brand); display: inline-block;
}
h2.section-title.for-content { display: block; }
.featured-title { color: var(--brand) !important; }

/* ── Homepage map ────────────────────────────────────────── */
.homepage-search-map { position: relative; }
.homepage-search-map .google-map,
.homepage-search-map #properties-map { overflow: hidden !important; }

/* Floating search button */
.homepage-search-map .search-box {
  position: absolute !important; top: 80px !important; right: 30px !important; z-index: 2000 !important;
}
.search-map-button {
  background: var(--brand) !important; border: none !important;
  border-radius: var(--r) !important; box-shadow: var(--sh-lg) !important;
  cursor: pointer; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.search-map-button:hover { transform: translateY(-3px); }
.search-map-icon { background: none !important; padding: 22px 18px 14px !important; font-size: 26px !important; line-height: 1 !important; text-shadow: none !important; }
.search-map-label {
  background: rgba(0,0,0,.18) !important; color: #fff !important;
  font-size: 12px !important; font-weight: 700 !important; letter-spacing: .07em;
  text-transform: uppercase; padding: 9px 18px !important; width: 155px !important; text-align: center;
}

/* Search form panel */
.homepage-search-map .search-box .search-form-container {
  display: none; /* shown by jQuery */
  position: absolute !important; right: 100% !important; top: 0 !important;
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: var(--r) 0 var(--r) var(--r) !important;
  box-shadow: var(--sh-lg) !important;
  border: 1px solid rgba(255,255,255,.9) !important;
  width: 560px !important; padding: 18px 20px !important;
  z-index: 2001;
}
.search-form-container .close-search {
  color: var(--muted) !important; font-size: 18px !important;
  position: absolute; right: 14px; top: 14px; text-decoration: none;
}
.search-form-container .close-search:hover { color: var(--text) !important; }

/* ── Search form inputs (shared: homepage + archive) ────── */
.search-form label, .advanced-search label {
  font-size: 11px !important; font-weight: 700 !important; color: var(--muted) !important;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px !important; display: block;
}
.search-form input[type="text"].range-view-input,
.advanced-search input[type="text"].range-view-input {
  height: 34px !important; border: 1px solid var(--border) !important;
  border-radius: var(--r-sm) !important; font-size: 13px !important;
  padding: 0 10px !important; width: 100%; transition: border-color .2s;
}
.search-form input[type="text"]:focus,
.search-map .advanced-search input[type="text"]:focus {
  border-color: var(--brand) !important; outline: none !important;
  box-shadow: 0 0 0 3px rgba(34,190,115,.12) !important;
}
input[type="submit"].button,
.search-form input[type="submit"],
.advanced-search input[type="submit"] {
  background: var(--brand) !important; border: none !important;
  border-radius: var(--r-sm) !important; color: #fff !important;
  font-weight: 700 !important; font-size: 14px !important;
  cursor: pointer !important; height: 42px !important; width: 100%;
  transition: background .2s !important;
}
input[type="submit"].button:hover,
.advanced-search input[type="submit"]:hover { background: var(--brand-dk) !important; }

/* Checkbox/radio labels */
.expand-inputs label, .chk label {
  font-size: 12px !important; font-weight: 500 !important;
  color: var(--text-2) !important; text-transform: none !important;
  letter-spacing: 0 !important; cursor: pointer;
  display: inline-flex !important; align-items: center; gap: 5px;
}
.expand-inputs label img, .chk label img { width: 15px !important; height: 15px !important; object-fit: contain; }

/* noUiSlider */
.noUi-connect { background: var(--brand) !important; }
.noUi-horizontal {
  height: 6px !important; border-radius: 4px !important;
  margin: 12px auto !important; background: #f1f5f9 !important;
  border: 1px solid #d1d5db !important; box-shadow: none !important;
  max-width: 100% !important;
}
.noUi-horizontal .noUi-handle {
  height: 18px !important; width: 18px !important; border-radius: 50% !important;
  border: 2px solid var(--brand) !important; background: var(--white) !important;
  box-shadow: var(--sh-sm) !important; top: -7px !important; right: -9px !important; cursor: pointer;
}
.noUi-handle::before, .noUi-handle::after { display: none !important; }

/* ── Archive map + search panel ─────────────────────────── */
.search-map { position: relative; overflow: visible !important; }
.search-map .google-map,
.search-map #properties-map { overflow: hidden !important; }
.search-map .advanced-search.widget {
  position: absolute !important; top: 16px !important; left: 16px !important;
  width: 360px !important; z-index: 2000 !important;
  background: rgba(255,255,255,.97) !important;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r) !important;
  border: 1px solid rgba(255,255,255,.8) !important;
  box-shadow: var(--sh-lg) !important;
  padding: 16px !important;
  max-height: calc(100vh - 120px);
  overflow-y: auto; overflow-x: visible;
  scrollbar-width: thin; scrollbar-color: var(--brand) #f1f5f9;
}
.search-map .advanced-search.widget::-webkit-scrollbar { width: 4px; }
.search-map .advanced-search.widget::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }

/* Chosen dropdowns always above everything */
.chosen-drop,
.chosen-container .chosen-drop,
.chosen-container-active .chosen-drop { z-index: 9999 !important; position: absolute !important; }
.chosen-container .chosen-single {
  height: 34px !important; line-height: 34px !important;
  border-radius: var(--r-sm) !important; border-color: var(--border) !important;
  font-size: 13px !important; font-family: 'Inter', sans-serif !important;
}
.chosen-container-active .chosen-single,
.chosen-container-active .chosen-drop {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(34,190,115,.12) !important;
}
.chosen-results li.highlighted { background: var(--brand) !important; color: #fff !important; }
.chosen-container { margin-bottom: 6px !important; }

/* ══════════════════════════════════════════════════════
   PROPERTY CARD GRID
   ══════════════════════════════════════════════════════ */

/* Kill Foundation clearfix ghost grid items */
ul.properties-items-list::before, ul.properties-items-list::after,
ul.medium-block-grid-3::before,   ul.medium-block-grid-3::after,
ul.medium-block-grid-1::before,   ul.medium-block-grid-1::after {
  display: none !important; content: none !important;
}

/* Grid container */
ul.properties-items-list,
ul.medium-block-grid-3.properties-items-list,
section.properties-section > ul,
section.properties-section ul.medium-block-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  list-style: none !important; margin: 0 0 16px 0 !important; padding: 0 !important;
}

/* Reset Foundation float/width on ALL block-grid li */
ul.properties-items-list > li,
ul.medium-block-grid-3 > li,
ul.medium-block-grid-1 > li,
section.properties-section ul > li,
[class*="block-grid-"] > li {
  width: 100% !important; max-width: 100% !important;
  float: none !important; clear: none !important;
  padding: 0 !important; margin: 0 !important;
  display: block !important; height: auto !important;
}
[class*="block-grid-"] > li:nth-of-type(1n) { clear: none !important; }
[class*="block-grid-"].properties-items-list { margin: 0 !important; }

/* Card */
article.property-item {
  display: flex !important; flex-direction: column !important; height: 100% !important;
  background: var(--white); border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--sh-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  cursor: pointer !important;
}
article.property-item:hover {
  transform: translateY(-5px); box-shadow: var(--sh-lg) !important;
  border-color: rgba(34,190,115,.2);
}
article.property-item:active {
  transform: translateY(-3px) scale(.99) !important;
}

/* Card image */
article.property-item figure {
  position: relative !important; margin: 0 !important; padding: 0 !important;
  width: 100% !important; height: 200px !important;
  flex-shrink: 0 !important; overflow: hidden !important; background: #f1f5f9 !important;
}
article.property-item figure a { display: block !important; width: 100% !important; height: 100% !important; }
img.property-thumbnail {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important; object-position: center !important;
  display: block !important; transition: transform .4s ease !important;
}
article.property-item:hover img.property-thumbnail { transform: scale(1.06) !important; }

/* Card body */
.property-details {
  padding: 14px 16px 18px !important; flex: 1 !important;
  display: flex !important; flex-direction: column !important; gap: 6px;
}
h3.property-title { font-size: 14px !important; font-weight: 600 !important; margin: 0 !important; line-height: 1.45; }
h3.property-title a { color: var(--text) !important; text-decoration: none !important; }
h3.property-title a:hover { color: var(--brand) !important; }
.property-price { font-size: 15px !important; font-weight: 800 !important; color: var(--brand) !important; margin: 0 !important; }
.property-price .price-format { font-size: 15px !important; }
.property-details > p { font-size: 12px !important; color: var(--muted) !important; margin: 0 !important; line-height: 1.5; }

/* Badges */
article.property-item figure .status,
article.property-item figure .statusexclusive,
article.property-item figure .statussidebar {
  position: absolute !important; top: 10px !important; left: 10px !important;
  width: auto !important; height: auto !important;
  font-size: 10px !important; font-weight: 700 !important;
  padding: 4px 10px !important; border-radius: 20px !important;
  letter-spacing: .06em; text-transform: uppercase;
  overflow: visible !important; opacity: 1 !important; line-height: 1.4 !important;
}
article.property-item figure .status { background: var(--brand) !important; color: #fff !important; }
article.property-item figure .statusexclusive { background: #f59e0b !important; color: #fff !important; }
article.property-item figure .statussidebar { background: var(--brand-dk) !important; color: #fff !important; }

/* "More" button */
a.button.small {
  display: inline-flex !important; align-items: center; justify-content: center;
  background: transparent !important; border: 2px solid var(--brand) !important;
  color: var(--brand) !important; border-radius: var(--r-sm) !important;
  font-size: 13px !important; font-weight: 600 !important;
  padding: 9px 22px !important; margin-top: 16px !important; text-decoration: none !important;
  transition: background .2s, color .2s !important; min-height: 44px;
}
a.button.small:hover { background: var(--brand) !important; color: #fff !important; }

/* ── Sidebar ─────────────────────────────────────────────── */
aside.medium-4.columns { padding-left: 8px; }
.sidebar { padding-top: 4px; }
.sidebar .widget {
  background: var(--white); border-radius: var(--r); border: 1px solid var(--border);
  box-shadow: var(--sh-xs); padding: 18px; margin-bottom: 20px;
}
.sidebar .widget h3 {
  font-size: 12px !important; font-weight: 700 !important; color: var(--text) !important;
  text-transform: uppercase; letter-spacing: .07em;
  padding-bottom: 10px !important; margin: 0 0 14px 0 !important;
  border-bottom: 2px solid var(--brand) !important;
}
.sidebar .widget address { font-size: 13px; color: var(--text-2); line-height: 1.7; }
.sidebar .widget .button.small.expand {
  background: var(--brand) !important; border: none !important; color: #fff !important;
  border-radius: var(--r-sm) !important; font-size: 13px !important; font-weight: 600 !important;
  margin-top: 10px; display: block; text-align: center; padding: 10px 16px !important;
  text-decoration: none; width: 100%;
}
.sidebar .widget .button.small.expand:hover { background: var(--brand-dk) !important; }

/* Sidebar card list — single column */
.similar-properties-section ul.properties-items-list,
.sidebar ul.properties-items-list,
.sidebar ul.medium-block-grid-1 {
  display: flex !important; flex-direction: column !important;
  gap: 10px !important; list-style: none !important; margin: 0 !important; padding: 0 !important;
}
.sidebar ul > li { width: 100% !important; float: none !important; padding: 0 !important; margin: 0 !important; }

/* Sidebar: horizontal mini-card */
.sidebar article.property-item {
  flex-direction: row !important; height: auto !important;
  border-radius: var(--r-sm);
}
.sidebar article.property-item figure {
  width: 90px !important; height: 80px !important;
  flex-shrink: 0 !important; border-radius: var(--r-sm) 0 0 var(--r-sm) !important;
}
.sidebar article.property-item .property-details { padding: 10px 12px !important; gap: 3px; }
.sidebar article.property-item h3.property-title { font-size: 12px !important; }
.sidebar article.property-item .property-price { font-size: 12px !important; }

/* ── Archive listing ─────────────────────────────────────── */
.error-404 {
  border: 2px solid var(--brand) !important; border-radius: var(--r) !important;
  padding: 28px !important; background: var(--brand-lt); text-align: center;
  margin-bottom: 20px;
}
.main { padding-right: 20px; }

/* ── Pagination ──────────────────────────────────────────── */
ul.pagination {
  display: flex !important; flex-wrap: wrap !important; align-items: center !important;
  gap: 6px !important; list-style: none !important;
  margin: 28px 0 32px !important; padding: 0 !important;
}
ul.pagination li { display: block !important; float: none !important; margin: 0 !important; }
ul.pagination li a, ul.pagination li.current a {
  display: flex !important; align-items: center !important; justify-content: center !important;
  min-width: 44px !important; height: 44px !important; padding: 0 14px !important;
  border-radius: var(--r-sm) !important; border: 1.5px solid var(--border) !important;
  background: var(--white) !important; color: var(--text-2) !important;
  font-size: 14px !important; font-weight: 500 !important;
  text-decoration: none !important; transition: all .2s; line-height: 1 !important;
}
ul.pagination li a:hover {
  background: var(--brand-lt) !important; border-color: var(--brand) !important; color: var(--brand) !important;
}
ul.pagination li.current a {
  background: var(--brand) !important; border-color: var(--brand) !important;
  color: #fff !important; font-weight: 700 !important;
}
ul.pagination li.unavailable a {
  color: #cbd5e1 !important; pointer-events: none; background: #f8fafc !important; border-color: #f1f5f9 !important;
}
ul.pagination li.arrow a {
  font-size: 18px !important; font-weight: 700 !important;
  color: var(--brand) !important; border-color: var(--brand) !important;
}
ul.pagination li.arrow a:hover { background: var(--brand) !important; color: #fff !important; }

/* ── Single property ─────────────────────────────────────── */
h1.single-property-title {
  font-size: 26px !important; font-weight: 800 !important; color: var(--text) !important;
  letter-spacing: -.03em; line-height: 1.3; margin-bottom: 6px !important;
}
.single-price { font-size: 30px; font-weight: 800; color: var(--brand); margin-bottom: 20px; }
.single-price .price-format { font-size: 30px; }
h2.sub-section-title {
  font-size: 15px !important; font-weight: 700 !important; color: var(--text) !important;
  border-left: 4px solid var(--brand) !important; padding-left: 12px !important;
  margin: 28px 0 14px !important;
}
.details-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.details-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.details-list li:last-child { border-bottom: none; }
.detail-label { font-weight: 600; color: var(--muted); min-width: 150px; flex-shrink: 0; font-size: 13px; }
.details-list .fa-check { color: var(--brand) !important; }
.details-list .fa-times { color: #ef4444 !important; }
.description p { font-size: 15px !important; line-height: 1.8 !important; color: var(--text-2) !important; }

/* ── Footer ──────────────────────────────────────────────── */
.bottom-ads { display: none !important; }
footer#footer.footer {
  background: var(--dark) !important; color: #94a3b8 !important;
  padding: 52px 0 0 !important; margin-top: 48px; border-top: none !important;
}
.footer .widget { background: none !important; border: none !important; box-shadow: none !important; padding: 0 0 24px 0 !important; }
.footer .widget img { max-height: 50px; filter: brightness(0) invert(1); opacity: .7; margin-bottom: 16px; display: block; }
.footer .widget ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.footer .widget ul li { padding: 5px 0 !important; border: none !important; font-size: 13px; }
.footer .widget ul li a { color: #94a3b8 !important; text-decoration: none; transition: color .2s; }
.footer .widget ul li a:hover { color: var(--brand) !important; }
.footer .widget h3 {
  color: #f1f5f9 !important; font-size: 12px !important; font-weight: 700 !important;
  text-transform: uppercase; letter-spacing: .09em;
  margin: 0 0 14px 0 !important; padding-bottom: 10px !important;
  border-bottom: 2px solid var(--brand) !important; display: inline-block !important;
}
.socket { border-top: 1px solid rgba(255,255,255,.07) !important; padding: 18px 0 !important; margin-top: 20px; }
p.copyright { font-size: 12px !important; color: #475569 !important; margin: 0 !important; }
p.copyright a { color: #475569 !important; }
p.copyright a:hover { color: var(--brand) !important; }

/* ── Leaflet popup ───────────────────────────────────────── */
.leaflet-popup-content-wrapper {
  border-radius: var(--r) !important; box-shadow: var(--sh-lg) !important;
  padding: 0 !important; overflow: hidden;
  font-family: 'Inter', sans-serif !important; font-size: 13px !important;
  border: 1px solid var(--border) !important;
}
.leaflet-popup-content { margin: 0 !important; width: auto !important; }
.leaflet-popup-tip { background: var(--white) !important; }

/* ── Language dropdown ───────────────────────────────────── */
.f-dropdown {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-sm); box-shadow: var(--sh-md); z-index: 9100 !important;
}
.f-dropdown li a {
  color: var(--text) !important; padding: 8px 16px; font-size: 13px;
  display: flex; align-items: center; gap: 8px; transition: background .15s;
}
.f-dropdown li a:hover { background: var(--bg); color: var(--brand) !important; }

/* ══════════════════════════════════════════════════════════
   TABLET  640px – 1024px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 64em) {
  .search-map .advanced-search.widget { width: 300px !important; }
  ul.properties-items-list,
  ul.medium-block-grid-3.properties-items-list,
  section.properties-section ul.medium-block-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .main { padding-right: 12px; }
  aside.medium-4.columns { padding-left: 4px; }
  @media (max-width: 1150px) {
    .homepage-search-map .search-box { right: 15px !important; }
    .homepage-search-map .search-box .search-form-container { width: 460px !important; }
  }
}

/* ══════════════════════════════════════════════════════════
   MOBILE  ≤ 640px  — ONE BLOCK, NO CONFLICTS
   Design goal: smooth, coherent, unified feel
   ══════════════════════════════════════════════════════════ */
@media (max-width: 40em) {

  /* ═══ GLOBAL RHYTHM
     Every section uses consistent spacing so nothing feels
     "stitched". Sections breathe with 24px gaps. ═══════════ */
  body { font-size: 14px; }

  /* Foundation row: remove its built-in max-width and padding,
     let our custom padding handle gutters */
  .row { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
  .content { padding: 0 !important; }

  /* ═══ TOP BAR — hidden on mobile (cluttered) ════════════ */
  .top-bar { display: none !important; }

  /* ═══ HEADER ════════════════════════════════════════════ */
  #header.header { min-height: 56px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
  #header .row {
    display: flex !important; align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    padding: 0 16px !important;
    min-height: 56px;
  }
  #header .row > .medium-3.columns {
    order: 1 !important; width: auto !important; padding: 0 !important; flex: 0 0 auto;
  }
  #header .row > .medium-9.columns {
    order: 2 !important; width: auto !important; flex: 0 0 auto;
    justify-content: flex-end;
  }
  a.logo { padding: 8px 0 !important; }
  a.logo img { max-height: 36px !important; width: auto !important; }

  /* Hamburger visible on mobile */
  #responsive-menu-toggle {
    display: flex !important; align-items: center; justify-content: center;
    background: none !important; border: 1.5px solid var(--border) !important;
    border-radius: 8px !important; padding: 8px 12px !important;
    color: var(--text) !important; font-size: 17px; cursor: pointer;
    min-width: 44px; min-height: 44px; margin: 0 !important;
  }
  #responsive-menu-toggle i {
    background: none !important; color: var(--text) !important;
    padding: 0 !important; margin: 0 !important; height: auto !important;
    display: inline !important; font-size: 17px;
  }

  /* Nav overlay — drops down from header, doesn't push content */
  #main-navigation {
    position: fixed !important;
    top: 56px !important; left: 0 !important; right: 0 !important;
    background: var(--white) !important;
    border-top: 1px solid var(--border) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.12) !important;
    z-index: 9999 !important;
    padding: 0 !important; margin: 0 !important;
  }
  .navigation ul { flex-direction: column !important; }
  .navigation ul li {
    display: block !important; width: 100% !important;
    border-bottom: 1px solid var(--border) !important;
  }
  .navigation ul li:last-child { border-bottom: none !important; }
  .navigation ul li a {
    padding: 16px 20px !important; font-size: 16px !important;
    border-bottom: none !important; height: auto !important;
    min-height: 52px; display: flex !important; align-items: center !important;
    width: 100% !important;
  }
  .navigation ul li a:hover { background: var(--bg); border-bottom: none !important; }

  /* ═══ HOMEPAGE MAP SECTION ══════════════════════════════ */
  .homepage-search-map { position: relative; overflow: visible; }
  .homepage-search-map .google-map,
  .homepage-search-map #properties-map {
    height: 240px !important;
    overflow: hidden !important;
  }

  /* Search button: full width strip below map */
  .homepage-search-map .search-box {
    position: relative !important; top: auto !important; right: auto !important;
    width: 100% !important; z-index: auto !important;
    box-shadow: none !important;
  }
  .search-map-button {
    width: 100% !important;
    border-radius: 0 !important;
    display: flex !important; flex-direction: row !important;
    align-items: stretch !important;
    box-shadow: none !important;
  }
  .search-map-button:hover { transform: none; }
  .search-map-icon {
    padding: 0 18px !important; font-size: 20px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    min-height: 52px !important;
  }
  .search-map-label {
    flex: 1 !important; width: auto !important;
    padding: 0 16px !important; font-size: 13px !important;
    display: flex !important; align-items: center !important;
    min-height: 52px !important;
  }

  /* Search form panel: full width, stacked below button */
  .homepage-search-map .search-box .search-form-container {
    position: relative !important; right: auto !important; top: auto !important;
    width: 100% !important; border-radius: 0 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,.08) !important;
    padding: 16px !important;
    max-height: none !important; overflow: visible !important;
  }

  /* ═══ ARCHIVE / KERKIMI MAP + SEARCH ════════════════════ */
  .search-map {
    display: flex !important; flex-direction: column !important; overflow: visible !important;
  }
  .search-map .google-map,
  .search-map #properties-map {
    order: 1 !important; height: 200px !important;
    width: 100% !important; overflow: hidden !important;
  }
  .search-map .advanced-search.widget {
    order: 2 !important;
    position: relative !important; top: auto !important; left: auto !important;
    width: 100% !important; border-radius: 0 !important;
    max-height: none !important; overflow-y: visible !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
    border-left: none !important; border-right: none !important; border-top: 3px solid var(--brand) !important;
    padding: 20px 16px !important;
  }

  /* ═══ CONTENT SECTIONS — consistent rhythm ══════════════ */
  .main { padding: 0 !important; margin-bottom: 0 !important; }
  aside.medium-4.columns { padding: 0 !important; }

  /* Each section: 24px vertical breathing room */
  .content > .row { padding: 0 !important; }
  .properties-section {
    padding: 24px 16px !important;
    margin-bottom: 0 !important;
    background: var(--white);
    border-top: 1px solid var(--border);
  }
  /* Alternate section background for visual rhythm */
  .properties-section:nth-child(even) { background: var(--bg); }

  h2.section-title { font-size: 17px !important; margin-bottom: 16px !important; }

  /* ═══ PROPERTY CARDS: 1 column ══════════════════════════ */
  ul.properties-items-list,
  ul.medium-block-grid-3.properties-items-list,
  section.properties-section ul,
  section.properties-section ul.medium-block-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  article.property-item figure { height: 200px !important; }
  h3.property-title { font-size: 15px !important; }
  .property-price { font-size: 16px !important; }

  /* ═══ SIDEBAR — shown as a dedicated promo section ═══════ */
  .sidebar {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 24px 16px !important;
  }
  .sidebar .widget {
    background: var(--white) !important;
    border-radius: var(--r) !important;
    border: 1px solid var(--border) !important;
    padding: 16px !important; margin-bottom: 14px !important;
  }

  /* Sidebar mini-cards: horizontal layout on mobile */
  .sidebar article.property-item {
    flex-direction: row !important; height: auto !important;
  }
  .sidebar article.property-item figure {
    width: 100px !important; height: 82px !important;
    flex-shrink: 0 !important; border-radius: 8px 0 0 8px !important;
  }
  .sidebar article.property-item .property-details {
    padding: 10px 12px !important;
  }

  /* ═══ ARCHIVE LISTING SECTION ═══════════════════════════ */
  .main.medium-8.columns { padding: 0 !important; }
  section.properties-section { padding: 20px 16px !important; }

  /* ═══ PAGINATION ════════════════════════════════════════ */
  ul.pagination {
    gap: 5px !important; margin: 20px 0 !important;
    justify-content: center;
  }
  ul.pagination li a, ul.pagination li.current a {
    min-width: 40px !important; height: 40px !important; font-size: 13px !important;
  }
  /* Hide intermediate page numbers on very small screens */
  ul.pagination li:not(.current):not(.arrow):not(.unavailable):not(:nth-child(-n+3)):not(:nth-last-child(-n+3)) {
    display: none !important;
  }

  /* ═══ SINGLE PROPERTY ═══════════════════════════════════ */
  h1.single-property-title { font-size: 20px !important; line-height: 1.3 !important; }
  .single-price { font-size: 22px !important; }
  h2.sub-section-title { font-size: 14px !important; margin: 20px 0 12px !important; }
  .detail-label { min-width: 110px !important; font-size: 12px !important; }
  .details-list li { font-size: 13px !important; padding: 8px 0 !important; flex-wrap: wrap; gap: 4px; }

  /* Single page: search sidebar panel collapsed on mobile */
  .search-map.single-page-map { display: none; }

  /* ═══ FOOTER ════════════════════════════════════════════ */
  footer#footer.footer { padding: 32px 0 0 !important; margin-top: 0 !important; }
  .footer .row { padding: 0 16px !important; }
  .footer .widget { padding: 0 0 24px 0 !important; }
  .socket { text-align: center !important; }
  p.copyright { text-align: center !important; }
  .socket .row .columns { text-align: center !important; }

  /* ═══ TOUCH TARGETS — minimum 44×44px for all tappable ══ */
  input[type="submit"].button,
  .advanced-search input[type="submit"],
  .button, a.button.small {
    min-height: 44px !important;
  }
  input[type="text"],
  input[type="email"],
  select,
  .chosen-single {
    height: 44px !important; font-size: 16px !important; /* 16px prevents iOS zoom */
  }
  .chosen-single { line-height: 44px !important; }
  .noUi-horizontal .noUi-handle {
    width: 24px !important; height: 24px !important; top: -9px !important; right: -12px !important;
  }

  /* ═══ FORM INPUTS ═══════════════════════════════════════ */
  .search-form label, .advanced-search label { font-size: 12px !important; }
  .search-form input[type="text"].range-view-input,
  .advanced-search input[type="text"].range-view-input {
    height: 40px !important; font-size: 15px !important; padding: 0 12px !important;
  }

} /* end @media (max-width: 40em) */

/* ── Mobile archive filter toggle button ─────────────────── */
.mobile-filter-toggle {
  display: block; width: 100%;
  background: var(--brand); color: #fff;
  border: none; border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 700;
  padding: 14px 20px;
  cursor: pointer; text-align: left;
  letter-spacing: .02em;
  border-top: 1px solid var(--border);
  transition: background .2s;
}
.mobile-filter-toggle .fa { margin-right: 10px; }
.mobile-filter-toggle.active { background: var(--brand-dk); }
.mobile-filter-toggle:hover { background: var(--brand-dk); }
/* ══════════════════════════════════════════════════════════
   DEPTH & COLOR OVERHAUL  — desktop + mobile
   Removes the flat gray everywhere. Adds glassmorphism header,
   green-tinted depth, transparency layering.
   ══════════════════════════════════════════════════════════ */

/* ── 1. Body: white base + very subtle green radial glow ── */
body {
  background: #ffffff !important;
  background-image: radial-gradient(
    ellipse 120% 40% at 50% 0%,
    rgba(34,190,115,.06) 0%,
    transparent 70%
  ) !important;
}

/* ── 2. Header glassmorphism ────────────────────────────── */
#header.header {
  background: rgba(255,255,255,.88) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(34,190,115,.18) !important;
  box-shadow: 0 1px 0 rgba(34,190,115,.08), 0 4px 24px rgba(0,0,0,.06) !important;
}

/* Logo area: faint green gradient on left edge */
#header .row > .medium-3.columns {
  background: linear-gradient(to right, rgba(34,190,115,.06) 0%, transparent 100%);
  padding-left: 12px !important;
  border-right: 1px solid rgba(34,190,115,.08);
  margin-right: 8px;
}

/* Nav items: green fill on hover */
.navigation ul li a {
  border-radius: 0;
  transition: background .2s, color .2s, border-color .2s !important;
}
.navigation ul li a:hover {
  background: rgba(34,190,115,.07) !important;
  color: var(--brand) !important;
  border-bottom-color: var(--brand) !important;
}

/* ── 3. Top bar: slightly transparent, deeper ───────────── */
.top-bar {
  background: rgba(10,20,40,.97) !important;
  border-bottom: 1px solid rgba(34,190,115,.25) !important;
}

/* ── 4. Content wrapper: white, no gray ─────────────────── */
.content { background: transparent !important; }

/* ── 5. Property sections — layered depth ───────────────── */

/* Base: clean white with subtle green left accent */
.properties-section {
  background: #ffffff;
  position: relative;
  padding: 28px 0 32px;
}

/* Faint green separator between sections */
.properties-section + .properties-section {
  border-top: 1px solid rgba(34,190,115,.12) !important;
}

/* Every even section: very subtle green tint — gives alternating depth */
.properties-section:nth-of-type(even) {
  background: linear-gradient(135deg, rgba(34,190,115,.04) 0%, #fff 60%) !important;
}

/* Featured / Exclusive section: clear green identity */
.properties-section:last-of-type {
  background: linear-gradient(135deg, rgba(34,190,115,.10) 0%, rgba(34,190,115,.03) 100%) !important;
  border-top: 2px solid rgba(34,190,115,.2) !important;
}

/* Section title: subtle green strip on the left (not just bottom border) */
h2.section-title {
  border-bottom: none !important;
  border-left: 5px solid var(--brand) !important;
  padding-left: 14px !important;
  padding-bottom: 0 !important;
  margin-bottom: 24px !important;
  background: linear-gradient(to right, rgba(34,190,115,.07) 0%, transparent 60%);
  padding-top: 6px;
  padding-bottom: 6px !important;
  display: block !important;
  border-radius: 0 8px 8px 0;
}

/* ── 6. Property cards: white with depth shadow ─────────── */
article.property-item {
  background: #ffffff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.06), 0 0 0 1px rgba(34,190,115,.06) !important;
  border: 1px solid rgba(34,190,115,.1) !important;
  transition: transform .25s, box-shadow .25s, border-color .25s !important;
}
article.property-item:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,.12), 0 0 0 1px rgba(34,190,115,.2) !important;
  border-color: rgba(34,190,115,.3) !important;
}

/* Card image overlay shimmer on hover */
article.property-item figure::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none; z-index: 1;
}
article.property-item:hover figure::after { opacity: 1; }

/* ── 7. Sidebar panel: green-tinted surface ─────────────── */
aside.medium-4.columns {
  background: transparent;
}
.sidebar {
  background: transparent !important;
  padding: 4px 0 0 8px !important;
}
.sidebar .widget {
  background: linear-gradient(135deg, rgba(34,190,115,.06) 0%, #ffffff 50%) !important;
  border: 1px solid rgba(34,190,115,.15) !important;
  box-shadow: 0 2px 12px rgba(34,190,115,.06) !important;
  border-radius: 12px !important;
}
.sidebar .widget h3 {
  background: linear-gradient(to right, rgba(34,190,115,.1) 0%, transparent 80%);
  padding: 8px 12px 8px 0 !important;
  margin: -2px -2px 14px -2px !important;
  border-radius: 10px 10px 0 0;
}

/* ── 8. Archive search panel: green accent ───────────────── */
.search-map .advanced-search.widget {
  border-top: 3px solid var(--brand) !important;
  background: rgba(255,255,255,.96) !important;
}

/* Homepage search form panel */
.search-form-container {
  background: rgba(255,255,255,.94) !important;
  border-top: 3px solid var(--brand) !important;
}

/* ── 9. "More" button: filled on a green-tinted section ─── */
.properties-section:last-of-type a.button.small {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
}
.properties-section:last-of-type a.button.small:hover {
  background: var(--brand-dk) !important;
}

/* ── 10. Footer: darker, more defined ───────────────────── */
footer#footer.footer {
  background: linear-gradient(180deg, #0a1628 0%, #0f172a 100%) !important;
  border-top: 2px solid rgba(34,190,115,.3) !important;
  margin-top: 0 !important;
}
.socket {
  background: rgba(0,0,0,.2) !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
}

/* ── 11. Pagination: white on green background ───────────── */
ul.pagination { padding: 4px 0 !important; }

/* ── 12. Archive listing background ─────────────────────── */
.main.medium-8.columns { background: transparent; }

/* ─────────────────────────────────────────────────────────
   MOBILE: same depth treatment, adapted for small screens
   ───────────────────────────────────────────────────────── */
@media (max-width: 40em) {

  /* Body keeps the radial glow */
  body {
    background-image: radial-gradient(
      ellipse 200% 30% at 50% 0%,
      rgba(34,190,115,.08) 0%,
      transparent 60%
    ) !important;
  }

  /* Header: stronger glassmorphism (scrolling on mobile reveals more) */
  #header.header {
    background: rgba(255,255,255,.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
  }

  /* Nav overlay: green top accent line */
  #main-navigation {
    border-top: 3px solid var(--brand) !important;
    background: rgba(255,255,255,.97) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }
  .navigation ul li a:hover {
    background: rgba(34,190,115,.07) !important;
  }

  /* Sections on mobile: same depth rhythm */
  .properties-section {
    padding: 24px 16px !important;
    border-top: 1px solid rgba(34,190,115,.1) !important;
    margin-bottom: 0 !important;
  }
  .properties-section:first-child { border-top: none !important; }
  .properties-section:nth-of-type(even) {
    background: linear-gradient(135deg, rgba(34,190,115,.05) 0%, #fff 60%) !important;
  }
  .properties-section:last-of-type {
    background: linear-gradient(135deg, rgba(34,190,115,.09) 0%, rgba(34,190,115,.02) 100%) !important;
    border-top: 2px solid rgba(34,190,115,.2) !important;
  }

  /* Section title: same green-strip style */
  h2.section-title { font-size: 16px !important; padding: 5px 5px 5px 14px !important; }

  /* Cards: same depth, no gray background */
  article.property-item { background: #fff !important; }

  /* Sidebar panel on mobile */
  .sidebar {
    background: linear-gradient(180deg, rgba(34,190,115,.05) 0%, #fff 100%) !important;
    padding: 20px 16px !important;
    border-top: 2px solid rgba(34,190,115,.2) !important;
  }
  .sidebar .widget {
    background: #fff !important;
    border: 1px solid rgba(34,190,115,.12) !important;
  }

  /* Archive search below map: green top border accent */
  .search-map .advanced-search.widget {
    border-top: 3px solid var(--brand) !important;
    background: rgba(255,255,255,.98) !important;
  }

  /* Footer */
  footer#footer.footer { border-top: 2px solid rgba(34,190,115,.3) !important; }

  /* Map sections get a green bottom accent */
  .homepage-search-map,
  .search-map {
    border-bottom: 2px solid rgba(34,190,115,.2);
  }
}

/* ══════════════════════════════════════════════════════════
   PRO DESIGN FIX
   Rolls back the section-gradient mistakes and fixes
   pagination. Less is more — real estate sites are clean.
   ══════════════════════════════════════════════════════════ */

/* ── 1. Remove ALL section background colours ──────────── */
/* The alternating-green-tint approach looked patchy.
   Sections stay white. Depth comes from shadows and spacing. */
body {
  background: #ffffff !important;
  background-image: none !important;
}
.properties-section {
  background: #ffffff !important;
  border-top: none !important;
  padding: 32px 0 !important;
  margin-bottom: 0 !important;
}
.properties-section + .properties-section { border-top: none !important; }
.properties-section:nth-of-type(even) { background: #ffffff !important; }
.properties-section:last-of-type {
  background: #ffffff !important;
  border-top: none !important;
}
.properties-section:last-of-type a.button.small {
  background: transparent !important;
  color: var(--brand) !important;
  border-color: var(--brand) !important;
}
.properties-section:last-of-type a.button.small:hover {
  background: var(--brand) !important;
  color: #fff !important;
}
.content { background: #ffffff !important; }

/* ── 2. Section titles: clean left accent only ──────────── */
h2.section-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  border-left: 4px solid var(--brand) !important;
  border-bottom: none !important;
  padding: 4px 0 4px 14px !important;
  margin-bottom: 24px !important;
  background: none !important;
  display: block !important;
  border-radius: 0 !important;
  letter-spacing: -.01em;
}

/* ── 3. Cards: clean shadow, no green borders ──────────── */
article.property-item {
  background: #ffffff !important;
  border: 1px solid #edf0f4 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.07) !important;
}
article.property-item:hover {
  border-color: #d4e8dc !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.12) !important;
}
/* Remove the image shimmer overlay (too flashy) */
article.property-item figure::after { display: none !important; }

/* ── 4. Header: clean, subtle glassmorphism ─────────────── */
#header.header {
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid #edf0f4 !important;
  box-shadow: 0 1px 12px rgba(0,0,0,.06) !important;
}
/* Remove the heavy green tint from logo area */
#header .row > .medium-3.columns {
  background: none !important;
  border-right: none !important;
  padding-left: 0 !important;
  margin-right: 0 !important;
}

/* ── 5. Sidebar: clean white, no green tint ─────────────── */
.sidebar {
  background: transparent !important;
  border-top: none !important;
  padding: 4px 0 0 8px !important;
}
.sidebar .widget {
  background: #ffffff !important;
  border: 1px solid #edf0f4 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.05) !important;
}
.sidebar .widget h3 {
  background: none !important;
  padding: 0 0 10px 0 !important;
  margin: 0 0 14px 0 !important;
  border-bottom: 2px solid var(--brand) !important;
  border-radius: 0 !important;
}

/* ── 6. Footer: crisp edge, no gradient ─────────────────── */
footer#footer.footer {
  background: #0f172a !important;
  border-top: 2px solid var(--brand) !important;
  margin-top: 48px !important;
}
.socket { background: transparent !important; }

/* ── 7. PAGINATION — inline-block (flex fails on Foundation) */
ul.pagination {
  display: block !important;        /* NOT flex — Foundation fights it */
  margin: 32px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: center;
}
ul.pagination::after {
  content: ''; display: table; clear: both;
}
ul.pagination li {
  display: inline-block !important; /* inline-block survives Foundation */
  float: none !important;
  vertical-align: middle !important;
  margin: 0 3px 6px !important;
  width: auto !important;
}
ul.pagination li a,
ul.pagination li.current a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 44px !important;
  height: 44px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all .18s !important;
  width: auto !important;
  line-height: 1 !important;
}
ul.pagination li a:hover {
  background: #ecfdf5 !important;
  border-color: var(--brand) !important;
  color: var(--brand) !important;
}
ul.pagination li.current a {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}
ul.pagination li.unavailable a {
  color: #cbd5e1 !important;
  pointer-events: none !important;
  border-color: #f1f5f9 !important;
}
ul.pagination li.arrow a {
  font-size: 18px !important;
  color: var(--brand) !important;
  border-color: var(--brand) !important;
  font-weight: 700 !important;
}
ul.pagination li.arrow a:hover {
  background: var(--brand) !important;
  color: #fff !important;
}

/* ── 8. Mobile: same clean treatment ────────────────────── */
@media (max-width: 40em) {
  .properties-section {
    background: #ffffff !important;
    padding: 24px 16px !important;
    border-top: 1px solid #f1f5f9 !important;
  }
  .properties-section:nth-of-type(even) { background: #ffffff !important; }
  .properties-section:last-of-type { background: #ffffff !important; border-top: 1px solid #f1f5f9 !important; }
  .content { background: #ffffff !important; }
  .sidebar {
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
    padding: 24px 16px !important;
  }
  .sidebar .widget { background: #fff !important; }
  /* Mobile nav overlay: clean white */
  #main-navigation {
    background: #ffffff !important;
    backdrop-filter: none !important;
    border-top: 2px solid var(--brand) !important;
  }
  /* Pagination on mobile: same inline-block */
  ul.pagination li { margin: 0 2px 5px !important; }
  ul.pagination li a, ul.pagination li.current a {
    min-width: 40px !important; height: 40px !important; font-size: 13px !important;
  }
}

/* ── Footer logo: show original colours in a white pill ── */
.footer .widget img {
  filter: none !important;
  opacity: 1 !important;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  max-height: 72px !important;
  width: auto !important;
  display: block !important;
  margin-bottom: 20px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

/* ── PAGINATION FIX — high specificity to beat block-grid reset ── */
/* section.properties-section ul>li has spec 0,1,3 so we must use   */
/* section.properties-section ul.pagination li = spec 0,2,3 to win  */
section.properties-section ul.pagination,
.main ul.pagination,
div ul.pagination {
  display: block !important;
  text-align: center !important;
  margin: 32px 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}
section.properties-section ul.pagination li,
.main ul.pagination li,
div ul.pagination li {
  display: inline-block !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  vertical-align: middle !important;
  margin: 0 3px 4px !important;
  padding: 0 !important;
  clear: none !important;
}
section.properties-section ul.pagination li a,
section.properties-section ul.pagination li.current a,
.main ul.pagination li a,
.main ul.pagination li.current a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 44px !important;
  height: 44px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #fff !important;
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: all .18s !important;
  box-sizing: border-box !important;
}
section.properties-section ul.pagination li a:hover,
.main ul.pagination li a:hover {
  background: #ecfdf5 !important;
  border-color: #22BE73 !important;
  color: #22BE73 !important;
}
section.properties-section ul.pagination li.current a,
.main ul.pagination li.current a {
  background: #22BE73 !important;
  border-color: #22BE73 !important;
  color: #fff !important;
  font-weight: 700 !important;
}
section.properties-section ul.pagination li.arrow a,
.main ul.pagination li.arrow a {
  color: #22BE73 !important;
  border-color: #22BE73 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}
section.properties-section ul.pagination li.arrow a:hover,
.main ul.pagination li.arrow a:hover {
  background: #22BE73 !important;
  color: #fff !important;
}
section.properties-section ul.pagination li.unavailable a,
.main ul.pagination li.unavailable a {
  color: #cbd5e1 !important;
  border-color: #f1f5f9 !important;
  pointer-events: none !important;
}

/* ── Body background: override the gray --bg variable ──── */
:root {
  --bg: #ffffff;      /* was #f8fafc (gray) — now pure white everywhere */
}
body {
  background: #ffffff !important;
  background-image: none !important;
}
/* Hover states that used var(--bg) for gray: keep subtle feel */
.navigation ul li a:hover {
  background: rgba(34,190,115,.07) !important;
}
.f-dropdown li a:hover {
  background: #f5f5f5 !important;
}

/* ══════════════════════════════════════════════════════════
   BACKGROUND ANIMATION — floating real estate icons
   Houses, map pins, buildings drift upward at low opacity.
   Disabled on mobile via JS (window.innerWidth check).
   ══════════════════════════════════════════════════════════ */

@keyframes alfaFloat {
  0%   { transform: translateY(0) rotate(0deg);    opacity: 0; }
  12%  { opacity: 0.13; }
  82%  { opacity: 0.13; }
  100% { transform: translateY(-115vh) rotate(8deg); opacity: 0; }
}

#alfa-bg-anim {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;          /* above page content (z-index:1), below header (z-index:8000) */
  user-select: none;
}
#alfa-bg-anim svg {
  width: 100%;
  height: 100%;
  fill: #22BE73;
  display: block;
}
.alfa-shape {
  position: absolute;
  bottom: -80px;
  animation: alfaFloat linear infinite;
  will-change: transform, opacity;
}

/* ── Property image watermark ───────────────────────────── */
article.property-item figure { position: relative !important; }

.img-watermark {
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}
.img-watermark span {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,.85);
  background: rgba(0,0,0,.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: .01em;
  white-space: nowrap;
}
.img-watermark span strong {
  font-weight: 700;
  color: #22BE73;
  margin-left: 1px;
}

/* Watermark on sidebar mini-cards */
.sidebar .img-watermark span { font-size: 9px; padding: 2px 5px; }

/* ── Watermark: house icon + brand (matches placeholder SVG) ── */
.img-watermark {
  position: absolute !important;
  bottom: 8px !important;
  right: 8px !important;
  z-index: 3 !important;
  pointer-events: none !important;
  user-select: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(0,0,0,.45) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  padding: 4px 9px 4px 6px !important;
  border-radius: 6px !important;
}
.img-watermark .wm-icon {
  width: 14px !important;
  height: 14px !important;
  fill: #22BE73 !important;
  flex-shrink: 0 !important;
  display: block !important;
}
.img-watermark .wm-text {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,.9) !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}
.img-watermark .wm-text strong {
  font-weight: 700 !important;
  color: #22BE73 !important;
}
.sidebar .img-watermark { padding: 2px 6px 2px 4px !important; gap: 3px !important; }
.sidebar .img-watermark .wm-icon { width: 10px !important; height: 10px !important; }
.sidebar .img-watermark .wm-text { font-size: 9px !important; }

/* ── Pagination ellipsis ─────────────────────────────────── */
section.properties-section ul.pagination li.ellipsis a,
.main ul.pagination li.ellipsis a {
  border: none !important;
  background: transparent !important;
  color: var(--muted) !important;
  font-size: 18px !important;
  letter-spacing: 1px !important;
  pointer-events: none !important;
  min-width: 32px !important;
  padding: 0 4px !important;
}
