/* assets/mobile-listing-v179.css */
/*
 * v179 - correzione isolata delle schede annuncio negli elenchi mobile.
 * Questo foglio viene caricato per ultimo e non contiene regole desktop.
 */

@media screen and (max-width:800px){
  /* Ricerca generale e ricerca sulla mappa: prezzo e logo sulla prima riga. */
  body.map-search-page .map-listing-preview .map-card-body,
  body.portal-home #risultati .zone-property-list .listing-preview-card .property-body{
    display:grid!important;
    grid-template-columns:minmax(0,57%) minmax(110px,43%)!important;
    grid-template-rows:auto auto auto auto auto!important;
    grid-auto-flow:row!important;
    column-gap:12px!important;
  }

  body.map-search-page .map-listing-preview .map-card-body>b,
  body.portal-home #risultati .zone-property-list .listing-preview-price{
    grid-column:1!important;
    grid-row:1!important;
    align-self:center!important;
    min-width:0!important;
    margin:0!important;
  }

  body.map-search-page .map-listing-preview .map-card-agency-logo,
  body.portal-home #risultati .zone-property-list .listing-card-agency-logo{
    position:static!important;
    grid-column:2!important;
    grid-row:1!important;
    align-self:center!important;
    justify-self:end!important;
    display:block!important;
    width:100%!important;
    height:70px!important;
    max-width:160px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    object-fit:contain!important;
    object-position:right center!important;
    mix-blend-mode:normal!important;
  }

  body.map-search-page .map-listing-preview .map-card-body.no-agency-logo>b,
  body.portal-home #risultati .zone-property-list .property-body.no-agency-logo>.listing-preview-price{
    grid-column:1/-1!important;
  }

  /* Spariscono tutte le frasi descrittive indicate nella foto, non solo l'esempio. */
  body.map-search-page .map-listing-preview .listing-preview-description,
  body.map-search-page .map-listing-preview .map-card-body>p,
  body.portal-home #risultati .zone-property-list .listing-preview-description,
  body.agency-search-page .agency-listing-results .listing-preview-description{
    display:none!important;
  }

  body.map-search-page .map-listing-preview .map-card-body>.map-agency-name,
  body.portal-home #risultati .zone-property-list .property-body>.agency-name{
    display:none!important;
  }

  body.map-search-page .map-listing-preview h2,
  body.portal-home #risultati .zone-property-list .listing-preview-title{
    grid-column:1/-1!important;
    grid-row:2!important;
  }

  body.map-search-page .map-listing-preview .map-listing-icons,
  body.portal-home #risultati .zone-property-list .listing-preview-features{
    grid-column:1/-1!important;
    grid-row:3!important;
  }

  /* Icone e testi grandi: tre caratteristiche per riga e nuove righe automatiche. */
  body.map-search-page .map-listing-preview .map-listing-icons,
  body.portal-home #risultati .zone-property-list .listing-preview-features,
  body.agency-search-page .agency-listing-results .listing-preview-features{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    grid-auto-rows:minmax(46px,auto)!important;
    align-items:center!important;
    gap:14px 8px!important;
    max-height:none!important;
    overflow:visible!important;
    font-size:20px!important;
    line-height:1.25!important;
  }

  body.map-search-page .map-listing-preview .map-listing-icons span,
  body.portal-home #risultati .zone-property-list .listing-preview-features span,
  body.agency-search-page .agency-listing-results .listing-preview-features span{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    min-height:46px!important;
    gap:9px!important;
    overflow:visible!important;
    white-space:normal!important;
    font-size:inherit!important;
    font-weight:800!important;
    line-height:1.25!important;
  }

  body.map-search-page .map-listing-preview .map-listing-icons .property-line-icon,
  body.portal-home #risultati .zone-property-list .listing-preview-features .property-line-icon,
  body.agency-search-page .agency-listing-results .listing-preview-features .property-line-icon{
    width:36px!important;
    height:36px!important;
    flex:0 0 36px!important;
  }

  /* Anche nella pagina dell'agenzia il logo occupa lo spazio a destra del prezzo. */
  body.agency-search-page .agency-listing-results .listing-preview-card .property-body{
    display:grid!important;
    grid-template-columns:minmax(0,57%) minmax(110px,43%)!important;
    grid-template-rows:auto auto auto auto auto!important;
    grid-auto-flow:row!important;
    column-gap:12px!important;
  }

  body.agency-search-page .agency-listing-results .listing-preview-price{
    grid-column:1!important;
    grid-row:1!important;
    align-self:center!important;
    min-width:0!important;
    margin:0!important;
  }

  body.agency-search-page .agency-listing-results .listing-card-agency-logo{
    position:static!important;
    grid-column:2!important;
    grid-row:1!important;
    align-self:center!important;
    justify-self:end!important;
    display:block!important;
    width:100%!important;
    height:70px!important;
    max-width:160px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    object-fit:contain!important;
    object-position:right center!important;
    mix-blend-mode:normal!important;
  }

  body.agency-search-page .agency-listing-results .listing-preview-location{
    grid-column:1/-1!important;
    grid-row:2!important;
  }

  body.agency-search-page .agency-listing-results .listing-preview-title{
    grid-column:1/-1!important;
    grid-row:3!important;
  }

  body.agency-search-page .agency-listing-results .listing-preview-features{
    grid-column:1/-1!important;
    grid-row:4!important;
  }

  body.agency-search-page .agency-listing-results .listing-preview-actions{
    grid-column:1/-1!important;
    grid-row:5!important;
    width:100%!important;
  }
}

@media screen and (max-width:390px){
  body.map-search-page .map-listing-preview .map-card-body,
  body.portal-home #risultati .zone-property-list .listing-preview-card .property-body,
  body.agency-search-page .agency-listing-results .listing-preview-card .property-body{
    grid-template-columns:minmax(0,58%) minmax(108px,42%)!important;
    column-gap:8px!important;
  }

  body.map-search-page .map-listing-preview .map-card-agency-logo,
  body.portal-home #risultati .zone-property-list .listing-card-agency-logo,
  body.agency-search-page .agency-listing-results .listing-card-agency-logo{
    height:64px!important;
    max-width:146px!important;
  }

  body.map-search-page .map-listing-preview .map-listing-icons,
  body.portal-home #risultati .zone-property-list .listing-preview-features,
  body.agency-search-page .agency-listing-results .listing-preview-features{
    grid-auto-rows:minmax(44px,auto)!important;
    gap:13px 6px!important;
    font-size:19px!important;
  }

  body.map-search-page .map-listing-preview .map-listing-icons span,
  body.portal-home #risultati .zone-property-list .listing-preview-features span,
  body.agency-search-page .agency-listing-results .listing-preview-features span{
    min-height:44px!important;
    gap:7px!important;
  }

  body.map-search-page .map-listing-preview .map-listing-icons .property-line-icon,
  body.portal-home #risultati .zone-property-list .listing-preview-features .property-line-icon,
  body.agency-search-page .agency-listing-results .listing-preview-features .property-line-icon{
    width:34px!important;
    height:34px!important;
    flex:0 0 34px!important;
  }
}

/* Sugli schermi molto stretti le caratteristiche passano a due colonne. */
@media screen and (max-width:360px){
  body.map-search-page .map-listing-preview .map-listing-icons,
  body.portal-home #risultati .zone-property-list .listing-preview-features,
  body.agency-search-page .agency-listing-results .listing-preview-features{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* assets/ccu-province-shortcuts.css */
.map-search-page .map-side-head.ccug-province-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;box-sizing:border-box;width:100%}
.map-search-page .ccug-province-head>.desktop-results-title{width:100%;min-width:0}
.map-search-page .ccug-search-actions{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:10px;width:100%;min-width:0}
.map-search-page .ccug-province-links{display:flex;align-items:center;gap:6px;min-width:0}
.map-search-page .ccug-province-links>a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:42px;padding:8px 12px;border:2px solid #08668d;border-radius:8px;background:#087fae;color:#fff;text-decoration:none;font:800 13px Arial,Helvetica,sans-serif;white-space:nowrap}
.map-search-page .ccug-province-links>a:hover{background:#06678e}
.map-search-page .ccug-province-links>a[aria-current=true]{background:#064c6b;border-color:#064c6b;box-shadow:inset 0 -3px #e7b33d}
.map-search-page .ccug-province-links>a:focus-visible{outline:3px solid #e7b33d;outline-offset:3px}
.map-search-page .ccug-search-actions>.map-sort-form{margin:0!important;min-width:0;max-width:none!important;width:100%!important}
.map-search-page .ccug-search-actions>.map-sort-form select{width:100%!important;min-width:0!important;max-width:none;box-sizing:border-box}
@media(max-width:800px){
 .map-search-page .map-side-head.ccug-province-head{padding:10px!important;gap:8px!important}
 .map-search-page .ccug-search-actions{gap:8px}
 .map-search-page .ccug-province-links>a{padding:8px 10px;min-height:40px;font-size:12px}
 .map-search-page .ccug-search-actions>.map-sort-form select{min-height:40px!important;height:40px!important}
}

/* assets/ccu-map-layout-fix.css */
/* Desktop: una sola riga di testata e altezza residua per lista e mappa.
   Elimina la somma fra left del vecchio header e padding-left in vw. */
@media(min-width:801px){
 body.map-search-page{display:flex;flex-direction:column;height:100vh;height:100dvh;min-height:0;overflow:hidden}
 .map-search-page>.portal-top{position:relative!important;inset:auto!important;width:100%!important;height:74px;flex:0 0 74px;box-sizing:border-box}
 .map-search-page>.portal-top>.container{width:calc(100% - 36px)!important;max-width:none!important;height:100%;margin:0 auto;padding:0!important;box-sizing:border-box;justify-content:space-between;min-width:0}
 .map-search-page>.portal-top nav{margin-left:auto;min-width:0;flex-wrap:wrap;gap:14px}
 .map-search-page>.public-search-top-navigation{flex:0 0 auto}
 .map-search-page>.map-layout{position:relative!important;flex:1 1 0;min-height:0!important;height:auto!important;width:100%;margin:0!important;grid-template-rows:minmax(0,1fr);box-sizing:border-box}
 .map-search-page>.map-layout>.map-sidebar{height:100%!important;min-height:0!important;min-width:0;overflow:hidden;box-sizing:border-box}
 .map-search-page>.map-layout>.map-pane{height:100%!important;min-height:0!important;min-width:0;padding-top:0!important;grid-template-rows:auto minmax(0,1fr);box-sizing:border-box}
 .map-search-page .map-pane>#propertyMap{height:100%!important;min-height:0!important;min-width:0}
 .map-search-page .map-sidebar>.map-results-scroll{flex:1 1 0;min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto}
}

/* assets/ccu-search-compact.css */
/* Cercocasa: controlli ricerca. Nessuna modifica a filtri, ordinamento o annunci. */
body.map-search-page .ccug-search-actions{
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  max-width:590px;justify-content:start;
}

body.map-search-page .ccug-province-links{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px;
}
body.map-search-page .ccug-province-links>a{width:100%;padding-inline:16px}
@media(min-width:801px){
  body.map-search-page .ccug-province-links>a{font-size:15px}
  body.map-search-page .ccug-search-actions>.map-sort-form select,
  body.map-search-page .ccug-search-actions>.map-sort-form option{font-size:16px!important}
  body.map-search-page .map-filter-dropdowns select{font-size:16px!important}
  body.map-search-page .map-filter-dropdowns .filter-dropdown>summary{font-size:14px!important}
}
@media(max-width:800px){
  body.map-search-page .mobile-property-toolbar{gap:5px!important;padding:5px 10px!important}
  body.map-search-page .mobile-location-chip{
    grid-template-columns:36px minmax(0,1fr) 28px!important;
    min-height:44px!important;padding:3px 7px!important;border-radius:9px!important;
  }
  body.map-search-page .mobile-location-brand{width:32px!important;height:32px!important}
  body.map-search-page .mobile-location-brand img{width:30px!important;height:30px!important}
  body.map-search-page .mobile-location-chip>b{font-size:15px!important}
  body.map-search-page .mobile-location-chip>small{font-size:11px!important}
  body.map-search-page .mobile-property-actions{
    grid-template-columns:minmax(0,.9fr) minmax(0,1.65fr) 44px!important;gap:6px!important;
  }
  body.map-search-page .mobile-property-actions button,
  body.map-search-page .mobile-property-actions a{
    min-height:44px!important;padding:3px 6px!important;gap:5px!important;
    font-size:12px!important;line-height:1.15!important;border-radius:9px!important;
  }
  body.map-search-page .mobile-property-actions svg{width:21px!important;height:21px!important;flex-shrink:0}
  body.map-search-page .public-search-top-navigation{margin:4px 10px 0!important;gap:6px!important}
  body.map-search-page .public-search-top-navigation button,
  body.map-search-page .public-search-top-navigation a{
    min-height:36px!important;padding:0 8px!important;font-size:12px!important;
  }
  /* Il contenitore sidebar ereditava il padding delle colonne del portale. */
  body.map-search-page>.map-layout{margin:0!important;padding:0!important}
  body.map-search-page>.map-layout>.map-sidebar{margin:0!important;padding:0!important;min-height:0!important}
  body.map-search-page .map-side-head.ccug-province-head{
    min-height:0!important;margin:0!important;padding:4px 10px 5px!important;gap:4px!important;
  }
  body.map-search-page .map-side-head.ccug-province-head>.desktop-results-title{margin:0!important;padding:0!important;line-height:1.15!important;flex:none!important}
  body.map-search-page .map-side-head.ccug-province-head .map-count{margin:0!important;font-size:12px!important;line-height:1.15!important}
  body.map-search-page .map-side-head.ccug-province-head .map-count b{font-size:19px!important;line-height:1.15!important}
  body.map-search-page .ccug-search-actions{gap:6px;max-width:none;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
  body.map-search-page .ccug-province-links{gap:6px}
  body.map-search-page .ccug-province-links>a{min-height:36px;padding:5px 6px;font-size:13px}
  body.map-search-page .ccug-search-actions>.map-sort-form select{
    min-height:36px!important;height:36px!important;font-size:12px!important;
    padding:4px 25px 4px 8px!important;
  }
}

/* v261 - interfaccia completa desktop/mobile conforme alle due bozze approvate. */
.ccu-desktop-search-shell{display:none}

@media(min-width:801px){
  body.map-search-page{background:#fff;color:#101b2a}
  body.map-search-page>.portal-top{height:64px!important;flex-basis:64px!important;border-bottom:1px solid #e4e8eb!important}
  body.map-search-page>.portal-top>.container{width:calc(100% - 64px)!important}
  body.map-search-page>.portal-top .portal-brand img{width:218px!important;height:54px!important}
  body.map-search-page>.portal-top nav{gap:24px!important;font-size:14px!important}
  body.map-search-page>.portal-top nav a{padding:22px 0 18px!important}

  .ccu-desktop-search-shell{display:block;flex:0 0 auto;padding:9px 32px 13px;border-bottom:1px solid #dfe5e9;background:#fff}
  .ccu-desktop-history{display:flex;align-items:center;gap:9px;margin:0 0 9px}
  .ccu-desktop-history button,.ccu-desktop-history a{display:inline-flex;align-items:center;justify-content:center;min-height:37px;box-sizing:border-box;padding:0 16px;border:1px solid #087caf;border-radius:9px;background:#fff;color:#075d87;font:800 13px/1 Arial,Helvetica,sans-serif;text-decoration:none;cursor:pointer}
  .ccu-desktop-history a{border-color:#087caf;background:#087caf;color:#fff}
  .ccu-desktop-search-toolbar{display:grid;grid-template-columns:minmax(310px,1fr) minmax(160px,190px) minmax(210px,270px) minmax(125px,155px);align-items:stretch;gap:11px;margin:0}
  .ccu-desktop-search-toolbar>input[type=hidden]{display:none}
  .ccu-desktop-location{display:flex;align-items:center;min-width:0;height:52px;box-sizing:border-box;padding:0 10px 0 15px;border:1px solid #bfd0db;border-radius:10px;background:#fff;color:#075d87}
  .ccu-desktop-location>svg,.ccu-desktop-search-toolbar>button svg,.ccu-desktop-search-toolbar>a svg{width:23px;height:23px;flex:0 0 23px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .ccu-desktop-location input{width:100%;min-width:0;height:48px;padding:0 11px;border:0;outline:0;background:transparent;color:#233446;font:16px Arial,Helvetica,sans-serif}
  .ccu-desktop-location button{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;padding:0;border:0;border-radius:50%;background:#9aaebb;color:#fff;font:22px/1 Arial,sans-serif;cursor:pointer}
  .ccu-desktop-search-toolbar>.ccu-desktop-filter-button,.ccu-desktop-search-toolbar>.ccu-desktop-map-button,.ccu-desktop-search-toolbar>.ccu-desktop-alert-button{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;height:52px;box-sizing:border-box;padding:0 14px;border:1px solid #087caf;border-radius:10px;background:#fff;color:#075d87;font:850 15px/1.1 Arial,Helvetica,sans-serif;text-align:center;text-decoration:none;cursor:pointer}
  .ccu-desktop-search-toolbar>.ccu-desktop-alert-button{border-color:#087caf;background:#fff}
  .ccu-desktop-search-toolbar>.ccu-desktop-map-button{background:#087caf;color:#fff}

  body.map-search-page>.map-layout{grid-template-columns:minmax(560px,62%) minmax(360px,38%)!important}
  body.map-search-page .map-side-head.ccug-province-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(205px,270px)!important;gap:10px 12px!important;padding:11px 18px 12px!important;border-bottom:1px solid #dde4e8;background:#fff}
  body.map-search-page .ccug-search-actions{display:contents!important}
  body.map-search-page .ccug-province-links{grid-column:1;grid-row:1;display:flex!important;gap:10px!important;min-width:0}
  body.map-search-page .ccug-province-links:before{content:"Cerca anche in:";display:flex;align-items:center;flex:0 0 auto;color:#344354;font-size:13px}
  body.map-search-page .ccug-province-links>a{width:auto!important;min-width:145px;min-height:39px!important;padding:7px 15px!important;border:1px solid #cbd9e0!important;border-radius:9px!important;background:#f2f7fa!important;color:#075d87!important;font-size:13px!important}
  body.map-search-page .ccug-province-links>a[aria-current=true]{border-color:#087caf!important;background:#e4f3f9!important;box-shadow:inset 0 -3px #d7a900!important}
  body.map-search-page .ccu-territory-jump{grid-column:2;grid-row:1}
  body.map-search-page .ccu-territory-jump select{height:39px!important;border:1px solid #cbd9e0!important;background:#f2f7fa!important;color:#075d87!important;font-size:13px!important}
  body.map-search-page .desktop-results-title{grid-column:1;grid-row:2;display:flex!important;align-items:center;min-height:45px}
  body.map-search-page .desktop-results-title>small,body.map-search-page .desktop-results-title>h1{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
  body.map-search-page .desktop-results-title .map-count{display:flex;align-items:baseline;gap:8px;margin:0!important;color:#17283a;font-size:15px!important;font-weight:800}
  body.map-search-page .desktop-results-title .map-count b{font-size:25px!important;line-height:1!important}
  body.map-search-page .map-sort-form{grid-column:2;grid-row:2!important;width:100%!important;margin:0!important}
  body.map-search-page .map-sort-form select{width:100%!important;height:45px!important;border:1px solid #cbd9e0!important;border-radius:9px!important;background-color:#fff!important;color:#17283a!important;font-size:14px!important;font-weight:800!important}

  body.map-search-page .map-results-scroll{background:#f5f7f8!important}
  body.map-search-page .map-cards{gap:13px!important;padding:12px 18px 80px!important;background:#f5f7f8!important}
  body.map-search-page .map-cards article{grid-template-columns:minmax(235px,35%) minmax(0,1fr)!important;min-height:222px!important;border:1px solid #d9e1e6!important;border-radius:14px!important;box-shadow:0 3px 12px #17354a12!important}
  body.map-search-page .map-cards article>img,body.map-search-page .map-cards article>.map-no-photo{width:100%!important;height:100%!important;min-height:222px!important;object-fit:cover!important}
  body.map-search-page .map-card-body{padding:17px 18px!important}
  body.map-search-page .map-listing-preview h2{max-height:48px!important;margin:5px 0 8px!important;padding-right:104px!important;font-size:19px!important;line-height:1.2!important;font-weight:800!important}
  body.map-search-page .map-card-body>b{font-size:24px!important;color:#075d87!important}
  body.map-search-page .map-card-agency-logo{width:92px!important;height:48px!important;top:16px!important;right:18px!important}
  body.map-search-page .map-card-agency-logo img{width:100%;height:100%;object-fit:contain}
  body.map-search-page .map-listing-icons{gap:8px 17px!important;margin:9px 0!important;font-size:12px!important}
  body.map-search-page .map-listing-icons .property-line-icon{width:21px!important;height:21px!important;flex:0 0 21px!important}
  body.map-search-page .listing-preview-description{display:-webkit-box!important;max-height:39px!important;margin:8px 0!important;font-size:12px!important;line-height:1.45!important;-webkit-line-clamp:2!important}
  body.map-search-page .listing-preview-primary-actions a{min-height:37px!important;padding:7px 13px!important;font-size:11px!important}
  body.map-search-page .listing-preview-icon-actions button{width:37px!important;height:37px!important}

  /* I filtri restano completi ma non formano una seconda fila di pulsanti. */
  body.map-search-page .map-filter-dropdowns{position:absolute!important;z-index:1200!important;top:0;left:0;display:block!important;width:0!important;height:0!important;min-width:0!important;padding:0!important;overflow:visible!important;border:0!important;background:transparent!important;box-shadow:none!important}
  body.map-search-page .map-filter-dropdowns>*{display:none!important}
  body.map-search-page .map-filter-dropdowns>.map-zone-dropdown{display:block!important;position:static!important}
  body.map-search-page .map-filter-dropdowns>.map-zone-dropdown>summary{display:none!important}
  body.map-search-page .map-filter-dropdowns>.map-zone-dropdown[open]>.filter-popover{display:grid!important;top:142px!important;width:min(390px,calc(100vw - 24px))!important}
  body.map-search-page .map-pane{position:relative;grid-template-rows:minmax(0,1fr)!important}
  body.map-search-page .ccu-map-load-note{top:14px!important;right:14px!important;padding:10px 13px!important;font-size:12px!important}

  /* Pannello unico dei filtri, aperto dalla barra principale. */
  body.mobile-filters-open{overflow:hidden!important}
  body.mobile-filters-open:before{content:"";position:fixed;z-index:6998;inset:0;background:#0c1d2c8c}
  body.mobile-filters-open .mobile-filter-sheet{position:fixed;z-index:7000;top:0;right:0;bottom:0;display:block!important;width:min(760px,92vw);box-sizing:border-box;padding:0 28px 100px;overflow-y:auto;background:#fff;color:#17283a;box-shadow:-18px 0 55px #07131f55}
  body.mobile-filters-open .mobile-filter-sheet>header{position:sticky;z-index:2;top:0;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;min-height:72px;margin:0 -28px 12px;padding:0 28px;border-bottom:1px solid #dce3e7;background:#fff}
  body.mobile-filters-open .mobile-filter-sheet>header a{color:#087caf;font-size:12px;font-weight:900;text-decoration:none}
  body.mobile-filters-open .mobile-filter-sheet>header b{text-align:center;font-size:21px}
  body.mobile-filters-open .mobile-filter-sheet>header button{justify-self:end;border:0;background:transparent;font-size:35px;cursor:pointer}
  body.mobile-filters-open .mobile-filter-sheet>label,body.mobile-filters-open .mobile-filter-sheet>fieldset{display:grid;gap:9px;margin:0;padding:17px 0;border:0;border-bottom:1px solid #e1e6e9}
  body.mobile-filters-open .mobile-filter-sheet>label>span,body.mobile-filters-open .mobile-filter-sheet legend{display:flex;align-items:center;gap:9px;font-size:16px}
  body.mobile-filters-open .mobile-filter-sheet select,body.mobile-filters-open .mobile-filter-sheet input[type=number]{box-sizing:border-box;width:100%;min-height:47px;padding:0 11px;border:1px solid #cbd6dc;border-radius:9px;background:#fff;font-size:14px}
  body.mobile-filters-open .mobile-filter-sheet fieldset>div{display:grid;grid-template-columns:1fr 1fr;gap:9px}
  body.mobile-filters-open .mobile-filter-choices label{position:relative}
  body.mobile-filters-open .mobile-filter-choices input{position:absolute;opacity:0}
  body.mobile-filters-open .mobile-filter-choices span{display:grid;min-height:43px;place-items:center;padding:0 10px;border:1px solid #cfd7dc;border-radius:9px}
  body.mobile-filters-open .mobile-filter-choices input:checked+span{border-color:#087caf;background:#eaf6fb;color:#075d87;font-weight:900}
  body.mobile-filters-open .mobile-filter-submit{position:sticky;bottom:10px;width:100%;min-height:52px;margin-top:18px;border:0;border-radius:10px;background:#d7a900;color:#17212b;font-weight:900;cursor:pointer}
}

@media(max-width:800px){
  body.map-search-page>.portal-top{display:block!important;position:relative!important;width:100%!important;height:72px!important;border-bottom:0!important;background:#fff!important}
  body.map-search-page>.portal-top>.container{display:flex!important;width:calc(100% - 24px)!important;height:72px!important;margin:0 auto!important;padding:0!important}
  body.map-search-page>.portal-top .portal-brand{display:block!important;margin-right:auto!important}
  body.map-search-page>.portal-top .portal-brand img{width:210px!important;height:60px!important;object-fit:contain!important;object-position:left center!important}
  body.map-search-page>.portal-top nav{display:none!important}
  body.map-search-page>.portal-top .login-link{display:grid!important;place-items:center!important;width:42px;height:42px;margin-left:auto;padding:0;border:0;color:#10283b;font-size:0}
  body.map-search-page>.portal-top .login-link:before{content:"";width:19px;height:19px;border:2px solid currentColor;border-radius:50%;box-shadow:0 17px 0 -5px #fff,0 17px 0 -2px currentColor}
  body.map-search-page>.portal-top .mobile-main-menu{display:block!important;margin-left:5px!important}
  body.map-search-page>.portal-top .mobile-main-menu summary{border:0!important;font-size:26px!important}

  body.map-search-page .mobile-property-toolbar{position:relative;z-index:20;gap:10px!important;padding:4px 12px 12px!important;border-bottom:1px solid #d9e1e6!important;background:#fff!important}
  body.map-search-page .mobile-location-chip{display:grid!important;grid-template-columns:46px minmax(0,1fr) 30px!important;grid-template-rows:1fr!important;min-height:58px!important;padding:0 10px!important;border:1px solid #b9cbd6!important;border-radius:12px!important;background:#fff!important;color:#075d87!important}
  body.map-search-page .mobile-location-brand{grid-column:1!important;grid-row:1!important;width:36px!important;height:36px!important}
  body.map-search-page .mobile-location-brand svg{display:block;width:33px;height:33px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
  body.map-search-page .mobile-location-chip>b{grid-column:2!important;grid-row:1!important;align-self:center!important;font-size:18px!important;line-height:1.1!important}
  body.map-search-page .mobile-location-chip>small{display:none!important}
  body.map-search-page .mobile-location-chip>i{grid-column:3!important;grid-row:1!important;align-self:center!important;font-size:26px!important}
  body.map-search-page .mobile-property-actions{grid-template-columns:minmax(92px,1fr) minmax(155px,1.65fr) 68px!important;gap:8px!important}
  body.map-search-page .mobile-property-actions button,body.map-search-page .mobile-property-actions a{min-height:56px!important;padding:5px 8px!important;border:1px solid #087caf!important;border-radius:11px!important;background:#fff!important;color:#087caf!important;font-size:13px!important;line-height:1.15!important;text-transform:none!important}
  body.map-search-page .mobile-property-actions a{border-color:#d7a900!important;background:#d7a900!important;color:#fff!important}
  body.map-search-page .mobile-property-actions button:last-child{display:grid!important;grid-template-rows:26px auto!important;gap:2px!important;padding:4px!important}
  body.map-search-page .mobile-property-actions button:last-child span{display:block!important;font-size:11px!important}
  body.map-search-page .mobile-property-actions svg{width:25px!important;height:25px!important}

  body.map-search-page>.map-layout{height:auto!important;min-height:calc(100vh - 198px)!important;margin:0!important;padding:0!important}
  body.map-search-page .map-sidebar{height:auto!important;min-height:calc(100vh - 198px)!important;background:#f4f6f7!important}
  body.map-search-page .map-side-head.ccug-province-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(148px,48%)!important;align-items:center!important;gap:8px!important;min-height:68px!important;padding:10px 12px!important;border-bottom:1px solid #dce3e7!important;background:#fff!important}
  body.map-search-page .desktop-results-title{display:block!important;min-width:0}
  body.map-search-page .desktop-results-title>small,body.map-search-page .desktop-results-title>h1{display:none!important}
  body.map-search-page .desktop-results-title .map-count{display:flex!important;align-items:baseline;gap:6px;margin:0!important;color:#17283a;font-size:14px!important;font-weight:750!important;line-height:1.1!important}
  body.map-search-page .desktop-results-title .map-count b{font-size:25px!important;line-height:1!important}
  body.map-search-page .ccug-search-actions{display:block!important;min-width:0}
  body.map-search-page .ccug-province-links,body.map-search-page .ccu-territory-jump{display:none!important}
  body.map-search-page .map-sort-form select{width:100%!important;height:45px!important;border:1px solid #cbd7dd!important;border-radius:10px!important;background-color:#fff!important;color:#17283a!important;font-size:13px!important;font-weight:800!important}
  body.map-search-page .map-results-scroll{height:auto!important;overflow:visible!important;background:#f4f6f7!important}
  body.map-search-page .map-cards{gap:16px!important;padding:12px 10px calc(94px + env(safe-area-inset-bottom))!important;background:#f4f6f7!important}
  body.map-search-page .map-listing-preview{width:100%!important;max-width:620px!important;margin:0 auto!important;border-radius:16px!important;box-shadow:0 5px 18px #17354a19!important}
  body.map-search-page .mobile-card-gallery{position:relative!important;display:block!important}
  body.map-search-page .mobile-gallery-main{height:auto!important;min-height:230px!important;max-height:none!important;aspect-ratio:1.48/1!important}
  body.map-search-page .mobile-gallery-thumbs{display:none!important}
  body.map-search-page .mobile-card-gallery>.listing-map-overlay{display:none!important}
  body.map-search-page .tier-card-badge{top:14px!important;left:14px!important;padding:7px 12px!important;border-radius:8px!important;font-size:12px!important}
  body.map-search-page .mobile-gallery-main>b{right:13px!important;bottom:12px!important;padding:7px 10px!important;font-size:14px!important}

  body.map-search-page .map-card-body{position:static!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(90px,34%)!important;grid-template-rows:auto auto auto auto auto auto!important;column-gap:12px!important;padding:17px 16px 18px!important}
  body.map-search-page .map-card-body>b{grid-column:1!important;grid-row:1!important;align-self:center!important;margin:0!important;color:#075d87!important;font-size:29px!important;font-weight:850!important;line-height:1.05!important}
  body.map-search-page .map-card-agency-logo{position:static!important;grid-column:2!important;grid-row:1!important;align-self:center!important;justify-self:end!important;width:100%!important;height:54px!important;max-width:138px!important;margin:0!important;padding:3px!important;border:1px solid #d8e0e4!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important}
  body.map-search-page .map-card-agency-logo img{display:block;width:100%;height:100%;object-fit:contain}
  body.map-search-page .map-listing-preview h2{grid-column:1/-1!important;grid-row:2!important;max-height:none!important;margin:11px 0 8px!important;padding:0!important;color:#102d55!important;font-size:21px!important;line-height:1.22!important;font-weight:800!important}
  body.map-search-page .map-card-body>small:first-of-type{grid-column:1/-1!important;grid-row:3!important;display:block!important;margin:0 0 10px!important;overflow:visible!important;color:#536474!important;font-size:14px!important;line-height:1.35!important;white-space:normal!important;text-overflow:clip!important}
  body.map-search-page .map-card-body>small:first-of-type:before{content:"⌖ ";color:#24384b;font-weight:900}
  body.map-search-page .listing-preview-description{grid-column:1/-1!important;grid-row:4!important;display:-webkit-box!important;max-height:43px!important;margin:0 0 14px!important;overflow:hidden!important;color:#5b6874!important;font-size:13px!important;line-height:1.45!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
  body.map-search-page .map-listing-icons{grid-column:1/-1!important;grid-row:5!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px 8px!important;max-height:none!important;margin:0 0 17px!important;color:#344252!important;font-size:14px!important;line-height:1.2!important}
  body.map-search-page .map-listing-icons span{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;min-height:36px!important;white-space:normal!important;font-size:inherit!important;font-weight:500!important}
  body.map-search-page .map-listing-icons .property-line-icon{width:27px!important;height:27px!important;flex:0 0 27px!important}
  body.map-search-page .map-card-actions.listing-preview-actions{position:static!important;grid-column:1/-1!important;grid-row:6!important;display:block!important;width:100%!important;margin:0!important}
  body.map-search-page .listing-preview-primary-actions{display:flex!important;align-items:stretch!important;gap:7px!important;width:100%!important}
  body.map-search-page .listing-preview-primary-actions a{display:flex!important;flex:1 1 0!important;min-height:50px!important;padding:7px 8px!important;border:1px solid #087caf!important;border-radius:10px!important;background:#fff!important;color:#087caf!important;font-size:13px!important}
  body.map-search-page .listing-preview-primary-actions a:last-child{background:#087caf!important;color:#fff!important}
  body.map-search-page .listing-preview-primary-actions .mobile-phone-action{flex:0 0 50px!important}
  body.map-search-page .listing-preview-icon-actions{position:absolute!important;z-index:8!important;top:14px!important;right:14px!important;display:flex!important;flex-direction:row-reverse!important;gap:8px!important;margin:0!important}
  body.map-search-page .listing-preview-icon-actions button{width:43px!important;height:43px!important;border:1px solid #d6e0e4!important;border-radius:50%!important;background:#fff!important;color:#132d43!important;box-shadow:0 3px 11px #102f3f38!important}
  body.map-search-page .listing-preview-icon-actions button:last-child{color:#132d43!important}
  body.map-search-page .listing-preview-icon-actions svg{width:24px!important;height:24px!important}
  body.map-search-page .map-position-missing{display:none!important}

  body.map-search-page .map-filter-dropdowns{display:none!important}
  body.map-search-page .map-pane{grid-template-rows:auto minmax(0,1fr)!important}
  body.map-search-page.show-map .map-pane{height:calc(100vh - 72px)!important}
  body.map-search-page .ccu-map-load-note{top:9px!important;right:9px!important}
  body.map-search-page .listing-mobile-fixed-menu{z-index:1000!important}
}

@media(max-width:390px){
  body.map-search-page>.portal-top .portal-brand img{width:183px!important}
  body.map-search-page .mobile-property-toolbar{padding-right:8px!important;padding-left:8px!important}
  body.map-search-page .mobile-property-actions{grid-template-columns:minmax(82px,1fr) minmax(135px,1.55fr) 62px!important;gap:6px!important}
  body.map-search-page .mobile-property-actions button,body.map-search-page .mobile-property-actions a{padding:4px 5px!important;font-size:11px!important}
  body.map-search-page .mobile-gallery-main{min-height:220px!important;aspect-ratio:1.42/1!important}
  body.map-search-page .map-card-body{grid-template-columns:minmax(0,1fr) minmax(86px,34%)!important;padding-right:13px!important;padding-left:13px!important}
  body.map-search-page .map-card-body>b{font-size:27px!important}
  body.map-search-page .map-card-agency-logo{height:48px!important}
  body.map-search-page .map-listing-preview h2{font-size:19px!important}
  body.map-search-page .map-listing-icons{font-size:12px!important;gap:9px 6px!important}
  body.map-search-page .map-listing-icons .property-line-icon{width:24px!important;height:24px!important;flex-basis:24px!important}
}

/* v260 finale: deve restare dopo le regole compatte precedenti. */
.map-search-page .ccu-territory-jump{display:block;min-width:0;margin:0}
.map-search-page .ccu-territory-jump .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.map-search-page .ccu-territory-jump select{
  width:100%;height:42px;box-sizing:border-box;border:2px solid #08668d;border-radius:8px;
  padding:0 34px 0 11px;background:#fff;color:#12334a;font:800 13px Arial,Helvetica,sans-serif;
}
.map-search-page .ccu-map-load-note{
  position:absolute;z-index:450;top:70px;right:16px;margin:0;padding:9px 12px;border-radius:9px;
  background:#fffffff2;color:#173348;box-shadow:0 3px 14px #102f3f2b;font:800 12px/1.2 Arial,Helvetica,sans-serif;
  pointer-events:none;
}
.mobile-location-territory{display:grid;gap:7px;font-size:12px;font-weight:900}
.mobile-location-territory select{height:50px;border:1px solid #b8ccd5;border-radius:10px;padding:0 12px;background:#fff;color:#173348}
@media(min-width:801px){
  body.map-search-page .ccug-search-actions{
    grid-template-columns:minmax(210px,.9fr) minmax(220px,1fr) minmax(190px,.75fr)!important;
    max-width:none!important;
  }
}
@media(max-width:800px){
  body.map-search-page>.public-search-top-navigation{display:none!important}
  body.map-search-page .map-side-head.ccug-province-head{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(145px,52%)!important;
    align-items:center!important;padding:10px 12px!important;gap:8px!important;
  }
  body.map-search-page .ccug-search-actions{display:block!important;max-width:none!important}
  body.map-search-page .ccug-province-links,
  body.map-search-page .ccu-territory-jump{display:none!important}
  body.map-search-page .mobile-property-toolbar{gap:10px!important;padding:4px 12px 12px!important}
  body.map-search-page .mobile-property-actions button,
  body.map-search-page .mobile-property-actions a{min-height:56px!important}
  body.map-search-page .mobile-gallery-main{height:auto!important;min-height:230px!important;max-height:none!important}
  body.map-search-page .map-card-agency-logo{top:auto!important}
  body.map-search-page .map-card-body{padding:17px 16px 18px!important}
  body.map-search-page .ccu-map-load-note{top:8px;right:8px;max-width:calc(100% - 16px);font-size:11px}
}

/* v266 - ricerca mobile: righe obbligatorie e spazi bianchi ridotti. */
@media(max-width:800px){
  body.map-search-page>.portal-top .login-link{
    display:grid!important;place-items:center!important;width:42px!important;height:42px!important;
    margin-left:auto!important;padding:0!important;border:0!important;color:#10283b!important;
    transform:translateY(4px)!important;
  }
  body.map-search-page>.portal-top .login-link:before{content:none!important;display:none!important}
  body.map-search-page>.portal-top .login-link .ccu-login-icon{
    display:block!important;width:31px!important;height:31px!important;fill:none!important;
    stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;
  }
  body.map-search-page>.portal-top .login-link span{
    position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;
    overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;
  }
  body.map-search-page>.portal-top .mobile-main-menu{transform:translateY(4px)!important}

  /* L'indirizzo ha sempre una riga propria; le caratteristiche non possono sovrapporsi. */
  body.map-search-page .map-card-body{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(82px,32%)!important;
    grid-template-rows:auto auto auto auto auto auto!important;
    grid-template-areas:
      "price agency"
      "reduced reduced"
      "title title"
      "zone zone"
      "features features"
      "actions actions" !important;
    grid-auto-flow:row!important;align-content:start!important;row-gap:9px!important;
    padding:10px 13px 12px!important;overflow:visible!important;
  }
  body.map-search-page .map-card-body>b{grid-area:price!important;align-self:center!important;margin:0!important}
  body.map-search-page .map-card-body.no-agency-logo>b{grid-column:1/-1!important}
  body.map-search-page .listing-price-reduced{grid-area:reduced!important;margin:3px 0 0!important}
  body.map-search-page .map-card-agency-logo{
    grid-area:agency!important;align-self:center!important;justify-self:end!important;
    width:100%!important;height:42px!important;max-width:118px!important;margin:0!important;
  }
  body.map-search-page .map-listing-preview h2{
    position:static!important;grid-area:title!important;align-self:start!important;
    width:100%!important;min-width:0!important;max-height:none!important;
    margin:0!important;padding:0!important;font-size:19px!important;line-height:1.25!important;
    overflow:visible!important;
  }
  body.map-search-page .map-card-body>small:first-of-type{
    position:static!important;z-index:auto!important;grid-area:zone!important;
    display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;
    min-height:0!important;height:auto!important;margin:0!important;padding:0!important;
    transform:none!important;color:#536474!important;
    font-size:15px!important;line-height:1.35!important;white-space:normal!important;
    overflow:visible!important;overflow-wrap:anywhere!important;
  }
  body.map-search-page .listing-preview-description{display:none!important}
  body.map-search-page .map-listing-icons{
    position:static!important;z-index:auto!important;grid-area:features!important;
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
    width:100%!important;min-width:0!important;height:22px!important;
    gap:4px!important;max-height:22px!important;margin:0!important;padding:0!important;
    transform:none!important;font-size:9.5px!important;line-height:1!important;overflow:hidden!important;
  }
  body.map-search-page .map-listing-icons span{
    display:flex!important;flex:1 1 0!important;align-items:center!important;min-width:0!important;min-height:22px!important;
    gap:2px!important;overflow:hidden!important;white-space:nowrap!important;
    font-size:9.5px!important;font-weight:600!important;line-height:1!important;
  }
  body.map-search-page .map-listing-icons span:nth-child(n+4){display:none!important}
  body.map-search-page .map-listing-icons .property-line-icon{
    width:14px!important;height:14px!important;flex:0 0 14px!important;
  }
  body.map-search-page .map-card-actions.listing-preview-actions{
    grid-area:actions!important;position:static!important;margin:1px 0 0!important;
  }
}

@media(max-width:390px){
  body.map-search-page .map-card-body{padding:9px 11px 11px!important;row-gap:8px!important}
  body.map-search-page .map-card-agency-logo{height:39px!important;max-width:108px!important}
  body.map-search-page .map-card-body>small:first-of-type{font-size:14px!important;padding-bottom:0!important}
  body.map-search-page .map-listing-icons{height:21px!important;max-height:21px!important;gap:3px!important;font-size:9px!important}
  body.map-search-page .map-listing-icons span{min-height:21px!important;gap:2px!important;font-size:9px!important}
  body.map-search-page .map-listing-icons .property-line-icon{
    width:13px!important;height:13px!important;flex-basis:13px!important;
  }
}

/* CCU_MOBILE_COMANDI_TUTTE_OPERAZIONI_V1_START */
/* Vale per Compra, Affitti e Aste dentro mappa-ricerca.php. */
@media (max-width: 767px) {
  body.map-search-page .mobile-property-toolbar {
    gap: 7px !important;
    padding-top: 3px !important;
    padding-bottom: 8px !important;
  }

  body.map-search-page .mobile-location-chip {
    min-height: 48px !important;
    height: 48px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.map-search-page .mobile-location-brand {
    width: 31px !important;
    height: 31px !important;
  }

  body.map-search-page .mobile-location-brand svg {
    width: 29px !important;
    height: 29px !important;
  }

  body.map-search-page .mobile-location-chip > b {
    font-size: 17px !important;
    line-height: 1 !important;
  }

  body.map-search-page .mobile-property-actions button,
  body.map-search-page .mobile-property-actions a {
    min-height: 47px !important;
    height: 47px !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  body.map-search-page .mobile-property-actions svg {
    width: 21px !important;
    height: 21px !important;
  }

  body.map-search-page .mobile-property-actions a span {
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.08 !important;
  }

  body.map-search-page .mobile-property-actions button:last-child {
    grid-template-rows: 21px auto !important;
    gap: 0 !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }
}
/* CCU_MOBILE_COMANDI_TUTTE_OPERAZIONI_V1_END */

/* assets/ccu-desktop-general-search-v262.css */
/*
 * v262 - sola ricerca generale desktop.
 * Mobile, annunci singoli, finestre e altre pagine restano invariati.
 */
@media(min-width:801px){
  body.map-search-page{--ccu-search-header:64px;--ccu-filter-row:58px}

  /* Intestazione essenziale: logo, localita, accesso. */
  body.map-search-page>.portal-top>.container{display:flex!important;gap:15px!important}
  body.map-search-page>.portal-top .portal-brand{flex:0 0 auto!important}
  body.map-search-page>.portal-top nav{display:none!important}
  body.map-search-page>.portal-top .ccu-search-publish-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;box-sizing:border-box!important;margin-left:auto!important;padding:0 15px!important;border:1px solid #b9cad4!important;border-radius:8px!important;background:#fff!important;color:#08709c!important;font-size:11px!important;font-weight:900!important;text-transform:uppercase!important;text-decoration:none!important;white-space:nowrap!important}
  body.map-search-page>.portal-top .login-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;margin-left:3px!important;padding:0 6px!important;color:#17283a!important;font-size:12px!important;font-weight:900!important;white-space:nowrap!important}
  body.map-search-page>.portal-top .login-link .ccu-login-icon{display:block!important;width:18px!important;height:18px!important;margin-right:5px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
  body.map-search-page>.portal-top .mobile-main-menu{display:block!important;position:relative!important;margin:0 0 0 2px!important}
  body.map-search-page>.portal-top .mobile-main-menu>summary{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;box-sizing:border-box!important;padding:0!important;border:1px solid #b9cad4!important;border-radius:8px!important;background:#fff!important;color:#08709c!important;font-size:0!important;line-height:1!important;list-style:none!important;cursor:pointer!important}
  body.map-search-page>.portal-top .mobile-main-menu>summary:before{content:"☰";font-size:21px!important}
  body.map-search-page>.portal-top .mobile-main-menu>div{top:44px!important;right:0!important}
  body.map-search-page .ccu-desktop-search-shell{display:block!important;flex:1 1 auto;min-width:260px;max-width:620px;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
  body.map-search-page .ccu-desktop-history,
  body.map-search-page .ccu-desktop-filter-button,
  body.map-search-page .ccu-desktop-alert-button,
  body.map-search-page .ccu-desktop-map-button{display:none!important}
  body.map-search-page .ccu-desktop-search-toolbar{display:block!important;margin:0!important}
  body.map-search-page .ccu-desktop-location{height:42px!important;border:1px solid #b9cad4!important;border-radius:8px!important;background:#f7fafb!important}
  body.map-search-page .ccu-desktop-location input{height:40px!important;font-size:14px!important}

  /* Il vecchio pannello rapido generava la riga Solo con foto/Planimetria/etc. */
  body.map-search-page .ccu-search-upgrade,
  body.map-search-page .ccu-search-upgrade-in-filters{display:none!important}

  /* Unica fila filtri, come nel riferimento. */
  body.map-search-page>.map-filter-dropdowns{position:relative!important;z-index:1200!important;top:auto!important;left:auto!important;right:auto!important;display:flex!important;flex:0 0 var(--ccu-filter-row)!important;align-items:center!important;gap:7px!important;width:100%!important;height:var(--ccu-filter-row)!important;min-width:0!important;box-sizing:border-box!important;margin:0!important;padding:8px 10px!important;overflow-x:auto!important;overflow-y:visible!important;border:0!important;border-bottom:1px solid #d5dee3!important;background:#fff!important;box-shadow:0 2px 8px #172b4310!important;scrollbar-width:thin}
  body.map-search-page>.map-filter-dropdowns>*{display:block!important}
  body.map-search-page>.map-filter-dropdowns>input[type=hidden]{display:none!important}
  body.map-search-page>.map-filter-dropdowns .filter-dropdown{position:relative!important;flex:0 0 auto!important}
  body.map-search-page>.map-filter-dropdowns .filter-dropdown>summary,
  body.map-search-page>.map-filter-dropdowns .filter-save-search{display:flex!important;align-items:center!important;justify-content:center!important;height:40px!important;box-sizing:border-box!important;padding:0 11px!important;border:1px solid #bdcbd3!important;border-radius:8px!important;background:#fff!important;color:#153249!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important;text-decoration:none!important}
  body.map-search-page>.map-filter-dropdowns .filter-dropdown>summary:after{content:"⌄"!important;margin-left:6px!important;color:#087caf!important}
  body.map-search-page>.map-filter-dropdowns .filter-dropdown[open]>summary{border-color:#087caf!important;background:#edf7fb!important;color:#075f87!important}
  body.map-search-page>.map-filter-dropdowns .filter-save-search{border-color:#d70018!important;background:#d70018!important;color:#fff!important}
  body.map-search-page>.map-filter-dropdowns .filter-popover{top:125px!important;max-height:calc(100vh - 145px)!important}

  /* Disegna sulla mappa rimane un solo comando, in basso sulla mappa. */
  body.map-search-page>.map-filter-dropdowns>.map-zone-dropdown{position:fixed!important;z-index:1250!important;right:17%!important;bottom:14px!important;transform:translateX(50%)!important}
  body.map-search-page>.map-filter-dropdowns>.map-zone-dropdown>summary{height:38px!important;border-color:#c2ced5!important;background:#fff!important;box-shadow:0 4px 14px #10263830!important}
  body.map-search-page>.map-filter-dropdowns>.map-zone-dropdown[open]>.filter-popover{position:fixed!important;top:auto!important;right:18px!important;bottom:62px!important;left:auto!important;width:390px!important;transform:none!important}

  /* Risultati a sinistra e mappa a destra. */
  body.map-search-page>.map-layout{grid-template-columns:minmax(520px,41%) minmax(500px,59%)!important}
  body.map-search-page .map-pane{grid-template-rows:minmax(0,1fr)!important}
  body.map-search-page .ccu-map-load-note{display:none!important}
  body.map-search-page .map-side-head.ccug-province-head{display:flex!important;align-items:flex-end!important;gap:12px!important;padding:10px 12px 11px!important;background:#fff!important}
  body.map-search-page .desktop-results-title{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:baseline!important;gap:5px 6px!important;min-width:0!important;min-height:0!important}
  body.map-search-page .desktop-results-title>small{position:static!important;grid-column:1/-1!important;width:auto!important;height:auto!important;margin:0!important;overflow:visible!important;clip:auto!important;color:#08709c!important;font-size:10px!important;line-height:1.25!important;white-space:normal!important}
  body.map-search-page .desktop-results-title>h1{position:static!important;grid-column:2!important;grid-row:2!important;width:auto!important;height:auto!important;max-width:100%!important;margin:0!important;overflow:hidden!important;clip:auto!important;color:#17283a!important;font-size:14px!important;line-height:1.25!important;white-space:nowrap!important;text-overflow:ellipsis!important}
  body.map-search-page .desktop-results-title .map-count{grid-column:1!important;grid-row:2!important;display:flex!important;gap:4px!important;margin:0!important;color:#17283a!important;font-size:14px!important;line-height:1.25!important;white-space:nowrap!important}
  body.map-search-page .desktop-results-title .map-count b{font-size:14px!important}
  body.map-search-page .ccug-search-actions{display:block!important;margin-left:auto!important}
  body.map-search-page .ccug-province-links,
  body.map-search-page .ccu-territory-jump{display:none!important}
  body.map-search-page .ccug-search-actions>.map-sort-form{display:block!important;width:168px!important}
  body.map-search-page .map-sort-form select{height:40px!important;font-size:12px!important}

  /* Schede compatte e leggibili, senza altri blocchi sopra l'elenco. */
  body.map-search-page .map-cards{gap:12px!important;padding:10px 12px 76px!important}
  body.map-search-page .map-cards article{grid-template-columns:minmax(190px,37%) minmax(0,1fr)!important;min-height:220px!important}
  body.map-search-page .map-cards article>img,
  body.map-search-page .map-cards article>.map-no-photo{min-height:220px!important}
  body.map-search-page .map-card-body{padding:15px 16px!important}

  /* L'avviso fisso non deve coprire le schede: resta un comando basso e compatto. */
  body.map-search-page .save-map-search{left:12px!important;right:12px!important;bottom:8px!important;min-height:36px!important;margin:0!important;padding:8px 12px!important;border-radius:8px!important;font-size:12px!important;line-height:1.2!important}

  /* Finestra Salva ricerca centrata, caricata subito dal tasto rosso. */
  body.map-search-page .save-search-modal{z-index:7000!important;padding:18px!important}
  body.map-search-page .save-search-backdrop{background:#101820a8!important}
  body.map-search-page .save-search-dialog{width:min(390px,calc(100vw - 36px))!important;height:min(650px,calc(100vh - 36px))!important;border-radius:0!important;background:#f4f6f8!important;box-shadow:0 24px 70px #0007!important}
  body.map-search-page .save-search-dialog>header{height:58px!important;padding:0 18px!important}
  body.map-search-page .save-search-dialog>header h2{font-size:17px!important}
  body.map-search-page .save-search-dialog iframe{height:calc(100% - 58px)!important}
}

/* CCU_TASTI_COMPUTER_20260919: altezza naturale, solo vendita/affitto desktop. */
@media (min-width: 801px) {
  body.map-search-page .map-cards article.map-listing-preview[data-property-operation="vendita"],
  body.map-search-page .map-cards article.map-listing-preview[data-property-operation="affitto"] {
    height: auto !important;
    max-height: none !important;
  }
}

