/**
 * Makler.ge / Realtor.ge — design overlay (preview only)
 * Colors and layout only — keeps original Nunito/fonts from style.css
 */

:root {
  --color-primary: #1a2332;
  --color-primary-light: #2a3548;
  --color-accent: #c9a962;
  --color-accent-hover: #b8944f;
  --color-surface: #ffffff;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 24px rgba(26, 35, 50, 0.08);
  --shadow-hover: 0 8px 32px rgba(26, 35, 50, 0.12);
  --transition: 0.2s ease;
}

body.theme-realtor {
  --color-primary: #1e293b;
  --color-accent: #0d9488;
  --color-accent-hover: #0f766e;
}

/* Header — white bar on inner pages; transparent over hero on homepage */
header.header-nav.menu_style_home_one:not(.header-over-hero) {
  background-color: #ffffff;
  box-shadow: 0 1px 0 var(--color-border);
  position: relative;
}

body.theme-makler header.header-nav.menu_style_home_one:not(.header-over-hero).scroll-to-fixed-fixed,
body.theme-makler header.header-nav.menu_style_home_one:not(.header-over-hero).stricky-fixed {
  position: relative !important;
  top: auto !important;
}

body.theme-makler.has-search-hero .wrapper {
  position: relative;
  overflow-x: hidden;
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

body.theme-makler.has-search-hero header.header-nav.header-over-hero {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

/* Homepage listing modules — single-row title + View all (Phase 2 visual fix) */
.home-listing-module .main-title.home-listing-module__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 18px;
  padding-right: 0;
}
.home-listing-module .main-title.home-listing-module__head h2 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  line-height: 1.25;
}
.home-listing-module__more-link {
  flex: 0 0 auto;
  margin-right: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
}
.home-listing-module__more-link:hover,
.home-listing-module__more-link:focus {
  color: var(--color-accent, #e6771e);
  text-decoration: underline;
}
/* Hide carousel arrows when there is nothing to scroll (common with 4-card modules) */
.home-listing-module .feature_property_home3_slider.owl-carousel .owl-nav [class*="owl-"].disabled {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (max-width: 767.98px) {
  .home-listing-module .main-title.home-listing-module__head {
    padding-right: 0;
    flex-wrap: wrap;
  }
}

section.home-one.home1_bgi1 {
  width: 100%;
  max-width: none;
  margin-top: 0 !important;
  position: relative;
  overflow: hidden;
  background-image: none !important;
  background-color: #b5b5b5;
  min-height: 420px;
}

section.home-one.home1_bgi1::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 116%;
  height: 116%;
  transform: translate(-50%, -14%);
  transform-origin: center 35%;
  /* Prefer AVIF/WebP; keep optimized JPEG then original wallpaper2.jpg as fallbacks.
     Original (~703KB) retained on disk as wallpaper2.original.jpg / wallpaper2.jpg. */
  background-image: url(../images/wallpaper2.opt.jpg);
  background-image: -webkit-image-set(
    url(../images/wallpaper2.webp) type("image/webp"),
    url(../images/wallpaper2.opt.jpg) type("image/jpeg")
  );
  background-image: image-set(
    url(../images/wallpaper2.avif) type("image/avif"),
    url(../images/wallpaper2.webp) type("image/webp"),
    url(../images/wallpaper2.opt.jpg) type("image/jpeg")
  );
  background-size: cover;
  background-position: center 32%;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

section.home-one.home1_bgi1::before {
  z-index: 1;
}

section.home-one.home1_bgi1 > .container {
  position: relative;
  z-index: 2;
}

body.theme-makler.has-search-hero section.home-one.home1_bgi1 {
  padding: 100px 0 0 0;
  min-height: 480px;
  overflow: visible;
}

body.theme-makler.has-search-hero section.home-one.home1_bgi1 .home_content {
  padding-bottom: 32px;
}

body.theme-makler.has-search-hero header.header-nav.header-over-hero .ace-responsive-menu > li > a,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .ace-responsive-menu > li > a .title,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .ace-responsive-menu > li > a span.title {
  color: #ffffff;
}

body.theme-makler.has-search-hero header.header-nav.header-over-hero .ace-responsive-menu > li > a:hover,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .ace-responsive-menu > li > a:hover .title {
  color: rgba(255, 255, 255, 0.85);
}

/* Dropdown menus — dark text on white panel (not hero white nav) */
body.theme-makler.has-search-hero header.header-nav.header-over-hero .ace-responsive-menu li ul.sub-menu li a,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .ace-responsive-menu li ul.sub-menu li ul.sub-menu li a,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-site-menu .header-site-menu-popover .user_setting_content a,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-site-menu .header-site-menu-popover .user_setting_content a:hover,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-popover a,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-popover a:hover {
  color: #484848 !important;
}

body.theme-makler.has-search-hero header.header-nav.header-over-hero .ace-responsive-menu li ul.sub-menu li a:hover,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .ace-responsive-menu li ul.sub-menu li ul.sub-menu li a:hover {
  color: #E6771E !important;
}

body.theme-makler.has-search-hero header.header-nav.header-over-hero.scroll-to-fixed-fixed,
body.theme-makler.has-search-hero header.header-nav.header-over-hero.stricky-fixed {
  position: absolute !important;
  top: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-tool-link,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-tools-menu .flaticon-heart,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-tools-menu .langandcurrency .btn-outline-light {
  color: #ffffff;
}

body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-tools-menu .langandcurrency .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.12);
}

header.header-nav.menu_style_home_one .ace-responsive-menu li a,
header.header-nav.menu_style_home_one .ace-responsive-menu > li > a,
header.header-nav.menu_style_home_one .ace-responsive-menu li a .title,
header.header-nav.menu_style_home_one .ace-responsive-menu li a span.title {
  color: var(--color-primary);
}

header.header-nav.menu_style_home_one .ace-responsive-menu li a:hover,
header.header-nav.menu_style_home_one .ace-responsive-menu li a:hover .title {
  color: var(--color-accent);
}

header.header-nav.menu_style_home_one.stricky-fixed .ace-responsive-menu li a,
header.header-nav.menu_style_home_one.stricky-fixed .ace-responsive-menu > li > a,
header.header-nav.menu_style_home_one.stricky-fixed .ace-responsive-menu li a .title {
  color: var(--color-primary);
}

/* Language / currency toggle was white-on-white */
header.header-nav.menu_style_home_one .langandcurrency .btn-outline-light {
  color: var(--color-primary);
  border-color: var(--color-border);
  background-color: transparent;
}

header.header-nav.menu_style_home_one .langandcurrency .btn-outline-light:hover,
header.header-nav.menu_style_home_one .langandcurrency .btn-outline-light:focus {
  color: var(--color-primary);
  background-color: #f3f4f6;
  border-color: var(--color-border);
}

/* Logo — flat wordmark on header (no white tile behind logo_s.png) */
body.theme-makler header.header-nav.menu_style_home_one a.navbar_brand:before,
body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed a.navbar_brand:before {
  display: none !important;
  content: none !important;
}

body.theme-makler header.header-nav.menu_style_home_one a.navbar_brand {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 25px;
}

body.theme-makler header.header-nav.menu_style_home_one a.navbar_brand .logo-flat {
  display: inline-block !important;
  width: 246px !important;
  height: 60px !important;
  max-width: none !important;
  max-height: none !important;
}

body.theme-makler.has-search-hero header.header-nav.header-over-hero a.navbar_brand .logo-flat {
  mix-blend-mode: screen;
}

body.theme-makler header.header-nav.menu_style_home_one a.navbar_brand .logo1,
body.theme-makler header.header-nav.menu_style_home_one a.navbar_brand .logo2 {
  display: none !important;
}

/* Staging search — More filters enabled (not greyed out) */
body.theme-makler #btn-adv-search:disabled,
body.theme-makler #btn-adv-search[disabled] {
  opacity: 1;
  pointer-events: auto;
}
body.theme-makler #btn-adv-search:disabled span,
body.theme-makler #btn-adv-search:disabled i {
  color: #484848;
  opacity: 1;
}

/* Dark logo variant from first paint (not only after scroll) — live/default pages only */
header.header-nav.menu_style_home_one a.navbar_brand .logo1 {
  display: none;
}

header.header-nav.menu_style_home_one a.navbar_brand .logo2 {
  display: inline-block;
}

body.theme-makler header.header-nav.menu_style_home_one ul.ace-responsive-menu li.add_listing {
  display: none !important;
}

header.header-nav.menu_style_home_one ul.ace-responsive-menu li.add_listing a {
  color: var(--color-accent);
}

header.header-nav.menu_style_home_one.stricky-fixed ul.ace-responsive-menu li.add_listing a {
  color: #ffffff;
}

header.header-nav.menu_style_home_one .ace-responsive-menu li.last a {
  color: var(--color-border);
}

header.header-nav.menu_style_home_one .ace-responsive-menu li a .flaticon-heart {
  color: var(--color-primary);
}

/* Preview homepage — centered primary nav in header */
body.theme-makler header.header-nav.menu_style_home_one nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
  gap: 0 16px;
}

body.theme-makler header.header-nav.menu_style_home_one .header-nav-inline {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  gap: 8px 20px;
  min-width: 0;
}

body.theme-makler header.header-nav.menu_style_home_one .navbar_brand {
  flex-shrink: 0;
  margin-right: 0;
}

body.theme-makler header.header-nav.menu_style_home_one #respMenu.nav-primary-centered {
  flex: 0 1 auto;
  display: flex !important;
  justify-content: flex-start;
  align-items: center;
  float: none !important;
  text-align: left;
  width: auto;
  margin: 0;
  padding: 0;
}

body.theme-makler header.header-nav.menu_style_home_one #respMenu.nav-primary-centered > li {
  float: none;
  display: inline-flex;
  align-items: center;
  position: relative;
}

body.theme-makler header.header-nav.menu_style_home_one #respMenu.nav-primary-centered > li > a {
  display: inline-flex;
  align-items: center;
  height: 44px;
}

/* Nav dropdowns — drop below link; flyout aligns to hovered row */
body.theme-makler header.header-nav.menu_style_home_one #respMenu.nav-primary-centered,
body.theme-makler header.header-nav.menu_style_home_one .header-nav-inline,
body.theme-makler header.header-nav.menu_style_home_one nav {
  overflow: visible !important;
}

body.theme-makler header.header-nav.menu_style_home_one #respMenu > li > ul.sub-menu {
  top: 100% !important;
  left: 0 !important;
  margin-left: 0 !important;
  margin-top: 0;
  padding-top: 8px;
  z-index: 1050;
  min-width: 260px;
}

body.theme-makler header.header-nav.menu_style_home_one #respMenu > li > ul.sub-menu.slide {
  top: 100% !important;
}

body.theme-makler header.header-nav.menu_style_home_one #respMenu > li > ul.sub-menu > li {
  position: relative;
}

body.theme-makler header.header-nav.menu_style_home_one #respMenu > li > ul.sub-menu > li > ul.sub-menu {
  top: 0 !important;
  left: 100% !important;
  margin-left: -8px;
  padding-left: 8px;
  z-index: 1051;
}

/* Invisible hover bridges — keep menu open while moving from link to panel / flyout */
body.theme-makler header.header-nav.menu_style_home_one #respMenu > li > ul.sub-menu:before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  width: auto;
  background: transparent;
  transform: none;
  pointer-events: auto;
}

body.theme-makler header.header-nav.menu_style_home_one #respMenu > li > ul.sub-menu > li > ul.sub-menu:before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: transparent;
  transform: none;
  pointer-events: auto;
}

/* Header utilities — lang, wishlist, menu, user (right side) */
body.theme-makler header.header-nav.menu_style_home_one .header-tools-bar {
  flex: 0 0 auto;
  margin-left: auto;
  overflow: visible;
}

body.theme-makler header.header-nav.menu_style_home_one .header-tools-stack {
  display: contents;
}

body.theme-makler header.header-nav.menu_style_home_one .header-tools-actions {
  display: contents;
}

body.theme-makler header.header-nav.menu_style_home_one .header-tools-menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  float: none;
  overflow: visible;
}

body.theme-makler header.header-nav.menu_style_home_one .header-tools-menu > li {
  float: none;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

body.theme-makler header.header-nav.menu_style_home_one .header-tools-menu > li.header-user-setting,
body.theme-makler header.header-nav.menu_style_home_one .header-tools-menu > li.header-site-menu {
  float: none;
}

body.theme-makler header.header-nav.menu_style_home_one .header-tools-divider a {
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed .header-tools-divider a {
  color: var(--color-border);
}

body.theme-makler header.header-nav.menu_style_home_one .header-add-listing .add_listing {
  background: #ffffff;
  border-radius: 25px;
  height: 44px;
  min-width: 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  box-shadow: 0 2px 10px rgba(26, 35, 50, 0.15);
}

body.theme-makler header.header-nav.menu_style_home_one .header-add-listing .add_listing a {
  color: #E6771E;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.2;
}

body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed .header-add-listing .add_listing {
  background: #E6771E;
  box-shadow: 0 1px 4px rgba(230, 119, 30, 0.3);
}

body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed .header-add-listing .add_listing a {
  color: #ffffff;
}

body.theme-makler header.header-nav.menu_style_home_one .header-tool-link {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}

body.theme-makler header.header-nav.menu_style_home_one .header-tool-link:hover {
  color: var(--color-accent);
}

body.theme-makler header.header-nav.menu_style_home_one .header-tool-label {
  font-size: 14px;
}

body.theme-makler header.header-nav.menu_style_home_one .header-residence-link {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.theme-makler header.header-nav.menu_style_home_one .header-residence-link .header-tool-label,
body.theme-makler header.header-nav.menu_style_home_one .mk-header-tools .header-residence-link .header-tool-label {
  display: inline !important;
  font-weight: 700;
}

body.theme-makler header.header-nav.menu_style_home_one .header-tools-menu .langandcurrency .btn-outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.12);
}

body.theme-makler header.header-nav.menu_style_home_one .header-tools-menu .langandcurrency .btn-outline-light:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
}

body.theme-makler header.header-nav.menu_style_home_one .header-tools-menu .langandcurrency .header-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1;
}

body.theme-makler header.header-nav.menu_style_home_one .header-tools-menu .langandcurrency .header-lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  vertical-align: middle;
}

body.theme-makler header.header-nav.menu_style_home_one .header-tools-menu .langandcurrency .header-lang-sep {
  opacity: 0.85;
  font-size: 12px;
}

/* Shared header popover — white panel + top arrow (matches live reference) */
body.theme-makler .header-popover.dropdown-menu {
  border: 1px solid #ebebeb;
  border-radius: 8px;
  margin-top: 14px;
  padding: 0;
  min-width: 240px;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(32, 32, 32, 0.12);
  overflow: visible;
}

body.theme-makler .header-popover.dropdown-menu.show:before {
  content: "";
  position: absolute;
  top: -7px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-left: 1px solid #ebebeb;
  border-top: 1px solid #ebebeb;
  transform: rotate(45deg);
  z-index: 1;
}

body.theme-makler .langandcurrency .header-popover.dropdown-menu.show:before {
  left: 22px;
  right: auto;
}

body.theme-makler .header-site-menu .header-popover.dropdown-menu.show:before {
  right: 14px;
  left: auto;
}

/* Lang / currency list */
body.theme-makler .header-lang-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.theme-makler .header-lang-menu li.list-head {
  padding: 12px 16px 0;
}

body.theme-makler .header-lang-menu li.list-head.cur {
  padding-top: 4px;
}

body.theme-makler .header-lang-menu li.list-head span {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #b0b6bb;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 8px;
  text-transform: none;
  letter-spacing: normal;
}

body.theme-makler .header-lang-item,
body.theme-makler .header-currency-item {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #484848;
  border-bottom: 1px solid #ebebeb;
  white-space: nowrap;
  background: transparent;
}

body.theme-makler .header-lang-item:last-of-type,
body.theme-makler .header-currency-item:last-of-type {
  border-bottom: none;
}

body.theme-makler .header-lang-item:hover,
body.theme-makler .header-currency-item:hover,
body.theme-makler .header-lang-item.active,
body.theme-makler .header-lang-item:active {
  background: transparent;
  color: #484848;
  padding-left: 16px;
}

body.theme-makler .header-lang-item .header-lang-flag {
  display: inline-block;
  vertical-align: middle;
  margin-right: 2px;
}

body.theme-makler .header-lang-dash,
body.theme-makler .header-currency-dash {
  color: #484848;
}

body.theme-makler .header-lang-label,
body.theme-makler .header-currency-label {
  color: #484848;
}

body.theme-makler .header-currency-item .currency {
  display: inline-block;
  vertical-align: middle;
}

body.theme-makler header.header-nav.menu_style_home_one .header-tools-menu .flaticon-heart {
  color: #ffffff;
}

body.theme-makler .header-user-link .header-user-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed .header-user-link .header-user-initials {
  background: rgba(26, 35, 50, 0.12);
  color: var(--color-primary);
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .header-user-link.flaticon-user:before {
  margin-right: 0;
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .header-user-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .btn.flaticon-user {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-user-setting .header-user-link,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-user-setting .btn.flaticon-user {
  color: #ffffff;
}

body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-user-setting .header-user-link.flaticon-user:before,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-user-setting .btn.flaticon-user:before {
  color: #ffffff;
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .header-user-link.dropdown-toggle::after {
  border-top-color: currentColor;
}

body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .header-site-menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.12);
  color: #ffffff;
}

body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .header-site-menu-link:after {
  display: none;
}

body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .header-site-menu-icon {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
}

body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .header-site-menu-icon:before,
body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .header-site-menu-icon:after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .header-site-menu-icon:before {
  top: -5px;
}

body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .header-site-menu-icon:after {
  top: 5px;
}

body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .header-site-menu-link:hover,
body.theme-makler header.header-nav.menu_style_home_one:not(.header-over-hero) .header-site-menu .header-site-menu-link:hover,
body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed .header-site-menu .header-site-menu-link:hover {
  color: #ffffff;
  background: #E6771E;
  border-color: #E6771E;
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .header-user-link:hover,
body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .btn.flaticon-user:hover {
  color: #ffffff;
  background: #E6771E;
  border-color: #E6771E;
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .header-user-link:hover.flaticon-user:before,
body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .btn.flaticon-user:hover:before {
  color: #ffffff;
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .header-user-link:hover .header-user-initials {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

body.theme-makler header.header-nav.menu_style_home_one .header-site-menu.user_setting .header-site-menu-popover.dropdown-menu.show {
  margin-left: 0 !important;
  margin-top: 14px;
  padding: 0;
  width: 260px;
  right: 0;
  left: auto;
}

body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .header-site-menu-popover .user_setting_content {
  padding: 8px 0;
}

body.theme-makler .header-popover .header-lang-item,
body.theme-makler .header-popover .header-currency-item,
body.theme-makler .header-popover .header-lang-item:hover,
body.theme-makler .header-popover .header-currency-item:hover {
  color: #484848 !important;
}

body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .user_setting_content b {
  font-size: 11px;
  font-weight: 700;
  color: #E6771E;
  margin-left: 4px;
}

body.theme-makler header.header-nav.menu_style_home_one:not(.header-over-hero) .header-site-menu .header-site-menu-link {
  color: var(--color-primary);
  border-color: var(--color-border);
  background: #ffffff;
}

body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed .header-site-menu .header-site-menu-link {
  color: var(--color-primary);
  border-color: var(--color-border);
  background: #ffffff;
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting li {
  float: none;
}

/* User profile dropdown — verdanaFull, full text, left-aligned */
body.theme-makler header.header-nav.menu_style_home_one .header-user-setting,
body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .dropdown {
  position: relative;
  overflow: visible;
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .header-user-popover.dropdown-menu.show {
  margin-left: 0 !important;
  margin-top: 14px;
  padding: 8px 0;
  width: auto;
  min-width: 280px;
  max-width: none;
  right: 0;
  left: auto;
  overflow: visible;
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .header-user-popover.dropdown-menu.show:before {
  right: 14px;
  left: auto;
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .user_setting_content {
  padding: 0;
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .user_setting_content a,
body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .user_setting_content a:hover,
body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .user_setting_content a.active,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-user-setting .user_setting_content a,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-user-setting .user_setting_content a:hover {
  display: block;
  font-family: 'verdanaFull', sans-serif !important;
  font-weight: normal !important;
  font-size: 16px;
  line-height: 1.5 !important;
  color: #484848 !important;
  text-align: left;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  border-bottom: none;
  padding: 10px 20px !important;
  background: transparent !important;
  -webkit-font-smoothing: antialiased;
}

body.theme-makler header.header-nav.menu_style_home_one .header-user-setting .user_setting_content a:hover,
body.theme-makler.has-search-hero header.header-nav.header-over-hero .header-user-setting .user_setting_content a:hover {
  color: #E6771E !important;
}

body.theme-makler header.header-nav.menu_style_home_one:not(.header-over-hero) .header-tools-menu .langandcurrency .btn-outline-light {
  color: var(--color-primary);
  border-color: var(--color-border);
  background: #ffffff;
}

body.theme-makler header.header-nav.menu_style_home_one:not(.header-over-hero) .header-tools-menu .langandcurrency .btn-outline-light:hover {
  color: var(--color-primary);
  background: #f3f4f6;
  border-color: var(--color-border);
}

body.theme-makler header.header-nav.menu_style_home_one:not(.header-over-hero) .header-tools-menu .flaticon-heart,
body.theme-makler header.header-nav.menu_style_home_one:not(.header-over-hero) .header-tool-link {
  color: var(--color-primary);
}

body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed .header-tools-menu {
  background: transparent;
}

body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed .header-tool-link,
body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed .header-tools-menu .flaticon-heart {
  color: var(--color-primary);
}

body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed .header-tools-menu .langandcurrency .btn-outline-light {
  color: var(--color-primary);
  border-color: var(--color-border);
  background: transparent;
}

body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed .header-tools-menu .langandcurrency .btn-outline-light:hover {
  color: var(--color-primary);
  background: #f3f4f6;
  border-color: var(--color-border);
}

body.theme-makler header.header-nav.menu_style_home_one.stricky-fixed .header-user-setting .header-user-link.flaticon-user:before {
  color: var(--color-primary);
}

/* Add listing — bottom row beside ID search */
body.theme-makler .home1_adsrchfrm {
  overflow: visible;
  margin-bottom: 0;
}

body.theme-makler .home1-advnc-search {
  position: relative;
}

body.theme-makler .home1-advnc-search .btn-area.float-right {
  position: relative;
}

body.theme-makler .home1-advnc-search .input-area.float-left {
  display: flex;
  flex: 1 1 auto;
  max-width: none;
  min-width: 0;
}

body.theme-makler .home1-advnc-search .h1ads_1st_list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

/* Hero text — exact same font as orange search button (ძიება) */
body.theme-makler .home1-advnc-search ul li .search_option_button button.btn.btn-thm,
body.theme-makler .home-text h1.h2 {
  font-family: 'verdanaFull', sans-serif !important;
  font-weight: bold !important;
  line-height: 1.2 !important;
}

body.theme-makler .home-text h1.h2 {
  display: block;
  font-size: 30px;
  color: #ffffff;
  margin-bottom: 0;
  -webkit-font-smoothing: antialiased;
}

body.theme-makler .home-text p.fz18.color-white {
  font-family: 'verdanaFull', sans-serif !important;
  font-weight: bold !important;
  line-height: 1.2 !important;
  display: block;
  font-size: 18px;
  color: #ffffff;
  margin-top: 10px;
  -webkit-font-smoothing: antialiased;
}

/* ≡ Menu dropdown — verdanaFull Mtavruli */
body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .header-site-menu-popover .user_setting_content a,
body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .header-site-menu-popover .user_setting_content a:hover,
body.theme-makler header.header-nav.menu_style_home_one .header-site-menu .header-site-menu-popover .user_setting_content a.active {
  display: block;
  font-family: 'verdanaFull', sans-serif !important;
  font-weight: normal !important;
  font-size: 16px;
  line-height: 1.5 !important;
  color: #484848 !important;
  border-bottom: none;
  padding: 10px 20px;
  background: transparent !important;
}

/* Main nav + header tools — verdanaFull */
body.theme-makler #respMenu .title,
body.theme-makler #respMenu > li > a,
body.theme-makler .header-tools-menu .header-tool-label {
  font-family: 'verdanaFull', sans-serif !important;
  font-weight: normal !important;
  -webkit-font-smoothing: antialiased;
}

body.theme-makler .header-lang-menu li.list-head span,
body.theme-makler .header-lang-item,
body.theme-makler .header-currency-item {
  font-family: 'verdanaFull', sans-serif !important;
  font-weight: normal !important;
  -webkit-font-smoothing: antialiased;
}

/* Add listing — verdanaFull, same as hero h1 */
.hero-add-listing-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.hero-add-listing-top .hero-add-listing-label,
.hero-add-listing-top li.add_listing a,
.hero-add-listing-top li.add_listing a .hero-add-listing-btn-text {
  font-size: 18px;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
}

.hero-add-listing-top .hero-add-listing-label {
  color: #ffffff;
  white-space: nowrap;
}

.hero-add-listing-top .hero-add-listing-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  float: none;
}

.hero-add-listing-top .hero-add-listing-menu > li {
  float: none;
  margin: 0;
}

.hero-add-listing-top li.add_listing {
  background-color: #ffffff;
  border-radius: 20px;
  height: auto;
  min-height: 38px;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 4px 14px;
  box-shadow: 0 4px 14px rgba(26, 35, 50, 0.18);
  transition: background-color 0.2s ease;
}

.hero-add-listing-top li.add_listing a {
  color: #E6771E;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.hero-add-listing-top li.add_listing:hover {
  background-color: #E6771E;
}

.hero-add-listing-top li.add_listing:hover a,
.hero-add-listing-top li.add_listing:hover a .hero-add-listing-btn-text {
  color: #ffffff !important;
}

/* ID search + add listing row */
.home-search-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 14px;
  width: 100%;
}

.home-search-bottom-row .add-form {
  flex: 0 1 420px;
  max-width: 420px;
  margin: 0;
}

.home-search-bottom-row .hero-add-listing-top {
  flex: 0 1 auto;
  margin: 0 20px 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: auto;
}

.home-search-bottom-row .hero-tools-bar {
  flex: 0 1 auto;
  margin-top: 0;
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  width: auto;
}

.hero-tools-bar .hero-tools-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 18px;
  list-style: none;
  margin: 0;
  padding: 10px 16px;
  background: rgba(26, 35, 50, 0.55);
  border-radius: var(--radius-md);
  float: none;
}

.hero-tools-bar .hero-tools-menu > li {
  float: none;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.hero-tools-bar .hero-tool-link {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.hero-tools-bar .hero-tool-link:hover {
  color: var(--color-accent);
}

.hero-tools-bar .hero-tool-label {
  font-size: 14px;
}

.hero-tools-bar .langandcurrency .btn-outline-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.hero-tools-bar .langandcurrency .btn-outline-light:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-tools-bar .hero-user-setting .ace-responsive-menu,
.hero-tools-bar .hero-user-setting ul {
  display: inline-flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-tools-bar .hero-user-setting li {
  float: none;
}

@media (max-width: 991px) {
  /* Mobile header bar (separate from desktop .main-menu) */
  body.theme-makler .mobile-menu {
    display: block !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
  }

  body.theme-makler .mobile-menu .header.stylehome1 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    height: auto !important;
    min-height: 52px;
    padding: 8px 16px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.09);
    text-align: left !important;
    line-height: normal !important;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    z-index: 1000;
  }

  body.theme-makler .mobile-menu .main_logo_home2 {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto;
    min-width: 0;
    text-align: left !important;
    position: relative;
    cursor: pointer;
  }

  body.theme-makler .mobile-menu .main_logo_home2 .nav_logo_img {
    display: block !important;
    width: auto !important;
    height: 34px !important;
    max-width: min(180px, 58vw);
    max-height: none !important;
    margin: 0 !important;
    object-fit: contain;
    object-position: left center;
  }

  body.theme-makler .mobile-menu .menu_bar_home2 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    position: static !important;
    width: auto !important;
    height: auto !important;
    flex-shrink: 0;
  }

  body.theme-makler .mobile-menu .menu_bar_home2 li {
    position: static !important;
    display: inline-flex !important;
    float: none !important;
    top: auto !important;
    right: auto !important;
  }

  body.theme-makler .mobile-menu .menu_bar_home2 li.list-inline-item:first-child {
    position: static !important;
    right: auto !important;
    top: auto !important;
  }

  body.theme-makler .mobile-menu .menu_bar_home2 a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    top: auto !important;
    left: auto !important;
  }

  body.theme-makler header.header-nav.menu_style_home_one {
    padding: 0 12px;
  }

  body.theme-makler header.header-nav.menu_style_home_one nav {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
  }

  body.theme-makler header.header-nav.menu_style_home_one .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    float: none;
    background: transparent;
    order: 0;
    padding: 0;
  }

  body.theme-makler header.header-nav.menu_style_home_one .menu-toggle .nav_logo_img {
    display: block;
    width: auto;
    height: 34px;
    max-width: 170px;
    object-fit: contain;
    object-position: left center;
    margin: 0;
  }

  body.theme-makler header.header-nav.menu_style_home_one .menu-toggle #menu-btn {
    float: none;
    margin: 0;
    padding: 8px 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 4px;
  }

  body.theme-makler header.header-nav.menu_style_home_one:not(.header-over-hero) .menu-toggle #menu-btn {
    border-color: var(--color-border);
    background: #fff;
  }

  body.theme-makler header.header-nav.menu_style_home_one .menu-toggle .icon-bar {
    background-color: #ffffff !important;
  }

  body.theme-makler header.header-nav.menu_style_home_one:not(.header-over-hero) .menu-toggle .icon-bar {
    background-color: var(--color-primary) !important;
  }

  body.theme-makler.has-search-hero header.header-nav.header-over-hero .menu-toggle .nav_logo_img,
  body.theme-makler.front-homepage header.header-nav.header-over-hero .menu-toggle .nav_logo_img {
    mix-blend-mode: normal;
    filter: brightness(0) invert(1);
  }

  body.theme-makler header.header-nav.menu_style_home_one a.navbar_brand {
    display: none !important;
  }

  body.theme-makler header.header-nav.menu_style_home_one #respMenu.nav-primary-centered.hide-menu {
    display: none !important;
  }

  body.theme-makler header.header-nav.menu_style_home_one #respMenu.nav-primary-centered:not(.hide-menu) {
    display: block !important;
    width: 100%;
    float: none;
  }

  body.theme-makler header.header-nav.menu_style_home_one .header-nav-inline {
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    order: 2;
  }

  body.theme-makler header.header-nav.menu_style_home_one .header-tools-bar {
    margin-left: auto;
  }

  body.theme-makler header.header-nav.menu_style_home_one #respMenu.nav-primary-centered {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.theme-makler header.header-nav.menu_style_home_one .header-tools-bar {
    width: 100%;
    margin: 8px 0 0;
    order: 3;
  }

  body.theme-makler header.header-nav.menu_style_home_one .header-tools-menu {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 0;
  }

  body.theme-makler .home1_adsrchfrm {
    margin-bottom: 0;
  }

  body.theme-makler .search_option_button .hero-add-listing-top,
  body.theme-makler .btn-area.float-right .hero-add-listing-top,
  body.theme-makler .home-search-bottom-row .hero-add-listing-top,
  .hero-add-listing-top {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    margin: 0 0 12px;
    width: 100%;
    gap: 10px;
  }

  .hero-add-listing-top .hero-add-listing-label,
  .hero-add-listing-top li.add_listing a,
  .hero-add-listing-top li.add_listing a .hero-add-listing-btn-text {
    font-size: 14px;
  }

  .home-search-bottom-row {
    flex-direction: column;
    align-items: stretch;
  }

  .home-search-bottom-row .add-form {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .home-search-bottom-row .hero-tools-bar {
    margin-left: 0;
    justify-content: center;
    width: 100%;
  }

  .hero-tools-bar .hero-tools-menu {
    justify-content: center;
    gap: 8px 12px;
    padding: 8px 12px;
  }

  .hero-tools-bar .hero-tool-label {
    display: none;
  }
}

/* Listing cards — keep photos visible, original fonts unchanged */
.feat_property.home3,
.feat_property.home3._ex,
.feat_property._ex {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--color-border);
}

.feat_property.home3 .thumb {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  width: 90%;
  margin: 16px auto 12px;
  border-radius: 8px;
  background: #f3f4f6;
}

/* Keep 4:3 photo box when aspect-ratio is unsupported (Smart TV / older Chromium). */
.feat_property.home3 .thumb::before {
  content: "";
  display: block;
  padding-bottom: 75%;
}

@supports (aspect-ratio: 1 / 1) {
  .feat_property.home3 .thumb::before {
    content: none;
    display: none;
    padding-bottom: 0;
  }
}

.feat_property.home3 .thumb img,
.feat_property.home3 .thumb img.lazy {
  position: absolute;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  visibility: visible;
}

.feat_property.home3 .thumb .thmb_cntnt {
  inset: 10px;
  left: 10px;
  right: 10px;
}

.feature_property_home3_slider .feat_property.home3 {
  display: flex;
  flex-direction: column;
  height: auto;
}

.feature_property_home3_slider .feat_property.home3 > a {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  color: inherit;
  text-decoration: none;
}

.feature_property_home3_slider .feat_property.home3 > a > .details {
  flex: 0 0 auto;
  margin-top: 0;
}

.feature_property_home3_slider .feat_property.home3 > .details {
  margin-top: 0;
  flex: 0 0 auto;
}

/* Homepage carousel — photo/text spacing + compact footer */
.feature_property_home3_slider .feat_property.home3 .thumb {
  width: 90% !important;
  margin: 16px auto 12px !important;
}

.feature_property_home3_slider .feat_property.home3 > a > .details .tc_content {
  padding: 10px 14px 4px !important;
}

.feature_property_home3_slider .feat_property.home3 .details .tc_content h3 {
  font-weight: 400 !important;
  margin-bottom: 4px !important;
  min-height: 0 !important;
  max-height: 2.8em;
  height: auto !important;
}

.feature_property_home3_slider .feat_property.home3 > .details .fp_footer {
  padding: 8px 10px 14px !important;
}

.feature_property_home3_slider .feat_property.home3 .agents {
  padding-bottom: 10px !important;
}

.feat_property.home3 .fp_footer .btn-call._sm {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 48px;
}

.feat_property.home3 .fp_footer .btn-call._sm ._lc,
.feat_property.home3 .fp_footer .btn-call._sm ._rc {
  float: none;
  height: auto;
  min-height: 48px;
}

.feat_property.home3 .fp_footer .btn-call._sm ._lc {
  flex: 0 0 auto;
}

/* Broker avatars — avoid speckled/dotted look from high-res AI grain at tiny sizes */
.feat_property.home3 .agent-poster,
.feat_property.home3 .btn-call._sm .agent-poster {
  background-color: #f3f4f6;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 18%;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.realtor-card .realtor-card__avatar {
  background-color: #fff;
  image-rendering: auto;
}

.feat_property.home3 .agent-poster,
.feat_property.home3 .btn-call._sm .agent-poster {
  border: 0 !important;
  box-shadow: none !important;
}

#property_list .listing-list-card__agent-photo,
#property_list .listing-list-card__agent-photo.agent-poster {
  border: 0 !important;
  box-shadow: none !important;
}

.realtor-card .realtor-card__avatar {
  image-rendering: auto;
}

.feat_property.home3 .fp_footer .btn-call._sm ._rc {
  flex: 1 1 auto;
  min-width: 0;
  padding: 4px 0 4px 10px;
  line-height: 1.3;
}

.feat_property.home3 .tc_content h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  max-height: 2.8em;
  font-size: 14px !important;
  height: auto !important;
  color: var(--color-primary);
  line-height: 1.4;
}

.feature_property_home3_slider .owl-stage {
  display: flex;
  align-items: stretch;
}

.feature_property_home3_slider .owl-item {
  display: flex;
  height: auto;
}

.feature_property_home3_slider .owl-item > .item {
  display: flex;
  width: 100%;
}

.feature_property_home3_slider .owl-item .feat_property.home3 {
  width: 100%;
}

.feat_property.home3 .details,
.feat_property.home3 .details .tc_content,
.feat_property.home3 .details .fp_footer,
.feat_property.home3._ex .details,
.feat_property.home3._ex .details .tc_content,
.feat_property.home3._ex .details .fp_footer {
  background-color: #ffffff;
}

section.feature-property.home3 {
  background-color: #ffffff;
}

.feat_property.home3:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.feat_property.home3 .fp_price {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
}

.feat_property.home3._ex .btn-ex {
  background: var(--color-accent);
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

/* Results section anchor — land below sticky mobile header */
#search-results.search-results {
  scroll-margin-top: 12px;
}

@media (max-width: 991px) {
  /* Sticky .mobile-menu header ~52–68px + 12–16px gap */
  #search-results.search-results {
    scroll-margin-top: 84px;
  }
}

/* Listing detail content — open below sticky mobile header */
#listing-details {
  scroll-margin-top: 8px;
}
#listing-gallery,
#gallery {
  scroll-margin-top: 8px;
}

@media (max-width: 991px) {
  /* Sticky .mobile-menu ~52–68px + ~10px gap */
  #listing-details,
  #listing-gallery,
  #gallery {
    scroll-margin-top: 72px;
  }
}

/* Search results grid — 4 cols full-width, 3 cols when Adequate Price sidebar is present */
#property_list.row.property_list--grid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: -8px;
  margin-right: -8px;
  justify-content: center;
}

@media (min-width: 992px) {
  #property_list.row > .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: 8px;
    padding-right: 8px;
  }

  #property_list.row > .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-left: 8px;
    padding-right: 8px;
  }
}

#property_list.row > .col-lg-3,
#property_list.row > .col-lg-4 {
  margin-bottom: 28px;
}

#property_list .feat_property.home3 {
  margin-bottom: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

#property_list .feat_property.list.listing-list-card {
  position: relative;
}

#property_list .property-card__main-link {
  position: static;
  color: inherit;
  text-decoration: none;
}

#property_list .property-card__main-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

#property_list .property-card__interactive,
#property_list .fp_footer .btn-call,
#property_list .listing-list-card__agent-link {
  position: relative;
  z-index: 2;
}

#property_list .property-card__main-link:focus {
  outline: none;
}

#property_list .property-card__main-link:focus-visible::after {
  outline: 2px solid #E6771E;
  outline-offset: 2px;
}

@media (min-width: 992px) {
  #property_list .feat_property.home3,
  #property_list .feat_property.list.listing-list-card {
    cursor: pointer;
  }

  #property_list .feat_property.home3:hover,
  #property_list .feat_property.list.listing-list-card:hover {
    box-shadow: 0 6px 18px rgba(26, 35, 50, 0.12);
  }
}

#property_list .feat_property.home3 .thumb {
  width: auto;
  margin: 10px;
  aspect-ratio: 4 / 3;
}

#property_list .feat_property.home3 .details .tc_content {
  padding: 4px 12px 8px;
}

#property_list .feat_property.home3 .details .tc_content h3 {
  margin-bottom: 4px;
  min-height: 0;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.35;
}

#property_list .feat_property.home3 .details .tc_content p {
  margin-bottom: 6px;
  font-size: 13px;
}

#property_list .feat_property.home3 .details .fp_footer {
  padding: 8px 10px 12px;
  margin-top: auto;
}

/* Search toolbar — grid / list toggle */
body.theme-makler .search-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

body.theme-makler .btn-layout-group {
  display: inline-flex;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}

body.theme-makler .btn-layout-group .btn-layout {
  min-width: 32px;
  height: 30px;
  margin: 0;
  padding: 0 8px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--color-muted);
  line-height: 30px;
  font-size: 14px;
}

body.theme-makler .btn-layout-group .btn-layout + .btn-layout {
  border-left: 1px solid var(--color-border) !important;
}

body.theme-makler .btn-layout-group .btn-layout.is-active {
  background: #E6771E !important;
  color: #fff !important;
}

body.theme-makler .btn-layout-group .btn-layout.is-active [class^="flaticon-"]:before {
  color: #fff !important;
}

/* Search pagination + layout toggle row */
body.theme-makler .search-pagination--top {
  margin-top: 0;
  margin-bottom: 10px;
}

body.theme-makler .search-pagination--top > .col-lg-12 {
  margin-top: 0 !important;
  padding-top: 0;
}

body.theme-makler .search-pagination__toolbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 88px 0 0;
}

body.theme-makler .search-pagination__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

body.theme-makler .search-pagination__center .pagination-info {
  margin: 0;
  line-height: 1.2;
}

body.theme-makler .search-pagination__center .mbp_pagination {
  margin: 0;
}

body.theme-makler .search-pagination__layout {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

body.theme-makler section.search-price-panel {
  padding: 0 !important;
  margin-bottom: 10px;
}

body.theme-makler section.search-price-panel.search-price-panel--collapsed {
  margin-bottom: 8px;
}

/* Search results — list view (full row per listing) */
#property_list.property_list--list > .col-lg-12 {
  margin-bottom: 16px;
}

#property_list .listing-list-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

#property_list .listing-list-card__main {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}

#property_list .listing-list-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

#property_list .listing-list-card .thumb {
  flex: 0 0 220px;
  width: 220px;
  max-width: 34%;
  margin: 0;
  min-height: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

#property_list .listing-list-card__media {
  background: #f8f9fb;
}

#property_list .listing-list-card__photo {
  display: block;
  position: relative;
  flex: 0 0 auto;
  width: calc(100% - 16px);
  height: 150px;
  min-height: 150px;
  max-height: 150px;
  margin: 8px;
  border-radius: 6px;
  overflow: hidden;
}

#property_list .listing-list-card__photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

#property_list .listing-list-card__agent-link {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  text-decoration: none !important;
  color: var(--color-primary);
  min-width: 0;
}

#property_list .listing-list-card__agent-photo {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 4px;
  background-size: cover;
  background-position: center 18%;
  background-color: #e5e7eb;
}

#property_list .listing-list-card__agent-meta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

#property_list .listing-list-card__agent-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

#property_list .listing-list-card__agent-phone {
  font-size: 12px;
  color: #E6771E;
  line-height: 1.25;
  white-space: nowrap;
}

#property_list .listing-list-card__agent-phone i {
  font-size: 11px;
}

#property_list .listing-list-card .details {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

#property_list .listing-list-card .tc_content {
  flex: 1 1 auto;
  padding-bottom: 8px;
}

#property_list .listing-list-card .dtls_headr {
  margin: 0 0 8px;
}

#property_list .listing-list-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

#property_list .listing-list-card__head-text {
  min-width: 0;
  flex: 1 1 auto;
}

#property_list .listing-list-card__head-price {
  flex: 0 0 auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 110px;
}

#property_list .listing-list-card__head-price .fp_price {
  position: static;
  display: none;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: right;
  background: transparent;
  white-space: nowrap;
}

#property_list .listing-list-card__head-price .fp_price.show {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

#property_list .listing-list-card__head-price .fp_price._tp2 {
  margin-top: 6px;
}

#property_list .listing-list-card__head-price .fp_price.hide {
  display: none !important;
}

#property_list .listing-list-card__head-price .fp_price-main {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: #E6771E !important;
}

#property_list .listing-list-card__head-price .fp_price-main .currency {
  color: #E6771E !important;
  font-size: inherit;
  font-weight: inherit;
}

#property_list .listing-list-card__head-price .fp_price small._m2 {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-muted) !important;
  text-decoration: none;
}

#property_list .listing-list-card__head-price .fp_price small._m2 .currency {
  color: var(--color-muted) !important;
  font-size: 12px;
  font-weight: 500;
}

#property_list .listing-list-card.feat_property.list {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

#property_list .listing-list-card.feat_property.list .details {
  width: auto;
}

#property_list .listing-list-card.feat_property.list .details .tc_content {
  padding: 14px 20px 10px;
}

#property_list .listing-list-card.feat_property.list .listing-list-card__footer.fp_footer {
  border-top: 1px solid rgba(26, 35, 50, 0.08);
  padding: 12px 20px !important;
}

#property_list .listing-list-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 16px;
  margin: 0;
  padding: 12px 20px !important;
  border-top: 1px solid rgba(26, 35, 50, 0.08);
  background: #fff;
}

#property_list .listing-list-card__footer-agent {
  min-width: 0;
  flex: 0 1 auto;
}

#property_list .listing-list-card__footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0;
  margin-left: auto;
  width: max-content;
  max-width: 100%;
  flex: 0 0 auto;
  text-align: right;
}

#property_list .listing-list-card__footer-meta .fp_pdate,
#property_list .listing-list-card__footer-meta .fp_pid,
#property_list .listing-list-card__footer-meta .fp_pviews {
  float: none;
  margin: 0;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: #E6771E;
  white-space: nowrap;
  line-height: 1.2;
}

#property_list .listing-list-card__footer-meta .fp_pid {
  padding-left: 0;
}

#property_list .listing-list-card__footer-meta .fp_pviews {
  padding-right: 0;
  color: var(--color-muted);
}

#property_list .listing-list-card__footer-meta .fp_pdate,
#property_list .listing-list-card__footer-meta .fp_pviews {
  border-left: 1px solid rgba(26, 35, 50, 0.14);
}

#property_list .listing-list-card__footer-meta .fp_pdate a,
#property_list .listing-list-card__footer-meta .fp_pid a {
  color: #E6771E;
  text-decoration: none;
}

#property_list .listing-list-card__footer-meta .fp_pdate i,
#property_list .listing-list-card__footer-meta .fp_pid i {
  font-size: 13px;
  margin-right: 4px;
  color: #E6771E;
}

#property_list .listing-list-card__footer-meta .fp_pviews i {
  font-size: 13px;
  margin-right: 4px;
  color: var(--color-muted);
}

#property_list .listing-list-card .dtls_headr h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-primary);
}

#property_list .listing-list-card .dtls_headr p {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--color-muted);
}

#property_list .listing-list-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

#property_list .listing-list-card__specs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  color: var(--color-primary);
}

#property_list .listing-list-card__specs li i {
  font-size: 15px;
  line-height: 1;
  opacity: 0.85;
  top: 0;
  position: static;
}

#property_list .listing-list-card__specs li .hz-figure {
  font-size: 14px;
  font-weight: 600;
}

#property_list .listing-list-card__spec-label {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 13px;
}

@media (max-width: 991px) {
  #property_list .listing-list-card__main {
    flex-direction: column;
  }

  #property_list .listing-list-card .thumb {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }

  #property_list .listing-list-card__photo {
    width: calc(100% - 16px);
    height: 180px;
    min-height: 180px;
    max-height: 180px;
  }

  #property_list .listing-list-card__footer {
    flex-wrap: wrap;
    gap: 12px;
  }

  #property_list .listing-list-card__footer-meta {
    margin-left: auto;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  #property_list .listing-list-card__head {
    gap: 12px;
  }

  #property_list .listing-list-card__head-price {
    align-items: flex-end;
    text-align: right;
  }

  #property_list .listing-list-card__head-price .fp_price.show {
    align-items: flex-end;
  }
}

@media (max-width: 575px) {
  #property_list .listing-list-card__footer-meta {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 0;
  }

  #property_list .listing-list-card__footer-meta .fp_pdate,
  #property_list .listing-list-card__footer-meta .fp_pviews {
    border-left: 1px solid rgba(26, 35, 50, 0.14);
  }
}
body.theme-makler .search-pagination .mbp_pagination ul.page_navigation {
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
}

body.theme-makler .search-pagination .mbp_pagination ul.page_navigation li.page-item {
  margin: 0 3px 0 0;
}

body.theme-makler .search-pagination .mbp_pagination ul.page_navigation li .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 4px !important;
  font-size: 13px;
  line-height: 1;
  box-shadow: none;
}

body.theme-makler .search-pagination .mbp_pagination ul.page_navigation li.page-item.active .page-link,
body.theme-makler .search-pagination .mbp_pagination ul.page_navigation li .page-link.active {
  background: #E6771E !important;
  border-color: #E6771E !important;
  color: #fff !important;
}

body.theme-makler .search-pagination .mbp_pagination ul.page_navigation li.page-item--ellipsis .page-link {
  min-width: 28px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--color-muted);
}

/* Search pagination — compact square buttons */
.main-title h3 a {
  color: var(--color-primary);
}

.main-title h3 a:hover {
  color: var(--color-accent);
}

/* Agent / call CTAs */
.btn-call._sm,
.agent-info {
  border-radius: var(--radius-sm);
}

.btn-call._sm:hover,
.agent-info:hover {
  color: var(--color-accent);
}

/* Search hero (homepage) */
.home_adv_srch_opt .nav-pills .nav-link.active {
  background: var(--color-primary);
}

.home_adv_srch_opt .btn-thm {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
}

.home_adv_srch_opt .btn-thm:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* Hero — search dropdowns must not be clipped (homepage + inner pages with compact hero) */
body.theme-makler.has-search-hero section.home-one.home1_bgi1,
body.theme-makler.has-search-hero section.home-one.home1_bgi1 > .container,
body.theme-makler.has-search-hero section.home-one.home1_bgi1 .home_content,
body.theme-makler.has-search-hero .home_adv_srch_opt,
body.theme-makler.has-search-hero .home1_adsrchfrm,
body.theme-makler.has-search-hero .home1-advnc-search,
body.theme-makler.has-search-hero .home1-advnc-search .h1ads_1st_list,
body.theme-makler.has-search-hero .home1-advnc-search .input-area {
  overflow: visible;
}

body.theme-makler.front-homepage section.feature-property {
  position: relative;
  z-index: 1;
}

/* Homepage listing modules — light divider between sections (Exclusive, Vake, Saburtalo, …) */
body.theme-makler.front-homepage section.feature-property.home3.home-listing-module {
  padding-top: 36px;
  padding-bottom: 36px;
  background-color: #ffffff;
}

body.theme-makler.front-homepage section.feature-property.home3.home-listing-module + section.feature-property.home3.home-listing-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  border-top: 1px solid rgba(26, 35, 50, 0.1);
}

@media (min-width: 992px) {
  body.theme-makler.front-homepage section.feature-property.home3.home-listing-module + section.feature-property.home3.home-listing-module::before {
    left: 40px;
    right: 40px;
  }
}

body.theme-makler.front-homepage section.feature-property.home3.home-listing-module .main-title {
  margin-bottom: 20px;
}

body.theme-makler.front-homepage section.feature-property.home3.home-listing-module .main-title h3,
body.theme-makler.front-homepage section.feature-property.home3.home-listing-module .main-title h3 a {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
  color: #E6771E;
}

body.theme-makler.front-homepage section.feature-property.home3.home-listing-module .main-title h3 a:hover {
  color: #c96515;
}

/* Price + area popups — keep action buttons inside the white panel */
body.theme-makler .home_adv_srch_opt .small_dropdown2.open {
  z-index: 200;
}

body.theme-makler .home_adv_srch_opt .small_dropdown2 .dd_content2 {
  top: 54px !important;
  z-index: 200 !important;
  padding: 12px 24px 0 !important;
}

body.theme-makler .home_adv_srch_opt .small_dropdown2.open::before {
  display: none !important;
}

body.theme-makler .home_adv_srch_opt .dd_content2 {
  overflow: visible;
  padding-bottom: 0;
  background: #ffffff;
  border: 1px solid #dde1e6;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

body.theme-makler .home_adv_srch_opt .dd_content2::after {
  content: "";
  display: table;
  clear: both;
}

body.theme-makler .home_adv_srch_opt .dd_content2 .dd_content2-in {
  padding-bottom: 0;
}

body.theme-makler .home_adv_srch_opt .dd_content2 h5 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: #484848;
  line-height: 1.2;
}

body.theme-makler .home_adv_srch_opt .dd_content2 .range-nav {
  clear: both;
  float: none;
  width: auto;
  height: auto;
  margin: 6px -24px 0;
  padding: 6px 24px 8px;
  border-top: 1px solid #eef0f3;
  background: #f8f9fb;
  border-radius: 0 0 8px 8px;
}

body.theme-makler .home_adv_srch_opt .dd_content2 .range-nav .btn {
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.3;
}

/* Price + area — shared content + footer style */
body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .dd_content2-in,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .dd_content2-in {
  padding-bottom: 0 !important;
}

body.theme-makler .home_adv_srch_opt #prncgs .range-area .form-control,
body.theme-makler .home_adv_srch_opt #f_60 .range-area .form-control {
  height: 32px;
  font-size: 13px;
  padding: 4px 8px;
  border: 1px solid #dde1e6;
  border-radius: 6px;
  box-shadow: none;
}

body.theme-makler .home_adv_srch_opt #prncgs .range-area .form-control:focus,
body.theme-makler .home_adv_srch_opt #f_60 .range-area .form-control:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.35);
}

body.theme-makler .home_adv_srch_opt #prncgs .ui_kit_checkbox {
  margin: 8px 0 0;
}

/* Price range dual-handle slider */
body.theme-makler .home_adv_srch_opt #prncgs .mk-price-range {
  margin: 10px 0 4px;
  padding: 0;
}

body.theme-makler .home_adv_srch_opt #prncgs .mk-price-range__summary {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
  line-height: 1.35;
  min-height: 18px;
}

body.theme-makler .home_adv_srch_opt #prncgs .mk-price-range__summary.is-empty {
  display: none;
}

body.theme-makler .home_adv_srch_opt #prncgs .mk-price-range__labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 6px;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.2;
}

body.theme-makler .home_adv_srch_opt #prncgs .mk-price-range__endpoint--max {
  text-align: right;
}

body.theme-makler .home_adv_srch_opt #prncgs .mk-price-range-slider.ui-slider {
  position: relative;
  height: 6px;
  margin: 4px 10px 12px;
  border: none;
  border-radius: 999px;
  background: #e5e7eb;
}

body.theme-makler .home_adv_srch_opt #prncgs .mk-price-range-slider .ui-slider-range {
  background: #e6771e;
  border-radius: 999px;
}

body.theme-makler .home_adv_srch_opt #prncgs .mk-price-range-slider .ui-slider-handle {
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  margin-left: -11px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.22);
  cursor: grab;
  outline: none;
}

body.theme-makler .home_adv_srch_opt #prncgs .mk-price-range-slider .ui-slider-handle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #e6771e;
}

body.theme-makler .home_adv_srch_opt #prncgs .mk-price-range-slider .ui-slider-handle:active {
  cursor: grabbing;
}

body.theme-makler .home_adv_srch_opt #prncgs .mk-price-range-slider .ui-slider-handle:focus {
  box-shadow: 0 0 0 3px rgba(230, 119, 30, 0.28), 0 1px 6px rgba(15, 23, 42, 0.22);
}

body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .range-nav,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .range-nav {
  margin-top: 4px;
  padding-top: 6px;
  padding-bottom: 8px;
  border-top: 1px solid #eef0f3;
  background: #f8f9fb;
}

body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 #btn-currency-group .btn-thm {
  height: 32px;
  min-width: 36px;
  padding: 4px 8px;
  border-radius: 6px;
}

/* Property type — modern chip layout matching price/area popups */
body.theme-makler .home_adv_srch_opt #property_type .dd_content2._xl {
  width: auto !important;
  max-width: 540px;
  min-width: 420px;
  padding-bottom: 0 !important;
  border-bottom: 1px solid #d1d5db;
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.14),
    0 4px 12px rgba(15, 23, 42, 0.08),
    0 1px 0 #cbd5e1 !important;
}

body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .dd_content2-in {
  padding-bottom: 0 !important;
  padding-top: 4px;
}

body.theme-makler .home_adv_srch_opt #property_type .btn-group-multi {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.theme-makler .home_adv_srch_opt #property_type .btn-costum2,
body.theme-makler .home_adv_srch_opt #property_type .h1ads_2st_list .btn-costum2 {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #484848;
  font-size: 13px;
  line-height: 1.3;
  padding: 7px 14px;
  margin: 0;
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.theme-makler .home_adv_srch_opt #property_type .btn-costum2:hover,
body.theme-makler .home_adv_srch_opt #property_type .h1ads_2st_list .btn-costum2:hover {
  border-color: #9ca3af;
  color: #1f2937;
}

body.theme-makler .home_adv_srch_opt #property_type .btn-costum2.active,
body.theme-makler .home_adv_srch_opt #property_type .btn-costum2:active,
body.theme-makler .home_adv_srch_opt #property_type .btn-costum2:focus,
body.theme-makler .home_adv_srch_opt #property_type .h1ads_2st_list .btn-costum2.active,
body.theme-makler .home_adv_srch_opt #property_type .h1ads_2st_list .btn-costum2:active,
body.theme-makler .home_adv_srch_opt #property_type .h1ads_2st_list .btn-costum2:focus {
  background: #fff4eb;
  border-color: #e6771e;
  color: #b45309;
  box-shadow: none;
}

body.theme-makler .home_adv_srch_opt #property_type .h1ads_2st_list .label-group {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 8px 0 4px;
}

body.theme-makler .home_adv_srch_opt #property_type .h1ads_2st_list {
  margin: 0;
  padding: 0;
}

body.theme-makler .home_adv_srch_opt #property_type .h1ads_2st_list .list-inline-item {
  display: block;
  width: 100%;
  margin-bottom: 2px;
}

body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .range-nav {
  height: auto !important;
  float: none !important;
  margin-top: 4px;
  padding-top: 6px;
  padding-bottom: 8px;
}

body.theme-makler .home_adv_srch_opt #f_60 .range-area._with-unit .input-div {
  width: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

body.theme-makler .home_adv_srch_opt #f_60 .range-area._with-unit .input-div input {
  width: 80px;
  flex: 0 0 80px;
}

body.theme-makler .home_adv_srch_opt #f_60 .range-area .range-unit {
  font-size: 13px;
  color: #6b7280;
  line-height: 1;
  white-space: nowrap;
}

body.theme-makler .home_adv_srch_opt #prncgs .range-area .input-div._first,
body.theme-makler .home_adv_srch_opt #f_60 .range-area .input-div._first {
  margin-right: 10px;
}

body.theme-makler.front-homepage .home_adv_srch_opt,
body.theme-makler.front-homepage .home1-advnc-search .input-area,
body.theme-makler.front-homepage .home1-advnc-search .h1ads_1st_list,
body.theme-makler.front-homepage .home1-advnc-search .h1ads_1st_list > li {
  overflow: visible;
}

/* Price + area + property type popups — light gray footer buttons; black clear link */
body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .btn-thm,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .btn-thm,
body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .btn-thm,
body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .btn-thm.white,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .btn-thm.white,
body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .btn-thm.white {
  background-color: #b8bec8;
  border-color: #b8bec8;
  color: #ffffff;
  box-shadow: none;
}

body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .btn-thm:hover,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .btn-thm:hover,
body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .btn-thm:hover,
body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .btn-thm:active,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .btn-thm:active,
body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .btn-thm:active,
body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .btn-thm:focus,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .btn-thm:focus,
body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .btn-thm:focus,
body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .btn-thm.white:hover,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .btn-thm.white:hover,
body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .btn-thm.white:hover,
body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .btn-thm.white:active,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .btn-thm.white:active,
body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .btn-thm.white:active,
body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .btn-thm.white:focus,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .btn-thm.white:focus,
body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .btn-thm.white:focus,
body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 #btn-currency-group .btn-thm.active {
  background-color: #9ca3af;
  border-color: #9ca3af;
  color: #ffffff;
}

body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .btn-clean,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .btn-clean,
body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .btn-clean,
body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .btn-clean:hover,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .btn-clean:hover,
body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .btn-clean:hover,
body.theme-makler .home_adv_srch_opt #prncgs .dd_content2 .btn-clean:focus,
body.theme-makler .home_adv_srch_opt #f_60 .dd_content2 .btn-clean:focus,
body.theme-makler .home_adv_srch_opt #property_type .dd_content2 .btn-clean:focus {
  color: #000000 !important;
  text-decoration: none;
}

body.theme-makler .adv-search-empty-hint {
  color: #484848;
  font-size: 15px;
  line-height: 1.5;
}

/* Location modal — Phase A: layout + visual refresh */
body.theme-makler #modalAddress .modal-content {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 48px rgba(26, 35, 50, 0.18);
  overflow: hidden;
}

body.theme-makler #modalAddress .modal-header.address-modal-header {
  display: block;
  flex-direction: column;
  align-items: stretch;
  padding: 20px 24px 12px;
  border-bottom: 1px solid var(--color-border);
  background: #fafafa;
}

body.theme-makler #modalAddress .address_query_area {
  max-width: none;
  width: 100%;
}

body.theme-makler #modalAddress .address_query_area input.form-control {
  height: 48px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: #ffffff;
  box-shadow: none;
}

body.theme-makler #modalAddress .address_query_area input.form-control:focus {
  border-color: #9ca3af;
  box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.25);
}

body.theme-makler #modalAddress .address_query_area i.flaticon-placeholder {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 18px;
  pointer-events: none;
}

body.theme-makler #modalAddress .address_query_area .new_query {
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  line-height: 26px;
  font-size: 20px;
  border: none;
  border-radius: 50%;
  background: #e5e7eb;
  color: #484848;
}

body.theme-makler #modalAddress .address_query_result {
  top: 52px;
  border-radius: var(--radius-sm);
  background: transparent;
  box-shadow: none;
}

body.theme-makler #modalAddress .ul_address_query {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  max-height: min(320px, 45vh);
  overflow-y: auto;
  margin: 0;
  padding: 4px 0;
}

body.theme-makler #modalAddress .ul_address_query li a,
body.theme-makler #modalAddress .ul_address_query li.address_query {
  border-bottom: 1px solid #f0f0f0;
  padding: 10px 16px;
  font-size: 14px;
  color: #484848;
  line-height: 1.4;
}

body.theme-makler #modalAddress .ul_address_query li a:hover,
body.theme-makler #modalAddress .ul_address_query li.address_query:hover {
  background: #f3f4f6;
  color: #1a2332;
}

body.theme-makler #modalAddress .ul_address_query li.not_found {
  padding: 12px 16px;
  color: var(--color-muted);
  font-size: 14px;
}

body.theme-makler #modalAddress .loc-groups-heading {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
}

body.theme-makler #modalAddress .area-item--loc-groups {
  margin-bottom: 12px;
}

body.theme-makler #modalAddress .address-selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  min-height: 0;
}

body.theme-makler #modalAddress .address-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  font-size: 13px;
  line-height: 1.2;
  color: #1a2332;
}

body.theme-makler #modalAddress .address-chip-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}

body.theme-makler #modalAddress .address-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #e5e7eb;
  color: #484848;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

body.theme-makler #modalAddress .address-chip-remove:hover {
  background: #d1d5db;
  color: #1a2332;
}

body.theme-makler #modalAddress .modal-body {
  padding: 16px 24px;
  max-height: min(560px, 58vh);
  overflow-y: auto;
}

body.theme-makler #modalAddress .modal-body .spinner-border {
  display: block;
  margin: 48px auto;
}

body.theme-makler #modalAddress .search-address-form a.nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 10px 16px;
  height: auto;
  line-height: 1.3;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-muted);
  background: transparent;
}

body.theme-makler #modalAddress .search-address-form a.nav-link.active {
  color: #1a2332;
  background: transparent;
  border-bottom-color: #E6771E;
}

body.theme-makler #modalAddress .search-address-form a.nav-link.active:after {
  display: none;
}

body.theme-makler #modalAddress .search-address-form .tab-pane {
  padding-top: 12px;
}

body.theme-makler #modalAddress .regions-items,
body.theme-makler #modalAddress .area-items {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  height: auto !important;
  max-height: none;
  flex-flow: unset !important;
}

body.theme-makler #modalAddress .regions-item,
body.theme-makler #modalAddress .area-item {
  width: auto !important;
  min-width: 0;
  order: unset !important;
  margin-bottom: 0;
  display: block;
  break-inside: auto;
}

body.theme-makler #modalAddress .area-item > ul,
body.theme-makler #modalAddress .area-item li.area-group {
  width: 100%;
}

body.theme-makler #modalAddress .area-item li.area-group {
  margin-bottom: 0;
  height: 100%;
}

body.theme-makler #modalAddress .area-item[data-area-id="1644"] {
  grid-column: 1 / -1;
  max-width: calc(33.333% - 14px);
}

body.theme-makler #modalAddress .regions-item > ul,
body.theme-makler #modalAddress .area-item > ul {
  margin-right: 0;
  padding-bottom: 0;
}

body.theme-makler #modalAddress li.area-group {
  width: 100%;
  margin-bottom: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: #fafafa;
  border: 1px solid #f0f0f0;
}

body.theme-makler #modalAddress li.area-group > .custom-control,
body.theme-makler #modalAddress li.area-group > .custom-checkbox {
  border-bottom: none;
  margin-bottom: 8px;
  padding-bottom: 0;
}

body.theme-makler #modalAddress li.area-group > .custom-control .custom-control-label,
body.theme-makler #modalAddress li.area-group > .custom-checkbox .custom-control-label {
  font-size: 14px;
  font-weight: 700;
  color: #1a2332;
}

body.theme-makler #modalAddress .search-address-form .ui_kit_checkbox .custom-control-label {
  font-size: 13px;
  line-height: 1.4;
  padding-left: 4px;
  cursor: pointer;
}

body.theme-makler #modalAddress .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #6b7280;
  border-color: #6b7280;
}

body.theme-makler #modalAddress .custom-checkbox .custom-control-label::before {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  top: 2px;
}

body.theme-makler #modalAddress .custom-checkbox .custom-control-label::after {
  width: 18px;
  height: 18px;
  top: 2px;
}

body.theme-makler #modalAddress li.district-label,
body.theme-makler #modalAddress ul.ui_kit_checkbox li._checkbox {
  margin-bottom: 4px;
}

body.theme-makler #modalAddress .btn-search-street {
  font-size: 12px;
  color: #E6771E;
}

body.theme-makler #modalAddress .search-address-form .dropdown.bootstrap-select button.dropdown-toggle {
  border-color: var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  padding: 6px 10px;
}

body.theme-makler #modalAddress .modal-footer {
  padding: 12px 24px 20px;
  border-top: 1px solid var(--color-border);
  background: #fafafa;
}

body.theme-makler #modalAddress .modal-footer .btn-link,
body.theme-makler #modalAddress .modal-footer .btn-link:hover,
body.theme-makler #modalAddress .modal-footer .btn-link:focus {
  color: #000000 !important;
  text-decoration: none;
}

body.theme-makler #modalAddress .modal-footer .btn-next {
  color: #E6771E;
  text-decoration: underline;
}

body.theme-makler #modalAddress .modal-footer .btn-thm,
body.theme-makler #modalAddress .modal-footer .btn-thm.white {
  background-color: #9ca3af;
  border-color: #9ca3af;
  color: #ffffff;
  box-shadow: none;
  border-radius: var(--radius-sm);
}

body.theme-makler #modalAddress .modal-footer .btn-thm:hover,
body.theme-makler #modalAddress .modal-footer .btn-thm.white:hover {
  background-color: #6b7280;
  border-color: #6b7280;
  color: #ffffff;
}

@media (max-width: 991px) {
  body.theme-makler #modalAddress .regions-items,
  body.theme-makler #modalAddress .area-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.theme-makler #modalAddress .area-item[data-area-id="1644"] {
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 767px) {
  body.theme-makler #modalAddress .modal-header.address-modal-header,
  body.theme-makler #modalAddress .modal-body,
  body.theme-makler #modalAddress .modal-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  body.theme-makler #modalAddress .regions-items,
  body.theme-makler #modalAddress .area-items {
    grid-template-columns: 1fr;
  }

  body.theme-makler #modalAddress .area-item[data-area-id="1644"] {
    max-width: none;
  }

  body.theme-makler #modalAddress .address-chip-label {
    max-width: 160px;
  }
}

/* Desktop: keep area/rooms in main bar; hide mobile-only advanced copy */
@media (min-width: 992px) {
  body.theme-makler .adv-search-area-rooms.search-field-mobile-extra {
    display: none !important;
  }
}

/* Mobile sticky call */
@media (max-width: 767px) {
  .feat_property.home3 .fp_footer {
    position: sticky;
    bottom: 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding-top: 8px;
  }
}


/* ==========================================================================
   Listing detail page (/ad/...)
   ========================================================================== */

body.theme-makler section.listing-title-area {
  padding: 28px 0 12px;
  background: #fff;
}

body.theme-makler .single_property_title h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

body.theme-makler .single_property_title .placeholder-area {
  margin: 0;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.45;
}

body.theme-makler .single_property_title .placeholder-area .flaticon-placeholder {
  margin-right: 4px;
  color: var(--color-accent);
}

body.theme-makler .listing-exclusive-notice {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.5;
  color: #7c2d12;
}

body.theme-makler .listing-exclusive-notice__label {
  font-weight: 700;
  color: #c2410c;
}

body.theme-makler .property_price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  text-align: right;
}

body.theme-makler .property_price > .fp_price {
  display: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #E6771E !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
}

body.theme-makler .property_price > .fp_price.show {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

body.theme-makler .property_price > .fp_price .currency,
body.theme-makler .property_price > .fp_price small {
  color: #E6771E !important;
}

body.theme-makler .property_price > .fp_price small._m2 {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
}

body.theme-makler .property_price .exchange-area {
  margin-left: 0 !important;
}

body.theme-makler .property_price .exchange-area .btn {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

/* Gallery — CSS grid inside the same centered content column as title/body */
body.theme-makler section.single_page_listing_style {
  position: relative;
  margin: 8px 0 0;
  padding: 0 0 8px !important;
  background: #fff;
  overflow: hidden;
}

body.theme-makler .listing-gallery__container {
  position: relative;
}

body.theme-makler #gallery {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.theme-makler .listing-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.5fr) minmax(0, 0.5fr);
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 420px;
  width: 100%;
}

body.theme-makler .listing-gallery-grid__cell {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #f3f4f6;
  min-width: 0;
  min-height: 0;
}

body.theme-makler .listing-gallery-grid__main {
  grid-column: 1;
  grid-row: 1 / span 2;
}

body.theme-makler .listing-gallery-grid__photo {
  display: block;
  width: 100%;
  height: 100%;
}

body.theme-makler .listing-gallery-grid__photo img,
body.theme-makler .listing-gallery-grid__cell > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.theme-makler .listing-gallery-grid__img--unavailable {
  object-fit: contain;
  background: #eef0f3;
  opacity: 0.92;
}

body.theme-makler .listing-gallery-grid__unavailable {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 5;
  padding: 6px 8px;
  border-radius: 4px;
  background: rgba(17, 24, 39, 0.72);
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  pointer-events: none;
}

/* Photos count — bottom-left corner of the main picture */
body.theme-makler .listing-gallery-grid__main #btn-gallery {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin: 0;
  z-index: 6;
  line-height: 1.2;
  padding: 10px 16px;
}

body.theme-makler .listing-gallery-grid__main #btn-photos360,
body.theme-makler .listing-gallery-grid__main #btn-media {
  position: absolute;
  left: 14px;
  bottom: 62px;
  margin: 0;
  z-index: 6;
}

body.theme-makler .listing-gallery-grid__main #btn-media {
  bottom: 110px;
}

/* Exclusive — horizontal bar, left-aligned, full uppercase word */
body.theme-makler #gallery .listing-gallery-grid__main .btn-ex {
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  width: auto !important;
  max-width: calc(100% - 28px);
  padding: 7px 14px !important;
  font-family: verdanaFull, Verdana, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  transform: none !important;
  border: 0;
  border-radius: 4px;
  background-color: #D86F18;
  color: #fff;
  pointer-events: none;
  z-index: 6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* Single image — no empty thumb columns */
body.theme-makler .listing-gallery-grid:not([class*="listing-gallery-grid--thumbs-"]) {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

body.theme-makler .listing-gallery-grid--thumbs-1 {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-rows: 1fr;
}

body.theme-makler .listing-gallery-grid--thumbs-1 .listing-gallery-grid__main {
  grid-row: 1;
}

body.theme-makler .listing-gallery-grid--thumbs-2 {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
}

body.theme-makler .listing-gallery-grid--thumbs-3 .listing-gallery-grid__thumb:nth-child(2) {
  grid-row: 1 / span 2;
}

/* Desktop: shared content width with title/price, taller balanced gallery */
@media (min-width: 1024px) {
  body.theme-makler section.listing-title-area > .container,
  body.theme-makler section.our-agent-single > .container,
  body.theme-makler section.listing-gallery > .listing-gallery__container {
    max-width: 1320px;
  }

  body.theme-makler .listing-gallery-grid {
    height: 560px;
    gap: 12px;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.5fr) minmax(0, 0.5fr);
  }

  body.theme-makler .listing-gallery-grid--thumbs-1,
  body.theme-makler .listing-gallery-grid--thumbs-2 {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
}

body.theme-makler #btn-gallery,
body.theme-makler #btn-photos360,
body.theme-makler #btn-media {
  border-radius: 999px !important;
  border: 0 !important;
  box-shadow: 0 6px 20px rgba(26, 35, 50, 0.16);
  font-weight: 600;
}

/* Meta + actions */
body.theme-makler section.our-agent-single {
  padding-top: 20px;
  background: #f7f8fa;
}

body.theme-makler .view-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

body.theme-makler .view-btns > .bd-highlight:first-child {
  flex: 0 1 auto;
  min-width: 0;
  padding: 0 !important;
}

body.theme-makler .view-btns > .bd-highlight:last-child {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 0 !important;
}

body.theme-makler .view-btns .fn-400 > ul.mb0 {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-makler .view-btns .list-inline-item {
  display: inline-flex !important;
  align-items: baseline;
  margin: 0 !important;
}

body.theme-makler .view-btns .ad-meta-id,
body.theme-makler .view-btns .ad-meta-stat {
  display: inline-flex !important;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  line-height: 1;
  color: #e6771e !important;
  white-space: nowrap;
}

body.theme-makler .view-btns .ad-meta-id,
body.theme-makler .view-btns .ad-meta-id .ad-meta-id__value,
body.theme-makler .view-btns .ad-meta-id i,
body.theme-makler .view-btns .ad-meta-id i:before,
body.theme-makler .view-btns .ad-meta-stat,
body.theme-makler .view-btns .ad-meta-stat i,
body.theme-makler .view-btns .ad-meta-stat i:before {
  color: #e6771e !important;
}

body.theme-makler .view-btns .ad-meta-id {
  font-weight: 700;
}

body.theme-makler .single_property_social_share a {
  color: var(--color-primary);
  text-decoration: none;
}

body.theme-makler .single_property_social_share a:hover {
  color: var(--color-accent-hover);
}

body.theme-makler .single_property_social_share .mk-icon-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
  vertical-align: -0.1em;
}

body.theme-makler .single_property_social_share .mk-icon-share svg {
  display: block;
  width: 1em;
  height: 1em;
}

/* Specs / description / map blocks */
body.theme-makler #additional_details.additional_details,
body.theme-makler .application_statics,
body.theme-makler .listing_single_description {
  margin-bottom: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

body.theme-makler .application_statics h4,
body.theme-makler .listing_single_description h4 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

body.theme-makler .item-filds {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.theme-makler .item-fild {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef1f4;
}

body.theme-makler .item-fild:last-child {
  border-bottom: 0;
}

body.theme-makler .item-fild .item-name,
body.theme-makler .item-fild .item-value,
body.theme-makler .item-fild .item-name p,
body.theme-makler .item-fild .item-value p {
  margin: 0;
}

body.theme-makler .item-fild .item-name p {
  color: var(--color-muted);
  font-size: 14px;
}

body.theme-makler .item-fild .item-value p,
body.theme-makler .item-fild .item-value span {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

body.theme-makler .application_statics .order_list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 8px;
  padding: 0;
}

body.theme-makler .application_statics .order_list li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  text-decoration: none;
}

body.theme-makler .application_statics .order_list .flaticon-checked {
  color: #16a34a;
}

body.theme-makler #root p {
  margin: 0;
  color: #374151;
  font-size: 15px;
  line-height: 1.65;
}

body.theme-makler #map_area {
  min-height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #eef1f4;
}

body.theme-makler #map_area.mk-listing-map-nomap {
  min-height: 0;
  background: transparent;
  overflow: visible;
}

/* Broker card (desktop + mobile) */
body.theme-makler #agent.realtor-card,
body.theme-makler #agent-mob.realtor-card {
  margin: 0 0 16px;
  padding: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

body.theme-makler .realtor-card__header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 14px;
}

body.theme-makler .realtor-card__media {
  flex: none;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
}

body.theme-makler .realtor-card__media-link {
  display: block;
  line-height: 0;
}

body.theme-makler .realtor-card__avatar {
  display: block;
  width: 90%;
  height: 210px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center top;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: none;
  transform: none;
}

body.theme-makler .realtor-card__intro {
  flex: none;
  min-width: 0;
}

body.theme-makler .realtor-card__body {
  padding: 0;
}

body.theme-makler .realtor-card__content {
  padding: 0;
}

body.theme-makler .realtor-card__name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

body.theme-makler .realtor-card__name a {
  color: inherit;
  text-decoration: none;
}

body.theme-makler .realtor-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  color: #166534;
  font-size: 13px;
}

body.theme-makler .realtor-card__meta {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

body.theme-makler .realtor-card__meta li {
  margin: 0 0 6px;
}

body.theme-makler .realtor-card__meta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 13px;
  text-decoration: none;
}

body.theme-makler .realtor-card__meta-link:hover {
  color: var(--color-primary);
}

body.theme-makler .realtor-card__phones {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

body.theme-makler .realtor-card__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #E6771E;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none !important;
}

body.theme-makler .realtor-card__phone:hover {
  background: #cf6619;
  color: #fff !important;
}

body.theme-makler .realtor-card__meta-link i {
  color: #E6771E !important;
}

body.theme-makler .realtor-card__meta-link:hover i {
  color: #cf6619 !important;
}

body.theme-makler .realtor-card__messengers {
  display: flex;
  justify-content: stretch;
  gap: 10px;
}

body.theme-makler .realtor-card__phone i {
  color: #fff !important;
}

body.theme-makler .realtor-card__messenger,
body.theme-makler .realtor-card__messenger.btn-call3 {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 44px;
  padding: 0;
  margin: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border) !important;
  background: #fff !important;
  color: var(--color-primary);
  text-decoration: none;
  box-shadow: none;
}

body.theme-makler .realtor-card__messenger i,
body.theme-makler .realtor-card__messenger.btn-call3 i {
  color: #E6771E !important;
  font-size: 26px;
  line-height: 1;
}

body.theme-makler .realtor-card__messenger--viber:hover,
body.theme-makler .realtor-card__messenger--whatsapp:hover,
body.theme-makler .realtor-card__messenger.btn-call3:hover {
  background: #fff !important;
  border-color: #E6771E !important;
  box-shadow: none;
}

body.theme-makler .realtor-card__messenger--viber:hover i,
body.theme-makler .realtor-card__messenger--whatsapp:hover i,
body.theme-makler .realtor-card__messenger.btn-call3:hover i {
  color: #cf6619 !important;
}

body.theme-makler .realtor-card--mobile {
  text-align: left;
}

body.theme-makler .realtor-card--mobile .realtor-card__avatar {
  height: 180px;
}

body.theme-makler .realtor-card.feat_property.home7.agent .thumb img.realtor-card__avatar,
body.theme-makler .realtor-card .thumb img.realtor-card__avatar {
  width: 90% !important;
  height: 210px !important;
  object-fit: contain !important;
  object-position: center top !important;
}

body.theme-makler .realtor-card--mobile .thumb img.realtor-card__avatar {
  height: 180px !important;
}

/* Neutralize legacy feat_property.agent styles if they remain on markup */
body.theme-makler .realtor-card.feat_property.home7.agent .thumb,
body.theme-makler .realtor-card .thumb {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

body.theme-makler .realtor-card.feat_property.home7.agent .thumb img,
body.theme-makler .realtor-card .thumb img {
  height: auto !important;
  border-radius: var(--radius-md) !important;
}

body.theme-makler .realtor-card.feat_property.home7 .details,
body.theme-makler .realtor-card .details {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Keep broker card static in the sidebar — never fixed/float on scroll */
body.theme-makler #agent.realtor-card,
body.theme-makler #agent.realtor-card.stick,
body.theme-makler #agent.realtor-card.stick.abs,
body.theme-makler #agent.feat_property.agent {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  max-width: none !important;
}

/* Floating side jumps — desktop helper */
body.theme-makler .view-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
  gap: 8px;
}

body.theme-makler .view-nav .btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(26, 35, 50, 0.14);
}

/* Mobile sticky contact bar */
.listing-sticky-contact {
  display: none;
}

/* Desktop sticky contact box (sidebar agent card) */
@media (min-width: 992px) {
  body.theme-makler .ad-print-broker #agent.realtor-card[data-css-sticky="1"] {
    position: sticky;
    top: 24px;
    z-index: 5;
  }

  body.theme-makler .listing-sticky-contact {
    display: none !important;
  }
}

@media (max-width: 991px) {
  body.theme-makler .property_price {
    justify-content: flex-start;
    text-align: left;
    margin-top: 12px;
  }

  body.theme-makler .listing-gallery-grid {
    height: 320px;
  }

  body.theme-makler .view-nav {
    display: none !important;
  }

  .listing-sticky-contact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--color-border);
    backdrop-filter: blur(8px);
    box-shadow: 0 -8px 28px rgba(26, 35, 50, 0.12);
  }

  .listing-sticky-contact__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 46px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
  }

  .listing-sticky-contact__btn--call {
    background: #E6771E;
    color: #fff !important;
  }

  .listing-sticky-contact__btn--viber {
    background: #7360f2;
    color: #fff !important;
  }

  .listing-sticky-contact__btn--whatsapp {
    background: #25d366;
    color: #fff !important;
  }

  .listing-sticky-contact__btn--save {
    background: #1a2332;
    color: #fff !important;
  }

  .listing-sticky-contact__btn--save.active,
  .listing-sticky-contact__btn--save.active i {
    color: #f87171 !important;
  }

  body.theme-makler section.our-agent-single {
    padding-bottom: 84px;
  }
}

@media (max-width: 767px) {
  body.theme-makler .listing-gallery-grid,
  body.theme-makler .listing-gallery-grid--thumbs-1,
  body.theme-makler .listing-gallery-grid--thumbs-2,
  body.theme-makler .listing-gallery-grid--thumbs-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 110px 110px;
    height: auto;
  }

  body.theme-makler .listing-gallery-grid__main {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  body.theme-makler .listing-gallery-grid--thumbs-3 .listing-gallery-grid__thumb:nth-child(2),
  body.theme-makler .listing-gallery-grid__thumb {
    grid-row: auto;
  }

  body.theme-makler section.listing-title-area {
    padding: 18px 0 8px;
  }

  body.theme-makler .view-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  body.theme-makler .view-btns > .bd-highlight:last-child {
    margin-left: 0;
  }

  body.theme-makler #additional_details.additional_details,
  body.theme-makler .application_statics,
  body.theme-makler .listing_single_description {
    padding: 16px;
  }

  body.theme-makler .ad-print-broker #agent.realtor-card {
    display: none !important;
  }
}

/* Listing/search/ad pages: same outer hero geometry as homepage (no visible title) */
body.theme-makler .staging-search-hero--clean:not(.staging-search-hero--compact) {
  min-height: 480px !important;
  padding: 100px 0 0 !important;
}
body.theme-makler .staging-search-hero--clean:not(.staging-search-hero--compact) .home_content {
  /* Reserve homepage .home-text height so the search module does not shift up */
  padding-top: 68px;
  padding-bottom: 32px;
}
body.theme-makler .staging-search-hero--clean .home-text {
  display: none !important;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Listing detail: compact search toggle */
body.theme-makler .staging-search-hero--compact {
  min-height: 0 !important;
  padding: 18px 0 12px !important;
}
body.theme-makler.listing-detail-page.staging-inner.has-search-hero section.staging-search-hero.staging-search-hero--compact.home-one.home1_bgi1 {
  padding-top: 88px !important;
  padding-bottom: 12px !important;
  min-height: 0 !important;
}
body.theme-makler #listing-gallery,
body.theme-makler #gallery {
  scroll-margin-top: 12px;
}
body.theme-makler .mk-listing-detail {
  display: block;
}
body.theme-makler .listing-compact-search__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  font-weight: 600;
}
body.theme-makler .listing-compact-search__panel {
  margin-top: 14px;
  text-align: left;
}
body.theme-makler .listing-compact-search__panel[hidden] {
  display: none !important;
}

/* Listing detail: desktop (>=992px) shows full search open by default */
@media (min-width: 992px) {
  body.theme-makler.listing-detail-page .listing-compact-search__toggle {
    display: none !important;
  }
  body.theme-makler.listing-detail-page .listing-compact-search__panel {
    margin-top: 0;
  }
  body.theme-makler.listing-detail-page.staging-inner.has-search-hero section.staging-search-hero.staging-search-hero--compact.home-one.home1_bgi1 {
    padding-top: 88px !important;
    padding-bottom: 28px !important;
    min-height: 0 !important;
  }
}

/* Compact header utilities: residence + lang + hamburger + account (no horizontal IA nav) */
body.theme-makler header.header-nav .header-nav-inline {
  justify-content: flex-end;
  gap: 12px;
}
body.theme-makler header.header-nav .mk-header-tools--compact {
  margin-left: auto;
}
body.theme-makler .mk-header-menu-toggle {
  list-style: none;
  margin: 0 !important;
  padding: 0;
}
body.theme-makler .mk-header-menu-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
body.theme-makler .mk-header-menu-toggle__btn:focus-visible {
  outline: 2px solid #f47a0a;
  outline-offset: 2px;
}
body.theme-makler .mk-header-menu-toggle__icon,
body.theme-makler .mk-header-menu-toggle__icon:before,
body.theme-makler .mk-header-menu-toggle__icon:after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  content: "";
}
body.theme-makler .mk-header-menu-toggle__icon {
  position: relative;
  background: #fff;
}
body.theme-makler .mk-header-menu-toggle__icon:before,
body.theme-makler .mk-header-menu-toggle__icon:after {
  position: absolute;
  left: 0;
  background: #fff;
}
body.theme-makler .mk-header-menu-toggle__icon:before {
  top: -6px;
}
body.theme-makler .mk-header-menu-toggle__icon:after {
  top: 6px;
}
body.theme-makler header.header-nav.stricky-fixed .mk-header-menu-toggle__icon,
body.theme-makler header.header-nav.stricky-fixed .mk-header-menu-toggle__icon:before,
body.theme-makler header.header-nav.stricky-fixed .mk-header-menu-toggle__icon:after,
body.theme-makler header.header-nav:not(.header-over-hero) .mk-header-menu-toggle__icon,
body.theme-makler header.header-nav:not(.header-over-hero) .mk-header-menu-toggle__icon:before,
body.theme-makler header.header-nav:not(.header-over-hero) .mk-header-menu-toggle__icon:after {
  background: #1a2332;
}
@media (max-width: 991px) {
  /* Mobile uses .mobile-menu hamburger; hide desktop header toggle. */
  body.theme-makler .mk-header-menu-toggle {
    display: none !important;
  }
}

/* Search price stats panel — override global section { padding: 60px 0 } */
body.theme-makler .search-price-panel__bar {
  box-sizing: border-box;
  min-height: 48px !important;
  height: auto !important;
  padding: 12px 14px 12px 16px !important;
}

body.theme-makler .search-price-panel__bar-title {
  font-size: 14px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

body.theme-makler .search-price-panel__toggle {
  font-size: 13px;
  padding: 0;
}

/* Staging inner pages — compact search hero + page content */
body.theme-makler.staging-inner.has-search-hero .wrapper {
  padding-top: 0;
}

body.theme-makler.staging-inner.has-search-hero section.staging-search-hero.home-one.home1_bgi1 {
  padding-top: 96px;
  padding-bottom: 32px;
  overflow: visible;
}
body.theme-makler.staging-inner.has-search-hero section.staging-search-hero.staging-search-hero--clean:not(.staging-search-hero--compact).home-one.home1_bgi1 {
  padding-top: 100px !important;
  padding-bottom: 0 !important;
  min-height: 480px !important;
}

body.theme-makler.staging-inner .breadcrumbs-banner,
body.theme-makler.staging-inner .inner_page_breadcrumb {
  display: none !important;
}

body.theme-makler.staging-inner .staging-page-content,
body.theme-makler.staging-inner .about-makler.bgc-f7,
body.theme-makler.staging-inner .blog-single.bgc-f7,
body.theme-makler.staging-inner .blog_post_container.bgc-f7 {
  padding-top: 28px;
}

body.theme-makler.staging-inner .about-hero {
  background: transparent;
  box-shadow: none;
  padding: 0 0 20px;
  margin-bottom: 0;
}

body.theme-makler.staging-inner .page-static-title {
  padding-top: 0;
}

body.theme-makler.staging-inner .our-listing {
  padding-top: 28px !important;
}

@media (max-width: 767px) {
  body.theme-makler.staging-inner.has-search-hero section.staging-search-hero.home-one.home1_bgi1 {
    padding: 96px 0 20px 0;
  }
}

/* ==========================================================================
   Mobile polish — search hero, results, listing detail
   ========================================================================== */

@media (max-width: 991px) {
  body.theme-makler .home1-advnc-search {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  body.theme-makler .home_adv_srch_opt .search-pill-secondary,
  body.theme-makler .home1-advnc-search .search-field-desktop-extra {
    display: none !important;
  }

  body.theme-makler .adv-search-area-rooms.search-field-mobile-extra {
    display: block;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
  }

  body.theme-makler .adv-search-area-rooms .range-area {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
  }

  body.theme-makler .adv-search-area-rooms .input-div {
    flex: 1;
  }

  body.theme-makler .home1-advnc-search .input-area.float-left,
  body.theme-makler .home1-advnc-search .btn-area.float-right {
    float: none !important;
    width: 100%;
    max-width: none;
  }

  body.theme-makler .home1-advnc-search .h1ads_1st_list {
    flex-direction: column;
    gap: 8px;
  }

  body.theme-makler .home1-advnc-search .h1ads_1st_list > li.list-inline-item {
    display: block;
    width: 100%;
    margin: 0 !important;
  }

  body.theme-makler .home1-advnc-search .h1ads_1st_list .small_dropdown2,
  body.theme-makler .home1-advnc-search .h1ads_1st_list .small_dropdown2 .dd_btn {
    width: 100%;
  }

  body.theme-makler .home1-advnc-search .btn-area .h1ads_3st_list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  body.theme-makler .home1-advnc-search .btn-area .h1ads_3st_list > li {
    flex: 1 1 auto;
    margin: 0 !important;
  }

  body.theme-makler .home1-advnc-search .search_option_button,
  body.theme-makler .home1-advnc-search .search_option_button .btn.btn-thm,
  body.theme-makler .home1-advnc-search .btn-area #btn-adv-search {
    width: 100%;
  }

  body.theme-makler .home_adv_srch_opt .nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  body.theme-makler .home_adv_srch_opt .nav-pills .nav-item {
    margin: 0;
  }

  body.theme-makler .home_adv_srch_opt #property_type .dd_content2._xl {
    min-width: 0;
    max-width: calc(100vw - 24px);
    width: calc(100vw - 24px) !important;
    left: 50% !important;
    transform: translateX(-50%);
    box-sizing: border-box;
  }

  body.theme-makler .search-pagination__toolbar {
    padding-right: 0 !important;
  }

  body.theme-makler .search-nav {
    flex-flow: row wrap !important;
    gap: 10px 12px;
  }

  body.theme-makler .search-nav .nav-item {
    flex: 0 1 auto;
  }

  #property_list.row > .col-lg-3,
  #property_list.row > .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  body.theme-makler .home1-advnc-search .btn-area .h1ads_3st_list {
    flex-direction: column;
  }

  body.theme-makler .home1-advnc-search .btn-area .h1ads_3st_list > li {
    width: 100%;
  }

  body.theme-makler .search-nav {
    flex-direction: column;
    align-items: stretch;
  }

  body.theme-makler .search-nav .nav-item,
  body.theme-makler .search-nav #btn-ordering-nav,
  body.theme-makler .search-nav #btn-sc {
    width: 100%;
  }

  body.theme-makler .search-nav #btn-ordering,
  body.theme-makler .search-nav #btn-sc {
    width: 100%;
    text-align: center;
  }

  body.theme-makler .search-seo-listings-heading {
    width: 100%;
    margin-bottom: 4px;
  }

  body.theme-makler .single_property_social_share .txt {
    display: none;
  }

  body.theme-makler .listing-gallery-grid__main #btn-gallery,
  body.theme-makler .listing-gallery-grid__main #btn-photos360,
  body.theme-makler .listing-gallery-grid__main #btn-media {
    bottom: 12px !important;
    top: auto !important;
    padding: 8px 12px;
    font-size: 12px;
  }

  body.theme-makler .listing-gallery-grid__main #btn-gallery {
    left: 12px;
    right: auto;
  }

  body.theme-makler .listing-gallery-grid__main #btn-photos360 {
    left: auto;
    right: 12px;
  }

  body.theme-makler .listing-gallery-grid__main #btn-media {
    left: auto;
    right: 12px;
  }

  body.theme-makler .listing-gallery-grid__main:has(#btn-media):has(#btn-photos360) #btn-gallery {
    left: 12px;
    right: auto;
    transform: none;
  }

  body.theme-makler .listing-gallery-grid__main:has(#btn-media):has(#btn-photos360) #btn-photos360 {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  body.theme-makler .listing-gallery-grid__main:has(#btn-media):has(#btn-photos360) #btn-media {
    right: 12px;
    left: auto;
    transform: none;
  }

  body.theme-makler .listing-gallery-grid__main:has(#btn-photos360):not(:has(#btn-media)) #btn-photos360 {
    right: 12px;
    left: auto;
    transform: none;
  }
}

/* Category landing SEO content */
.search-seo-intro {
  margin: 0 0 24px;
  padding: 20px 24px;
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e8ecf1);
  border-radius: var(--radius-md, 12px);
}

.search-seo-intro__text {
  margin: 0 0 16px;
  color: var(--color-text-muted, #5c6573);
  font-size: 16px;
  line-height: 1.6;
}

.search-seo-intro__links-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text, #1a2332);
}

.search-seo-intro__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-seo-intro__links a {
  color: var(--color-primary, #1a2332);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.search-seo-listings-heading {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text, #1a2332);
}

.home-category-hub {
  padding: 16px 0 0;
}

.home-category-hub__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-category-hub__links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid var(--color-border, #e8ecf1);
  border-radius: var(--radius-sm, 8px);
  background: #fff;
  color: var(--color-primary, #1a2332);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}

.home-category-hub__links a:hover {
  border-color: var(--color-primary, #1a2332);
}

/* Mobile floating jump to search filters (category/search pages only) */
.mobile-search-jump {
  display: none !important;
}

@media (max-width: 768px) {
  .mobile-search-jump {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 80px;
    z-index: 999;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transform: translateX(-50%);
    padding: 12px 16px;
    min-height: 44px;
    min-width: 44px;
    border: 0;
    border-radius: 24px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    /* Keep in DOM for source checks; hide until scrolled */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-search-jump.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-search-jump__icon {
    font-size: 16px;
    line-height: 1;
  }

  body:has(.listing-sticky-contact) .mobile-search-jump {
    bottom: 96px;
  }
}

@media (min-width: 769px) {
  .mobile-search-jump {
    display: none !important;
  }
}

/* Desktop More Filters (#advSearchModal) — sync with search-power modern layout */
@media (min-width: 768px) {
  body.theme-makler #advSearchModal .modal-dialog,
  body.theme-makler #advSearchModal .modal-dialog.modal-lg {
    width: min(1040px, calc(100vw - 48px)) !important;
    max-width: min(1040px, calc(100vw - 48px)) !important;
  }

  body.theme-makler #advSearchModal .modal-header {
    padding: 22px 32px 18px !important;
  }

  body.theme-makler #advSearchModal .modal-body {
    max-height: min(80vh, 840px) !important;
  }

  body.theme-makler #advSearchModal .adv-search-empty-hint {
    margin: 20px 32px 12px !important;
    padding: 14px 16px !important;
  }

  body.theme-makler #advSearchModal .adv-search-filter-list {
    padding: 12px 32px 28px !important;
    gap: 18px 24px !important;
  }

  body.theme-makler #advSearchModal .adv-search-filter-list > li._input_renge {
    flex: 1 1 calc(33.333% - 24px) !important;
    min-width: 170px !important;
    padding: 0 0 4px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
  }

  body.theme-makler #advSearchModal .modal-footer.adv-search-modal-footer {
    padding: 18px 32px !important;
    gap: 16px !important;
    min-height: 76px !important;
  }

  body.theme-makler #advSearchModal .adv-search-modal-footer__actions {
    gap: 12px !important;
  }

  body.theme-makler #advSearchModal .adv-search-dismiss {
    display: none !important;
  }

  body.theme-makler #advSearchModal .adv-search-submit {
    height: 48px !important;
    min-width: 200px !important;
    padding: 0 28px !important;
    border-radius: 12px !important;
  }
}

/* ==========================================================================
   Smart TV / older Chromium desktop compatibility (no visual redesign)
   Keep existing desktop look; prevent wrap and keep search fields on one row
   at desktop widths (including 1024–1366 CSS viewports used by some TVs).
   Mobile rules above (max-width: 991px) are unchanged.
   ========================================================================== */
@media (min-width: 992px) {
  body.theme-makler .home_adv_srch_opt .nav.nav-pills {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: auto;
    min-width: 542px;
    max-width: 100%;
    white-space: nowrap;
  }

  body.theme-makler .home_adv_srch_opt .nav.nav-pills > .nav-item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: inline-block;
    float: none;
    white-space: nowrap;
  }

  body.theme-makler .home_adv_srch_opt .nav.nav-pills > .nav-item > .nav-link {
    white-space: nowrap;
  }

  body.theme-makler .home1-advnc-search .h1ads_1st_list {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }

  body.theme-makler .home1-advnc-search .h1ads_1st_list > li {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    min-width: 0;
  }

  body.theme-makler .home1-advnc-search .btn-area .h1ads_3st_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}


