How can I use an IF statement to change font type in a text input option?

Hello

How i need to write IF sentence that i will get from this code which option buyer did select:


in need to ask that if in this code:


I would like to achive that with that if sentece i could change font type in text input option on item