// This will avoid displaying the navigation while your JS customization is loading.
.header-main-nav,
.inline-main-nav {
    display: none;
}

.main-nav-responsive__section[data-id="side-nav-directories-section"],
.main-nav-responsive__section[data-id="side-nav-directories-section"] + li{ 
    display: none
}