.fixed-nav {
    position: fixed;
    top: 100%;
    right: 20px;
    transform: translateY(calc(-100% - 20px));
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.fixed-nav > * {
    pointer-events: auto;
}

.fixed-nav__menu {
    background: #ffffff;
    text-align: right;
    min-width: 200px;
    padding: 20px 20px 128px 20px;
    border-radius: 20px 20px 0 20px;
    margin: 0 -20px -108px 0;
    box-shadow: 0 0 15px -5px #333333;
    transform: translateX(calc(100% + 50px));
    transition: transform .2s ease-in-out;
}

.fixed-nav__menu_open {
    transform: translateX(0);
    transition: transform .2s ease-in-out;
}

.fixed-nav__item:first-child {
    margin-top: 8px;
}

.fixed-nav__item:last-child {
    margin-bottom: 8px;
}

.fixed-nav__link {
    font-weight: 500;
    font-size: 14px;
    line-height: 180%;
    color: #463B3F;
    display: block;
    padding: 8px 15px 8px 0;
}

.fixed-nav__link_active {
    position: relative;
    color: #572f8e;
}

.fixed-nav__link_active:after {
    content: '';
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    position: absolute;
    background: #ED7453;
    border-radius: 50%;
}

.fixed-nav__burger {
    font-size: 0;
    background: #ED7453;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    margin-bottom: 8px;
    position: relative;
    opacity: .5;
    transition: opacity .2s ease-in-out;
}

.fixed-nav__burger_show {
    opacity: 1;
    transition: opacity .2s ease-in-out;
}

.fixed-nav__burger:after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: #ffffff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 -8px 0 0 #ffffff, 0 8px 0 0 #ffffff;
}

.fixed-nav__up {
    background: #572f8e;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    position: relative;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease-in-out;
}

.fixed-nav_show .fixed-nav__up {
    visibility: visible;
    opacity: 0.7;
    transition: opacity .2s ease-in-out;
}

.fixed-nav_show .fixed-nav__up:hover {
    opacity: 1;
    transition: opacity .2s ease-in-out;
}

.fixed-nav__up_show {
    opacity: 1;
    transition: opacity .2s ease-in-out;
}


.fixed-nav__up-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 25px;
}


@media (min-width: 375px) {

}

@media (min-width: 576px) {

}

@media (min-width: 869px) {
    .fixed-nav {
        position: fixed;
        left: 0;
        right: 0;
        flex-direction: revert;
        display: flex;
        align-items: center;
        transform: translateY(-100%);
    }

    .fixed-nav.fixed-nav_frieze {
        position: absolute;
        top: 0;
    }

    .fixed-nav__menu {
        display: flex;
        right: 0;
        justify-content: center;
        width: 100%;
        min-width: 0;
        padding: 5px 20px;
        margin: 0;
        border-radius: 0;
        z-index: -1;
        background: #F5F5F5;
        box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
        transform: none;
    }

    .fixed-nav__menu_open {
        transform: translate(0);
        z-index: 0;
    }

    .fixed-nav__item {
        padding: 0 8px;
    }

    .fixed-nav__link {
        /*font-size: 16px;*/
        padding: 8px 0;
    }

    .fixed-nav__link_active:after {
        display: none;
    }

    .fixed-nav__item:first-child {
        margin-top: 0;
    }

    .fixed-nav__item:last-child {
        margin-bottom: 0;
    }

    .fixed-nav__burger {
        display: none;
    }

    .fixed-nav__up {
        position: absolute;
        right: 10px;
        width: 58px;
        height: 58px;
        transform: translateY(-100%);
    }
}

@media (min-width: 1189px) {
    .fixed-nav__item {
        padding: 0 10px;
    }

    .fixed-nav__link {
        font-size: 16px;
    }
}
