Tonight I ran into a new situation that I wasn't prepared for - I got totally hit on out of the blue by a nice looking guy

A female friend of mine and I went to a Panera bread in North Hollywood for some dessert after lunch. We talked for several hours and then it was time to go. I had noticed a guy checking us out in Panera right before we left but I ignored him, and I thought that he had gone about his business.
We were parked in a parking garage a couple of blocks away, so we had to walk a fair distance down a sidewalk to get to my car. We both heard someone walking behind us and my safety radar immediately swung into action, but I would have had to turn all the way around to see who was coming which was awkward. My friend was in a better position so she took a look behind us as we walked but didn't say a word.
About the time we got to the driveway for the parking garage the guy that had been checking us out in Panera walked by us and he made a complement to me. So we stopped and chatted for a short while, and he gave me his business card. I was nervous because I am simply not interested in guys and I have been in his shoes before rolling the dice, so I was sensitive to how getting shot down feels. I was trying to think of a way to gently let him down, a courtesy that was not always extended to me. While I was frantically thinking the complements from him kept rolling on.........
I finally told him that I thought that he was cute (true) but that I was still married (true) and that I wasn't emotionally in a place to start a relationship right now (true). He kept on going with the smooth talk so I had to pull out the big guns and tell him that I mainly like girls (true) but that didn't cool his jets that much either LOL......
All of this time he was exceedingly nice and he kept his distance and he kept it from going creepy. He eventually got the idea that I just wasn't on fire for him so we said it was nice to meet each other, and then we each went our separate ways.
As I was walking away I was still in shock from what had just happened; I never in a million years expected to be hit on by
anyone LOL...... My female friend was greatly amused about the whole thing, and she told me that she thought that I had handled it perfectly. She also told me that he was totally checking out my butt when we were walking - I guess that the progesterone I have been taking and my recent eating like a horse must be working.
Having never been hit on before I found myself unsure of how to handle it. My question to you is: What would you have done? Was I too nice? This being a girl thing and having the power is kind of nice; I am far more used to being on the other side of the equation

Thanks!
~Eva