/* Public menu styles. They apply only after placement is saved. */
.stitchpos-nav-styled .stitchpos-site-menu-sub,
.stitchpos-nav-styled .stitchpos-simple-menu .sub-menu {
    display: none;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: var(--stitchpos-surface, #fff);
    color: var(--stitchpos-text, #111827);
    border: 1px solid var(--stitchpos-line, #e5e7eb);
    min-width: 12em;
}
@media (min-width: 481px) {
.stitchpos-nav-styled.stitchpos-nav-style-dropdown .stitchpos-site-menu-item,
.stitchpos-nav-styled.stitchpos-nav-style-dropdown .menu-item-has-children {
    position: relative;
}
.stitchpos-nav-styled.stitchpos-nav-style-dropdown .stitchpos-site-menu-item:hover > .stitchpos-site-menu-sub,
.stitchpos-nav-styled.stitchpos-nav-style-dropdown .stitchpos-site-menu-item:focus-within > .stitchpos-site-menu-sub,
.stitchpos-nav-styled.stitchpos-nav-style-dropdown .menu-item-has-children:hover > .sub-menu,
.stitchpos-nav-styled.stitchpos-nav-style-dropdown .menu-item-has-children:focus-within > .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
}
.stitchpos-nav-styled.stitchpos-nav-style-flyout .stitchpos-site-menu-item,
.stitchpos-nav-styled.stitchpos-nav-style-flyout .menu-item-has-children {
    position: relative;
}
.stitchpos-nav-styled.stitchpos-nav-style-flyout .stitchpos-site-menu-item:hover > .stitchpos-site-menu-sub,
.stitchpos-nav-styled.stitchpos-nav-style-flyout .stitchpos-site-menu-item:focus-within > .stitchpos-site-menu-sub,
.stitchpos-nav-styled.stitchpos-nav-style-flyout .menu-item-has-children:hover > .sub-menu,
.stitchpos-nav-styled.stitchpos-nav-style-flyout .menu-item-has-children:focus-within > .sub-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 20;
}
.stitchpos-nav-close,
.stitchpos-nav-sub-toggle {
    display: none;
}
}
.stitchpos-nav-frame {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.stitchpos-nav-sidebar {
    flex: 0 0 220px;
}
.stitchpos-nav-frame-body {
    flex: 1 1 auto;
    min-width: 0;
}
@media (max-width: 480px) {
    .stitchpos-nav-styled .stitchpos-site-menu-sub,
    .stitchpos-nav-styled .stitchpos-simple-menu .sub-menu {
        display: none;
        position: static;
    }
    .stitchpos-nav-styled.is-open {
        position: fixed;
        inset: 0;
        z-index: 40;
        display: block;
        width: 100%;
        overflow: auto;
        background: var(--stitchpos-surface, #fff);
        padding: 16px;
    }
    .stitchpos-nav-styled.is-open .stitchpos-site-menu-list,
    .stitchpos-nav-styled.is-open .stitchpos-simple-menu {
        display: block;
    }
    .stitchpos-nav-styled.is-open .stitchpos-site-menu-item.is-open > .stitchpos-site-menu-sub,
    .stitchpos-nav-styled.is-open .menu-item-has-children.is-open > .sub-menu {
        display: block;
    }
    .stitchpos-nav-close {
        display: inline-block;
        margin: 0 0 12px;
    }
    .stitchpos-nav-frame {
        display: block;
    }
}
