If you bought gas the past few days anywhere in Kansas, chances are you paid a few cents more per gallon than the last time you filled up.

According to AAA Kansas officials on Monday, rising gas prices in the Sunflower State were part of a regional trend that saw prices at the pump rise over the past week.

The average cost of a gallon of regular gas in the state rose four cents this past week to an average of $2.70, AAA Kansas officials said in a news release. Several Great Lakes and central states experienced increased gas prices because of shutdowns of a half dozen refineries in the region because of maintenance issues.

The higher prices in Kansas came despite a majority of states across America experiencing falling or flat gas prices, AAA Kansas officials said.

“Generally this time of year, we see gas prices that trend downward, and that is the case in much of the country,” said Shawn Steward, AAA Kansas spokesman, in the news release. “The refinery issues in our part of the country just go to show you that retail fuel prices are always evolving, sometimes impacted by unexpected factors and, overall, hard to predict.”

Steward said Kansas “does still fare very well,” however, with gas prices 15 cents below the national average and 12th cheapest in the nation.

Of the 10 Kansas cities regularly highlighted by AAA Kansas seven saw their gas prices increase, led by Salina up 10 cents; Garden City up 6 cents; and Wichita up 5 cents. Hays, Kansas City, Kan. and Lawrence all saw a 1-cent decline at the pumps.

On Monday morning, GasBuddy.com showed the lowest unleaded price in Topeka was $2.57 a gallon at the Conoco station at 2045 N. Kansas Ave. The average price for unleaded fuel in Topeka was $2.66 a gallon, four cents below the statewide average.

According to AAA Kansas, this week’s Kansas gas price extremes were a high of $3.01 a gallon in Kensington in Smith County to a low of $2.56 a gallon in Newton in Harvey County.

The national gas price average on Monday was $2.85, which is the same price as last Monday, one cent more than last month and 27 cents higher than this time last year.