#customerMenuTrigger {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1101;
    width: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

#customerMenuTrigger:focus-visible {
    outline: 2px solid #c58a95;
    outline-offset: -2px;
}

.customer-popup-menu,
.customer-popup-menu * {
    box-sizing: border-box;
}

.customer-popup-menu {
    position: fixed;
    inset: 0 auto 0 -238px;
    z-index: 1100;
    width: 238px;
    max-width: 100vw;
    height: 100vh;
    padding: 28px 14px;
    overflow-x: hidden;
    overflow-y: auto;
    border-right: 1px solid rgba(252, 248, 244, .14);
    background:
        radial-gradient(ellipse at 18% 0, rgba(255,255,255,.12), transparent 38%),
        linear-gradient(180deg, #713e49 0%, #824955 62%, #925662 100%);
    box-shadow: 14px 0 34px rgba(62, 37, 43, .24), inset -1px 0 rgba(255,255,255,.16);
    color: #fcf8f4;
    transition: left .32s cubic-bezier(.2, .8, .2, 1);
    perspective: 900px;
}

.customer-popup-menu.is-open {
    left: 0;
}

.customer-menu-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 25px;
    padding: 4px 8px 20px;
    border-bottom: 1px solid rgba(252, 248, 244, .16);
    color: #fcf8f4;
    font: 700 20px Georgia, "Times New Roman", serif;
    text-decoration: none;
}

.customer-menu-brand img {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .2);
}

.customer-menu-brand small {
    display: block;
    margin-top: 2px;
    color: #f0dadd;
    font: 700 12px Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.customer-menu-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
}

.customer-menu-link {
    display: flex;
    min-height: 47px;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-width: 0;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: rgba(252, 248, 244, .1);
    color: rgba(252, 248, 244, .96);
    font: 700 14px Arial, sans-serif;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transform: translateZ(0);
    box-shadow: 0 3px 0 rgba(62, 37, 43, .12);
    transition: background .18s ease, border-color .18s ease, transform .2s ease, box-shadow .2s ease;
}

.customer-menu-icon {
    display: grid;
    width: 20px;
    flex: 0 0 20px;
    place-items: center;
    color: #e7b9bf;
    font-size: 15px;
}

.customer-menu-link:hover,
.customer-menu-link.active,
.customer-menu-group.is-current > .customer-menu-toggle {
    transform: translate3d(3px, -2px, 8px);
    border-color: rgba(252, 248, 244, .16);
    background: linear-gradient(135deg, rgba(252,248,244,.2), rgba(252,248,244,.11));
    color: #fff;
    box-shadow: inset 3px 0 #dfb6bc, 0 6px 0 rgba(62,37,43,.13), 0 11px 18px rgba(42,25,30,.18);
}

.customer-menu-group {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 13px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.customer-menu-group.is-current {
    padding: 4px;
    border-color: rgba(252, 248, 244, .12);
    background: linear-gradient(145deg, rgba(62,37,43,.2), rgba(62,37,43,.08));
    box-shadow: inset 0 2px 5px rgba(42,25,30,.12), 0 4px 10px rgba(42,25,30,.1);
}

.customer-menu-group.is-current > .customer-menu-toggle,
.customer-menu-toggle[aria-expanded="true"] {
    border-color: rgba(252, 248, 244, .16);
    background: rgba(252, 248, 244, .16);
}

.customer-menu-chevron {
    width: 7px;
    height: 7px;
    margin-left: auto;
    border-right: 2px solid #dfb6bc;
    border-bottom: 2px solid #dfb6bc;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
}

.customer-menu-toggle[aria-expanded="true"] .customer-menu-chevron {
    transform: rotate(225deg) translate(-2px, -1px);
}

.customer-menu-submenu {
    display: none;
    gap: 4px;
    padding: 6px 0 0;
}

.customer-menu-submenu.is-open {
    display: grid;
}

.customer-menu-sublink {
    display: block;
    padding: 12px 10px 12px 36px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: rgba(252, 248, 244, .9);
    font: 600 13px Arial, sans-serif;
    text-decoration: none;
    transform: translateZ(0);
    transition: background .18s ease, border-color .18s ease, color .18s ease, padding .18s ease, transform .18s ease, box-shadow .18s ease;
}

.customer-menu-sublink:hover,
.customer-menu-sublink.active {
    padding-left: 40px;
    transform: translate3d(2px, -1px, 5px);
    border-color: rgba(252, 248, 244, .12);
    background: linear-gradient(135deg, rgba(252,248,244,.18), rgba(252,248,244,.08));
    color: #fff;
    box-shadow: 0 4px 9px rgba(42,25,30,.12);
}

.customer-menu-close {
    display: none;
}

@media (hover: none), (pointer: coarse) {
    #customerMenuTrigger {
        z-index: 1099;
        width: 44px;
    }

    .customer-menu-close {
        position: absolute;
        top: 13px;
        right: 12px;
        display: grid;
        width: 33px;
        height: 33px;
        place-items: center;
        border: 1px solid rgba(252, 248, 244, .16);
        border-radius: 50%;
        background: rgba(252, 248, 244, .12);
        color: #fcf8f4;
        font-size: 21px;
        cursor: pointer;
    }
}

@media (prefers-reduced-motion: reduce) {
    .customer-popup-menu,
    .customer-menu-link,
    .customer-menu-group,
    .customer-menu-chevron,
    .customer-menu-sublink {
        transition: none;
    }
}
