You can buy the foam from places like Amazon, make sure you search for the stuff advertised for use under pickups, as you’ve noticed it’s denser/firmer than regular foam.