I've had two yoga mats rolling around in the trunk of my car for the past year. And I don't even do yoga.
Something like sharia is a product of its time, place, and cultural situation. There are systems of society that made sense when we were isolated tribes of hunter-gatherers that have no rational place in a modern civilized society, for example. Just as if humanity is befallen by a zombie apocalypse, or even with small parties starting to colonize Mars, most of today's accepted systems of social governance wouldn't make any sense.
Many "civilized" societies were based on the idea of slavery a few centuries ago. There's no reason to get all nostalgic about it now and pretend we can act today like slavery is still legal and moral.