Search, Design, and Market Structure1