seo – Help with the URL structure

I have a site with 3 category levels in some areas, 2 category levels in other areas and only one category level in other areas before the content. I am trying to install myself in the most consistent URL patterns. From what I have read, the shorter is better, so I do not dare to show the three categories, since my content titles are of several words as well as my categories.

So if I had to shorten this:

domain.com/clothes/pants/jeans/Levi-skinny-jeans

Is it better to keep the functional URL of the main category and access the content that omits the 2 subcategories?

domain.com/clothes/Levi-skinny-jeans

Or would it be better to keep the context immediately even if the URL does not represent the route correctly?

domain.com/jeans/levi-skinny-jeans

Any help would be appreciated.