To make this recipe gluten-free, substitute the all-purpose flour with a 1:1 gluten-free flour blend designed for baking. Ensure all other ingredients, such as baking powder and powdered sugar, are certified gluten-free, as some brands may contain trace amounts of gluten due to cross-contamination. The cookies may be slightly more delicate but will retain their soft texture.