Prep the pan: Line a 9x13-inch baking pan with parchment, leaving overhang for easy lifting. Preheat the oven to 350°F (175°C).
Make the shortbread: In a bowl, cream softened butter and sugar until smooth, 1–2 minutes.
Mix in salt and vanilla. Add flour and stir just until it forms a soft dough.
Press and bake: Press the dough evenly into the lined pan. Prick a few times with a fork.
Bake 18–20 minutes, until lightly golden at the edges. Set aside to cool slightly while you make the caramel.
Build the pretzel layer: Scatter the pretzels evenly over the warm shortbread. Gently press so they nestle in place but keep their shape.
Cook the caramel: In a medium saucepan over medium heat, melt butter.
Stir in brown sugar, corn syrup, and salt. Bring to a gentle boil, stirring frequently, 3–4 minutes. Carefully stir in the heavy cream (it will bubble).
Continue cooking, stirring, for 3–5 minutes until the mixture thickens slightly and looks glossy.
Add vanilla and pour: Remove from heat and stir in vanilla. Immediately pour the hot caramel evenly over the pretzels, using a spatula to nudge it into corners and around pretzels.
Bake to set: Return the pan to the oven for 8–10 minutes. The caramel will bubble across the surface.
This helps it fuse to the base and coat the pretzels.
Optional chocolate: If using chocolate chips, sprinkle them over the hot caramel as soon as the pan comes out. Wait 2–3 minutes, then spread into a thin layer or leave as melty pockets.
Finish with salt: Sprinkle flaky sea salt over the top while still warm. Go light; you can always add more later.
Cool completely: Let the pan cool to room temperature, then chill for at least 1 hour to firm up.
Use the parchment to lift out and transfer to a cutting board.
Slice cleanly: Use a sharp knife. For neat edges, warm the knife under hot water, wipe dry, and cut into bars or squares.