.product { display: grid; grid-template-columns: 1fr 2fr; grid-gap: 20px; margin-bottom: 20px; } .product img { width: 100%; max-width: 400px; border-radius: 5px; } .product h3 { margin: 0; font-size: 24px; color: #333; } .photo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 20px; margin-top: 20px; } .photo-gallery img { width: 100%; border-radius: 5px; }