/* IMOSIUM — Carte interactive résidences : Google Maps Embed iframe + couches HTML (pas d'API) */
/* v3 LUXURY sur base sombre : hairline dorée, cascade d'entrée, pins lumineux, popup overlapping */
.residences-map.imo-map-wrap{position:relative;background:linear-gradient(180deg,#111615,#0c100f);border-radius:20px;overflow:visible;border:1px solid rgba(255,255,255,.09);box-shadow:0 40px 80px -32px rgba(0,0,0,.6),0 0 0 1px rgba(212,175,55,.06),0 18px 50px -30px rgba(122,187,69,.18)}
.residences-map.imo-map-wrap::before{content:'';position:absolute;top:-1px;left:32px;right:32px;height:1px;background:linear-gradient(90deg,transparent,rgba(212,175,55,.7),rgba(122,187,69,.7),transparent);border-radius:1px;pointer-events:none}
.residences-map-layout.imo-map-layout{display:grid;grid-template-columns:29% 71%;gap:0;align-items:stretch;overflow:hidden;border-radius:0 0 20px 20px}
/* EN-TÊTE DE CARTE : titre + filtres */
.imo-map-head{display:flex;align-items:center;justify-content:flex-start;gap:22px;flex-wrap:wrap;padding:15px 20px;border-bottom:1px solid rgba(212,175,55,.14)}
.imo-map-empty{margin:0;padding:26px 20px;color:rgba(255,255,255,.62);font-size:14px;line-height:1.55}
/* LISTE GAUCHE sombre premium + scrollbar fine */
.residences-list.imo-map-list{background:linear-gradient(180deg,#151b19,#101413);border:0;border-right:1px solid rgba(212,175,55,.14);border-radius:0;padding:.8rem;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(122,187,69,.55) transparent}
.residences-list.imo-map-list::-webkit-scrollbar{width:6px}
.residences-list.imo-map-list::-webkit-scrollbar-track{background:transparent}
.residences-list.imo-map-list::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#7CBA45,#d4af37);border-radius:6px}
.residences-list .residence-item.imo-map-item{position:relative;width:100%;display:flex;align-items:center;gap:.75rem;padding:.85rem .75rem;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));color:#fff;text-align:left;cursor:pointer;transition:background .25s,border-color .25s,transform .25s,box-shadow .25s;margin-bottom:.6rem;animation:imo-item-in .55s cubic-bezier(.22,1,.36,1) backwards}
.residences-list .residence-item.imo-map-item:nth-child(1){animation-delay:.03s}
.residences-list .residence-item.imo-map-item:nth-child(2){animation-delay:.09s}
.residences-list .residence-item.imo-map-item:nth-child(3){animation-delay:.15s}
.residences-list .residence-item.imo-map-item:nth-child(4){animation-delay:.21s}
.residences-list .residence-item.imo-map-item:nth-child(5){animation-delay:.27s}
.residences-list .residence-item.imo-map-item:nth-child(6){animation-delay:.33s}
.residences-list .residence-item.imo-map-item:nth-child(7){animation-delay:.39s}
.residences-list .residence-item.imo-map-item:nth-child(8){animation-delay:.45s}
.residences-list .residence-item.imo-map-item:nth-child(n+9){animation-delay:.5s}
@keyframes imo-item-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.residences-list .residence-item:hover{background:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,.05));border-color:rgba(212,175,55,.45);transform:translateX(3px);box-shadow:0 12px 26px -16px rgba(0,0,0,.6),0 0 18px -8px rgba(212,175,55,.35)}
.residences-list .residence-item.is-active{background:#fff;color:#141918;border-color:#fff;box-shadow:0 14px 30px -14px rgba(0,0,0,.5),0 0 24px -10px rgba(122,187,69,.5)}
.residences-list .residence-item.is-active::after{content:'';position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:3px;background:linear-gradient(180deg,#7CBA45,#d4af37)}
.residences-list .residence-item.is-active .imo-map-txt small{color:#6b7280}
.residences-list .residence-item img{width:44px;height:44px;object-fit:cover;border-radius:50%;flex:0 0 auto;border:2px solid rgba(212,175,55,.4)}
.residences-list .residence-item:hover img{border-color:rgba(212,175,55,.75)}
.residences-list .residence-item.is-active img{border-color:rgba(20,25,24,.14)}
.imo-map-dot{width:52px;height:52px;border-radius:50%;background:#7ABB45;color:#fff;display:grid;place-items:center;flex:0 0 auto;border:3px solid #fff;overflow:hidden;box-shadow:0 0 0 6px rgba(0,0,0,.08),0 6px 16px rgba(0,0,0,.28)}
.imo-map-dot img{width:26px;height:26px;object-fit:contain;display:block}
.residence-item[data-group='Terminés'] .imo-map-dot{background:#22c55e}
.residence-item[data-group='Livrés'] .imo-map-dot{background:#22c55e}
.residence-item[data-group='En cours'] .imo-map-dot{background:#f59e0b}
.residence-item[data-group='Futurs'] .imo-map-dot{background:#ef4444}
.residence-item[data-group='À découvrir'] .imo-map-dot{background:#7ABB45}
.imo-map-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.imo-map-txt strong{display:block;font-size:13px;font-weight:700;letter-spacing:.015em;line-height:1.35;white-space:normal;overflow:visible;word-break:normal;overflow-wrap:anywhere}
.imo-map-txt small{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.6);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.residences-list .residence-item{flex-wrap:nowrap;align-items:center}
.residence-status-badge.imo-map-badge{flex:0 0 auto;align-self:center}
.residence-status-badge.imo-map-badge{font-size:9.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.38rem .62rem;border-radius:999px;white-space:nowrap;border:1px solid transparent}
.imo-map-badge[data-group-badge='Terminés']{background:#e5f6ec;color:#157a3a;border-color:rgba(21,122,58,.18)}
.imo-map-badge[data-group-badge='Livrés']{background:#e5f6ec;color:#157a3a;border-color:rgba(21,122,58,.18)}
.imo-map-badge[data-group-badge='En cours']{background:#fef3c7;color:#92400e;border-color:rgba(146,64,14,.18)}
.imo-map-badge[data-group-badge='Futurs']{background:#fdeaea;color:#b91c1c;border-color:rgba(185,28,28,.18)}
.imo-map-badge[data-group-badge='À découvrir']{background:#eef3ea;color:#3d5a2e}
.residences-list .residence-item.is-active .imo-map-badge{background:#141918;color:#fff}
/* DROITE : carte Google Maps Embed + voile cinéma */
.residences-map-container.google-map-wrap.imo-map{position:relative;width:100%;overflow:visible;background:#dfe6e0;border-radius:0}
.google-map-iframe.imo-map-bg-iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;filter:saturate(1.05) contrast(1.03);border-radius:0}
.map-overlay{position:absolute;inset:0;pointer-events:none;overflow:visible}
.map-overlay::before{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(10,14,13,.24),transparent 24%,transparent 68%,rgba(10,14,13,.28))}
.map-markers-layer.imo-map-pins{position:absolute;inset:0;pointer-events:none;overflow:visible}
.map-popup-layer.imo-map-pop{position:absolute;inset:0;z-index:50;pointer-events:none}
.map-popup-layer .imo-popup-card{pointer-events:auto;z-index:51}
.imo-map-count{position:absolute;z-index:6;top:14px;left:14px;display:inline-flex;align-items:center;gap:.55rem;background:rgba(12,17,16,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:#fff;font-size:10.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;padding:.6rem .95rem;border-radius:999px;border:1px solid rgba(212,175,55,.3);box-shadow:0 10px 24px rgba(0,0,0,.35),0 0 16px -8px rgba(212,175,55,.5);max-width:calc(100% - 28px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.imo-map-count-dot{width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,#7CBA45,#d4af37);box-shadow:0 0 0 6px rgba(212,175,55,.2);animation:imo-pulse-dot 1.6s ease-in-out infinite}
@keyframes imo-pulse-dot{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.15);opacity:.9}}
/* MARQUEURS HTML premium au-dessus de l'iframe */
.residence-marker.imo-pin{position:absolute;transform:translate(-50%,-100%);pointer-events:auto;background:none;border:0;padding:0;cursor:pointer;animation:imo-pin-in .55s cubic-bezier(.34,1.56,.64,1) backwards;filter:drop-shadow(0 10px 14px rgba(0,0,0,.4))}
@keyframes imo-pin-in{from{transform:translate(-50%,-100%) scale(0);opacity:0}to{transform:translate(-50%,-100%) scale(1);opacity:1}}
.marker-icon.imo-pin-inner{position:relative;display:flex;align-items:center;justify-content:center}
.imo-pin .ping{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;animation:imo-ping 1.9s cubic-bezier(0,0,.2,1) infinite}
.imo-pin .ping.d2{animation-delay:.45s}
@keyframes imo-ping{0%{transform:translate(-50%,-50%) scale(.55);opacity:.5}80%,100%{transform:translate(-50%,-50%) scale(1.45);opacity:0}}
.imo-pin .dot{position:relative;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 6px rgba(0,0,0,.08),0 0 0 7px rgba(212,175,55,.22),0 10px 22px rgba(0,0,0,.4);transition:transform .22s,box-shadow .22s}
.residence-marker.is-active .dot{transform:scale(1.16);box-shadow:0 0 0 7px rgba(212,175,55,.45),0 0 26px -4px rgba(212,175,55,.6),0 14px 30px rgba(0,0,0,.45)}
.residence-marker:hover .dot{transform:scale(1.1);box-shadow:0 0 0 7px rgba(255,255,255,.22),0 0 24px -4px rgba(122,187,69,.55),0 12px 26px rgba(0,0,0,.4)}
.imo-pin img{width:26px;height:26px;object-fit:contain;display:block;pointer-events:none}
.imo-pin-tip{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%) translateY(4px);background:#101413;color:#fff;font-size:11px;font-weight:600;letter-spacing:.04em;padding:7px 12px;border-radius:9px;border:1px solid rgba(212,175,55,.4);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;box-shadow:0 10px 22px rgba(0,0,0,.4)}
.imo-pin:hover .imo-pin-tip,.imo-pin:focus-visible .imo-pin-tip{opacity:1;transform:translateX(-50%) translateY(0)}
/* POPUP luxury — carte chevauchante sur l'image */
.map-popup-layer .imo-popup-card{position:absolute;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 34px 70px -24px rgba(0,0,0,.55),0 0 30px -12px rgba(212,175,55,.35);border:1px solid rgba(212,175,55,.25);animation:imo-pop .32s cubic-bezier(.22,1,.36,1);width:272px;max-width:272px;min-height:380px;display:flex;flex-direction:column}
.imo-popup-right{right:14px;top:14px;left:auto;transform:none;max-height:none;overflow:visible}
@keyframes imo-pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.imo-popup-card img{width:100%;height:200px;object-fit:cover;display:block;flex:0 0 auto}
.imo-popup-body{flex:1;display:flex;flex-direction:column;justify-content:space-between}
.imo-popup-body{position:relative;margin-top:-26px;background:#fff;border-radius:18px 18px 0 0;padding:1rem 1rem 1rem;box-shadow:0 -14px 26px -20px rgba(0,0,0,.45)}
.imo-popup-body strong{display:block;font-size:16.5px;line-height:1.25;color:#141918;font-weight:800;letter-spacing:.01em}
.imo-popup-meta{display:flex;flex-direction:column;gap:.28rem;margin-top:.45rem;color:#6b7280;font-size:12.5px}
.imo-popup-meta span{display:inline-flex;align-items:center;gap:.4rem}
.imo-popup-meta i{color:#7ABB45;font-size:11px;width:12px;text-align:center}
.imo-popup-actions{display:flex;flex-direction:column;gap:.6rem;margin-top:auto;padding-top:.9rem}
.imo-popup-actions a{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.85rem .6rem;border-radius:12px;text-decoration:none;transition:transform .2s,background .2s,box-shadow .2s}
.imo-popup-actions a:first-child{background:linear-gradient(135deg,#161d1c,#232d2a);color:#fff;border:1px solid rgba(212,175,55,.4)}
.imo-popup-actions a:first-child:hover{background:linear-gradient(135deg,#1e2624,#2c3835);transform:translateY(-1px);box-shadow:0 10px 22px -12px rgba(212,175,55,.5)}
.imo-popup-actions a:last-child{background:#f7f9f3;color:#141918;border:1.5px solid #7ABB45;box-shadow:0 2px 8px rgba(122,187,69,.12)}
.imo-popup-actions a:last-child:hover{background:#eef5e6;transform:translateY(-1px)}
.imo-popup-actions a:last-child i{color:#7ABB45;font-size:12px}
.imo-popup-close{position:absolute;top:.6rem;right:.6rem;width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.5);background:rgba(16,20,19,.6);backdrop-filter:blur(6px);color:#fff;font-size:16px;line-height:1;cursor:pointer;display:grid;place-items:center;z-index:2;transition:background .2s,transform .2s}
.imo-popup-close:hover{background:rgba(212,175,55,.85);color:#141918;transform:rotate(90deg)}
.imo-map-pop[hidden]{display:none}
/* FILTRES (si statuts multiples) */
.imo-map-filters{display:inline-flex;gap:6px;flex-wrap:wrap;margin:0;padding:5px;background:rgba(255,255,255,.07);border:1px solid rgba(212,175,55,.32);border-radius:999px;backdrop-filter:blur(6px)}
.imo-map-filters button{border:0;background:transparent;color:rgba(255,255,255,.82);border-radius:999px;padding:.52rem 1.05rem;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;transition:all .22s}
.imo-map-filters button.active{background:linear-gradient(135deg,#7CBA45,#a5c94f);color:#101413;box-shadow:0 4px 14px rgba(122,187,69,.4)}
.imo-map-filters button:hover:not(.active){background:rgba(212,175,55,.14);color:#fff}
/* RESPONSIVE premium */
@media(max-width:1024px){.residences-map-layout.imo-map-layout{grid-template-columns:32% 68%}}
@media(max-width:860px){
  .imo-map-head{padding:13px 14px;gap:10px}
  .imo-map-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;flex:1 1 100%;max-width:100%;margin:0;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:999px}
  .imo-map-filters::-webkit-scrollbar{display:none}
  .imo-map-filters button{flex:0 0 auto;white-space:nowrap}
  .residences-map-layout.imo-map-layout{display:flex;flex-direction:column;border-radius:0 0 20px 20px}
  .residences-map-container.google-map-wrap.imo-map{order:2;height:380px!important;min-height:380px;border-radius:0}
  .google-map-iframe.imo-map-bg-iframe{border-radius:0}
  .residences-list.imo-map-list{order:1;max-height:280px!important;display:flex;gap:.6rem;overflow-x:auto;overflow-y:hidden;padding:.7rem;scroll-snap-type:x mandatory;border-right:0;border-top:0;border-bottom:1px solid rgba(212,175,55,.14);border-radius:0}
  .residences-list .residence-item.imo-map-item{flex:0 0 min(300px,78%);display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto;grid-template-areas:"dot txt" "dot badge";align-items:center;align-content:center;column-gap:.7rem;row-gap:.4rem;scroll-snap-align:start;margin-bottom:0;padding:.75rem;animation:none}
  .residences-list .residence-item img,
  .residences-list .residence-item .imo-map-dot{grid-area:dot;align-self:center;justify-self:center;margin:0}
  .residences-list .residence-item .imo-map-txt{grid-area:txt;align-self:center;min-width:0}
  .residences-list .residence-item .imo-map-txt strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal;word-break:normal}
  .residences-list .residence-item .residence-status-badge.imo-map-badge{grid-area:badge;justify-self:start;align-self:center;font-size:9.5px!important;padding:.3rem .55rem!important;letter-spacing:.05em!important}
  .residences-list .residence-item.is-active::after{left:12px;right:12px;top:auto;bottom:0;width:auto;height:3px}
  .residences-list .imo-map-dot{width:44px;height:44px;border-width:2px}
  .residences-list .imo-map-dot img{width:22px;height:22px}
  .residence-status-badge.imo-map-badge{font-size:8px;padding:.32rem .5rem;letter-spacing:.06em}
  .imo-map-count{font-size:9.5px;padding:.48rem .7rem}
  .imo-popup-right{left:50%;top:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:90%;max-width:320px;max-height:82vh;overflow:auto;-webkit-overflow-scrolling:touch}
  .map-popup-layer .imo-popup-card{width:100%;max-width:100%;min-height:auto;max-height:none;overflow:visible}
  .imo-popup-card img{height:150px}
  .imo-popup-body{margin-top:-22px}
  .imo-popup-actions{flex-direction:column}
}
@media(max-width:430px){
  .residences-map.imo-map-wrap{border-radius:14px}
  .residences-map-layout.imo-map-layout{border-radius:0 0 14px 14px}
  .residences-list.imo-map-list{border-radius:0;padding:.55rem}
  .residences-map-container.google-map-wrap.imo-map{border-radius:0}
  .google-map-iframe.imo-map-bg-iframe{border-radius:0}
  .residences-list .residence-item.imo-map-item{flex-basis:86%}
  .imo-popup-card img{height:132px}
  .imo-popup-actions{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
  .imo-pin,.imo-pin .ping,.imo-map-count-dot,.map-popup-layer .imo-popup-card,.residences-list .residence-item.imo-map-item{animation:none!important}
  .residence-item{transition:none!important}
}

@media(max-width:860px){@keyframes imo-pop-mobile{from{opacity:0;transform:translate(-50%,-50%) scale(.96)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}.map-popup-layer .imo-popup-card{animation:imo-pop-mobile .32s cubic-bezier(.22,1,.36,1)}}

/* Leaflet integration */
.imo-map-panel{position:absolute;top:14px;right:14px;z-index:60;width:290px;max-width:calc(100% - 28px);pointer-events:auto}
.imo-map-panel[hidden]{display:none}
.imo-map-panel .imo-popup-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 34px 70px -24px rgba(0,0,0,.55),0 0 30px -12px rgba(212,175,55,.35);border:1px solid rgba(212,175,55,.25);animation:imo-pop .32s cubic-bezier(.22,1,.36,1);display:flex;flex-direction:column}
.imo-map-panel .imo-popup-card img{width:100%;height:200px;object-fit:cover;display:block;flex:0 0 auto}
.imo-map-panel .imo-popup-body{flex:1;display:flex;flex-direction:column;justify-content:space-between;position:relative;margin-top:-26px;background:#fff;border-radius:18px 18px 0 0;padding:1rem;box-shadow:0 -14px 26px -20px rgba(0,0,0,.45)}
.imo-map-panel .imo-popup-body strong{display:block;font-size:16.5px;line-height:1.25;color:#141918;font-weight:800;letter-spacing:.01em}
.imo-map-panel .imo-popup-meta{display:flex;flex-direction:column;gap:.28rem;margin-top:.45rem;color:#6b7280;font-size:12.5px}
.imo-map-panel .imo-popup-meta span{display:inline-flex;align-items:center;gap:.4rem}
.imo-map-panel .imo-popup-meta i{color:#7ABB45;font-size:11px;width:12px;text-align:center}
.imo-map-panel .imo-popup-actions{display:flex;flex-direction:column;gap:.6rem;margin-top:auto;padding-top:.9rem}
.imo-map-panel .imo-popup-actions a,.imo-map-panel .imo-popup-actions .imo-popup-soon{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.85rem .6rem;border-radius:12px;text-decoration:none;transition:transform .2s,background .2s,box-shadow .2s}
.imo-map-panel .imo-popup-actions a:first-child{background:linear-gradient(135deg,#161d1c,#232d2a);color:#fff;border:1px solid rgba(212,175,55,.4)}
.imo-map-panel .imo-popup-actions a:first-child:hover{background:linear-gradient(135deg,#1e2624,#2c3835);transform:translateY(-1px);box-shadow:0 10px 22px -12px rgba(212,175,55,.5)}
.imo-map-panel .imo-popup-actions a:last-child{background:#f7f9f3;color:#141918;border:1.5px solid #7ABB45;box-shadow:0 2px 8px rgba(122,187,69,.12)}
.imo-map-panel .imo-popup-actions a:last-child:hover{background:#eef5e6;transform:translateY(-1px)}
.imo-map-panel .imo-popup-actions a:last-child i{color:#7ABB45;font-size:12px}
.imo-map-panel .imo-popup-close{position:absolute;top:.6rem;right:.6rem;width:30px;height:30px;border-radius:50%;border:1px solid rgba(255,255,255,.5);background:rgba(16,20,19,.6);backdrop-filter:blur(6px);color:#fff;font-size:16px;line-height:1;cursor:pointer;display:grid;place-items:center;z-index:2;transition:background .2s,transform .2s}
.imo-map-panel .imo-popup-close:hover{background:rgba(212,175,55,.85);color:#141918;transform:rotate(90deg)}
@media(max-width:860px){
  .imo-map-panel{left:50%;top:50%;right:auto;transform:translate(-50%,-50%);width:90%;max-width:320px;max-height:82vh;overflow:auto;-webkit-overflow-scrolling:touch}
  .imo-map-panel .imo-popup-card img{height:150px}
  .imo-map-panel .imo-popup-body{margin-top:-22px}
  .imo-map-panel .imo-popup-actions{flex-direction:column}
}
@media(max-width:430px){
  .imo-map-panel .imo-popup-card img{height:132px}
}
.imo-leaflet-map{border-radius:0;overflow:hidden}
.imo-leaflet-map .leaflet-control-zoom{border-radius:10px;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.25);border:1px solid rgba(212,175,55,.3)}
.imo-leaflet-map .leaflet-control-zoom a{background:#101413;color:#fff;border-color:rgba(212,175,55,.3);width:30px;height:30px;line-height:30px;font-size:16px}
.imo-leaflet-map .leaflet-control-zoom a:hover{background:#7CBA45;color:#101413}
.imo-leaflet-map .leaflet-control-attribution{background:rgba(12,17,16,.7);color:rgba(255,255,255,.5);font-size:9px;border-radius:6px 0 0 0}
.imo-leaflet-map .leaflet-control-attribution a{color:rgba(212,175,55,.7)}
.imo-leaflet-popup .leaflet-popup-content-wrapper{border-radius:20px;padding:0;overflow:hidden;box-shadow:0 34px 70px -24px rgba(0,0,0,.55),0 0 30px -12px rgba(212,175,55,.35);border:1px solid rgba(212,175,55,.25)}
.imo-leaflet-popup .leaflet-popup-content{margin:0;width:272px !important}
.imo-leaflet-popup .leaflet-popup-tip{background:#fff}
.imo-leaflet-popup .leaflet-popup-close-button{top:.6rem;right:.6rem;width:30px;height:30px;border-radius:50%;background:rgba(16,20,19,.6);color:#fff;font-size:18px;line-height:30px;text-align:center;backdrop-filter:blur(6px);text-decoration:none}
.imo-leaflet-popup .imo-popup-card{background:#fff;border-radius:20px;overflow:hidden;display:flex;flex-direction:column}
.imo-leaflet-popup .imo-popup-card img{width:100%;height:200px;object-fit:cover;display:block;flex:0 0 auto}
.imo-leaflet-popup .imo-popup-body{flex:1;display:flex;flex-direction:column;justify-content:space-between;position:relative;margin-top:-26px;background:#fff;border-radius:18px 18px 0 0;padding:1rem;box-shadow:0 -14px 26px -20px rgba(0,0,0,.45)}
.imo-leaflet-popup .imo-popup-body strong{display:block;font-size:16.5px;line-height:1.25;color:#141918;font-weight:800;letter-spacing:.01em}
.imo-leaflet-popup .imo-popup-meta{display:flex;flex-direction:column;gap:.28rem;margin-top:.45rem;color:#6b7280;font-size:12.5px}
.imo-leaflet-popup .imo-popup-meta span{display:inline-flex;align-items:center;gap:.4rem}
.imo-leaflet-popup .imo-popup-meta i{color:#7ABB45;font-size:11px;width:12px;text-align:center}
.imo-leaflet-popup .imo-popup-actions{display:flex;flex-direction:column;gap:.6rem;margin-top:auto;padding-top:.9rem}
.imo-leaflet-popup .imo-popup-actions a,.imo-leaflet-popup .imo-popup-actions .imo-popup-soon{width:100%;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;font-size:11.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.85rem .6rem;border-radius:12px;text-decoration:none;transition:transform .2s,background .2s,box-shadow .2s}
.imo-leaflet-popup .imo-popup-actions a:first-child{background:linear-gradient(135deg,#161d1c,#232d2a);color:#fff;border:1px solid rgba(212,175,55,.4)}
.imo-leaflet-popup .imo-popup-actions a:first-child:hover{background:linear-gradient(135deg,#1e2624,#2c3835);transform:translateY(-1px);box-shadow:0 10px 22px -12px rgba(212,175,55,.5)}
.imo-leaflet-popup .imo-popup-actions a:last-child{background:#f7f9f3;color:#141918;border:1.5px solid #7ABB45;box-shadow:0 2px 8px rgba(122,187,69,.12)}
.imo-leaflet-popup .imo-popup-actions a:last-child:hover{background:#eef5e6;transform:translateY(-1px)}
.imo-leaflet-popup .imo-popup-actions a:last-child i{color:#7ABB45;font-size:12px}
@media(max-width:860px){
  .imo-leaflet-popup .leaflet-popup-content{width:90vw !important;max-width:320px}
  .imo-leaflet-popup .imo-popup-card img{height:150px}
  .imo-leaflet-popup .imo-popup-body{margin-top:-22px}
  .imo-leaflet-popup .imo-popup-actions{flex-direction:column}
}
@media(max-width:430px){
  .imo-leaflet-popup .imo-popup-card img{height:132px}
}