I experience that same feeling. Before I cracked, i thought this was just sortof sexual or physical attraction but now I realise that a huge amount of the of the way I felt looking at women was some kind of envy of their aesthetic and nothing to do with sexuality or attraction (don't get me wrong, still very much attracted to women, i just never realised that there were two seperate feelings happening and that it's perfectly possible to feel one without the other).
I don't know if these match your experience but things I've been trying to focus on:
Remembering that basically every straight, cis woman in my life has expressed to me that they feel that same way about other women (comparing, envy, self-doubt etc). It's just a really common experience. Most women feel it. I'm certain men feel it too, but it's harder for them to talk about maybe? I never felt envy for another man's appearance (surprise surprise) but I don't doubt that they do feel it.
The level of self-hatred I experienced when I looked down at my unaltered testosterone body is so much worse than any feelings of inadequacy i have when i compare myself with other women. As other commenters have mentioned, I've been trying to only compare myself with my past self. The bar for that is so low that I win every time :).
Realising that whatever I want to look like, however far away i might feel from that, I can actually make small changes all over the place (tattoos, piercings, makeup, jewellery, clothing, hair styling, hair removal, etc.) that make me like my appearance more than I did before. It might never be exactly what I want, but I think I'd internalised this silly idea that I should just have to play the cards I was dealt and try to accept everything as it was. The small wins are great and worth it.
I like that the first reaction was phrased as a question, not a statement. It's kinda sweet. Also a very polite correction and an appropriate response.
Congrats on the surgery!