Everything is a social construct, from the languages we speak to the base-10 numeral systems we consider standard, and the units of measurements we use to describe the universe and everything it contains.
And no, shariah is specifically a theocratic legal system based on the authority of muslim religious scholars called imams to write and enforce laws based on the Quran and the Hadith. It's not the same thing at all, no matter how many layers of mental gymnastics you pass it through in an effort to contort reality into some semblance of what you want it to be.
Using religion to justify pigeonholing everyone into one of two mutually exclusive categories and discriminating against anyone who doesn't fit within those norms is far closer to being "spiritual and pseudoscienctific jargon" than simply saying "everyone's choices for how to identify and present themselves relative to the social construct of gender should be respected, especially by the authorities," but since that conflicts with your preferred narrative I don't expect you to actually be able to see things from that broader perspective.