/* ===== ФИКС УЗКОЙ ШАПКИ ДЛЯ МОБИЛЬНЫХ И ПЛАНШЕТОВ ===== */
@media (max-width: 980px) {

  /* 1. Сжимаем основной контейнер шапки */
  .t228, .t228__maincontainer, .tmenu-mobile, .tmenu-mobile__container {
    height: 56px !important;
    min-height: 56px !important;
  }

  /* 2. Обнуляем отступы у контейнеров логотипа и правой части */
  .t228__leftside, .t228__rightside, .t228__leftcontainer, .t228__rightcontainer {
    height: 56px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  /* 3. Центрируем логотип по вертикали и уменьшаем его */
  .t228__imgwrapper, .t228__imglogo {
    max-height: 32px !important; /* Чуть увеличил для читаемости, можно вернуть 28 */
    padding: 0 !important;
    margin: 0 !important;
  }

  /* 4. Настройка мобильного меню (бургер-панель) */
  .tmenu-mobile__menu-line {
    height: 56px !important;
  }

  /* 5. Уменьшаем сам бургер и выравниваем по центру */
  .tmenu-mobile__burger {
    width: 28px !important;
    height: 28px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }
}
}
