/* <link rel="stylesheet" href="{ basePath }/sfsites/c/resource/ecommStyle/css/header/commerce-user-profile-menu.css?{ versionKey }"/> */


/* COMMERCE USER PROFILE MENU */

commerce_my_account-user-profile-menu .menu-button {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    cursor: pointer;
    border-radius: 2.5rem;
    outline: none;
    background-color: transparent !important;
}

commerce_my_account-user-profile-menu .menu-button:focus {
    box-shadow: var(--ecomm-button-box-shadow-focus);
}

commerce_my_account-user-profile-menu .menu-button > span > span:last-child {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    opacity: 1;
    transition: opacity 0.1s;
}

commerce_my_account-user-profile-menu .menu-button:hover > span > span:last-child,
commerce_my_account-user-profile-menu .menu-button:focus > span > span:last-child {
    opacity: 0.9;
}

commerce_my_account-user-profile-menu .menu-button > span > span:last-child::after {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    content: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 22.5L3.89443 20.7111C4.572 19.356 5.95705 18.5 7.47214 18.5H16.5279C18.043 18.5 19.428 19.356 20.1056 20.7111L21 22.5M18 8.5C18 11.8137 15.3137 14.5 12 14.5C8.68629 14.5 6 11.8137 6 8.5C6 5.18629 8.68629 2.5 12 2.5C15.3137 2.5 18 5.18629 18 8.5Z' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    transition: opacity 0.1s;
}

commerce_my_account-user-profile-menu .menu-button:hover > span > span:last-child::after {
    opacity: 0.9;
}

commerce_my_account-user-profile-menu .menu-button > span > span:last-child lightning-icon {
    opacity: 0;
}

commerce_my_account-user-profile-menu .slds-dropdown {
    position: absolute !important;
    top: calc(100% + 0.5rem) !important;
    right: 0 !important;
    max-width: 250px;
    margin: 0;
    border: 0;
    padding: 0;
    border-radius: 0.5rem;
    box-shadow: var(--ecomm-color-box-shadow-02);
}

@media (max-width: 767.98px) {

    commerce_my_account-user-profile-menu .slds-dropdown {
        position: fixed !important;
        top: 70px !important;
        left: 1rem !important;
        right: 1rem !important;
        width: calc(100% - 2rem) !important;
    }

}

commerce_my_account-user-profile-menu .slds-dropdown::before,
commerce_my_account-user-profile-menu .slds-dropdown::after,
commerce_my_account-user-profile-menu .slds-dropdown .menu-nubbin {
    display: none !important;
}

commerce_my_account-user-profile-menu .slds-dropdown .slds-dropdown__list {
    border-radius: 0.25rem;
}

commerce_my_account-user-profile-menu .slds-dropdown .slds-dropdown__item {
    border-bottom: 0 !important;
}

commerce_my_account-user-profile-menu .slds-dropdown .slds-dropdown__list a.menu-item,
commerce_my_account-user-profile-menu .slds-dropdown .slds-dropdown__list a.menu-item_hover {
    padding: 0.5625rem 0.9375rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25rem;
    box-shadow: unset !important;
    outline: none !important;
    transition: color 0.1s, background-color 0.1s;
}

commerce_my_account-user-profile-menu .slds-dropdown .slds-dropdown__list a.menu-item {
    color: var(--ecomm-color-black-01) !important;
    background-color: var(--ecomm-color-white-01) !important;
}

commerce_my_account-user-profile-menu .slds-dropdown .slds-dropdown__list a.menu-item_hover {
    color: var(--ecomm-color-white-01) !important;
    background-color: var(--ecomm-color-primary-01) !important;
}