:root {
    --sto-sidebar-width: 251px;
    --sto-yellow: #ffe93d;
}

html body .sto-menu-toggle {
    position: fixed !important;
    z-index: 100003 !important;
    inset: 16px auto auto 18px !important;
    width: 42px !important;
    min-width: 0 !important;
    max-width: 42px !important;
    height: 38px !important;
    min-height: 0 !important;
    max-height: 38px !important;
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 5px 7px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    appearance: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    cursor: pointer;
}

html body .sto-menu-toggle::before,
html body .sto-menu-toggle::after {
    content: none !important;
    display: none !important;
}

html body .sto-menu-toggle:hover,
html body .sto-menu-toggle:focus,
html body .sto-menu-toggle:active {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.sto-menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    background: var(--sto-yellow);
    transition: transform .2s ease, opacity .2s ease;
}

.sto-menu-open .sto-menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.sto-menu-open .sto-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.sto-menu-open .sto-menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.sto-sidebar {
    position: fixed;
    z-index: 100002;
    inset: 0 auto 0 0;
    width: var(--sto-sidebar-width);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #000;
    color: #fafafa;
    box-shadow: 8px 0 30px rgb(0 0 0 / 25%);
    transform: translateX(-100%);
    transition: transform .25s ease;
    scrollbar-width: thin;
}

.sto-menu-open .sto-sidebar {
    transform: translateX(0);
}

.sto-sidebar__head {
    min-height: 125px;
    padding: 17px 24px 8px;
    text-align: center;
}

.sto-sidebar__logo {
    display: inline-block;
}

.sto-sidebar__logo img {
    display: block;
    width: 151px;
    height: 53px;
    object-fit: contain;
}

.sto-sidebar__head p {
    margin: 2px 0 0;
    color: #bbb;
    font-size: 12px;
    line-height: 1.45;
}

.sto-sidebar__nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sto-menu > .sto-menu-item {
    position: relative;
    border-bottom: 1px solid rgb(255 255 255 / 13%);
}

.sto-menu-item__handle {
    position: absolute;
    z-index: 1;
    inset: 0 0 auto auto;
    width: 48px;
    height: 64px;
    display: none;
    cursor: pointer;
}

.sto-menu-item.menu-item-has-children > .sto-menu-item__handle {
    display: block;
}

.sto-menu-item.menu-item-has-children > .sto-menu-item__handle::after {
    content: '›';
    position: absolute;
    top: 18px;
    right: 17px;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    transition: transform .15s ease;
}

.sto-menu-item.sto-submenu-open > .sto-menu-item__handle::after {
    transform: rotate(90deg);
}

.sto-menu-item a {
    min-height: 66px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 7px 18px;
    color: #fafafa;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .15s ease, color .15s ease;
}

.sto-menu-item a:hover,
.sto-menu-item.current-menu-item > a,
.sto-menu-item.current-menu-ancestor > a {
    color: var(--sto-yellow);
    background: #0b0b0b;
}

.sto-menu-item__icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: grayscale(1) brightness(4);
}

.sto-menu-item .sub-menu {
    display: none;
    padding: 4px 0 8px;
    background: #090909;
}

.sto-menu-item:hover > .sub-menu,
.sto-menu-item:focus-within > .sub-menu,
.sto-menu-item.current-menu-ancestor > .sub-menu,
.sto-menu-item.sto-submenu-open > .sub-menu {
    display: block;
}

.sto-menu-item--child a {
    min-height: 38px;
    padding: 7px 16px;
    color: #ddd;
    font-size: 11px;
}

.sto-menu-overlay {
    position: fixed;
    z-index: 100001;
    inset: 0;
    display: block;
    visibility: hidden;
    border: 0;
    background: rgb(0 0 0 / 58%);
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
}

.sto-menu-open .sto-menu-overlay {
    visibility: visible;
    opacity: 1;
}

body.sto-menu-open {
    overflow: hidden;
}

@media (min-width: 1100px) {
    body.sushitime-optimized-core {
        padding-left: var(--sto-sidebar-width);
    }

    .sto-menu-toggle {
        display: none;
    }

    .sto-sidebar {
        transform: translateX(0);
        box-shadow: none;
    }

    .sto-menu-overlay {
        display: none;
    }
}

@media (max-width: 1099px) {
    .sto-sidebar__head {
        padding-top: 64px;
    }
}
