Was going to say the same, It’s obvious where the costs add up.
I find it strange that stores tend to stock gear that’s more marketed at beginners. I’d classify myself as a beginner on guitar and hate the idea of having to try gear out in a store, showing everyone how inept I am. However I guess for more advanced players, you sort of know what you want and won’t have an issue buying unseen online as a result, resulting in no footfall for physical shops.