Retail sales cool as prices rise