Mateusz P. you'll need to rely on ChatGPT and Claude Code to generate some custom JS to be able to do the calculations and the estimations as well as working with mapbox api to calculate delivery.
Honestly, it sounds scary as hell but I was able to figure something out with this, but it took a lot of prompts and messing around and I learned a lot. I think you should go through the process because it really helped me unlock ways to make other custom functionality - so rather than just giving you the code - I would dive into it and see what you can do.