How many days do you really need for a first trip to Morocco?

I’d love to experience as much as possible like: stay in a traditional riad, wander the markets in Marrakech, ride camels into the Sahara, spend a night at a desert camp, and explore some of the country’s architecture and history. With so many places spread out across the country, though, I’m wondering if 7–10 days would feel too rushed once you factor in the travel time.

If you’ve been, how long did you spend in Morocco? Did you feel like you had enough time to experience it properly, or did you leave wishing you’d stayed longer?