How does Holy Crit work exactly?

Which part of the damage formula do the modifiers belong to?
It seems the damage penalty for non-crits is applied after all other modifiers, but the crit damage is not a straight x1.25 mayhem 11 crit damage.