01 - Line an 8x8-inch baking pan with parchment paper, allowing overhang on opposite sides for easy removal later.
02 - In a medium saucepan over low heat, combine white chocolate chips, sweetened condensed milk, heavy cream, and butter. Stir constantly until chocolate is completely melted and mixture becomes smooth and glossy.
03 - Remove saucepan from heat immediately. Whisk in cooled coffee, vanilla extract, almond extract, and cocoa powder until fully incorporated and uniform in color.
04 - Pour fudge mixture into prepared pan, using an offset spatula to spread evenly and create a smooth surface.
05 - If using, sprinkle mini chocolate chips or chocolate shavings evenly over the top, pressing gently to adhere.
06 - Let fudge cool at room temperature for 10 minutes, then refrigerate for at least 2 hours or until completely firm.
07 - Using parchment overhang, lift fudge from pan. Cut into 24 equal squares with a sharp knife. Serve immediately or store refrigerated.