#navigation_menu_bar .t-Tabs-link {
    background-color: #0572ce00 !important;
    font-weight: 600;
}

#navigation_menu_bar .t-Tabs {
    gap: 1.5px;
}

#navigation_menu_bar .a-Button.a-Button--devToolbar {
    border-radius: 18px;
}

#navigation_menu_bar.a-DevToolbar {
    color: var(--a-dev-toolbar-text-color);
    position: fixed;
    transition: var(--a-dev-toolbar-transition, .1s ease);
    z-index: 1000;
    justify-self: center;
    border-style: solid;
    border-radius: 18px;
    background: rgb(255 255 255 / 82%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#navigation_menu_bar.a-DevToolbar--bottom {
    bottom: 25px;
}


/* спрятать FA */
#navigation_menu_bar .t-Icon {
    display: grid;
    font-size: 20px;
    left: 50%;
    transform: translateX(-50%);
}
#navigation_menu_bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: max-content; /* или фиксированная ширина, если нужно */
    z-index: 999;
}
/* спрятать текст */
#navigation_menu_bar .t-Tabs-label {
    display: none !important;
}

/* убрать подчёркивание у всех пунктов меню */
#navigation_menu_bar .t-Tabs-link,
#navigation_menu_bar .t-Tabs-link:hover,
#navigation_menu_bar .t-Tabs-item.is-active .t-Tabs-link {
    text-decoration: none !important;
}

#navigation_menu_bar .t-Tabs-item.is-active .t-Tabs-link {
    color: #309fdb;
}
/* Убрать стандартную полосу APEX под активной вкладкой */
#navigation_menu_bar .t-Tabs-link:after {
    display: none !important;
    content: none !important;
}

/* На всякий случай убрать рамки/линии */
#navigation_menu_bar .t-Tabs-item,
#navigation_menu_bar .t-Tabs-link {
    border: none !important;
    box-shadow: none !important;
}
#navigation_menu_bar .t-Tabs-link {
    border-bottom: none !important;
}

#navigation_menu_bar .t-Tabs-item.is-active .t-Tabs-link {
    border-bottom: none !important;
}

#navigation_menu_bar {
.fa {
    color: #053f5b;
    position: sticky;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px;
    left: 50%;
    transform: translateX(-50%);
}
}
/* Выравниваем иконки внутри bottom-nav */
#navigation_menu_bar .t-Icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;

    position: static !important;   /* убираем top:1px в APEX */
    transform: none !important;
}

/* Шрифтовые иконки FA — одинаковый размер
#navigation_menu_bar .t-Icon.fa {
    font-size: 22px !important;
    height: 22px !important;
    width: 22px !important;
}
*/

#navigation_menu_bar .t-Icon.fa {
    font-size: 22px !important;
    height: 16px !important;
    width: 15px !important;
}


/* ------------------------------ */
/* 📱 АДАПТАЦИЯ ДЛЯ МОБИЛОК       */
/* ------------------------------ */
@media (max-width: 600px) {
    #navigation_menu_bar {
        gap: 6px;
        padding: 8px 10px;
        bottom: max(15px, env(safe-area-inset-bottom));
    }

    #navigation_menu_bar .t-Tabs-link {
        width: 32px;
        height: 32px;
    }

    #navigation_menu_bar img,
    #navigation_menu_bar svg {
        width: 18px !important;
        height: 18px !important;
    }
}

#navigation_menu_bar,
#navigation_menu_bar ul,
#navigation_menu_bar .t-Tabs,
#navigation_menu_bar .t-Tabs-item {
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}





/* PAGE 0 */

/* Контейнер для кнопок шапки */
.apx-header-actions {
    display: flex;
    align-items: center;
    gap: 8px; /* Расстояние между кнопками */
}

/* Общий класс для всех квадратных кнопок-иконок */
.apx-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: #f5f7fa;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-sizing: border-box;
}

/* Эффект при наведении (десктоп) */
.apx-icon-btn:hover {
    background: #e2e8f0;
}

/* Настройки для картинки внутри кнопки */
.apx-icon-btn img {
    width: 24px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Настройки для иконки FontAwesome внутри кнопки */
.apx-icon-btn i {
    font-size: 20px;
    color: #1a1a1a;
}

/* === Мобильная адаптация === */
@media (max-width: 768px) {
    .apx-header-actions {
        gap: 6px; /* Чуть уменьшаем расстояние между кнопками */
    }
    .apx-icon-btn {
        width: 38px;  /* Делаем кнопки чуть компактнее */
        height: 38px;
        border-radius: 8px;
    }
    .apx-icon-btn img {
        width: 20px; /* Уменьшаем логотип */
    }
    .apx-icon-btn i {
        font-size: 18px; /* Уменьшаем иконку гарнитуры */
    }
}