/* Мобильная кнопка записи: нижняя панель и меню (04.11.2026) */
@media screen and (max-width: 1080px) {
  body .mobilebottomsocialmenu { align-items: center; gap: 6px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
  body .mobilebottomsocialmenu .mobilebottomsocialmenu__item { flex: 1 1 0; min-width: 0; width: auto; padding: 0; }
  body .mobilebottomsocialmenu .mobilebottomsocialmenu__item.mobilebottomsocialmenu__item--cta { flex: 0 0 44%; max-width: 240px; height: 50px; flex-direction: row; gap: 8px; background: #8A6D47; border-radius: 12px; box-shadow: 0 4px 12px rgba(138, 109, 71, .28); }
  .mobilebottomsocialmenu__item--cta .mobilebottomsocialmenu__img { filter: brightness(0) invert(1); }
  .mobilebottomsocialmenu__item--cta .mobilebottomsocialmenu__txt { color: #fff; font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap; }
  .mobilebottomsocialmenu__item--cta:active { background: #765C3B; }
  .b24-widget-button-wrapper[class*="position-bottom"] { bottom: 96px !important; }
  .mobile-menu-cta { display: flex; gap: 10px; padding: 14px 16px; background: #fff; border-bottom: 1px solid #DCE1D8; }
  .mobile-menu-cta__book { flex: 1; display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 12px; background: #8A6D47; color: #fff !important; font-weight: 700; font-size: 16px; text-decoration: none !important; }
  .mobile-menu-cta__book:active { background: #765C3B; }
  .mobile-menu-cta__tel { flex: 0 0 50px; display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 12px; border: 1.5px solid #8A6D47; color: #8A6D47; }
  .mammology-service-preview .mobilebottomsocialmenu__item--cta, .mammology-theme .mobilebottomsocialmenu__item--cta, .mammology-page .mobilebottomsocialmenu__item--cta, .mammography-page .mobilebottomsocialmenu__item--cta,
  .mammology-service-preview .mobile-menu-cta__book, .mammology-theme .mobile-menu-cta__book, .mammology-page .mobile-menu-cta__book, .mammography-page .mobile-menu-cta__book { background: #CC6A8C; box-shadow: none; }
  .mammology-service-preview .mobile-menu-cta__tel, .mammology-theme .mobile-menu-cta__tel, .mammology-page .mobile-menu-cta__tel, .mammography-page .mobile-menu-cta__tel { border-color: #CC6A8C; color: #CC6A8C; }
}
@media screen and (min-width: 1081px) { .mobile-menu-cta { display: none; } }
/* Розовая иконка MAX для маммологии отсутствует на сервере (404), показываем стандартную */
.mammology-service-preview .mobilebottomsocialmenu__img-max, .mammology-theme .mobilebottomsocialmenu__img-max, .mammology-page .mobilebottomsocialmenu__img-max, .mammography-page .mobilebottomsocialmenu__img-max { background-image: url('/mammologiya/assets/header/max-pink-20261024.svg') !important; }

/* Розовая кнопка «Записаться» в нижней панели на страницах маммологии (перебивает общее правило) */
@media screen and (max-width: 1080px) {
  body.mammology-theme .mobilebottomsocialmenu .mobilebottomsocialmenu__item.mobilebottomsocialmenu__item--cta,
  body.mammology-page .mobilebottomsocialmenu .mobilebottomsocialmenu__item.mobilebottomsocialmenu__item--cta,
  body.mammography-page .mobilebottomsocialmenu .mobilebottomsocialmenu__item.mobilebottomsocialmenu__item--cta,
  body.mammology-service-preview .mobilebottomsocialmenu .mobilebottomsocialmenu__item.mobilebottomsocialmenu__item--cta { background: #CC6A8C; }
}
