/* Navigazione condivisa Commerciale Immobiliare Group — aggiornare solo navbar-unificata.js per cambiare i link. */
#ci-unified-navbar {display:block!important; position:relative; background:#fff; border-top:1px solid #ece8e0; border-bottom:1px solid #e7e2d9; width:100%; box-shadow:0 3px 12px rgba(0,0,0,.045); color:#29241d; isolation:isolate;}
#ci-unified-navbar .ci-unified-inner {display:flex!important; align-items:center; justify-content:center; gap:clamp(13px,3vw,47px); max-width:1240px; margin:auto; min-height:48px; padding:0 16px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; -webkit-overflow-scrolling:touch;}
#ci-unified-navbar .ci-unified-inner::-webkit-scrollbar {display:none;}
#ci-unified-navbar .ci-unified-link {display:flex!important; flex:0 0 auto; position:relative; align-items:center; justify-content:center; align-self:stretch; background:transparent!important; border:0!important; border-radius:0!important; box-shadow:none!important; color:#29241d!important; padding:13px 1px!important; font:700 12px/1.4 Arial,Helvetica,sans-serif!important; letter-spacing:.045em!important; text-transform:none!important; text-decoration:none!important; white-space:nowrap!important;}
#ci-unified-navbar .ci-unified-link:hover,#ci-unified-navbar .ci-unified-link:focus-visible,#ci-unified-navbar .ci-unified-link[aria-current="page"] {color:#a17c34!important;}
#ci-unified-navbar .ci-unified-link[aria-current="page"]::after {content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#b39255;}
#ci-unified-navbar .ci-unified-link:focus-visible {outline:2px solid #b39255!important; outline-offset:-3px;}
body > #ci-unified-navbar {position:sticky;top:0;z-index:4900;}
/* Smartphone: una sola riga compatta, centrata, senza tagli né scorrimento orizzontale. */
@media (max-width: 760px) {
  #ci-unified-navbar .ci-unified-inner {
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:space-between!important;
    align-items:center!important;
    align-content:center!important;
    gap:clamp(2px,0.7vw,7px)!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-height:42px!important;
    padding:2px clamp(7px,2.5vw,15px)!important;
    overflow:visible!important;
  }
  #ci-unified-navbar .ci-unified-link {
    flex:0 1 auto!important;
    min-width:0!important;
    min-height:42px!important;
    text-align:center!important;
    font-family:Arial,'Helvetica Neue',Helvetica,sans-serif!important;
    font-stretch:condensed!important;
    font-size:clamp(9px,2.55vw,12px)!important;
    font-weight:700!important;
    line-height:1.18!important;
    letter-spacing:-.035em!important;
    padding:9px 0!important;
    white-space:nowrap!important;
  }
  #ci-unified-navbar .ci-unified-link[aria-current="page"]::after{left:0;right:0}
}
@media (max-width: 360px) {
  #ci-unified-navbar .ci-unified-inner {gap:2px!important;padding:2px 5px!important}
  #ci-unified-navbar .ci-unified-link {font-size:clamp(8px,2.65vw,9.5px)!important;letter-spacing:-.045em!important}
}


/* CORREZIONE PREFERITI 2026-11-19: forzata anche con JS vecchio in cache.
   Bollino stesso diametro e quota di AI/WhatsApp, solo cuore. */
#ci-fav-top.ci-fav-top {
  position: fixed !important;
  inset: auto auto 22px 18px !important;
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: #171717 !important;
  color: transparent !important;
  border: 1.5px solid #d8b46f !important;
  box-shadow: 0 6px 23px rgba(0,0,0,.24) !important;
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  z-index: 990 !important;
}
#ci-fav-top.ci-fav-top > * {display:none !important;}
#ci-fav-top.ci-fav-top::before {
  content: '♡' !important;
  display:block !important;
  color:#dfbf7b !important;
  font:400 32px/1 Arial,sans-serif !important;
}
@media(max-width:600px){
  #ci-fav-top.ci-fav-top{
    inset:auto auto 16px 12px !important;
    width:54px !important;height:54px !important;
    min-width:54px !important;min-height:54px !important;
    max-width:54px !important;max-height:54px !important;
  }
  #ci-fav-top.ci-fav-top::before {font-size:29px !important;}
}
