I am sorry to hear that your M3W ownerdhip has started in such a terrible manner. I hope you can claim from the carrier.

I had the body of my 2013 M3W replaced last year by Williams Automobiles after some fine examples of British Low Life did not see me and ran straight into the back of my car.
The price of the new body excluding the boot lid (which was supplied seperately) but including the bonnet was £8,380.22, with the total cost of all parts needed being £9,657.31.
In addition to ths the cost of labour to rebuild the car was £5,650.00.
The total cost, after VAT was added, came to £18,368.79.

Fortunately, in my case, this was paid for in total by the third party's insurance.
I hope you get a favourable response from the carrier.