/* Center Diplomat — cookie banner visual hotfix v1.1.
   No changes to consent behavior or external widget styles. */
.cd-cookie-banner[hidden] {
  display: none !important;
}
body .cd-cookie-banner {
  position: fixed;
  z-index: 1040;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 960px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  box-sizing: border-box;
  background: #18213a;
  color: #ffffff;
  border: 1px solid #46516a;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(16, 24, 40, .22);
  font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-align: left;
}
body .cd-cookie-banner .cd-cookie-copy {
  flex: 1 1 auto;
  min-width: 0;
}
body .cd-cookie-banner .cd-cookie-copy strong {
  display: block;
  margin: 0 0 4px;
  color: #ffffff;
  font: 700 16px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
body .cd-cookie-banner .cd-cookie-copy p {
  margin: 0;
  padding: 0;
  color: #e3e8f1 !important;
  font-size: 14px !important;
  font-weight: 400;
  line-height: 1.5 !important;
  text-align: left;
}
body .cd-cookie-banner .cd-cookie-copy [data-cd-status]:not(:empty) {
  margin-top: 8px;
  color: #f4da94 !important;
}
body .cd-cookie-banner .cd-cookie-copy [data-cd-status]:empty {
  display: none;
}
body .cd-cookie-banner a,
body .cd-cookie-banner a:visited {
  color: #f4da94 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body .cd-cookie-banner a:hover {
  color: #fff1c9 !important;
}
body .cd-cookie-banner .cd-cookie-buttons {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
body .cd-cookie-banner .cd-cookie-buttons button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 108px;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #d9b968;
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
  color: #ffffff;
  font: 600 14px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
body .cd-cookie-banner .cd-cookie-buttons button:hover {
  background: rgba(244, 218, 148, .14);
  border-color: #f4da94;
}
body .cd-cookie-banner .cd-cookie-buttons button:focus,
body .cd-cookie-banner a:focus,
.cd-external-button:focus-visible {
  outline: 2px solid #f4da94;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  body .cd-cookie-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    display: block;
    padding: 14px 16px;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
  }
  body .cd-cookie-banner .cd-cookie-buttons {
    margin-top: 12px;
  }
  body .cd-cookie-banner .cd-cookie-buttons button {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 8px;
  }
}
@supports (bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 760px) {
    body .cd-cookie-banner {
      bottom: calc(10px + env(safe-area-inset-bottom));
      max-height: calc(100vh - 20px - env(safe-area-inset-bottom));
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  body .cd-cookie-banner .cd-cookie-buttons button { transition: none; }
}

/* Original styles for map/review placeholders, unchanged. */
.cd-external{padding:18px;text-align:center;color:#18213a;background:#f6f5f1;box-sizing:border-box;position:relative;z-index:2}
.cd-external-button{cursor:pointer;background:#18213a;color:white;border:0;border-radius:6px;padding:12px 16px;margin:0 8px 8px;font:600 15px Arial,sans-serif}
.cd-external-button:disabled{opacity:.65;cursor:default}.cd-review-iframe{width:100%;height:480px;min-height:350px;border:0}

/* Widget layout: keep the unloaded card compact; restore original review height
   and map dimensions only when the visitor has requested the service. */
body .cd-yandex-reviews__inner {
  height: auto;
  min-height: 0;
  overflow: hidden;
}
body .cd-yandex-reviews__inner > a {
  position: static;
  max-height: none;
  padding: 8px 12px;
}
body .cd-yandex-reviews__inner .cd-external {
  padding: 22px 18px;
  z-index: auto;
}
body .cd-yandex-reviews__inner .cd-external--loaded {
  padding: 0;
  background: transparent;
}
body .cd-external--loaded > p,
body .cd-external--loaded > button,
body .cd-external--loaded > a {
  display: none !important;
}
body .cd-yandex-reviews__inner .cd-review-iframe {
  display: block;
  width: 100%;
  height: 800px;
  min-height: 0;
  border: 0;
  border-radius: 12px 12px 0 0;
}
body .screen-13.map {
  position: relative;
  min-height: 300px;
}
body .screen-13.map #map {
  position: relative;
  z-index: 0;
  min-height: 300px;
}
body .screen-13.map #map > .cd-external {
  min-height: 300px;
  padding: 24px 16px 130px;
  z-index: auto;
}
body .screen-13.map #map > .cd-external--loaded {
  min-height: 672px;
  padding: 0;
  background: transparent;
}
body .screen-13.map .cd-external--loaded > [data-cd-target] {
  min-height: 672px;
}
body .screen-13.map .zeppelin-block {
  z-index: 3;
  pointer-events: none;
}
@media (max-width: 760px) {
  body .cd-yandex-reviews__inner .cd-review-iframe { height: 680px; }
  body .screen-13.map #map > .cd-external { padding-bottom: 130px; }
  body .screen-13.map #map > .cd-external--loaded { padding: 0; }
}

body .screen-13.map #map > .cd-external--loaded {
  display: flex;
  flex-direction: column;
}
body .screen-13.map #map > .cd-external--loaded > a {
  display: block !important;
  order: 2;
  padding: 8px 12px;
}
