To make this recipe gluten-free, substitute both the all-purpose flour and cake flour with a high-quality 1:1 gluten-free flour blend. Ensure the blend contains xanthan gum or a similar binder to maintain the cookie's chewy texture. Additionally, confirm that your chocolate chips and cornstarch are certified gluten-free. The result will be just as chewy, thick, and delicious!