I have a '19 Impreza which has the same frame as your Crosstrek.
This worked for me - Size M: https://www.amazon.com/gp/product/B086V7V86J/
I also bought this for the sunroof, if you have one - https://www.amazon.com/gp/product/B07Q55Y9WC/