.webery-sl{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  background:#f5f5f5;
}
.webery-sl__map{
  height:var(--webery-desktop-height);
  min-height:380px;
  z-index:1;
}
.webery-sl__toggle{
  position:absolute;
  left:16px;
  bottom:16px;
  z-index:720;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:10px 18px;
  background:#111827;
  color:#fff;
  border:0;
  border-radius:999px;
  font:inherit;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
.webery-sl__sidebar{
  position:absolute;
  top:16px;
  left:16px;
  bottom:16px;
  width:min(var(--webery-sidebar-width), calc(100% - 32px));
  display:flex;
  flex-direction:column;
  background:rgba(255,255,255,.98);
  backdrop-filter:blur(8px);
  border-radius:18px;
  z-index:710;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
  overflow:hidden;
}
.webery-sl__sidebar[hidden]{
  display:none !important;
}
.webery-sl__sidebar-header{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  background:rgba(255,255,255,.98);
  border-bottom:1px solid #e5e7eb;
}
.webery-sl__sidebar-title{
  font-size:16px;
  font-weight:600;
}
.webery-sl__close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  background:#f3f4f6;
  border:0;
  border-radius:999px;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  position:relative;
  z-index:3;
  pointer-events:auto;
}
.webery-sl__list{
  flex:1 1 auto;
  min-height:0;
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:8px 0 calc(16px + env(safe-area-inset-bottom, 0px));
  scrollbar-width:thin;
}
.webery-sl__item{
  display:block;
  width:100%;
  padding:16px 18px;
  border:0;
  border-bottom:1px solid #e5e7eb;
  cursor:pointer;
  background:transparent;
  text-align:left;
}
.webery-sl__item:hover{
  background:#f9fafb;
}
.webery-sl__item:last-child{
  border-bottom:0;
}
.webery-sl__item h3{
  margin:0 0 6px;
  font-size:18px;
  line-height:1.3;
}
.webery-sl__item p{
  margin:0;
  color:#374151;
}
.webery-sl__empty{
  padding:16px 18px;
  color:#6b7280;
}
.webery-sl__popup h3{
  margin:0 0 6px;
  font-size:18px;
}
.webery-sl__popup p{
  margin:0 0 4px;
}
.webery-sl__cluster{
  background:transparent;
  border:0;
}
.webery-sl__cluster span{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:999px;
  color:#111827;
  font-weight:700;
  background:var(--webery-cluster-small);
  box-shadow:0 6px 16px rgba(0,0,0,.2);
}
.webery-sl__cluster--medium span{background:var(--webery-cluster-medium)}
.webery-sl__cluster--large span{background:var(--webery-cluster-large)}

@media (max-width: 1024px){
  .webery-sl__map{height:var(--webery-tablet-height)}
}

@media (max-width: 767px){
  .webery-sl__map{height:var(--webery-mobile-height)}
  .webery-sl__toggle{
    left:12px;
    bottom:12px;
  }
  .webery-sl__sidebar{
    top:auto;
    left:12px;
    right:12px;
    bottom:12px;
    width:auto;
    max-height:min(70%, 520px);
    border-radius:20px;
  }
  .webery-sl__sidebar-header{
    padding:12px 14px;
  }
  .webery-sl__item{
    padding:14px 16px;
  }
}
