The maximum current draw of the 18-gauge wire is about 5 Amps. Is that correct? You should upgrade the cord to 16- or even 14-gauge if the bulb runs on 12-volt power.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.