I'm in Japan. I've only checked Amazon, but I didn't see any problems getting parts there. I'd recommend looking at online sellers instead of local shops. Local shops aren't motivated to look for anything beyond what their preferred supplier has in stock.
Back in the US during Covid, I needed a new derailleur hangar because I bent mine, and wanted it quickly so I could go riding again. My local shops all said it was hard to find and expensive, and I'd have to wait a month just for them to install it (and they wouldn't sell it to me directly) for a small fortune because they said it needed to be specially bent (it didn't). So I found an online shop that had it and bought 2, got it in a few days, and installed it myself. Sorry, but after that experience, the people saying "support your LBS!" can shove it.
The other thing you should be aware of is that the exact part you're looking for may not be easily available. So if you want to replace a whole caliper, for instance, you'll probably have a much easier time finding a compatible caliper (probably a newer design) than finding another of the old one. Mfgrs are constantly updating their product lines, so it's frequently cheaper to just get something newer rather than an exact replacement, though of course there's limits here (you can't easily change from a 10-speed drivetrain to an 11-speed one, for instance, but you can easily mix-and-match different 11-speed cassettes). For hydraulic brakes, on road and hybrid bikes these days, they mostly all use the same flat-mount standard, with a few different rotor sizes.