I like how it's done in BG3, there is some loot that is scripted. The Spear in the first Dungeon is predetermined, you always get this spear. But in the other sarcophagus you can find items, which are randomly placed.
The loot isn't randomly generated, as in "the abilities on it isn't random", but one playthrough you can find a Great Axe, another you might find a Halberd.

I don't mind this, to be honest.


As for random encounters, this is something that could help the game to making long rests be a risk. RIght now there's no risk or cost involved with fast travel and long rest. Making the world feel even smaller than it already is.