/*CSS*/
.yandex-browser-detector {
    order: -1;
    width: auto;
    height: 30px;
    max-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 12;
    text-align: center;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.yandex-browser-detector_close {
    max-height: 0;
}
.yandex-browser-detector-inner {
    width: 100%;
    min-height: 40px;
    padding: 5px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 14px;
    color: #e5e5e5;
    line-height: 1.06;
    background: #a92c2c;
}
@media all and (max-width: 992px) {
    .yandex-browser-detector {
        order: 0;
        height: 40px;
    }
    .yandex-browser-detector_close {
        opacity: 0;
        visibility: hidden;
    }
    .yandex-browser-detector-inner {
        width: auto;
        max-width: none;
        height: 40px;
        padding: 4px 25px;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        font-size: 12px;
    }
}
.yandex-browser-detector a {
    display: inline-block;
    color: #e5e5e5;
    text-decoration: underline;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}
.yandex-browser-detector a:hover {
    color: #fff;
}
.yandex-browser-detector-button {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 0;
    top: 50%;
    margin: -15px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*
Модификаторы для шапки в мобильной версии
 */
@media all and (max-width: 992px) {
    .body-browser-detector .header-catalogue__overlay {
        top: 96px;
    }
    .body-browser-detector .header-menu__mobile {
        height: calc(100% - 96px);
        margin-top: 96px;
    }
    .body-browser-detector .header-catalogue {
        margin-top: 96px;
        height: calc(100% - 96px);
    }
}