Design a relational database schema for an e-commerce platform that handles products, orders, customers, and inventory management.
Design the core entities: products, categories, and variants. Consider normalization, inheritance patterns (e.g., for product types), and handling of product attributes.