To make this recipe gluten-free, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend that includes xanthan gum. Additionally, replace the Thin Mint cookies with a certified gluten-free mint chocolate cookie alternative, such as those available from brands like Goodie Girl or Glutino. Always ensure all ingredients, including extracts, are certified gluten-free to avoid cross-contamination.