Lid stays for shallow box
I'd suggest looking for soft close cabinet hinges. Unless I misunderstand your situation, what you have is equivalent to a cabinet on its back. These are commonly available at most home improvement stores. There are also retrofit kits that are basically a tiny piston that'll slow down the very last bit of closing, which is the important bit.