You have a couple of strategies to ensure your room options are priced by the total trip cost:
Create multiple itineraries, each reflecting a different lodging option with its own trip package price.
Create a single itinerary using option blocks with multiple lodging components to present each room option using flat rate pricing.