/* Account menu — dashboard + public header */
#header-container.dashboard .user-menu .user-name,
#header-container.dashboard .user-menu.active .user-name,
#header-container.dashboard .user-menu:hover .user-name,
body.transparent-header #header:not(.cloned) .user-menu .user-name,
body.transparent-header #header:not(.cloned) .user-menu.active .user-name,
body.transparent-header #header:not(.cloned) .user-menu:hover .user-name,
.transparent-header #header:not(.cloned) .user-menu .user-name,
.transparent-header #header:not(.cloned) .user-menu.active .user-name,
.transparent-header #header:not(.cloned) .user-menu:hover .user-name {
    color: #fff !important;
    font-family: Outfit, 'Open Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

#header-container.dashboard .user-menu .user-name:after,
#header-container.dashboard .user-menu.active .user-name:after,
#header-container.dashboard .user-menu:hover .user-name:after,
body.transparent-header #header:not(.cloned) .user-menu .user-name:after,
.transparent-header #header:not(.cloned) .user-menu .user-name:after {
    color: #fff !important;
}

#header-container.dashboard .user-menu,
body.transparent-header #header:not(.cloned) .user-menu {
    top: 0;
    margin: 0 16px 0 8px;
    padding-left: 44px;
    vertical-align: middle;
}

#header-container.dashboard .user-menu ul,
body.transparent-header #header:not(.cloned) .user-menu ul {
    width: 240px;
    min-width: 240px;
    padding: 8px;
    top: calc(100% + 12px);
    background: #F8F4EE;
    border: 1px solid #E6DCCE;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(26, 20, 16, 0.22);
    list-style: none;
}

#header-container.dashboard .user-menu ul li,
body.transparent-header #header:not(.cloned) .user-menu ul li {
    margin: 0;
    padding: 0;
}

#header-container.dashboard .user-menu ul li a,
body.transparent-header #header:not(.cloned) .user-menu ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    margin: 0;
    border-radius: 8px;
    color: #1A1410 !important;
    font-family: Outfit, 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

#header-container.dashboard .user-menu ul li a i,
body.transparent-header #header:not(.cloned) .user-menu ul li a i {
    width: 18px;
    flex-shrink: 0;
    color: #C9851A;
}

#header-container.dashboard .user-menu ul li a:hover,
body.transparent-header #header:not(.cloned) .user-menu ul li a:hover {
    background: #FAF1DE;
    color: #1A1410 !important;
}

.user-menu .user-name:has(.user-menu-caret):after {
    content: none !important;
    display: none !important;
}

.user-menu .user-menu-caret {
    display: inline-block;
    margin-left: 6px;
    font-size: 16px;
    font-style: normal;
    line-height: 1;
    flex-shrink: 0;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.user-menu.active .user-menu-caret {
    transform: rotate(180deg);
}

body.transparent-header #header:not(.cloned) .user-menu .user-menu-caret,
.transparent-header #header:not(.cloned) .user-menu .user-menu-caret,
#header-container.dashboard .user-menu .user-menu-caret {
    color: #fff;
}

@media (max-width: 1024px) {
    body.transparent-header #header:not(.cloned) .user-menu .user-name,
    body.transparent-header #header:not(.cloned) .user-menu.active .user-name,
    body.transparent-header #header:not(.cloned) .user-menu:hover .user-name,
    .transparent-header #header:not(.cloned) .user-menu .user-name,
    .transparent-header #header:not(.cloned) .user-menu.active .user-name,
    .transparent-header #header:not(.cloned) .user-menu:hover .user-name {
        color: #1A1410 !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    body.transparent-header #header:not(.cloned) .user-menu .user-greeting,
    body.transparent-header #header:not(.cloned) .user-menu.active .user-greeting,
    body.transparent-header #header:not(.cloned) .user-menu:hover .user-greeting,
    body.transparent-header #header:not(.cloned) .user-menu .user-menu-caret,
    body.transparent-header #header:not(.cloned) .user-menu.active .user-menu-caret,
    body.transparent-header #header:not(.cloned) .user-menu:hover .user-menu-caret,
    .transparent-header #header:not(.cloned) .user-menu .user-menu-caret {
        color: #1A1410 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    body:not(.transparent-header) #header .user-menu .user-name,
    body:not(.transparent-header) #header .user-menu.active .user-name,
    body:not(.transparent-header) #header .user-menu:hover .user-name,
    body:not(.transparent-header) #header .user-menu .user-greeting,
    body:not(.transparent-header) #header .user-menu .user-menu-caret {
        color: #1A1410 !important;
    }

    .user-menu .user-name {
        max-width: none !important;
        overflow: visible !important;
    }

    .user-menu .user-menu-caret {
        display: inline-block !important;
    }
}
