.ni-scheda {background:#fbf8f1;color:#222;padding:clamp(14px,3vw,32px);font:normal 16px/1.45 Roboto,Arial,sans-serif}
.ni-scheda h1 {font:bold clamp(27px,4vw,44px)/1.1 Roboto,Arial,sans-serif;color:#222;margin:8px 0 12px}
.ni-scheda p {color:#423f39;margin:0 0 10px}
.ni-scheda .ni-prezzo {font-size:clamp(28px,4vw,40px);font-weight:700;color:#181818}
.ni-foto {display:grid;grid-template-columns:2fr 1fr;gap:4px}
.ni-foto a {display:block;min-width:0;aspect-ratio:1.55;overflow:hidden}
.ni-foto a:first-child {grid-row:span 2;aspect-ratio:auto}
.ni-foto a:only-child {grid-column:1/-1;aspect-ratio:1.6}
.ni-foto a[hidden] {display:none}
.ni-foto img {width:100%;height:100%;object-fit:cover;display:block}
.ni-scheda button {background:#282724;color:white;padding:8px 14px;border:0;border-radius:4px;margin-top:6px}
.ni-dati {display:flex;flex-wrap:wrap;gap:12px 16px;background:white;margin:16px 0;padding:12px;border-radius:6px}
.ni-dati:empty {display:none}
.ni-dati span {display:inline-flex;align-items:center;gap:6px}
.ni-dati svg {width:21px;height:21px}
.ni-scheda .ni-contatto,.ni-scheda .ni-wa {display:block;text-align:center;color:#191919}
.ni-contatto {background:#ffdc00;padding:13px;border-radius:6px;font-weight:700}
.ni-wa {padding:10px;text-decoration:underline}
#overview:has(.ni-scheda) #nigro-contatto {display:none}
.ni-preview #overview .property-meta [hidden],.ni-preview #overview .property-meta[hidden] {display:none!important}
.ni-preview #overview article.property-item .content,
.ni-preview #overview article.property-item .content :is(p,li,p span) {color:#363431}
.ni-locali::before {content:"";display:inline-block;width:12px;height:12px;border:1.5px solid currentColor;box-sizing:border-box}
.ni-scheda a.ni-contatto {background-color:#f5ec83}
@media (max-width:767px) {
  .ni-preview .container.contents.detail {width:calc(100% - 24px)!important;max-width:none!important;margin-inline:auto!important;padding-inline:0;box-sizing:border-box}
  .ni-preview .contents.detail > .row,.ni-preview .contents.detail .main-wrap,.ni-preview .contents.detail .main-wrap > .main {width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0;box-sizing:border-box}
  .ni-preview .ni-scheda {padding:12px}
  .ni-preview .ni-dati {justify-content:space-between;align-items:center;flex-wrap:nowrap;overflow-x:auto;gap:12px;padding:10px 8px;font-size:15px}
  .ni-preview .ni-dati span {flex:none;white-space:nowrap;gap:4px}
  .ni-preview .ni-dati svg {width:16px;height:16px}
}
.ni-mosaico {position:relative;display:grid;grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr;gap:4px;aspect-ratio:1.68;overflow:hidden;border-radius:8px}
.ni-scheda .ni-mosaico button {margin:0;padding:0;min-height:0;min-width:0;border:0;border-radius:0;overflow:hidden;cursor:pointer}
.ni-mosaico button:first-child {grid-row:1/3}
.ni-mosaico[data-count="1"] button:first-child {grid-column:1/3}
.ni-mosaico[data-count="2"] button:nth-child(2) {grid-row:1/3}
.ni-mosaico img {width:100%;height:100%;object-fit:cover;display:block}
.ni-scheda .ni-mosaico .ni-tutte {position:absolute;right:5px;bottom:5px;font:600 13px/1.25 Roboto,Arial,sans-serif;color:white;background:#202020eb;border-radius:4px;padding:8px}
dialog.ni-visore {box-sizing:border-box;width:min(96vw,1080px);max-height:96dvh;padding:12px;background:#171717;color:white;border:0;border-radius:8px;text-align:center}
.ni-visore::backdrop {background:#121212ed}
.ni-visore img {display:block;width:100%;height:65vh;object-fit:contain;touch-action:pan-y pinch-zoom}
.ni-visore button {border:0;border-radius:4px;background:#333;color:white;padding:9px 16px;min-height:44px;cursor:pointer}
.ni-visore button:disabled {opacity:.45}
.ni-visore .ni-chiudi {display:block;margin:0 0 6px auto}
.ni-nav {display:flex;align-items:center;justify-content:center;gap:18px;margin-top:8px}
.ni-nav button {font-size:23px}
.ni-recupero {color:white;text-decoration:underline}
body.ni-preview #overview:has(.ni-mosaico .ni-tutte) .property-item .content .ngg-galleryoverview {display:none!important}
