It will be a complex request, you need to change the JS again and add the CSS for it to display well.
Go to assets > theme.js file and find 'renderProducts'. https://i.imgur.com/n057MQw.png . You need to change this render structure to grid.
Then you need to add the CSS code for everything to display well.
Hope it helps!
If my answer can help you solve your issue, please mark it as a solution. Thank you and good luck.