Hide page(s) based on geolocation/ market

Thanks for this solution, I am also trying to hide a menu for a different market . Can you explain where you put the :

header .list-menu li:last-child {display:none;}

I.e on each menu item for the different market store, or somewhere else?

Ideally, it would be great to be able to change create a new menu, and then add that menu in the header section for the different market store.

thanks