OP said 'right' side and am guessing driver's side
And that is why the Navy adopted Port and Starboard, it was the starboard side aka passenger side. That battery was reduced to slag over there.
Spoke to Allstate, they want to do a video conference with a claim adjuster. It's been raining all day here and probably will be until dark so tomorrow for that.
I'm thinking we will send the truck to a Ford dealer for repairs, probably the safest bet. Unless they total the truck which I hope they will not. I'd expect trouble over their offer for the truck which is current market value.