Refinery margins surge as product markets tighten despite crude oil surplus