/* ==== Interactive Floor Plan — front-end viewer ==== */
.ifp-viewer{position:relative;width:100%;display:flex;justify-content:center;}
.ifp-viewer svg{max-width:100%;height:auto;}
.ifp-viewer .shape{transition:filter .15s,fill-opacity .15s;cursor:pointer;}
.ifp-viewer .shape.h-brighten:hover{filter:brightness(1.35);}
.ifp-viewer .shape.h-outline:hover{stroke:#fff;stroke-width:3;filter:drop-shadow(0 0 6px rgba(255,255,255,.6));}
.ifp-viewer .shape.h-lift:hover{fill-opacity:.9;}
.ifp-viewer .pin{cursor:pointer;}

.ifp-tt{position:fixed;z-index:99999;max-width:280px;border-radius:12px;overflow:hidden;
  box-shadow:0 12px 40px rgba(0,0,0,.4);opacity:0;pointer-events:none;transition:opacity .14s;transform:translateY(6px);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;}
.ifp-tt.show{opacity:1;transform:translateY(0);}
.ifp-tt .tt-img{width:100%;display:block;max-height:150px;object-fit:cover;}
.ifp-tt .tt-body{padding:13px 15px;}
.ifp-tt h4{margin:0 0 6px;font-size:15px;}
.ifp-tt p{margin:0;font-size:13px;line-height:1.5;opacity:.9;}
.ifp-tt .tt-btn{display:inline-block;margin-top:10px;color:#fff;text-decoration:none;padding:8px 14px;border-radius:8px;font-size:12px;font-weight:700;}
.ifp-tt iframe,.ifp-tt video{width:100%;border:none;display:block;}
.ifp-tt .status-tag{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;padding:2px 8px;border-radius:20px;margin-bottom:6px;}

.ifp-dp-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .25s;z-index:99998;}
.ifp-dp-overlay.show{opacity:1;pointer-events:auto;}
.ifp-dp{position:fixed;top:0;right:0;height:100%;width:min(880px,94vw);background:#fff;color:#333;display:flex;
  transform:translateX(100%);transition:transform .3s ease;z-index:99999;box-shadow:-10px 0 40px rgba(0,0,0,.35);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;}
.ifp-dp.show{transform:translateX(0);}
.ifp-dp .dp-left{flex:1.1;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fafafa;border-right:1px solid #eee;position:relative;}
.ifp-dp .dp-share{position:absolute;top:20px;left:20px;width:40px;height:40px;border-radius:50%;border:1px solid #e2e2e2;background:#fff;display:flex;align-items:center;justify-content:center;color:#888;}
.ifp-dp .dp-img{width:100%;max-width:480px;aspect-ratio:1/1;background:#efeeea;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.ifp-dp .dp-img img{width:100%;height:100%;object-fit:contain;}
.ifp-dp .dp-img .ph{color:#aaa;font-size:14px;text-align:center;line-height:1.6;}
.ifp-dp .dp-toggle{display:flex;gap:6px;margin-top:20px;background:#fff;border:1px solid #e6e6e6;border-radius:30px;padding:6px;}
.ifp-dp .dp-toggle button{border:none;background:none;padding:9px 20px;border-radius:24px;cursor:pointer;font-size:14px;color:#666;font-weight:700;}
.ifp-dp .dp-toggle button.active{background:#f2f2f2;color:#111;box-shadow:0 1px 3px rgba(0,0,0,.1);}
.ifp-dp .dp-right{flex:1;padding:38px 40px;display:flex;flex-direction:column;text-align:center;position:relative;}
.ifp-dp .dp-close{position:absolute;top:20px;right:20px;width:42px;height:42px;border-radius:50%;border:1px solid #e2e2e2;background:#fff;font-size:22px;color:#888;cursor:pointer;}
.ifp-dp .dp-name{font-size:30px;font-weight:800;margin:4px 0 8px;}
.ifp-dp .dp-type{color:#9a9a9a;letter-spacing:3px;font-size:13px;font-weight:700;}
.ifp-dp .dp-sub{font-size:20px;font-weight:700;margin:18px 0 12px;}
.ifp-dp .dp-desc{color:#9a9a9a;font-size:13px;line-height:1.7;text-transform:uppercase;letter-spacing:.5px;}
.ifp-dp .dp-status{display:inline-block;margin:16px auto 0;font-size:12px;font-weight:800;padding:7px 18px;border-radius:20px;text-transform:uppercase;letter-spacing:1px;}
.ifp-dp .dp-metrics{display:flex;justify-content:space-between;gap:6px;margin:26px 0;}
.ifp-dp .dp-metrics .m{flex:1;}
.ifp-dp .dp-metrics .m .v{font-size:24px;font-weight:800;}
.ifp-dp .dp-metrics .m .l{font-size:11px;color:#9a9a9a;letter-spacing:1px;margin-top:4px;}
.ifp-dp .dp-price{color:#fff;font-size:32px;font-weight:800;padding:16px;border-radius:10px;margin-top:auto;}
.ifp-dp .dp-perm{color:#9a9a9a;font-size:15px;margin:12px 0 18px;}
.ifp-dp .dp-cta{color:#fff;border:none;border-radius:12px;padding:18px;font-size:17px;font-weight:700;cursor:pointer;}
.ifp-dp .dp-cta.sold{background:#c0392b!important;cursor:default;}

@keyframes ifpFade{from{opacity:0}to{opacity:1}}
@keyframes ifpPop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}
.ifp-viewer svg.anim-fade .shape,.ifp-viewer svg.anim-fade .pin{animation:ifpFade .5s ease both;}
.ifp-viewer svg.anim-stagger .shape,.ifp-viewer svg.anim-stagger .pin{animation:ifpFade .45s ease both;}
.ifp-viewer svg.anim-pop .pin{animation:ifpPop .4s cubic-bezier(.2,1.4,.5,1) both;transform-box:fill-box;transform-origin:center;}

@media(max-width:760px){.ifp-dp{flex-direction:column;overflow:auto;}}
