One of the option is to create a CSS code and move it to product using hooks. Good module for such action is i.e https://prestahero.com/additional-information-product-tab/138-custom-fields-on-prestashop-product-page.html
I think @El Patron could give you a hint.