/* PUBLIC_SAFE_CONTACT_FIXES_20260704
   Точечные публичные правки: скрыть быстрый чат-бот, растянуть карту на странице контактов.
   Не трогает Яндекс.Метрику, UTM, формы, backend и аналитику.
*/

/* 1) Скрываем плавающий чат-бот только на публичной части сайта. */
.site-chat-widget,
.chat-widget,
.chatbot-widget,
.chat-bot-widget,
.chatbot-launcher,
.chat-launcher,
.floating-chat,
.assistant-widget,
.chat-assistant,
.bot-widget,
.bot-launcher,
.quick-chat,
#chat-widget,
#chatbot-widget,
#chatBotWidget,
#site-chat-widget,
[data-chat-widget],
[data-chatbot],
[data-bot-widget],
.public-chat-widget,
.logoped-chat-widget,
.logoped-chatbot,
.chat-float,
.chat-fab,
.chat-button-float {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Дополнительная страховка для круглой плавающей кнопки чата внизу справа. */
body:not(.admin-body) .chat-toggle,
body:not(.admin-body) .chat-bubble,
body:not(.admin-body) .chat-open-button,
body:not(.admin-body) .message-floating-button,
body:not(.admin-body) .floating-message-button {
  display: none !important;
}

/* 2) Карта на странице контактов должна занимать всю карточку/площадь, а не только верх. */
.contacts-map,
.contact-map,
.map-card,
.map-panel,
.map-section,
.yandex-map,
.contacts-yandex-map,
.contact-yandex-map {
  min-height: 420px !important;
}

.contacts-map iframe,
.contact-map iframe,
.map-card iframe,
.map-panel iframe,
.map-section iframe,
.yandex-map iframe,
.contacts-yandex-map iframe,
.contact-yandex-map iframe,
iframe[src*="yandex"],
iframe[src*="maps"] {
  display: block !important;
  width: 100% !important;
  min-height: 420px !important;
  height: 420px !important;
  border: 0 !important;
}

@media (max-width: 768px) {
  .contacts-map,
  .contact-map,
  .map-card,
  .map-panel,
  .map-section,
  .yandex-map,
  .contacts-yandex-map,
  .contact-yandex-map {
    min-height: 360px !important;
  }

  .contacts-map iframe,
  .contact-map iframe,
  .map-card iframe,
  .map-panel iframe,
  .map-section iframe,
  .yandex-map iframe,
  .contacts-yandex-map iframe,
  .contact-yandex-map iframe,
  iframe[src*="yandex"],
  iframe[src*="maps"] {
    min-height: 360px !important;
    height: 360px !important;
  }
}
/* END PUBLIC_SAFE_CONTACT_FIXES_20260704 */
