Help with a product variant builder

Hi there,

Does anyone know how to build a similar variant option to the attached?

When you select the first size IE Height, it should then only show the other measurements that we offer in that height if that makes sense?

Or is there a way to hide unavailable variants on the Athens Shopify Theme?