/* Concept 44: planimetria cliccabile (vedi planimetria.js) */
.fp{margin:28px 0 12px}
.fp-plan{background:#fff;border:1px solid rgba(61,84,73,.16);padding:10px}
.fp-svg{display:block;width:100%;height:auto}
.fp-port{display:none}
.fp-wall{fill:#3D5449}
.fp-other{fill:#d9ddd8}
.fp-yard{stroke:#c9cfc9;stroke-width:2}
.fp-note{font-size:19px;font-style:italic;fill:#7f8a84}
.fp-room{cursor:pointer;outline:none}
.fp-room polygon{transition:fill .25s ease}
.fp-room text{fill:#243e37;font-weight:600;pointer-events:none;transition:fill .25s ease}
.fp-room .fp-area{font-weight:400;fill:#3D5449cc}
.fp-bi polygon{fill:#F6E1D8}
.fp-tri polygon{fill:#F7EBC6}
.fp-comune polygon{fill:#E4E9E3}
.fp-bi:hover polygon,.fp-bi:focus-visible polygon{fill:#EBC2B1}
.fp-tri:hover polygon,.fp-tri:focus-visible polygon{fill:#EED79A}
.fp-comune:hover polygon,.fp-comune:focus-visible polygon{fill:#cfd8cf}
.fp-bi.is-active polygon{fill:#B9714F}
.fp-tri.is-active polygon{fill:#C9A13B}
.fp-comune.is-active polygon{fill:#7C9C90}
.fp-room.is-active text,.fp-room.is-active .fp-area{fill:#fff}
.fp-room:focus-visible polygon{stroke:#7A2E3B;stroke-width:4}
.fp-legend{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;margin:10px 0 0;font-size:13px;color:#3D5449cc}
.fp-legend span{display:inline-flex;align-items:center;gap:7px}
.fp-legend i{width:14px;height:14px;display:inline-block;border-radius:2px}
.fp-legend .bi i{background:#B9714F}.fp-legend .tri i{background:#C9A13B}
.fp-viewer{margin-top:18px;scroll-margin-top:120px}
.fp-photo{position:relative;aspect-ratio:3/2;background:#e9ebe7;overflow:hidden}
.fp-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transition:opacity .3s ease}
.fp-photo img.is-loading{opacity:.35}
.fp-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}
.fp-title{margin:0;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;font-size:15px}
.fp-title strong{font-size:19px;font-weight:600;color:var(--brand-deep,#3D5449)}
.fp-unit{font-size:10px;letter-spacing:.17em;font-weight:700;text-transform:uppercase;padding:3px 8px;color:#fff}
.fp-unit-bi{background:#B9714F}.fp-unit-tri{background:#A88324}.fp-unit-comune{background:#7C9C90}
.fp-m2{color:#3D5449b3;font-size:14px}
.fp-nav{display:flex;align-items:center;gap:8px}
.fp-nav button{font:inherit;font-size:18px;line-height:1;width:40px;height:40px;border:1px solid rgba(61,84,73,.3);background:transparent;color:var(--brand-deep,#3D5449);cursor:pointer}
.fp-nav button:hover{border-color:#7A2E3B}
.fp-count{font-size:13px;min-width:44px;text-align:center;color:#3D5449b3}
.fp-thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto;scrollbar-width:thin;padding-bottom:4px}
.fp-thumb{flex:0 0 auto;width:92px;aspect-ratio:3/2;padding:0;border:2px solid transparent;background:#e9ebe7;cursor:pointer;opacity:.7}
.fp-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.fp-thumb[aria-current="true"]{border-color:#7A2E3B;opacity:1}
.fp figcaption{font-size:14px;margin-top:10px;color:#3D5449cc}
@media (max-width:680px){
  .fp-land{display:none}
  .fp-port{display:block;max-width:420px;margin:0 auto}
  .fp-plan{padding:6px}
  .fp-thumb{width:76px}
}
