Beauty isn't shallow.
The absence of everything else except beauty is shallow.
If you really think about it? No matter how superficially admirable any trait is? From integrity to intelligence, any trait taken to the exclusion of all others is shallow. It's the balance and amalgamation of many traits that creates depth. Not individual attributes.
Placing a high value on beauty? Isn't wrong. No more than placing a high value on intelligence or integrity is wrong.
I wonder what would happen if you, instead of deciding beauty is shallow and doesn't matter and shouldn't be something you care about and try to demean and fight against, if you played around with the possibility that physical beauty is important to you? That it's not only special, desirable, attainable... But also a perfectly acceptable goal to attempt to achieve? Right along with each and every single other of your heart's desires.
I think you might find, that instead of insecurity & envy in the face of other people's beauty, you begin to respond differently.
Maybe not.
I know you value intelligence. Do brilliant people excite you? Bring you joy to be around? Or do they do the same thing that beauty does? If the sexiest minds on the planet make your eyes sparkle & your heart and mind trip over themselves in wonder and possibility, I would very seriously consider adding loving beauty to your own personal amalgamation of traits. ;) Add one more layer of depth.