Wear mountain bike shorts over your spandex type bike shorts. Offers a little more protection if you happen to take a fall or branch reaches out and catches them. Good chance a fall could rip the spandex bike shorts to the point where they won't stay on. Plus you don't want to look like a roadie on the trail.
Also baggy shorts around the bottom are a bad idea. Can get caught on things on the bike or trail. Best to get a little tighter form fitting mountain bike short.
https://www.amazon.com/s?k=mountain+...f=nb_sb_noss_2