Hey there and welcome to the Samsung UK and EU Community Customer to Customer Forum
As this is a customer to customer forum, we wouldn't be able to advise on cost but your device would be repairable.
Please reach out to Samsung Customer Services and arrange for your device to be collected (unless you are lucky enough to live near a Samsung Experience Store in which case book an appointment and take it in). Samsung engineers will look at your device and advise you whether the device damage is under warranty or not and if not how much it would cost to repair. You then have choice as to whether to repair it or replace it.
Hope you get this resolved to your satisfaction 🫠
S24 Ultra