01 - Preheat the oven to 350°F. Line two baking sheets with parchment paper and set aside.
02 - In a medium bowl, whisk together the almond flour, shredded coconut, cocoa powder, espresso powder, baking soda, and salt until evenly distributed.
03 - In a large bowl, beat the softened coconut butter with the maple syrup until smooth and creamy. Add the egg and vanilla extract, whisking until fully incorporated.
04 - Gradually add the dry ingredient mixture to the wet ingredients, stirring with a spatula or wooden spoon until a thick, cohesive dough forms.
05 - Gently fold the chopped dark chocolate into the dough, distributing the pieces evenly throughout.
06 - Scoop tablespoon-sized mounds of dough onto the prepared baking sheets, spacing them about 2 inches apart. Gently flatten each portion with your fingertips or the back of a spoon. Sprinkle with coconut flakes if desired.
07 - Bake for 10 to 12 minutes, or until the cookie edges are set but the centers remain slightly soft and appear underbaked.
08 - Let the cookies rest on the baking sheets for 5 minutes, then transfer to a wire rack to cool completely before serving or storing.