.head-page_export-map .head-page__inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.head-page_export-map .head-page__breadcrumbs {
  margin-bottom: 0;
}

.export-map {
  position: relative;
  height: calc(100vh - 8.5rem);
  min-height: 37.5rem;
  overflow: hidden;
  background: #ced6e8;
}

.export-map__canvas {
  position: absolute;
  inset: 0;
}

.export-map__canvas [class*='-map-bg'] {
  background: #ced6e8 !important;
}

.export-map__overlay {
  position: relative;
  z-index: 3;
  pointer-events: none;
}

.export-map__search {
  position: absolute;
  top: 2rem;
  left: 3.625rem;
  width: 32rem;
  pointer-events: auto;
}

.export-map__search-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 3.25rem;
  padding: 0 3.5rem 0 1.625rem;
  cursor: text;
  background: #f2f3f7;
  border-radius: 3.75rem;
}

.export-map__search-input {
  width: 100%;
  font-family: Roboto, sans-serif;
  font-size: 1rem;
  line-height: 130%;
  color: #040b52;
  background: transparent;
  border: 0;
  outline: none;
}

.export-map__search-input::placeholder {
  color: #040b5280;
}

.export-map__search-ico {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #040b52;
  transform: translateY(-50%);
  -webkit-mask: url("../icons/ico-search.svg") center / contain no-repeat;
  mask: url("../icons/ico-search.svg") center / contain no-repeat;
}

.export-map__suggest {
  padding: 0.5rem;
  margin: 0.875rem 0 0;
  list-style: none;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1.25rem rgba(4, 11, 82, 0.12);
}

.export-map__suggest-item {
  padding: 0.75rem 0.75rem;
  font-family: Roboto, sans-serif;
  font-size: 1rem;
  line-height: 130%;
  color: #040b52;
  cursor: pointer;
  border-radius: 0.625rem;
  transition: background 0.2s ease-in-out;
}

.export-map__suggest-item:hover,
.export-map__suggest-item.is-active {
  background: #f2f3f6;
}

.export-map__suggest-item::before,
.export-map__suggest-item::marker {
  display: none;
  content: none;
}

.export-map__canvas [class*='-gotoymaps'],
.export-map__canvas [class*='-gototaxi'],
.export-map__canvas [class*='-gotoroutes'] {
  display: none !important;
}

.export-map__card {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 28.5rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1.5rem rgba(4, 11, 82, 0.12);
}

.export-map__card-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  cursor: pointer;
  background: none;
  border: 0;
}

.export-map__card-close img {
  width: 100%;
  height: 100%;
}

.export-map__card-head {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-right: 2rem;
}

.export-map__card-flag {
  flex-shrink: 0;
  width: 7.625rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.export-map__card-title {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 120%;
  color: #040b52;
}

.export-map__card-text {
  margin: 0.5rem 0 0;
  font-family: Roboto, sans-serif;
  font-size: 0.875rem;
  line-height: 130%;
  color: #040b5299;
}

.export-map__card-buttons {
  display: flex;
  gap: 0.875rem;
  margin-top: 1.25rem;
}

.export-map__card-button {
  flex: 1 1 0;
  min-width: 0;
}

.export-map__zoom {
  position: absolute;
  right: 2.25rem;
  bottom: 4.5rem;
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2rem;
}

.export-map__zoom-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  font-family: Roboto, sans-serif;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  color: #040b52;
  cursor: pointer;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 0.125rem 0.5rem rgba(4, 11, 82, 0.1);
}

.export-map-city {
  position: relative;
  width: 0;
  height: 0;
  pointer-events: none;
}

.export-map-city__dot {
  position: absolute;
  top: -0.375rem;
  left: -0.375rem;
  width: 0.75rem;
  height: 0.75rem;
  background: rgba(4, 11, 82, 0.3);
  border-radius: 50%;
}

.export-map-city__dot::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.375rem;
  height: 0.375rem;
  content: '';
  background: #040b52;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.export-map-city__label {
  position: absolute;
  top: 50%;
  left: 0.625rem;
  font-family: Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 120%;
  color: #040b52;
  white-space: nowrap;
  transform: translateY(-50%);
}

.export-map-hq {
  position: relative;
  width: 0;
  height: 0;
}

.export-map-hq__dot {
  position: absolute;
  top: -0.75rem;
  left: -0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(4, 11, 82, 0.3);
  border-radius: 50%;
}

.export-map-hq__dot::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.5rem;
  height: 0.5rem;
  content: '';
  background: #040b52;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.export-map-hq__line {
  position: absolute;
  bottom: 0;
  left: -0.0625rem;
  width: 0.125rem;
  height: 4.5rem;
  background: #040b52;
}

.export-map-hq__label {
  position: absolute;
  bottom: 2.75rem;
  left: 0.625rem;
  font-family: Roboto, sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 120%;
  color: #040b52;
  white-space: nowrap;
}

.export-map-hq__label span {
  display: block;
  font-weight: 400;
}

@media (max-width: 768px) {
  .export-map {
    height: 41rem;
  }

  .export-map__search {
    top: 2rem;
    right: 0.9375rem;
    left: 0.9375rem;
    width: auto;
  }

  .export-map__search-field {
    padding-left: 1rem;
  }

  .export-map__suggest {
    margin-top: 0.75rem;
  }

  .export-map__card {
    top: 5.75rem !important;
    right: 0.9375rem;
    left: 0.9375rem !important;
    width: auto;
    padding: 0.875rem;
  }

  .export-map__card-head {
    gap: 0.875rem;
  }

  .export-map__card-flag {
    width: 6.5rem;
    height: 3.75rem;
  }

  .export-map__card-title {
    font-size: 1.25rem;
  }

  .export-map__card-buttons {
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .export-map__zoom {
    right: auto;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .export-map-city__label {
    font-size: 0.75rem;
  }

  .export-map__zoom-button {
    width: 2.75rem;
    height: 2.75rem;
  }

  .export-map-hq__label {
    font-size: 0.875rem;
  }

  .export-map-hq__line {
    height: 3.5rem;
  }

  .export-map-hq__label {
    bottom: 2rem;
  }
}
