Gold shines on festive season demand, snaps 4-day losing run