
.zslp-wrap{
  display:grid !important;
  grid-template-columns:380px minmax(0,1fr) !important;
  width:100%;
  min-height:420px;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 25px rgba(0,0,0,.12);
  background:#fff;
}
.zslp-wrap.mode-map{display:block !important}
.zslp-sidebar{
  background:#123646;
  color:#fff;
  padding:24px;
  border-right:1px solid rgba(255,255,255,.08);
  overflow:auto;
}

.zslp-wrap.zslp-scrollbar-hidden .zslp-sidebar{
  -ms-overflow-style:none;
  scrollbar-width:none;
}
.zslp-wrap.zslp-scrollbar-hidden .zslp-sidebar::-webkit-scrollbar{
  width:0;
  height:0;
  display:none;
}

.zslp-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:16px;
}
.zslp-head h3{
  margin:0;
  color:#fff;
  font-size:24px;
  font-weight:700;
  line-height:1.2;
}
.zslp-results-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:#c41f2e;
}
.zslp-search{margin-bottom:18px}
.zslp-search-input{
  width:100%;
  height:42px;
  border:1px solid #bfc7ce;
  background:#fff;
  color:#333;
  border-radius:6px;
  padding:0 16px;
  font-size:14px;
  outline:none;
}
.zslp-search-input:focus{
  border-color:#123646;
  box-shadow:0 0 0 3px rgba(18,54,70,.12);
}
.zslp-list{display:grid;gap:16px}
.zslp-card{
  padding:22px;
  border:1px solid rgba(255,255,255,.04);
  border-radius:14px;
  background:#2f5c73;
  box-shadow:none;
}
.zslp-card h4{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.25;
  color:#fff;
  font-weight:700;
}
.zslp-subtitle,.zslp-address,.zslp-status{
  font-size:14px;
  line-height:1.5;
  color:#d8e6ee;
}
.zslp-status{
  margin-top:6px;
  color:#c41f2e;
  font-weight:600;
}
.zslp-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.zslp-btn,
.zslp-btn:link,
.zslp-btn:visited{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:92px;
  min-height:42px;
  padding:0 16px;
  border-radius:10px;
  border:1px solid #111;
  background:#111;
  color:#fff;
  font-size:14px;
  font-weight:600;
  line-height:1 !important;
  text-decoration:none !important;
  opacity:1;
  visibility:visible;
  white-space:nowrap;
  -webkit-text-fill-color:currentColor;
  transition:transform .25s ease, filter .25s ease, box-shadow .25s ease;
}
.zslp-btn span{
  display:inline-block;
  color:inherit !important;
  -webkit-text-fill-color:currentColor;
}
.zslp-btn:hover,
.zslp-btn:focus{
  color:#fff;
  text-decoration:none !important;
  transform:translateY(-1px);
  filter:brightness(1.05);
}
.zslp-card a.zslp-btn{font-family:inherit !important}
.zslp-map-area,.zslp-map{
  width:100%;
  height:100%;
  position:relative !important;
  top:auto !important;
}
.zslp-empty{
  padding:18px;
  border:1px dashed rgba(255,255,255,.15);
  border-radius:8px;
  color:#d8e6ee;
  font-size:14px;
}
.leaflet-container{z-index:1 !important}
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{
  background:rgba(17,17,17,.12) !important;
}
.marker-cluster div{
  background:#c41f2e !important;
  color:#fff;
  font-weight:700;
}
.zslp-card.is-active{
  outline:2px solid rgba(255,255,255,.14);
  outline-offset:0;
}
.elementor-editor-active .zslp-wrap{
  display:grid !important;
  grid-template-columns:380px minmax(0,1fr) !important;
  min-height:420px !important;
}
.elementor-editor-active .zslp-sidebar{overflow:visible}
.elementor-editor-active .zslp-card{position:relative}
.elementor-editor-active .zslp-map-area,
.elementor-editor-active .zslp-map{
  min-height:420px !important;
}
@media (max-width:900px){
  .zslp-wrap{
    grid-template-columns:1fr !important;
    min-height:auto;
    height:auto !important;
  }
  .zslp-sidebar{
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .zslp-map-area{height:420px}
}








/* Ghost buttons inherit main button styling */
.zslp-btn.ghost,
.zslp-btn.ghost:link,
.zslp-btn.ghost:visited,
.zslp-btn.ghost:hover,
.zslp-btn.ghost:focus{
  background: inherit;
  color: inherit;
  border-color: inherit;
  -webkit-text-fill-color: currentColor;
}
.zslp-btn.ghost span,
.zslp-btn.ghost:hover span,
.zslp-btn.ghost:focus span{
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

.zslp-btn-whatsapp{
  gap:8px;
}
.zslp-btn-whatsapp .zslp-btn-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:999px;
  color:#25D366;
  background:transparent;
  flex:0 0 auto;
  transition:color .25s ease, background-color .25s ease;
}
.zslp-btn-whatsapp .zslp-btn-icon svg{
  width:18px;
  height:18px;
  display:block;
  fill:currentColor;
}

/* Map marker popup action buttons - also used in map-only mode */
.zslp-leaflet-popup .leaflet-popup-content-wrapper{
  border-radius:16px;
  padding:0;
  box-shadow:0 18px 45px rgba(0,0,0,.18);
  overflow:hidden;
}
.zslp-leaflet-popup .leaflet-popup-content{
  margin:0;
  min-width:260px;
}
.zslp-popup{
  padding:16px;
  font-family:var(--zslp-font-family, inherit);
  color:var(--zslp-panel-text, #111111);
  background:#ffffff;
}
.zslp-popup h4{
  margin:0 0 7px;
  font-size:15px;
  line-height:1.25;
  font-weight:700;
  color:#111827;
}
.zslp-popup .sub{
  margin:0 0 6px;
  font-size:13px;
  line-height:1.4;
  font-weight:600;
  color:#374151;
}
.zslp-popup .addr{
  margin:0 0 10px;
  font-size:13px;
  line-height:1.45;
  color:#4b5563;
}
.zslp-popup .stat{
  margin:0 0 12px;
  font-size:12px;
  line-height:1.35;
  font-weight:700;
  color:var(--zslp-accent, #111111);
}
.zslp-popup-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.zslp-popup .zslp-btn,
.zslp-popup .zslp-btn:link,
.zslp-popup .zslp-btn:visited{
  min-width:auto;
  min-height:34px;
  padding:8px 12px;
  font-size:12px;
}
.zslp-popup .zslp-btn-whatsapp{
  gap:6px;
}
.zslp-popup .zslp-btn-whatsapp .zslp-btn-icon{
  width:20px;
  height:20px;
}
.zslp-popup .zslp-btn-whatsapp .zslp-btn-icon svg{
  width:15px;
  height:15px;
}

/* v7.1.7 - Cleaner map-only popup layout */
.zslp-leaflet-popup.leaflet-popup{
  margin-bottom:18px;
}
.zslp-leaflet-popup .leaflet-popup-content-wrapper{
  width:100%;
  max-width:292px;
  border-radius:18px;
  padding:0 !important;
  background:#ffffff;
  box-shadow:0 20px 50px rgba(15,23,42,.18);
  overflow:hidden;
}
.zslp-leaflet-popup .leaflet-popup-content{
  width:260px !important;
  max-width:calc(100vw - 76px) !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box;
}
.zslp-leaflet-popup .leaflet-popup-tip{
  background:#ffffff;
  box-shadow:0 8px 18px rgba(15,23,42,.12);
}
.zslp-leaflet-popup .leaflet-popup-close-button{
  top:10px !important;
  right:10px !important;
  width:26px !important;
  height:26px !important;
  line-height:24px !important;
  padding:0 !important;
  border-radius:999px;
  color:#6b7280 !important;
  background:#f3f4f6;
  font-size:18px !important;
  font-weight:400 !important;
  text-align:center !important;
  transition:background .2s ease,color .2s ease;
}
.zslp-leaflet-popup .leaflet-popup-close-button:hover{
  background:#e5e7eb;
  color:#111827 !important;
}
.zslp-popup{
  width:100%;
  max-width:100%;
  padding:18px 16px 16px;
  box-sizing:border-box;
  overflow:hidden;
  font-family:var(--zslp-font-family, inherit);
  color:#111827;
  background:#ffffff;
}
.zslp-popup h4{
  max-width:calc(100% - 34px);
  margin:0 0 8px;
  font-size:15px;
  line-height:1.25;
  font-weight:800;
  color:#111827;
  overflow-wrap:anywhere;
}
.zslp-popup .sub,
.zslp-popup .addr,
.zslp-popup .stat{
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
}
.zslp-popup .sub{
  margin:0 0 7px;
  font-size:13px;
  line-height:1.4;
  font-weight:600;
  color:#374151;
}
.zslp-popup .addr{
  margin:0 0 14px;
  font-size:13px;
  line-height:1.42;
  color:#374151;
}
.zslp-popup .stat{
  margin:0 0 12px;
  font-size:12px;
  line-height:1.35;
  font-weight:700;
  color:var(--zslp-accent, #111111);
}
.zslp-popup-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}
.zslp-popup .zslp-btn,
.zslp-popup .zslp-btn:link,
.zslp-popup .zslp-btn:visited{
  width:100%;
  min-width:0 !important;
  min-height:36px !important;
  padding:0 10px !important;
  border-radius:10px !important;
  box-sizing:border-box;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1 !important;
  white-space:nowrap;
  text-align:center;
}
.zslp-popup .zslp-btn span:last-child,
.zslp-popup .zslp-btn > span:only-child{
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
}
.zslp-popup .zslp-btn-whatsapp{
  gap:5px;
}
.zslp-popup .zslp-btn-whatsapp .zslp-btn-icon{
  width:18px;
  height:18px;
  min-width:18px;
}
.zslp-popup .zslp-btn-whatsapp .zslp-btn-icon svg{
  width:14px;
  height:14px;
}
.zslp-popup-actions .zslp-popup-btn:only-child,
.zslp-popup-actions .zslp-popup-btn:nth-last-child(1):nth-child(odd){
  grid-column:1 / -1;
}
@media (max-width:480px){
  .zslp-leaflet-popup .leaflet-popup-content{
    width:238px !important;
    max-width:calc(100vw - 68px) !important;
  }
  .zslp-popup{
    padding:16px 14px 14px;
  }
  .zslp-popup-actions{
    gap:7px;
  }
  .zslp-popup .zslp-btn,
  .zslp-popup .zslp-btn:link,
  .zslp-popup .zslp-btn:visited{
    min-height:34px !important;
    padding:0 8px !important;
    font-size:11px !important;
  }
}

/* v7.2.4 - Editable popup and Elementor CSS filters */
.zslp-map .leaflet-tile-pane{
  transition:filter .25s ease;
}
.zslp-leaflet-popup .leaflet-popup-content-wrapper{
  background:var(--zslp-popup-bg, #ffffff) !important;
}
.zslp-leaflet-popup .leaflet-popup-tip{
  background:var(--zslp-popup-bg, #ffffff) !important;
}
.zslp-leaflet-popup .leaflet-popup-close-button{
  background:var(--zslp-popup-close-bg, #f3f4f6) !important;
  color:var(--zslp-popup-close-color, #6b7280) !important;
}
.zslp-leaflet-popup .leaflet-popup-close-button:hover{
  filter:brightness(.95);
  color:var(--zslp-popup-close-color, #6b7280) !important;
}
.zslp-popup{
  background:var(--zslp-popup-bg, #ffffff) !important;
  color:var(--zslp-popup-text, #111827) !important;
}
.zslp-popup h4{
  color:var(--zslp-popup-text, #111827) !important;
}
.zslp-popup .sub,
.zslp-popup .addr{
  color:var(--zslp-popup-muted, #374151) !important;
}
.zslp-popup .stat{
  color:var(--zslp-popup-status, var(--zslp-accent, #111111)) !important;
}
.zslp-popup .zslp-btn,
.zslp-popup .zslp-btn:link,
.zslp-popup .zslp-btn:visited{
  background:var(--zslp-popup-button-bg, var(--zslp-btn-bg, #111111)) !important;
  border-color:var(--zslp-popup-button-border, var(--zslp-popup-button-bg, #111111)) !important;
  color:var(--zslp-popup-button-text, var(--zslp-btn-text, #ffffff)) !important;
  -webkit-text-fill-color:var(--zslp-popup-button-text, var(--zslp-btn-text, #ffffff)) !important;
}
.zslp-popup .zslp-btn span{
  color:var(--zslp-popup-button-text, var(--zslp-btn-text, #ffffff)) !important;
  -webkit-text-fill-color:var(--zslp-popup-button-text, var(--zslp-btn-text, #ffffff)) !important;
}
.zslp-popup .zslp-btn:hover,
.zslp-popup .zslp-btn:focus{
  filter:brightness(1.08);
}


/* v7.2.4 - Elementor editor visibility fix */
.zslp-map-area{
  min-width:0 !important;
  min-height:320px;
}
.zslp-map{
  display:block !important;
  min-height:320px;
  background:#e5e7eb;
}
.zslp-wrap.mode-map{
  display:block !important;
  grid-template-columns:1fr !important;
}
.zslp-wrap.mode-map .zslp-map-area,
.zslp-wrap.mode-map .zslp-map{
  width:100% !important;
  height:100% !important;
  min-height:inherit !important;
}
body.elementor-editor-active .zslp-wrap.mode-map,
body.elementor-editor-preview .zslp-wrap.mode-map,
.elementor-editor-active .zslp-wrap.mode-map,
.elementor-editor-preview .zslp-wrap.mode-map{
  display:block !important;
  grid-template-columns:1fr !important;
  width:100% !important;
}
body.elementor-editor-active .zslp-wrap.mode-map .zslp-map-area,
body.elementor-editor-active .zslp-wrap.mode-map .zslp-map,
body.elementor-editor-preview .zslp-wrap.mode-map .zslp-map-area,
body.elementor-editor-preview .zslp-wrap.mode-map .zslp-map,
.elementor-editor-active .zslp-wrap.mode-map .zslp-map-area,
.elementor-editor-active .zslp-wrap.mode-map .zslp-map,
.elementor-editor-preview .zslp-wrap.mode-map .zslp-map-area,
.elementor-editor-preview .zslp-wrap.mode-map .zslp-map{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:420px !important;
}
body.elementor-editor-active .zslp-wrap:not(.mode-map),
body.elementor-editor-preview .zslp-wrap:not(.mode-map),
.elementor-editor-active .zslp-wrap:not(.mode-map),
.elementor-editor-preview .zslp-wrap:not(.mode-map){
  display:grid !important;
  grid-template-columns:380px minmax(0,1fr) !important;
}
body.elementor-editor-active .zslp-wrap:not(.mode-map) .zslp-map-area,
body.elementor-editor-active .zslp-wrap:not(.mode-map) .zslp-map,
body.elementor-editor-preview .zslp-wrap:not(.mode-map) .zslp-map-area,
body.elementor-editor-preview .zslp-wrap:not(.mode-map) .zslp-map{
  min-height:420px !important;
}
.elementor-editor-active .zslp-wrap .leaflet-container,
.elementor-editor-preview .zslp-wrap .leaflet-container{
  width:100% !important;
  height:100% !important;
  min-height:420px !important;
}


/* v7.2.5 - Live mobile Leaflet height + overflow fix
   Elementor preview was showing correctly, but on real mobile the map-only wrapper
   could inherit height:auto and collapse to a thin bar. Keep map-only maps as a
   real fixed-height block on mobile, and keep full layouts stacked cleanly. */
.zslp-wrap,
.zslp-wrap *,
.zslp-map-area,
.zslp-map,
.zslp-map .leaflet-container{
  box-sizing:border-box;
}
.zslp-wrap{
  max-width:100% !important;
  min-width:0 !important;
}
.zslp-map-area,
.zslp-map{
  min-width:0 !important;
  overflow:hidden !important;
}
.zslp-map .leaflet-container,
.zslp-map.leaflet-container{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  display:block !important;
}

@media (max-width:900px){
  .zslp-wrap{
    width:100% !important;
    max-width:100% !important;
    grid-template-columns:1fr !important;
  }

  .zslp-wrap:not(.mode-map){
    height:auto !important;
    min-height:0 !important;
  }

  .zslp-wrap:not(.mode-map) .zslp-map-area,
  .zslp-wrap:not(.mode-map) .zslp-map{
    width:100% !important;
    height:420px !important;
    min-height:420px !important;
    display:block !important;
  }

  .zslp-wrap.mode-map{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:420px !important;
    min-height:420px !important;
    overflow:hidden !important;
  }

  .zslp-wrap.mode-map .zslp-map-area,
  .zslp-wrap.mode-map .zslp-map,
  .zslp-wrap.mode-map .leaflet-container{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:100% !important;
    min-height:420px !important;
    overflow:hidden !important;
  }

  .zslp-wrap .leaflet-pane,
  .zslp-wrap .leaflet-map-pane,
  .zslp-wrap .leaflet-tile-pane,
  .zslp-wrap .leaflet-overlay-pane,
  .zslp-wrap .leaflet-marker-pane,
  .zslp-wrap .leaflet-shadow-pane{
    max-width:none !important;
  }
}

@media (max-width:480px){
  .zslp-wrap:not(.mode-map) .zslp-map-area,
  .zslp-wrap:not(.mode-map) .zslp-map{
    height:390px !important;
    min-height:390px !important;
  }

  .zslp-wrap.mode-map{
    height:390px !important;
    min-height:390px !important;
  }

  .zslp-wrap.mode-map .zslp-map-area,
  .zslp-wrap.mode-map .zslp-map,
  .zslp-wrap.mode-map .leaflet-container{
    height:100% !important;
    min-height:390px !important;
  }
}
