.menu-show-more-button {
    padding: 11px 20px;
    background: #636465;
    color: #fff;
    border-radius: 5px;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    line-height: normal;
    font-weight: 700;
}

#main-menu .backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    z-index: 1000;
    cursor: pointer;
}

.menu-content-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: 0.2s;
    height: 100%;
    width: 400px;
    max-width: 100vw;
    z-index: 1000;
    background: #fff;
}

.show-more-content.show-more-active > .menu-content-wrapper {
    transform: translateX(0);
}

.menu-header,
.sub-menu-header {
    padding: 20px 30px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #E2E2E2;
}

span.menu-close.show-less {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

#main-menu .menu-item {
    padding: 15px;
    position: relative;
    border-bottom: 1px solid #E2E2E2;
}

#main-menu .menu-item:hover {
    background: #F5F5F5;
}

.item-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.item-title > .material-symbols-outlined {
    font-weight: 300;
}

.sub-menu-items-wrapper {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #F5F5F5;
    padding: 35px 25px;
    width: calc(100vw - 100% - 300px);
    columns: 3;
}

.menu-item:hover > .sub-menu-items-wrapper {
    display: block;
}

.sub-menu-item {
    break-inside: avoid-column;
    page-break-inside: avoid;
}

.sub-menu-item .sub-menu-item-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.sub-menu-item-child-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

@media (max-width: 767px) {
    .menu-show-more-button {
        padding: 3px;
    }

    .menu-show-more-button > span:not(.material-icons) {
        display: none;
    }

    #main-menu .menu-item {
        position: static;
    }

    .sub-menu-items-wrapper {
        display: block;
        width: 100%;
        left: 0;
        transform: translateX(-100%);
        height: 100%;
        overflow: auto;
        transition: 0.2s;
        columns: unset;
        background: #fff;
        padding: 0;
    }

    .sub-menu-items-wrapper.show-more-active {
        transform: translateX(0);
    }

    .sub-menu-item {
        padding: 15px;
        position: relative;
        border-bottom: 1px solid #E2E2E2;
    }

    .sub-menu-item-child-wrapper {
        gap: 6px;
    }

    .sub-menu-item .sub-menu-item-title {
        margin: 0;
    }

    .sub-menu-item:has(>.sub-menu-item-child-wrapper) .sub-menu-item-title {
        margin-bottom: 10px;
    }
}

