First, preheat your oven to 350°F (175°C) and grease your baking pan. This ensures your bars won’t stick and will bake evenly.
In a mixer, cream the butter, sugar, and orange zest until light and fluffy. This step creates a smooth, airy base that makes your bars tender.
Beat in eggs one at a time, then stir in vanilla extract. Make sure to scrape down the sides so everything blends uniformly.
Mix flour, baking powder, and salt separately, then slowly incorporate into your wet mixture. Avoid over-mixing to keep the bars soft.
Gently fold in the cranberries and optional almonds with a spatula. This keeps the berries intact and evenly distributed.
Press the dough into your prepared pan. Bake for 40–50 minutes until edges are lightly golden. Let cool completely before dusting with powdered sugar or adding icing.