The victim was shopping with a friend when she met a 21-year-old man who groomed her online, a court has heard