I am trying to remove the store.menu block from navigation section, without removing the navigation completely. Removing the store.menu block using layout breaks the hamburger functionality. I want to keep only the store.links item contents in header, for my website’s mobile view.
This is what default Magento provides.

This is what I want to acheive.

I have tried removing store.menu in my theme’s default.xml, but as mentioned before, it breaks the hamburger.
<referenceBlock name="store.menu" remove="true" />
I also tried creating a sections.phtml inside my theme app/design/frontend/Vendor/Theme/Magento_Theme/templates/html/sections.phtml, and prevent the store.menu element from getting generated. But that breaks the hamburger as well.
Any help will be appreciated.