Product grids
E-commerce layouts need responsive product cards, consistent image ratios, prices, labels and actions. CSS Grid is usually a strong foundation because the number of columns can change by breakpoint.
Images should not distort
Use a controlled aspect ratio and object-cover or object-contain according to the product image requirements. Provide useful alternative text.
Cards should accommodate content
Do not rely on fixed heights when product names can vary. Use flexible layout and line-clamping only when truncation is genuinely part of the design.