.dao-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  padding: 16px;
  background: rgba(48, 38, 25, 0.14);
  font-family: Arial, sans-serif;
  color: #4e4e4e;
  box-sizing: border-box;
}

.dao-consent-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(48, 38, 25, 0.18);
  box-sizing: border-box;
  display: table;
  width: 100%;
}

.dao-consent-text {
  display: table-cell;
  vertical-align: middle;
  margin: 0;
  padding: 0 18px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.dao-consent-link {
  color: #b5954e;
  text-decoration: underline;
}

.dao-consent-link:hover,
.dao-consent-link:focus {
  color: #302619;
}

.dao-consent-actions {
  display: table-cell;
  vertical-align: middle;
  width: 330px;
  text-align: right;
  white-space: nowrap;
}

.dao-consent-button {
  display: inline-block;
  min-height: 38px;
  margin: 0 0 0 8px;
  padding: 9px 16px;
  border-radius: 4px;
  border: 1px solid #b5954e;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
  cursor: pointer;
  box-sizing: border-box;
}

.dao-consent-button-accept {
  background: #b5954e;
  color: #fff;
}

.dao-consent-button-accept:hover,
.dao-consent-button-accept:focus {
  background: #a3833f;
  border-color: #a3833f;
}

.dao-consent-button-essential {
  background: #fff;
  color: #302619;
}

.dao-consent-button-essential:hover,
.dao-consent-button-essential:focus {
  background: #f2f2f2;
}

.dao-footer-docs {
  /* блок вынесен за пределы подвала: там копирайт позиционирован абсолютно
     (position:absolute; bottom:14px) и перекрывает всё, что окажется рядом */
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 20px 24px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: #636363;
  text-align: center;
  background: #f2f2f2;
}

.dao-footer-docs-sep { padding: 0 4px; }

.dao-footer-docs a {
  color: #636363;
  text-decoration: underline;
}

.dao-footer-docs a:hover,
.dao-footer-docs a:focus {
  color: #b5954e;
}

@media (max-width: 767px) {
  .dao-consent-banner {
    padding: 10px;
  }

  .dao-consent-inner {
    display: block;
    padding: 14px;
  }

  .dao-consent-text {
    display: block;
    padding: 0;
    font-size: 13px;
  }

  .dao-consent-actions {
    display: block;
    width: auto;
    margin-top: 12px;
    text-align: left;
    white-space: normal;
  }

  .dao-consent-button {
    display: block;
    width: 100%;
    margin: 8px 0 0;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .dao-footer-docs { font-size: 13px; line-height: 1.8; padding: 18px 16px 26px; }
  .dao-footer-docs-sep { display: none; }
  .dao-footer-docs a { display: inline-block; }
}

/* ============================================================
   [152-ФЗ п.2.2] Сторонние виджеты Яндекса до согласия
   ============================================================
   Кнопка «Поделиться» и карта грузятся с серверов Яндекса и ставят
   cookie (_ym_uid, _ym_d, yashr, pi). До нажатия «Принять» скрипты
   не подключаются, поэтому прячем пустую разметку и показываем
   вместо карты заглушку с кнопкой. */

.soc-share { display: none; }
html.dao-consent-accepted .soc-share { display: block; }

.dao-map-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 260px;
  padding: 24px 20px;
  background: #f2f2f2;
  border: 1px solid #dcdcdc;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #636363;
  text-align: center;
}

.dao-map-stub p { margin: 0 0 14px; }

.dao-map-stub button {
  padding: 10px 22px;
  border: 0;
  border-radius: 4px;
  background: #b5954e;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.dao-map-stub button:hover { background: #a08340; }
.dao-map-stub button:focus-visible { outline: 3px solid #ff6b00; outline-offset: 2px; }
