I have created a three-level menu using Magento Admin It works great on desktop. But the third level menu is not collapsing on mobile view. Please check the image. Yellow highlighted links are the second level menu.
Here is what I need help with: First of all, second level menu should be in collapsed mode. And, when "Painting" is clicked on mobile, it should open up the third level menu items (Oil, Acrylic, Watercolor and so on) + "All Paintings " button on top just like how "All Collections" button is shown.