SAN DIEGO -- Pablo Sandoval homered twice, lefty Madison Bumgarner struck out a career-high 13 in 8 1-3 innings and the San Francisco Giants beat the last-place San Diego Padres 7-2 on Monday to remain seven games behind the NL West-leading Arizona Diamondbacks with 21 to play.