You're probably looking for closed cell polyethylene foam. Open cell foam is the springy stuff that can absorb liquids and such. Closed cell won't collapse as much. (Like what pool noodles are made of)
https://www.amazon.com/dp/B08QLN7XC5...QCH1J0QNBNF5XR