/* PVZ map modal — Yandex-like split: side panel + map */
.zp-pvz-modal[hidden] {
  display: none !important;
}
.zp-pvz-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.zp-pvz-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(20, 20, 24, 0.45);
  cursor: pointer;
}
.zp-pvz-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 32px));
  height: min(720px, calc(100vh - 48px));
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
}
.zp-pvz-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-size: 0;
}
.zp-pvz-modal__close::before {
  content: "\00D7";
  font-size: 22px;
  line-height: 36px;
  color: #1a1a1a;
  display: block;
  text-align: center;
}
.zp-pvz-modal__layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}
.zp-pvz-modal__side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid #ececec;
  background: #fff;
}
.zp-pvz-modal__side-scroll {
  flex: 1 1 auto;
  overflow: auto;
  padding: 28px 24px 16px;
  min-height: 0;
}
.zp-pvz-modal__title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #1a1a1a;
}
.zp-pvz-modal__lead {
  margin: 0 0 20px;
  font-size: 14px;
  color: #757575;
  line-height: 1.4;
}
.zp-pvz-modal__field-label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  color: #757575;
}
.zp-pvz-modal__search {
  width: 100%;
  box-sizing: border-box;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  color: #1a1a1a;
  background: #fff;
}
.zp-pvz-modal__search:focus {
  outline: none;
  border-color: #1a1a1a;
}
.zp-pvz-modal__search-wrap {
  position: relative;
}
.zp-pvz-modal__suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  max-height: 280px;
  overflow: auto;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.zp-pvz-modal__suggest[hidden] {
  display: none !important;
}
.zp-pvz-modal__suggest-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  color: #1a1a1a;
}
.zp-pvz-modal__suggest-item:hover,
.zp-pvz-modal__suggest-item:focus-visible {
  background: #f3f3f3;
  outline: none;
}
.zp-pvz-modal__suggest-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.zp-pvz-modal__suggest-meta {
  font-size: 12px;
  color: #757575;
}
.zp-pvz-modal__hint {
  display: none;
}
.zp-pvz-modal__city {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}
.zp-pvz-modal__city[hidden] {
  display: none !important;
}
.zp-pvz-modal__status {
  margin: 12px 0 0;
  font-size: 13px;
  color: #9e9e9e;
}
.zp-pvz-modal__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.zp-pvz-modal__list-li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ececec;
}
.zp-pvz-modal__list-li:last-child {
  border-bottom: 0;
}
.zp-pvz-modal__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 4px 14px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  color: #1a1a1a;
  box-shadow: none;
}
.zp-pvz-modal__list-item:hover,
.zp-pvz-modal__list-item:focus-visible {
  background: #f7f7f7;
  outline: none;
}
.zp-pvz-modal__list-item.is-on {
  background: #f3f3f3;
  border: 0;
  box-shadow: none;
}
.zp-pvz-modal__list-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.zp-pvz-modal__list-provider {
  font-size: 12px;
  font-weight: 500;
  color: #9e9e9e;
  line-height: 1.3;
}
.zp-pvz-modal__list-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1a1a;
}
.zp-pvz-modal__list-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
  font-size: 13px;
  color: #616161;
}
.zp-pvz-modal__list-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.zp-pvz-modal__list-chip-ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.75;
}
.zp-pvz-modal__list-chip-ico--date {
  background: center / 15px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Crect width='16' height='14' x='4' y='5' rx='2' stroke='%23616161' stroke-width='1.6'/%3E%3Cpath stroke='%23616161' stroke-linecap='round' stroke-width='1.6' d='M8 3v4M16 3v4M4 10h16'/%3E%3C/svg%3E");
}
.zp-pvz-modal__list-chip-ico--pay {
  background: center / 15px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23616161' stroke-width='1.6'/%3E%3Cpath stroke='%23616161' stroke-width='1.6' d='M12 7v10M9.5 9.5c0-1.2 1.1-2 2.5-2s2.5.8 2.5 2-1.1 2-2.5 2-2.5.8-2.5 2 1.1 2 2.5 2 2.5-.8 2.5-2'/%3E%3C/svg%3E");
}
.zp-pvz-modal__list-chevron {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #bdbdbd;
  border-top: 2px solid #bdbdbd;
  transform: rotate(45deg);
  margin-right: 4px;
}
.zp-pvz-modal__list-empty,
.zp-pvz-modal__list-more {
  margin: 0;
  padding: 14px 4px;
  font-size: 13px;
  color: #9e9e9e;
  border-bottom: 0;
}
.zp-pvz-modal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.zp-pvz-modal__back::before {
  content: "";
  width: 10px;
  height: 10px;
  border-left: 2px solid #1a1a1a;
  border-bottom: 2px solid #1a1a1a;
  transform: rotate(45deg);
}
.zp-pvz-modal__detail-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #1a1a1a;
}
.zp-pvz-modal__stats {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
}
.zp-pvz-modal__stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #1a1a1a;
}
.zp-pvz-modal__stat-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.85;
}
.zp-pvz-modal__stat-ico--pay {
  background: center / 18px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%231a1a1a' stroke-width='1.6'/%3E%3Cpath stroke='%231a1a1a' stroke-width='1.6' d='M12 7v10M9.5 9.5c0-1.2 1.1-2 2.5-2s2.5.8 2.5 2-1.1 2-2.5 2-2.5.8-2.5 2 1.1 2 2.5 2 2.5-.8 2.5-2'/%3E%3C/svg%3E");
}
.zp-pvz-modal__stat-ico--date {
  background: center / 18px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 24 24'%3E%3Crect width='16' height='14' x='4' y='5' rx='2' stroke='%231a1a1a' stroke-width='1.6'/%3E%3Cpath stroke='%231a1a1a' stroke-linecap='round' stroke-width='1.6' d='M8 3v4M16 3v4M4 10h16'/%3E%3C/svg%3E");
}
.zp-pvz-modal__section-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}
.zp-pvz-modal__note {
  margin: 0 0 20px;
  font-size: 14px;
  color: #616161;
  line-height: 1.45;
}
.zp-pvz-modal__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.zp-pvz-modal__fact {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.4;
}
.zp-pvz-modal__fact-ico {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
}
.zp-pvz-modal__fact-ico--pin {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%231a1a1a' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='M12 21s7-5.4 7-11a7 7 0 1 0-14 0c0 5.6 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.4' stroke='%231a1a1a' stroke-width='1.6'/%3E%3C/svg%3E");
}
.zp-pvz-modal__fact-ico--clock {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' stroke='%231a1a1a' stroke-width='1.6'/%3E%3Cpath stroke='%231a1a1a' stroke-linecap='round' stroke-width='1.6' d='M12 8v5l3 2'/%3E%3C/svg%3E");
}
.zp-pvz-modal__fact-ico--storage {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%231a1a1a' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='M12 4 5 8v4c0 4.4 3 7.6 7 9 4-1.4 7-4.6 7-9V8l-7-4Z'/%3E%3Cpath stroke='%231a1a1a' stroke-linecap='round' stroke-width='1.6' d='M12 11v4'/%3E%3C/svg%3E");
}
.zp-pvz-modal__fact-ico--card {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' viewBox='0 0 24 24'%3E%3Crect width='16' height='12' x='4' y='6' rx='2' stroke='%231a1a1a' stroke-width='1.6'/%3E%3Cpath stroke='%231a1a1a' stroke-linecap='round' stroke-width='1.6' d='M4 10h16M8 14h4'/%3E%3C/svg%3E");
}
.zp-pvz-modal__footer {
  flex: 0 0 auto;
  padding: 16px 24px 24px;
  border-top: 1px solid #f0f0f0;
  background: #fff;
}
.zp-pvz-modal__confirm {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: #1a1a1a;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.zp-pvz-modal__confirm:hover {
  background: #000;
}
.zp-pvz-modal__confirm:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.zp-pvz-modal__map-wrap {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #e9eef3;
}
.zp-pvz-modal__map {
  width: 100%;
  height: 100%;
}
.zp-pvz-modal__map-chip {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 500;
  padding: 8px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  pointer-events: none;
}
.zp-pvz-pin-wrap {
  background: transparent !important;
  border: 0 !important;
}
.zp-pvz-pin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 10px 6px 6px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  color: #1a1a1a;
  cursor: pointer;
  white-space: nowrap;
  transform: translate(-18px, -100%);
}
.ymaps-2-1-79-map .zp-pvz-pin,
.ymaps-2-1-79-inner-panes .zp-pvz-pin,
[class*="ymaps-"] .zp-pvz-pin {
  transform: none;
}
.zp-pvz-pin__logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.zp-pvz-pin--cdek .zp-pvz-pin__logo {
  background: #1faa4b;
  border-radius: 50%;
}
.zp-pvz-pin--yandex .zp-pvz-pin__logo {
  background: #fc3f1d;
  border-radius: 8px;
}
.zp-pvz-pin__body {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.15;
  padding-right: 2px;
}
.zp-pvz-pin__price {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}
.zp-pvz-pin__date {
  font-size: 11px;
  font-weight: 500;
  color: #757575;
}
.zp-pvz-pin.is-on {
  outline: 2px solid #1a1a1a;
  outline-offset: 1px;
  z-index: 2;
}
.leaflet-container {
  font: inherit;
}
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: rgba(31, 170, 75, 0.22) !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background: #1faa4b !important;
  color: #fff !important;
  font-weight: 700;
}
@media (max-width: 860px) {
  .zp-pvz-modal {
    padding: 0;
  }
  .zp-pvz-modal__dialog {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .zp-pvz-modal__layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(240px, 42%) minmax(0, 1fr);
  }
  .zp-pvz-modal__side {
    border-right: 0;
    border-bottom: 1px solid #ececec;
    order: 2;
  }
  .zp-pvz-modal__map-wrap {
    order: 1;
  }
  .zp-pvz-modal__title {
    font-size: 22px;
  }
}
