It’s been a few days. Thanks for your patience. I hope you found a solution and you’re not still stuck.
If you still need help, a minimal reproducible example would let us both work from the same code so we can debug this together. If you can share one, I’m happy to take a closer look.
If you prefer to debug on your own, I find the Output info on the Source tab very helpful. That will show you the file structure as it is deployed so you can see which paths exist. I also wrote a more detailed post to help with 404 errors. That’s also worth a read if you’re still having trouble with this.