    :root{ --header-h:56px; }
    *{ box-sizing:border-box }
    body { font-family: Arial, sans-serif; margin:0; }
    header{
      height:var(--header-h); display:flex; align-items:center; justify-content:space-between;
      padding:0 14px; border-bottom:1px solid #eee;
    }
    header h2{ margin:0; font-size:1.05rem }
    header a{ text-decoration:none; color:#0a7; font-weight:600 }
    #map { height: calc(100vh - var(--header-h)); width: 100%; }
    .form-popup {
      background: #fff; padding: 10px; border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,.2);
    }
    .form-popup label { display:block; margin:6px 0 4px; font-size:.9rem }
    .form-popup input, .form-popup textarea {
      width: 100%; margin-bottom: 6px; padding:8px; border:1px solid #ddd; border-radius:6px;
    }
    .form-popup button { padding:10px 12px; border:0; border-radius:8px; background:#16a34a; color:#fff; font-weight:600; cursor:pointer }
    .leaflet-popup-content { width: 360px !important; max-width: 100% }
    .leaflet-popup-content iframe { width: 100%; height: 220px }
    img.leaflet-marker-icon.leaflet-zoom-animated.leaflet-interactive { width: auto !important; }
    .leaflet-attribution-flag { display:none; opacity:0; }
    /* Locate button */
    #locateMe {
      position: absolute; z-index: 999; right: 52px; top: 0;
      padding: 10px; border-radius: 8px; border: 1px solid #ddd; background: #fff; cursor: pointer;
      box-shadow: 0 2px 8px rgba(0,0,0,.1);
    }
	/* paieška */
/* ----- Controls common ----- */
.map-controls {
  position: absolute;
  z-index: 1000;
  right: 12px;
  top: var(--header-h); /* BUVO: calc(var(--header-h, 56px) + 12px); */
  display: flex;
  align-items: center;
  gap: 8px;
}
nav {
    width: 60%;
    display: inline-flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-end;
}
nav a {margin-right:10px;display:inline-block;padding:7px;}
/* Bendras mygtuko stilius */
.ctrl-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  font: 600 14px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.ctrl-btn .icon{ font-size: 18px; line-height: 1 }
.ctrl-btn .text{ white-space: nowrap }

/* Paieškos panelė */
.search-panel{
  position: absolute;
  right: 0;
  top: 48px; /* žemiau mygtukų */
  width: 320px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
  padding: 8px;
}

/* Paieškos eilutė */
.search-row{
  display: flex;
  gap: 6px;
}
#searchInput{
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
}
.go-btn{
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* Pasiūlymų dropdown */
.suggestions{
  margin-top: 8px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 8px;
}
.suggestions.hidden{ display: none; }
.sugg-item{
  padding: 8px 10px;
  border-bottom: 1px solid #f3f3f3;
  cursor: pointer;
}
.sugg-item:last-child{ border-bottom: 0; }
.sugg-item:hover, .sugg-item.active{ background: #f5faff; }
.sugg-title{ font-weight: 600; font-size: 0.95rem; }
.sugg-sub{ color: #666; font-size: 0.85rem; }

/* ----- Mobile responsyvus elgesys ----- */

  /* mygtukai – tik ikonėlės */
  .ctrl-btn .text{ display: none; }
  .ctrl-btn{ padding: 10px; border-radius: 12px; }

  /* paieškos panelė – slankiojanti nuo dešinės */
  .search-panel{
    top: 0;
    right: 105px;
    width: min(92vw, 360px);
    height: auto;
    transform: translateX(140%);
    transition: transform .25s ease;
    /* pritvirtinam prie viršaus šalia mygtukų */
    position: fixed;
    margin-top: calc(var(--header-h, 56px) + 8px);
  }
  .search-panel.open{ transform: translateX(0); }

  /* summoner mygtukų eilė – statinė viršuje dešinėje */
  .map-controls{ right: 12px; top: calc(var(--header-h,56px) + 12px); }

  /* suggestions max aukštis */
  .suggestions{ max-height: 50vh; }

  /* mažesnis šešėlis */
  .search-panel{ box-shadow: 0 10px 20px rgba(0,0,0,.18); }


/* Geresnis kontrastas ant žemėlapio */
.leaflet-control-container{ z-index: 500; }
    /* kalbų juosta */
    .lang-bar{
      z-index:1000; left:12px;
      top:calc(var(--header-h,56px) + 12px);
      display:flex; gap:8px; flex-wrap:wrap;
      background:#0b1220cc; border:1px solid #233046; border-radius:12px;
      padding:6px 8px; box-shadow:0 2px 12px rgba(0,0,0,.15);
    }
    .lang-btn{
      display:inline-flex; align-items:center; gap:6px;
      padding:6px 10px; border-radius:999px; border:1px solid #233046;
      background:#0b1220; color:#e2e8f0; cursor:pointer; font-weight:700; font-size:.9rem;
      transition:transform .2s ease, border-color .2s ease, background .2s ease;
      user-select:none;
    }
    .lang-btn:hover{ transform:scale(1.05); border-color:#94a3b8; }
    .lang-btn.active{ background:#155e37; border-color:#16a34a; color:#ecfdf5; }
    @media (max-width:768px){
		nav {
       width: auto;
		}
      .lang-bar{ left:12px; right:auto; top:calc(var(--header-h,56px) + 66px); }
      .lang-btn{ padding:6px 9px; font-size:.85rem; }
    }
/* Judėjimo mažinimas jei reikia */
@media (prefers-reduced-motion: reduce){
  .search-panel{ transition: none; }
}

/* paieška */