Preheat Oven to 350°F.
Rub together sweetener and rosemary to infuse the rosemary flavor.
In a medium mixing bowl, whisk together almond flour, coconut flour, cocoa powder. 1/4 tsp salt, and baking soda.
Using a hand mixer or stand mixer, place butter, sweetner with rosemary and vanilla into a large mixing bowl. Beat on medium speed for about 2 minutes.
Add the egg and beat until incorporated.
Turn the mixer speed down and slowly add in the flour mixture.
Once combined, turn off the mixer and gently fold in the chocolate chunks.
Using your hands or an ice cream scoop, shape the dough into 2-inch balls. Place on a baking sheet with parchment paper, keeping the cookies 2 inches apart.
Using your hands, gently flatten the cookies on the baking sheet.
Bake for 10-12 minutes. TIP: Remove the cookies from the oven when they look soft and slightly undercooked.
Sprinkle some coarse salt on top of the cookios, Optional.
Allow the cookies to cool for about 10-15 minutes on the baking tray.