/* Контейнер меню */
.bx-top-nav-container {
    position: relative;
    color: #fff;
    padding: 4px 0 10px 0;
}

/* 1-й уровень — горизонтальный */
.menu_bottom-list-1-lvl {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

/* Пункты 1-го уровня */
.menu_bottom-1-lvl {
    position: relative;
    flex-grow: 1;
}

.menu_bottom-1-lvl > a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 0 12px;
    height: 48px;
    color: var(--color-primary-black);
    transition: background 0.2s, color 0.2s;
    font-size: var(--font-body-size);
    font-weight: 400;
    width: fit-content;
}

.btn-sale {
    text-decoration: none !important;
    max-width: 252px;
    margin-left: auto;
}

.menu_bottom-1-lvl > a:hover,
.menu_bottom-1-lvl.bx-active > a,
.menu_bottom-1-lvl.bx-hover > a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* Шеврон */
.chevron-down {
    width: 24px;
    height: 24px;
    transition: transform 0.15s ease;
    vertical-align: middle;
}

.menu_bottom-parent.bx-hover .chevron-down,
.menu_bottom-parent.bx-open .chevron-down { /* если JS добавляет bx-open */
    transform: rotate(180deg);
}

/* Выпадашка 2-го уровня */
.menu_bottom-2-lvl-container {
    display: none;
    position: absolute;
    top: 130%;
    left: 0;
    z-index: 1000;
    background: #fff;
    color: #000;
    min-width: 220px; /* минимальная ширина, подбери */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 4px;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(-75px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.menu_bottom-2-lvl-container:before {
    content: '';
    display: block;
    height: 20px;
    width: 100%;
    position: absolute;
    top: -20px;
    background-color: transparent;
}

/* Показываем при hover (JS добавляет .bx-hover на li) */
.menu_bottom-1-lvl.bx-hover .menu_bottom-2-lvl-container {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Список 2-го уровня */
.menu_bottom-list-2-lvl {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu_bottom-2-lvl > a {
    display: block;
    padding: 10px 16px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.menu_bottom-2-lvl > a:hover,
.menu_bottom-2-lvl > a.bx-active {
    background: #f5f5f5;
    color: #D3202A; /* твой акцентный цвет */
}

/* Мобильная стрелка (если оставляешь) */
.menu_bottom-parent-arrow {
    display: none; /* на десктопе не нужна */
}

@media (max-width: 1280px) {
    .menu_bottom-1-lvl > a .chevron-down {
        width: 16px;
    }

    .menu_bottom-1-lvl > a {
        font-size: 16px;
        line-height: 1.2;
        height: 44px;
    }

    .menu_bottom-list-1-lvl {
        gap: 10px
    }
}

@media (max-width: 1024px) {
    .menu_bottom-1-lvl > a .chevron-down {
        width: 12px;
    }

    .menu_bottom-1-lvl > a {
        font-size: 12px;
        line-height: 1.1;
        height: 37px;
    }

    .menu_bottom-list-1-lvl {
        gap: 10px
    }
}

@media (max-width: 991px) {
    .bx-top-nav-container {
        display: none; /* если мобильное меню отдельно */
    }

    /* если нужно показывать на мобильных — добавь свои правила */
}

