.av-side-menu {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
}

.av-side-menu.is-open {
    display: block;
}

.av-side-menu__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.34);
    cursor: pointer;
}

.av-side-menu__panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(292px, 86vw);
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden auto;
}

.av-side-menu__top {
    position: relative;
    padding: 18px 16px 16px;
    border-bottom: 1px solid #efedf0;
}

.av-side-menu__profile {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    padding-right: 28px;
}

.av-side-menu__avatar {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    overflow: hidden;
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.av-side-menu__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.av-side-menu__avatar-fallback {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.av-side-menu__profile-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.av-side-menu__profile-copy strong {
    font-size: 17px;
    font-weight: 500;
    color: #111827;
}

.av-side-menu__profile-copy span {
    margin-top: 5px;
    font-size: 13px;
    color: #74829a;
}

.av-side-menu__close {
    position: absolute;
    top: 14px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #7a6f7a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

.av-side-menu__nav {
    display: flex;
    flex-direction: column;
    padding: 6px 0 18px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.av-side-menu__form {
    margin: 0;
}

.av-side-menu__item {
    min-height: 56px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: #0f172a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(239, 237, 240, 0.55);
}

.av-side-menu__item i {
    width: 20px;
    color: #7b8290;
    font-size: 18px;
    text-align: center;
    flex: 0 0 auto;
}

.av-side-menu__item:hover {
    background: #faf8f9;
}

.av-side-menu__item--button {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.av-side-menu__language,
.av-side-menu__support {
    position: absolute;
    inset: 0;
    background: #fff;
    overflow-y: auto;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.av-side-menu.is-language-open .av-side-menu__language {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.av-side-menu.is-help-open .av-side-menu__support {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.av-side-menu__language-head,
.av-side-menu__support-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 16px 14px;
    border-bottom: 1px solid #efedf0;
}

.av-side-menu__language-head strong,
.av-side-menu__support-head strong {
    
    font-size: 18px;
    font-weight: 500;
    color: #111827;
    line-height: 1.1;
}

.av-side-menu__language-back,
.av-side-menu__support-back {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #5a6578;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

.av-side-menu__language-list,
.av-side-menu__support-list {
    display: flex;
    flex-direction: column;
    padding: 8px 0 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.av-side-menu__language-item {
    min-height: 58px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #0f172a;
    font-size: 15px;
    font-weight: 500;
}

.av-side-menu__language-item:hover {
    background: #faf8f9;
}

.av-side-menu__support-item {
    min-height: 58px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #0f172a;
    font-size: 16px;
    font-weight: 500;
}

.av-side-menu__support-item:hover {
    background: #faf8f9;
}

.av-side-menu__flag {
    width: 36px;
    text-align: center;
    font-size: 24px;
    line-height: 1;
}

@media (min-width: 992px) {
    .av-side-menu__panel {
        width: 320px;
    }
}
