01 - Line an 8x8-inch baking pan with parchment paper, allowing overhang on opposite sides for easy removal of the fudge later.
02 - In a medium saucepan over low heat, combine white chocolate chips, sweetened condensed milk, heavy cream, and butter. Stir continuously until chocolate is completely melted and mixture becomes smooth and glossy.
03 - Remove saucepan from heat immediately. Quickly stir in cooled coffee, vanilla extract, almond extract, and cocoa powder until evenly distributed throughout the mixture.
04 - Transfer fudge mixture to prepared pan, using a spatula to spread evenly and create a smooth top surface.
05 - If using, sprinkle mini chocolate chips or chocolate shavings evenly over the top of the fudge while still slightly warm.
06 - Let fudge cool at room temperature for 10 minutes, then refrigerate for at least 2 hours or until completely firm and set.
07 - Using parchment paper overhang, lift fudge from pan. Cut into 24 equal squares with a sharp knife and serve.