Market observers also predict an economic windfall for the first American city that legalizes gay marriage. ''Marriage was legal in San Francisco too short a time to have an effect,'' Mr. Roth of Community Marketing said. ''But our estimate, when you count the honeymoons, cakes, clothes, rings and other purchases, is $1 billion over three years.''