How randomize products display on a page using Divi theme and Woocommerce

I am doing a shop page using Divi theme and I am trying to display randomly products from a certain category.

The problem I have is that the theme does not have options to randomize the way the articles are displaying on the shop page.

I also tried a woocommerce shortcode:

[products limit=“30” columns=“3” category=“cardigans-sweaters” cat_operator=“AND” orderby=“rand” order=“rand”]

It worked well on desktop, but the problem is that the visual I get on mobile is not the one I want (it is one column instead of two, plus it kinda lost the CSS I did myself).

So yeah if someone knows a PHP code, or any code I could use to randomize, I would be really happy!