01 - Line an 8x8-inch baking pan with parchment paper, leaving overhang on sides for easy removal.
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 is smooth.
03 - Remove from heat. Quickly stir in coffee, vanilla extract, almond extract, and cocoa powder until thoroughly combined.
04 - Pour fudge mixture into prepared pan, smoothing top evenly with spatula.
05 - If desired, sprinkle mini chocolate chips or chocolate shavings over top.
06 - Let cool at room temperature for 10 minutes, then refrigerate for at least 2 hours or until firm.
07 - Lift fudge from pan using parchment paper overhang. Cut into squares and serve.