.firstimmo-map{position:relative;isolation:isolate;background:#e6ede5;border:1px solid #d5dfd5;border-radius:22px;overflow:hidden;color:#173f35;font-family:inherit}.firstimmo-map-toolbar{position:relative;z-index:2;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:14px 16px;background:#f8f6f1}.firstimmo-map-count{font-size:13px;font-weight:600;line-height:1.5;max-width:100%}.firstimmo-map-search,.firstimmo-map-open{border:0;border-radius:30px;background:#173f35;color:#fff;min-height:44px;padding:10px 17px;font-family:inherit;font-weight:600;font-size:13px;line-height:1.4;cursor:pointer;box-shadow:0 3px 10px #173f3515}.firstimmo-map-search:disabled{opacity:.65;cursor:wait}.firstimmo-map-search:hover,.firstimmo-map-open:hover{background:#246554}.firstimmo-map button:focus-visible,.firstimmo-map a:focus-visible,.firstimmo-map .leaflet-marker-icon:focus-visible,.firstimmo-map-canvas:focus-visible{outline:3px solid #b7792d;outline-offset:3px}.firstimmo-map-canvas{height:clamp(360px,58vh,680px);width:100%;min-height:280px;z-index:1;background:#e2e9dc}.firstimmo-map-note{margin:0;padding:10px 16px;font-size:11px;line-height:1.5;background:#f8f6f1;color:#52675c}.firstimmo-map-status{position:relative;z-index:2;margin:0;padding:12px 16px;background:#fff1d2;color:#62461c;font-size:13px;line-height:1.5}.firstimmo-map-status[hidden],.firstimmo-map-note[hidden]{display:none}.firstimmo-map-pin{border:0!important;background:transparent!important;width:auto!important;height:auto!important}.firstimmo-map-price{display:block;position:absolute;inset-inline-start:0;top:0;transform:translate(-50%,-100%);white-space:nowrap;border:2px solid #fff;border-radius:22px;padding:8px 12px;background:#173f35;color:#fff;font:700 12px/1.2 system-ui,sans-serif;box-shadow:0 2px 10px #0003;min-height:36px;box-sizing:border-box;cursor:pointer}.firstimmo-map-price:after{content:"";position:absolute;bottom:-7px;left:calc(50% - 5px);border-top:6px solid #173f35;border-left:5px solid transparent;border-right:5px solid transparent}.firstimmo-map-pin:hover .firstimmo-map-price,.firstimmo-map-pin:focus .firstimmo-map-price{background:#b7792d}.firstimmo-map-popup{display:flex;flex-direction:column;gap:8px;font:14px/1.5 system-ui,sans-serif;color:#173f35;text-align:start}.firstimmo-map-popup strong{font-size:16px}.firstimmo-map-popup span{font-size:12px;color:#52675c}.firstimmo-map-open{margin-top:4px;width:100%;font-family:inherit}.firstimmo-map-issue{display:block;background:#fffE;color:#245a48!important;border-radius:6px;padding:5px 8px;font:10px/1.3 system-ui,sans-serif;max-width:180px;text-decoration:none!important}.firstimmo-map .leaflet-control-attribution{background:#fffffff0!important;color:#263f36!important;font-size:10px!important;max-width:100%;padding:3px 6px!important;white-space:normal}.firstimmo-map .leaflet-control-attribution a{color:#245a48!important}.firstimmo-map .leaflet-bar{border:1px solid #c1cec2!important;box-shadow:0 2px 10px #173f3518!important}.firstimmo-map .leaflet-bar a{width:42px;height:42px;line-height:42px;color:#173f35;border-color:#dce3d9;background:#fff;font-family:system-ui,sans-serif}.firstimmo-map .leaflet-popup-content{margin:18px 20px}.firstimmo-map .leaflet-popup-content-wrapper{border-radius:16px}.firstimmo-map .leaflet-popup-close-button{width:32px!important;height:32px!important;line-height:32px!important;font-size:24px!important;color:#173f35!important}.firstimmo-map[dir=rtl] .leaflet-control-attribution{direction:ltr}.firstimmo-map[dir=rtl] .firstimmo-map-price{inset-inline-start:auto;left:0}.firstimmo-map[dir=rtl] .firstimmo-map-count{font-size:15px}.firstimmo-map[dir=rtl] .firstimmo-map-popup{font-family:Tahoma,Arial,sans-serif}.property-mini-map .firstimmo-map-canvas{height:270px;min-height:240px}.property-mini-map .firstimmo-map-toolbar{padding:10px 14px}.property-mini-map .firstimmo-map-note{font-size:11px}@media(max-width:540px){.firstimmo-map{border-radius:16px}.firstimmo-map-toolbar{gap:8px;padding:12px}.firstimmo-map-count{font-size:12px}.firstimmo-map-search{width:100%}.firstimmo-map-canvas{height:56vh;min-height:350px}.firstimmo-map-issue{font-size:9px;max-width:130px}.firstimmo-map .leaflet-control-attribution{font-size:9px!important;max-width:205px}.firstimmo-map-price{font-size:11px;padding:8px 10px}.property-mini-map .firstimmo-map-canvas{min-height:240px}}
.firstimmo-map-draw-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:0 14px 8px;background:#f8f6f1}.firstimmo-map-draw-tools button{border:1px solid #b5c7bb;border-radius:24px;background:#fff;color:#173f35;font:600 12px/1.35 system-ui,sans-serif;min-height:44px;padding:8px 13px;cursor:pointer}.firstimmo-map-draw-tools button:hover:not(:disabled){background:#e2ecdf}.firstimmo-map-draw-tools button:disabled{opacity:.42;cursor:not-allowed}.firstimmo-map-draw-tools button[hidden]{display:none}.firstimmo-map-draw-tools .firstimmo-map-draw-apply{background:#173f35;color:white;border-color:#173f35}.firstimmo-map-draw-tools .firstimmo-map-draw-apply:hover:not(:disabled){background:#246554}.firstimmo-map-draw-tools .firstimmo-map-draw-clear{color:#8b4528}.firstimmo-map-draw-hint{margin:0;padding:0 16px 12px;background:#f8f6f1;color:#52675c;font:12px/1.5 system-ui,sans-serif}.firstimmo-map.is-drawing .firstimmo-map-pin{pointer-events:none}.firstimmo-map .leaflet-editing-icon{width:14px!important;height:14px!important;background:#fff;border:2px solid #b7792d;border-radius:50%;box-shadow:0 1px 6px #0003}.firstimmo-map .leaflet-touch-icon{width:20px!important;height:20px!important;border:3px solid #b7792d;background:#fff;border-radius:50%}.firstimmo-map .leaflet-draw-tooltip{border-radius:8px;padding:9px 12px;background:#173f35eF;color:white;font-size:12px;line-height:1.45;max-width:240px;white-space:normal}.firstimmo-map[dir=rtl] .firstimmo-map-draw-tools button,.firstimmo-map[dir=rtl] .firstimmo-map-draw-hint,.firstimmo-map[dir=rtl] .leaflet-draw-tooltip{font-family:Tahoma,Arial,sans-serif}.firstimmo-map[dir=rtl] .firstimmo-map-draw-tools button{font-size:14px}.firstimmo-map .leaflet-draw-tooltip-subtext{color:#dae8dd}.firstimmo-map .leaflet-error-draw-tooltip{background:#fff0e2;color:#842d18;border:1px solid #d2a282}@media(max-width:540px){.firstimmo-map-draw-tools{gap:6px;padding:0 12px 8px}.firstimmo-map-draw-tools button{padding:8px 10px;font-size:11px}.firstimmo-map-draw-tools .firstimmo-map-draw-apply{flex:1 1 100%}.firstimmo-map-draw-hint{font-size:11px}.firstimmo-map .leaflet-draw-tooltip{max-width:180px}}

.firstimmo-map .leaflet-draw-tooltip{width:max-content;max-width:min(260px,70vw);white-space:normal;line-height:1.5;}
