Pancharatnam–Berry phase shaping for control of the transverse enhancement of focusing