In a bookstore, there are 10 different novels, 5 different science books, and 3 different art books. Each book costs $10. A customer wants to buy 4 books, but he wants to ensure that he gets at least one book from each category and avoids buying more than one book from the same category. How many different combinations of books can the customer choose, and what is the total cost of such a combination? Let's think step by step and output the final answer within \boxed{}.
user