/* Katoikies header / footer chrome — mockup alignment */
.header-top-bar,
.top-bar-wrap,
.header-top-bar .container,
.top-bar-wrap .container{
  background:#FAF9F6!important;
  color:#4B5563!important;
  font-size:12px;
  border-bottom:1px solid rgba(26,29,32,.08)
}
.header-top-bar a,
.top-bar-wrap a{color:#4B5563!important}
.header-top-bar a:hover,
.top-bar-wrap a:hover{color:#DB1C32!important}
.header-top-bar .fa-google-plus,
.top-bar-wrap a[href*="plus.google"],
.footer a[href*="plus.google"],
.social a[href*="plus.google"]{display:none!important}

.header-main-wrap,
.header-desktop-left,
.navi-wrap,
.header-v4,
.header-section{
  background:#fff!important;
  border-bottom:1px solid rgba(26,29,32,.1)
}
.header-main-wrap .navi > ul > li > a,
.main-nav > li > a,
.navbar-nav .nav-link,
.header-v4 .navi a{
  color:#1A1D20!important;
  font-weight:500!important;
  font-size:14px!important;
  text-transform:none!important;
  letter-spacing:0!important
}
.header-main-wrap .navi > ul > li > a:hover,
.header-main-wrap .navi > ul > li.current-menu-item > a,
.main-nav > li.current-menu-item > a,
.main-nav > li > a:hover{
  color:#DB1C32!important
}

/* Create Listing → replaced by JS with valuation CTA; keep visible slot */
.header-main-wrap a[href*="create-listing"],
.create-listing-btn,
.btn-create-listing{
  /* JS will rewrite href/text; fallback hide if not patched */
}

/* Injected valuation CTA via CSS ::after not possible as link — use fixed utility class if present */
.kmk-header-cta{
  display:inline-flex!important;align-items:center;gap:.4rem;
  background:#DB1C32!important;color:#fff!important;border:0!important;
  padding:.65rem 1.1rem!important;font-size:13px!important;font-weight:700!important;
  text-decoration:none!important;border-radius:0!important;margin-left:.5rem
}
.kmk-header-cta:hover{background:#b81527!important;color:#fff!important}

.logo img,
.header-logo img,
.logo-desktop img,
.footer-wrap .widget-about-image img,
.mobile-logo img{
  max-height:52px!important;width:auto!important;height:auto!important
}

/* Footer — light minimal (blueprint) */
.footer-top-wrap,
.footer-wrap,
#footer-section,
.footer-top,
.footer-widget-area,
footer.footer-wrap{
  background:#FAF9F6!important;
  color:#1A1D20!important;
  border-top:1px solid rgba(26,29,32,.1)!important
}
.footer-top-wrap p,
.footer-wrap p,
#footer-section p,
.footer-top-wrap .textwidget,
.footer-wrap .textwidget,
#footer-section .textwidget,
.footer-top-wrap li,
.footer-wrap li,
#footer-section li{
  color:#5C6370!important
}
.footer-top-wrap a,
.footer-wrap a,
#footer-section a{color:#1A1D20!important}
.footer-top-wrap a:hover,
.footer-wrap a:hover,
#footer-section a:hover{color:#DB1C32!important}
.footer-top-wrap .widget-title,
.footer-wrap .widget-title,
#footer-section .widget-title{
  color:#1A1D20!important;font-weight:700!important;text-transform:uppercase;
  letter-spacing:.08em;font-size:12px!important;border:0!important;margin-bottom:1rem!important
}
.footer-bottom-wrap,
.footer-bottom,
.footer-bottom-wrap .container{
  background:#F0EFEB!important;
  border-top:1px solid rgba(26,29,32,.08)!important;
  color:#5C6370!important
}
.footer-bottom a{color:#1A1D20!important}
.footer-bottom a:hover{color:#DB1C32!important}
.footer-social-icons a,
.footer-wrap .social-icons a,
#footer-section .social-icons a{
  color:#1A1D20!important;background:transparent!important;border:1px solid rgba(26,29,32,.15)!important
}
.footer-social-icons a:hover,
.footer-wrap .social-icons a:hover{color:#DB1C32!important;border-color:#DB1C32!important}
.footer-logo img,
.footer-wrap .logo img,
.footer-wrap .widget-about-image img{
  max-height:56px!important;width:auto!important;height:auto!important;filter:none!important
}

/* Hide Miami / duplicate EN demo contact column leftovers if still rendered as second contact */
.footer-top-wrap .widget:has(a[href*="email@email"]),
.footer-wrap .widget:has([href*="990"]){display:none!important}

/* Polylang flag switcher in main nav — keep inline with menu items */
.header-main-wrap .main-nav > ul,
.header-main-wrap .navi > ul,
.header-desktop-left .main-nav > ul{
  display:flex!important;
  flex-wrap:wrap;
  align-items:center!important
}
.main-nav .lang-item,
.navi > ul > li.lang-item,
#mobile-main-nav .lang-item{
  display:inline-flex!important;
  align-items:center!important;
  float:none!important;
  width:auto!important;
  margin:0 0 0 .2rem!important;
  padding:0!important;
  vertical-align:middle
}
.main-nav .lang-item > a,
.main-nav .lang-item > a.nav-link,
.main-nav .lang-item .kato-pll-lang-link,
.navi > ul > li.lang-item > a,
#mobile-main-nav .lang-item > a,
#mobile-main-nav .lang-item .kato-pll-lang-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:.25rem .4rem!important;
  margin:0!important;
  line-height:1!important;
  height:auto!important;
  min-height:0!important;
  font-size:0!important;
  background:transparent!important;
  border:0!important
}
.main-nav .lang-item .kato-pll-flag,
.navi > ul > li.lang-item .kato-pll-flag,
#mobile-main-nav .lang-item .kato-pll-flag,
.main-nav .lang-item img,
#mobile-main-nav .lang-item img{
  display:block!important;
  width:22px!important;
  height:16px!important;
  object-fit:cover;
  border-radius:2px;
  box-shadow:0 0 0 1px rgba(26,29,32,.12);
  vertical-align:middle
}
.main-nav .lang-item.current-lang > a,
#mobile-main-nav .lang-item.current-lang > a{
  opacity:.45
}
.main-nav .lang-item:not(.current-lang) > a:hover .kato-pll-flag,
.main-nav .lang-item:not(.current-lang) > a:hover img,
#mobile-main-nav .lang-item:not(.current-lang) > a:hover img{
  box-shadow:0 0 0 1px rgba(219,28,50,.45)
}
