/* Кнопки WhatsApp и Telegram рядом с телефоном. Подключать с ?v=20261117a */
/* Не плавающие: только в шапке и на странице контактов, callbar не перекрывают. */

.top-contacts-item__messengers-item > a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:inherit;
  text-decoration:none;
  cursor:pointer;
}

.header-msg-phone-row{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:8px;
  min-width:0;
}
.header-msg-buttons{
  display:inline-flex;
  align-items:center;
  gap:6px;
  flex-shrink:0;
}
.header-msg-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:50%;
  text-decoration:none;
  color:#fff;
  flex-shrink:0;
  box-sizing:border-box;
  line-height:0;
}
.header-msg-btn .icon{
  display:block;
  fill:#fff;
}
.header-msg-btn--wa{background:#25D366}
.header-msg-btn--tg{background:#2AABEE}
.header-msg-btn:hover{opacity:.88}

@media (max-width:1200px){
  .menu-section--mobile{
    min-width:0;
    flex:1 1 auto;
    padding-right:8px;
  }
}

/* На очень узких экранах иконки переносятся под номер, а не наезжают на меню */
@media (max-width:359px){
  .header-msg-phone-row{flex-wrap:wrap}
}

/* Контакты: светлый фон, подписи рядом с иконками */
.contacts-msg-line{
  margin:12px 0 0;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 10px;
  font-size:15px;
  line-height:1.4;
  position:static;
}
.contacts-msg-line .header-msg-btn{
  width:auto;
  height:32px;
  padding:0 10px 0 8px;
  border-radius:16px;
  gap:6px;
  color:#fff;
  font-size:13px;
  font-weight:600;
}
.contacts-msg-line .header-msg-btn .icon{
  width:16px;
  height:16px;
}

.contacts-msg-line .header-msg-buttons{gap:8px}
@media (max-width:700px){
  .contacts-msg-line{align-items:flex-start}
}
