Who pays for production? (You shouldn't)
A legitimate traditional or hybrid publisher covers editing, cover design, formatting, and production out of their own pocket — because they believe in the book. If a publisher asks you to pay upfront for these services, that's a vanity press, not a real publisher. The business model of a real publisher is to earn on sales, not on authors. If you're writing a check before a single copy is sold, walk away.