/* Annunci Getrix: filtri, schede e galleria */
.lst-filters{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;gap:14px 16px;margin:clamp(26px,4vw,40px) auto 0;padding:18px;background:#fff;border:1px solid #E4E1DC;max-width:1100px}
.lst-filters[hidden],.lst-filters [hidden]{display:none}
.lst-filters fieldset{display:flex;margin:0;padding:0;border:0}
.lst-filters legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.lst-seg input{position:absolute;opacity:0;pointer-events:none}
.lst-seg label{display:flex;align-items:center;min-height:48px;padding:0 18px;border:1.5px solid #0B3B6F;margin-left:-1.5px;color:#0B3B6F;font-size:16px;font-weight:600;cursor:pointer;background:#fff}
.lst-seg label:first-of-type{margin-left:0}
.lst-seg input:checked+label{background:#0B3B6F;color:#fff}
.lst-seg input:focus-visible+label{outline:3px solid #CE0E2D;outline-offset:2px}
.lst-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#5C6470}
.lst-field select{min-height:48px;min-width:150px;padding:0 12px;border:1.5px solid #CFCBC4;background:#fff;color:#15181C;font:inherit;font-size:16px;letter-spacing:0;text-transform:none;border-radius:0}
.lst-field select:disabled{opacity:.55}
.lst-count{margin:22px 0 0;text-align:center;font-size:16px;color:#5C6470;min-height:1.4em}
#listings-grid{margin-top:18px}
#listings-grid[aria-busy="true"]{min-height:320px;background:linear-gradient(90deg,#f3f1ee 25%,#ebe8e3 50%,#f3f1ee 75%) 0 0/200% 100%;animation:lst-wait 1.4s linear infinite}
@keyframes lst-wait{to{background-position:-200% 0}}
.lst-card .z59{overflow:hidden}
.lst-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lst-badge{position:absolute;top:12px;right:12px;background:#CE0E2D;color:#fff;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:8px 10px;pointer-events:none}
.lst-badge.closed{background:#15181C}
.lst-card .z60{box-sizing:border-box;max-width:calc(100% - 120px);align-items:flex-start;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.lst-card .z61{flex-shrink:0;margin-top:2px}
.lst-card .z63{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
a.z68{color:#fff;text-decoration:none}
.lst-empty{margin:clamp(26px,4vw,40px) auto 0;max-width:620px;text-align:center;background:#fff;border:1px solid #E4E1DC;border-top:3px solid #0B3B6F;padding:clamp(22px,3vw,32px)}
.lst-empty[hidden]{display:none}
.lst-empty p{margin:0 0 18px;font-size:19px;color:#2C333C}
.lst-empty .cta-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.lst-empty button{min-height:52px;padding:0 20px;border:1.5px solid #0B3B6F;background:#fff;color:#0B3B6F;font:inherit;font-weight:600;cursor:pointer}
.home-listings[hidden]{display:none}
/* Galleria nella scheda */
.lst-gallery{position:absolute;inset:0}
.lst-gallery[hidden],.lst-nophoto[hidden],.lst-thumbs[hidden],.lst-nav-row[hidden],.lst-links[hidden]{display:none}
.lst-gallery[aria-busy="true"]::after{content:'Caricamento foto…';position:absolute;top:12px;left:12px;padding:8px 12px;background:rgba(21,24,28,.8);color:#fff;font-size:13px;pointer-events:none}
#property-photo{width:100%;height:100%;object-fit:contain;background:#15181C}
.lst-nav-row{position:absolute;inset:auto 0 12px;display:flex;align-items:center;justify-content:center;gap:12px;pointer-events:none}
.lst-nav-row button{pointer-events:auto;width:48px;height:48px;display:flex;align-items:center;justify-content:center;border:0;background:rgba(251,250,249,.94);color:#0B3B6F;font-size:22px;cursor:pointer}
.lst-nav-row button:hover{background:#fff}
#property-counter{pointer-events:none;background:rgba(21,24,28,.75);color:#fff;font-size:14px;font-weight:600;padding:8px 12px;min-width:68px;text-align:center}
.lst-thumbs{display:flex;gap:8px;overflow-x:auto;padding:10px clamp(14px,3vw,24px);background:#fff;border-bottom:1px solid #E4E1DC;scrollbar-width:thin}
.lst-thumbs button{flex:0 0 auto;width:84px;height:63px;padding:0;border:2px solid transparent;background:#EFEDE9;cursor:pointer;opacity:.75}
.lst-thumbs button[aria-current="true"]{border-color:#CE0E2D;opacity:1}
.lst-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.lst-status{margin-top:8px;text-align:center;font-size:15px;color:#5C6470}
#property-dialog .z115{text-align:left;white-space:pre-line}
.lst-links{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 26px;margin-top:22px;font-size:17px}
@media(min-width:961px){
  .lst-filters{display:grid;grid-template-columns:auto repeat(4,minmax(0,1fr))}
  .lst-filters[hidden]{display:none}
  .lst-field select{width:100%;min-width:0}
}
@media(max-width:700px){
  .lst-filters{display:grid;grid-template-columns:1fr 1fr;padding:14px;gap:12px 10px}
  .lst-filters[hidden]{display:none}
  .lst-filters fieldset{grid-column:1/-1}
  .lst-seg label{flex:1;justify-content:center;padding:0 8px}
  .lst-field{font-size:12px;letter-spacing:.06em}
  .lst-field select{width:100%;min-width:0;padding:0 8px;font-size:15px}
  .lst-thumbs button{width:68px;height:51px}
}
@media(prefers-reduced-motion:reduce){#listings-grid[aria-busy="true"]{animation:none}}
.home-listings .z26{justify-content:center}
.lst-card .z63,#property-title,#property-dialog .z115,.lst-status{overflow-wrap:anywhere}
