.block-interactive-map{
  max-width: 1400px;
  margin: auto;
  padding: 50px 15px;
}

.inter-map .map-inner {
  width: 100%;
  height: 520px;
}
.toggle .active {
  font-family: 'k-b', sans-serif;
}

.inter-map .map-section {
  display: flex;
  height: 500px; /* amekkora kell */
  position: relative;
}

.inter-map .shops {
  flex: 0 0 240px;   /* lista szélesség */
  overflow-y: auto;
  border-right: 1px solid #ccc;
  background-color: #6060600d;
}

.inter-map .map {
  flex: 1 1 auto;
}

.inter-map .map-inner {
  width: 100%;
  height: 100%;
}

.inter-map .predajna {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,.12);
  text-decoration: none;
}

.inter-map .predajna > span {
  display: block;       /* ettől lesz 2 sor */
  line-height: 1.35;
  white-space: normal;
}

.inter-map .predajna .shop {
  font-family: 'k-b', sans-serif;
}

.inter-map .predajna .city {
  opacity: .85;
  font-size: .95em;
}
/* Popup (modal) – csak a térképes popupot stílusozza */
.map-popup{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.map-popup .popup-bg{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(2px);
}

.map-popup .popup-content{
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 10px;
  padding: 22px 22px 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

/* Close gomb */
.map-popup .popup-close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  border-radius: 8px;
}
.map-popup .popup-close:hover{ background: rgba(0,0,0,.06); }
.map-popup .popup-close::before,
.map-popup .popup-close::after{
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 50%;
  height: 2px;
  background: rgba(0,0,0,.65);
  transform-origin: center;
}
.map-popup .popup-close::before{ transform: translateY(-50%) rotate(45deg); }
.map-popup .popup-close::after{ transform: translateY(-50%) rotate(-45deg); }

/* Tartalom tipó */
.map-popup .content{ font-size: 14px; line-height: 1.45; }
.map-popup .title{
  margin: 0 42px 14px 0;
  padding: 0 0 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.12);
  font-family: 'k-b', sans-serif;
  font-size: 18px;
}

.map-popup h4,
.map-popup .field__label{
  margin: 14px 0 8px;
  font-family: 'k-b', sans-serif;
  font-size: 14px;
}

/* "Predajca pre" lista */
.map-popup .field__items{ margin: 0; padding-left: 18px; }
.map-popup .field__item{
  display: list-item;
  margin: 3px 0;
}
.map-popup .field__item a{
  text-decoration: none;
}
.map-popup .field__item a:hover{
  text-decoration: underline;
}

/* Kontakt sorok */
.map-popup .icon{
  position: relative;
  padding-left: 22px;
  margin: 6px 0;
}
.map-popup .icon a{ text-decoration: none; }
.map-popup .icon a:hover{ text-decoration: underline; }

/* Ha van FontAwesome-od, ezekkel megjelennek az ikonok (ha nincs, nem baj) */
.map-popup .icon::before{
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  text-align: center;
}
.map-popup .icon.p::before{ content: "\f095"; }
.map-popup .icon.e::before{ content: "\f0e0"; }
.map-popup .icon.w::before{ content: "\f0ac"; }
.map-popup .icon.a::before{ content: "\f015"; }

/* Mobil finomítás */
@media (max-width: 520px){
  .map-popup .popup-content{ padding: 18px 16px 14px; }
  .map-popup .title{ font-size: 16px; }
}

.map-popup .field--name-field-predajca-pre a{
  pointer-events: none;
  cursor: default;
  color: inherit;
  text-decoration: none;
}

/* Desktop alap: egymás mellett, toggle nincs */
.inter-map .toggle { display: none; }

.inter-map .map-section {
  display: flex;
  height: 500px;
}

.inter-map .shops {
  flex: 0 0 240px;
  overflow-y: auto;
  border-right: 1px solid rgba(0,0,0,.12);
  display: block;
}

.inter-map .map { flex: 1 1 auto; }
.inter-map .map-inner { width: 100%; height: 100%; }

/* Mobil: toggle VAN, és csak az egyik látszik */
@media (max-width: 550px) {
  .inter-map .toggle {
    display: flex;
    border-top: 1px solid rgba(0,0,0,.12);
  }
  .inter-map .toggle > div{
    flex: 1 1 0;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border-right: 1px solid rgba(0,0,0,.12);
  }
  .inter-map .toggle > div:last-child{ border-right: 0; }
  .inter-map .toggle > div.active{
    font-weight: 700;
    background: rgba(0,0,0,.06);
  }

  /* Mobilon alapból a map látszik */
  .inter-map .shops { display: none; border-right: 0; }
  .inter-map.is-shops .shops { display: block; flex: 1 1 auto; }
  .inter-map.is-shops .map { display: none; }
}