01 - Preheat oven to 350°F. Grease and line a 9x5-inch loaf pan with parchment paper.
02 - Whisk together all-purpose flour, baking powder, baking soda, and salt in a medium bowl for the loaf mixture.
03 - In a large bowl, cream softened butter with packed light brown sugar until fluffy. Beat in eggs individually, then mix in vanilla extract.
04 - Alternately add flour mixture and buttermilk to the wet batter, beginning and ending with flour. Blend gently just until combined.
05 - In a separate bowl, beat softened butter with granulated and light brown sugars until creamy. Mix in flour, milk, and vanilla until dough forms, then incorporate mini chocolate chips.
06 - Fold half of the chopped toasted pecans into the loaf batter.
07 - Spread half of the loaf batter into the prepared pan. Dot with half of the cookie dough in small spoonfuls, drizzle with half the caramel sauce, and swirl gently with a knife.
08 - Layer remaining loaf batter, cookie dough, caramel sauce, and pecans on top, swirling gently again.
09 - Bake for 50 to 55 minutes, or until a toothpick inserted into the center yields no raw batter (test away from chocolate chips and caramel pockets).
10 - Allow loaf to cool in the pan for 15 minutes. Transfer to a wire rack and drizzle with extra caramel sauce before slicing.