#header .main-menu {
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
#header .main-menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    font-weight: 500;
}
#header .main-menu ul li.item-root {
    list-style: none;
    padding: 8px 2px;
    font-weight: 600;
    position: relative;
}
#header .main-menu ul li.item-root a {
    padding: 5px;
    text-transform: uppercase;
    font-size: 15px;
}
#header .main-menu ul li.item-root label {
    top: -1px;
    right: -2px;
    font-size: 10px;
    color: var(--bs-red);
    position: absolute;
    font-weight: 700;
}
#header .main-menu .child-menu {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 20px;
    background: #fff;
    border-radius: 0 0 10px 10px;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.21);
    -moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.21);
    box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.21);
    z-index: 12;

}
#header .main-menu .child-menu.columns-6 {
    -webkit-columns: 4;
    column-count: 4;
}
#header .main-menu .child-menu .level-2 {
    -webkit-column-break-inside: avoid;
    break-inside: avoid;
    position: relative;
}
#header .main-menu .child-menu .level-2 .item-name {
    padding: 8px 0;
    display: block;
    font-weight: 700;
}
#header .main-menu .child-menu .level-3 .item-name {
    padding: 4px 0;
    display: block;
    color: #333;
    font-weight: 400;
}
#header .main-menu .child-menu .level-3 .item-name:hover {
    color: var(--bs-primary);
}

/*Устройства Large (настольные компьютеры, 992 пикселей и выше)*/
@media (min-width: 992px) {
    #header .main-menu .child-menu.columns-6 {
        -webkit-columns: 4;
        column-count: 4;
    }
    #header .main-menu ul li.item-root a {
        padding: 5px;
    }
}

/*Устройства X-Large (большие настольные компьютеры, 1200 пикселей и выше)*/
@media (min-width: 1200px) {
    #header .main-menu .child-menu.columns-6 {
        -webkit-columns: 5;
        column-count: 5;
    }
    #header .main-menu ul li.item-root {
        font-size: 1rem;
    }
    #header .main-menu ul li.item-root a {
        padding: 5px 10px;
    }
}