To make these cookies gluten-free, substitute the all-purpose flour with a 1:1 gluten-free flour blend that contains xanthan gum for stability. Ensure your powdered sugar is certified gluten-free, as some brands may include additives processed with gluten.