refactored product details render