.headerLinks li [class*="icon"] .count {
    position: absolute;
    top: -4px;
    right: -8px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #EBF0F7;
    font-weight: bold;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    font-family: Gilroy;
    color: #000;
}

.headerLinks li [class*="icon"] .count:empty {
    display: none;
}

.headerLinks [class*="icon"] {
    position: relative;
    width: 24px;
    height: 24px;
}


.toolbar__wrap {
    display: flex;
    justify-content: space-between;
}

.toolbar {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px -8px 12px rgba(152, 152, 152, 0.14);
    display: none;
    border-radius: 20px 20px 0 0;

}

.toolbar .headerLinks li {
    padding: 12px 0;
    display: block;
}

.toolbar .headerLinks li.header-langg span:first-child{
    width: 42px;
    margin-left: auto;
    margin-right: auto;
}

.toolbar .headerLinks,
.toolbar__wrap > div {
    justify-content: space-between;
    width: 100%;
}

.toolbar .headerLinks [class*="icon"] {
    color: #232323;
    font-size: 24px;
    margin-bottom: 4px;
}

.toolbar .icon-home,
.toolbar .icon-catalog {
    position: relative;
}

.toolbar .icon-home:before,
.toolbar .icon-catalog:before,
.toolbar .icon-percent:before,
.toolbar .icon-about:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.toolbar .icon-about:before {
    background-image: url(images/about.svg);
}

.toolbar .icon-catalog:before {
    background-image: url(images/catalog.svg);
}

.toolbar .icon-percent:before {
    background-image: url(images/percent.svg);
}


.toolbar .icon-home:before {
    background-image: url(images/home.svg);
}

/*.toolbar .headerLinks li:hover .icon-home:before {
    background-image: url(images/home-blue.svg);
}

.toolbar .headerLinks li:hover .icon-catalog:before {
    background-image: url(images/catalog-blue.svg);
}

.toolbar .headerLinks li:hover .icon-heart:before,
.toolbar .headerLinks li:hover .icon-chart:before,
.toolbar .headerLinks li:hover .icon-basket:before {
    color: #026EF9;
}*/

.toolbar .headerLinks li:hover .title {
    color: #232323;
}

.toolbar .headerLinks .title {
    display: block;
    font-weight: 400;
    font-size: 8px;
    line-height: 8px;
}

.toolbar .headerLinksActive .title {
    color: #026EF9;
}

.toolbar .headerLinksActive .icon-home:before {
    background-image: url(images/home-blue.svg);
}

.toolbar .headerLinksActive .icon-catalog:before {
    background-image: url(images/catalog-blue.svg);
}


.toolbar .headerLinksActive .icon-heart:before,
.toolbar .headerLinksActive .icon-chart:before,
.toolbar .headerLinksActive .icon-basket:before {
    color: #026EF9;
}

.header-langg span:first-child {
    height: 24px;
    line-height: 24px;
    display: block;
    margin-bottom: 4px;
    position: relative;
    padding-right: 15px;
}

.header-langg span:first-child:before {
    content: '';
    background-image: url(/local/templates/mst/images/arrow-down-black.svg);
    width: 10px;
    height: 10px;
    position: absolute;
    right: 0px;
    top: 6px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.toolbar .headerLinksActive .icon-percent:before {
    background-image: url(images/percent-blue.svg);
}

.toolbar .headerLinksActive .icon-about:before {
    background-image: url(images/about-blue.svg);
}

.header-langg-list__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.header-langg__list {
    position: absolute;
    left: 0;
    top: 150%;
    width: 100%;
    background-color: #fff;
    padding: 18px 30px;
    box-shadow: 0px -8px 12px rgba(152, 152, 152, 0.14);
    z-index: 1;
    border-radius: 20px 20px 0 0;
    height: 100%;
    transition: .3s;
}

.header-langg__list--active {
    top: 0;
}

.header-langg-list__wrap a,
.header-langg-list__wrap span {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 14px;
    line-height: 24px;
    color: #232323;
}

.header-langg-list__wrap span {
    color: #026EF9;
}

.header-langg-list__close {
    position: absolute;
    right: 14px;
    top: 7px;
    background-image: url(/local/templates/mst/img/close-black.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px;
    width: 25px;
    height: 25px;
}

@media (max-width: 767px) {
    .toolbar {
        display: block;
    }
}