Simple. Don’t bring them to the beach. If they are so expensive, you can’t afford to lose them, leave them at your hotel or your home.
You probably have to bring the wallet and phone with you. Put them in a waterproof bag and keep it in your pocket. There are also waterproof fanny packs available in case you don’t have any pocket in your garment.