.nvm-cookie-consent {
  position: fixed;
  z-index: 2147483000;
  right: 0;
  bottom: calc(var(--nvm-cookie-lift, 12px) + env(safe-area-inset-bottom, 0px));
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-sizing: border-box;
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(26, 127, 116, .38);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .2);
  color: #334155;
  font-family: inherit;
}
.nvm-cookie-consent__copy { min-width: 0; }
.nvm-cookie-consent__text {
  margin: 0;
  color: #3d4a5c;
  font-size: 14px;
  line-height: 1.5;
}
.nvm-cookie-consent__link {
  color: #9a3f38;
  font-weight: 700;
  text-underline-offset: 3px;
}
.nvm-cookie-consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 0 0 auto;
  width: min(100%, 420px);
}
.nvm-cookie-consent__button {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #0f6a60;
  border-radius: 999px;
  background: #fff;
  color: #0f6a60;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
}
.nvm-cookie-consent__button:hover { background: #f5faf9; }
.nvm-cookie-consent__button:active { transform: scale(.97); }
.nvm-cookie-consent__button:focus-visible,
.nvm-cookie-consent__link:focus-visible {
  outline: 3px solid rgba(26, 127, 116, .35);
  outline-offset: 3px;
}
html.nvm-cookie-open {
  scroll-padding-bottom: var(--nvm-cookie-offset, 0px);
  overflow-anchor: none;
}
html.nvm-cookie-open body {
  padding-bottom: var(--nvm-cookie-offset, 0px);
  overflow-anchor: none;
}
@media (max-width: 767px) {
  .nvm-cookie-consent {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: calc(100% - 16px);
    padding: 10px 12px;
    border-radius: 14px;
  }
  .nvm-cookie-consent__text { font-size: 13px; line-height: 1.35; }
  .nvm-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 0;
  }
  .nvm-cookie-consent__button {
    flex: 1 1 auto;
    width: auto;
    min-height: 44px;
    padding: 8px 10px;
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nvm-cookie-consent,
  .nvm-cookie-consent__button {
    transition: none;
    animation: none;
  }
  .nvm-cookie-consent__button:active { transform: none; }
}
.nvm-cookie-settings {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.nvm-cookie-settings:hover { color: #BC5850; }
.nvm-cookie-settings:focus-visible {
  outline: 3px solid rgba(188, 88, 80, .32);
  outline-offset: 3px;
}

/* Главная: статичная схема вместо карты. Картинку отдаёт наш сайт. */
.nvmh-map-still {
  position: relative;
  display: block;
  min-height: 400px;
  overflow: hidden;
  text-decoration: none;
  color: #29261f;
  background: #f4efe6;
}
.nvmh-map-still img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.nvmh-map-still__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: block;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #1a7f74;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
@media (max-width: 900px) {
  .nvmh-map-still,
  .nvmh-map-still img { min-height: 320px; height: 320px; }
  .nvmh-map-still { min-height: 320px; }
}

/* Контакты: без согласия на аналитику — схема. Виджет только после согласия, по кнопке. */
.nvm-contact__map {
  aspect-ratio: 640 / 400;
}
.nvm-contact__map > img,
.nvm-map-gate img,
.nvm-contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 640 / 400;
  object-fit: cover;
  border: 0;
}
.nvm-map-gate {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f4efe6;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: center;
}
.nvm-map-gate__label {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid #1a7f74;
  border-radius: 999px;
  background: #fff;
  color: #1a7f74;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.nvm-map-gate__address {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #3e6a62;
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 767px) {
  .nvm-contact__map,
  .nvm-contact__map > img,
  .nvm-map-gate img,
  .nvm-contact__map iframe { aspect-ratio: 640 / 400; }
}
