To make this recipe gluten-free, substitute the all-purpose flour with a 1:1 gluten-free flour blend that contains xanthan gum for structure. Ensure the hot cocoa mix and marshmallows are certified gluten-free, as some brands may contain additives with gluten.