Preheat the oven to 350°F (175°C). Grease a 9x9-inch baking pan or line it with parchment paper for easy removal.
In a medium bowl, combine the shredded coconut and rolled oats. Set aside.
In a large mixing bowl, cream together the softened butter and brown sugar until light and fluffy.
Add the granulated sugar, salt, and vanilla extract to the butter mixture, mixing until well combined.
Gradually add the all-purpose flour to the mixture, stirring until just combined.
Fold in the coconut and oat mixture until evenly distributed.
Press the dough firmly into the bottom of the prepared baking pan, ensuring an even layer.
Bake in the preheated oven for 15-20 minutes, or until golden brown. Remove from the oven and let cool slightly.
In a small saucepan over low heat, combine the sweetened condensed milk and a pinch of salt. Stir until warmed through, then add the remaining shredded coconut. Mix until well combined.
Spread the coconut caramel mixture over the cooled oat base, pressing down gently to ensure it sticks.
In a microwave-safe bowl, combine the chocolate chips and coconut oil. Microwave in 30-second intervals, stirring in between, until melted and smooth.
Drizzle the melted chocolate evenly over the coconut caramel layer. You can also use a knife to swirl the chocolate for a marbled effect, if desired.
Allow the bars to set at room temperature or refrigerate for quicker results (about 30 minutes) before cutting into squares.
Notes
Cut into squares and serve on a decorative plate, drizzled with extra melted chocolate, and garnished with toasted coconut flakes for an enticing presentation.