body .c-header__user-dropdown {
    --am-accent: var(--accent_color2, #ef3743);
    --am-ink: #1f2430;
    --am-text: #42507a;
    --am-muted: #6b7280;
    --am-soft: #f3f4f7;
    --am-line: #eceef2;
    --am-danger: #d92d20;
    width: 284px;
    margin-top: 12px;
    padding: 8px !important;
    overflow: hidden;
    border: 1px solid #e9ecf1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px -18px rgba(16, 24, 40, .3);
    direction: rtl;
    text-align: right;
}

body.night .c-header__user-dropdown,
body.bk-mc-dark .c-header__user-dropdown {
    --am-ink: var(--darkmode_text, #e8eaef);
    --am-text: #c4c9d4;
    --am-muted: #9aa1ad;
    --am-soft: rgba(255, 255, 255, .06);
    --am-line: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .08);
    background: var(--darkmode_background, #1b1e26);
}

body .c-header__user-dropdown::before,
body .c-header__user-dropdown::after {
    display: none !important;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    margin: 0 !important;
    padding: 7px 10px !important;
    border-radius: 14px !important;
    background: transparent;
    color: var(--am-ink) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.6 !important;
    text-decoration: none !important;
    transition: background-color .2s, color .2s;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action:hover,
body .c-header__user-dropdown a.c-header__user-dropdown-action:focus-visible {
    background: var(--am-soft) !important;
    color: var(--am-ink) !important;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action :is(span.icon, span.orders-menu, i.bakala-loguot) {
    position: static !important;
    display: grid !important;
    place-items: center;
    flex-shrink: 0;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border-radius: 11px;
    background: var(--am-soft) none !important;
    transition: background-color .2s, color .2s;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action :is(span.icon, span.orders-menu, i.bakala-loguot)::before {
    position: static !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--am-text) !important;
    font-family: bakala !important;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 1 !important;
    transition: color .2s;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action span.orders-menu::before {
    content: "\E0CC" !important;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action span.orders-menu::after {
    content: none !important;
    display: none !important;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action:hover :is(span.icon, span.orders-menu) {
    background: color-mix(in srgb, var(--am-accent) 12%, transparent) !important;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action:hover :is(span.icon, span.orders-menu)::before {
    color: var(--am-accent) !important;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action .count {
    margin: 0 auto 0 0 !important;
    padding: 0 8px !important;
    border-radius: 999px;
    background: var(--am-accent);
    color: #fff;
    font-size: 11px !important;
    line-height: 20px;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action--profile {
    min-height: 0;
    margin: 0 0 6px !important;
    padding: 12px !important;
    background: var(--am-soft) !important;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action--profile:hover {
    background: color-mix(in srgb, var(--am-accent) 8%, var(--am-soft)) !important;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action--profile > div {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

body .c-header__user-dropdown .c-header__user-dropdown-action--profile .profile-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    overflow: hidden;
    border: 2px solid #fff;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 12px -6px rgba(16, 24, 40, .35);
}

body .c-header__user-dropdown .c-header__user-dropdown-action--profile .profile-avatar img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    object-fit: cover;
}

body .c-header__user-dropdown .c-header__user-dropdown-action--profile .profile-name {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 8px;
    min-width: 0;
    padding: 0 !important;
}

body .c-header__user-dropdown .c-header__user-dropdown-action--profile .profile-name span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--am-ink) !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action--profile .fa-chevron-left {
    position: static !important;
    display: grid !important;
    place-items: center;
    flex-shrink: 0;
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 6px -2px rgba(16, 24, 40, .2);
    color: var(--am-accent) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    transition: transform .2s;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action--profile .fa-chevron-left::before {
    content: "" !important;
    width: 7px;
    height: 7px;
    margin-right: -3px;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    border-radius: 1px;
    transform: rotate(45deg);
}

body .c-header__user-dropdown a.c-header__user-dropdown-action--profile:hover .fa-chevron-left {
    transform: translateX(-3px);
}

body .c-header__user-dropdown a.c-header__user-dropdown-action--logout {
    margin-top: 6px !important;
    color: var(--am-danger) !important;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action--logout::before {
    content: "";
    position: absolute;
    top: -4px;
    right: 10px;
    left: 10px;
    border-top: 1px dashed var(--am-line);
}

body .c-header__user-dropdown a.c-header__user-dropdown-action--logout i.bakala-loguot {
    background: #fef3f2 !important;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action--logout i.bakala-loguot::before {
    content: "\E088" !important;
    color: var(--am-danger) !important;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action--logout:hover {
    background: #fef3f2 !important;
    color: var(--am-danger) !important;
}

body .c-header__user-dropdown a.c-header__user-dropdown-action--logout:hover i.bakala-loguot {
    background: #fde4e1 !important;
}

body .c-header__user-dropdown .c-header__user-dropdown-login {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 46px !important;
    margin: 4px 0 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: var(--am-accent) !important;
    box-shadow: 0 10px 20px -10px color-mix(in srgb, var(--am-accent) 80%, transparent);
    color: #fff !important;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 800;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer;
}

body .c-header__user-dropdown .c-header__user-dropdown-sign-up {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 6px !important;
    padding: 10px 0 12px;
    border-bottom: 1px dashed var(--am-line) !important;
    line-height: 1.6 !important;
}

body .c-header__user-dropdown .c-header__user-dropdown-sign-up span {
    color: var(--am-muted) !important;
    font-size: 13px !important;
    letter-spacing: 0 !important;
}

body .c-header__user-dropdown .c-header__user-dropdown-sign-up a {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: var(--am-accent) !important;
    font-size: 13px !important;
    font-weight: 700;
    text-decoration: none !important;
}

@media (prefers-reduced-motion: reduce) {
    body .c-header__user-dropdown * {
        transition: none !important;
    }
}

.bk-av-initial {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, color-mix(in srgb, var(--bk-av, #6366f1) 82%, #fff), var(--bk-av, #6366f1));
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    user-select: none;
}

body .c-header__user-dropdown .c-header__user-dropdown-action--profile .profile-avatar:has(.bk-av-initial) {
    border-color: color-mix(in srgb, var(--bk-av, #6366f1) 20%, #fff);
    background: transparent;
}

body .c-header__user-dropdown .c-header__user-dropdown-action--profile .profile-avatar .bk-av-initial {
    border-radius: 12px;
}
