/* Панель с картой: логика как у модалки отзывов */

.map-panel {
  position: fixed;
  inset: 0;
  z-index: 1100;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: 'AnonymousPro', sans-serif;

  pointer-events: none;
}

.map-panel.is-open {
  pointer-events: auto;
}

/* ФОН + БЛЮР (как у модалки отзывов) */
.map-panel__backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,0);  
  backdrop-filter: blur(0px);   
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;

  transition:
    opacity .32s ease,
    background .32s ease,
    backdrop-filter .32s ease;
}

.map-panel.is-open .map-panel__backdrop {
  background: rgba(0,0,0,.45);   
  backdrop-filter: blur(12px);   
  -webkit-backdrop-filter: blur(12px);
  opacity: 1;
}

/* БЕЛАЯ КАРТОЧКА (fade + лёгкий выезд вверх) */
.map-panel__dialog {
  position: relative;
  z-index: 1;

  width: min(1300px, 98vw);
  height: min(900px, 92vh);
  padding: 28px 32px 28px;

  background: #fafafa;
  border-radius: 22px;
  box-shadow: 0 26px 60px rgba(0,0,0,.35);

  display: flex;
  flex-direction: column;

  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .32s ease,
    transform .32s ease;
}

.map-panel.is-open .map-panel__dialog {
  opacity: 1;
  transform: translateY(0);
}

/* крестик */
.map-panel__close {
  position: absolute !important; 
  top: 22px !important;           
  right: 22px !important;

  width: 44px;
  height: 44px;

  font-size: 24px;
}



/* заголовки */
.map-panel__title {
  margin: 0 40px 6px 0;
  font-size: 24px;
  font-weight: 700;
}

.map-panel__subtitle {
  margin: 0 40px 10px 0;
  font-size: 16px;
  color: #555;
}

/* Блокируем прокрутку страницы, когда открыта карта */
body.map-scroll-lock {
  overflow: hidden;
}


/* карта */
.map-panel__iframe-wrap {
  position: relative;
  flex: 1;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: #e5e5e5;
  border: 1px solid rgba(0,0,0,.12);
}

.map-panel__iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}