+
{product.name}
+
+ {/* Rating */}
+
+
+ {[...Array(5)].map((_, i) => (
+
+ ))}
+
+
{product.rating}
+
({product.reviewCount} reviews)
+
+
+ {/* Price */}
+
+
{product.price}
+
In Stock
+
+
+ {/* Description */}
+
{product.fullDescription}
+
+ {/* Color Selection */}
+ {product.colors && product.colors.length > 0 && (
+
+
Available Colors
+
+ {product.colors.map(color => (
+
+ ))}
+
+
+ )}
+
+ {/* Quantity & CTA */}
+
+
+
+ setQuantity(Math.max(1, parseInt(e.target.value) || 1))}
+ className="w-12 text-center border-0 focus:outline-none"
+ />
+
+
+
+
+
+
+
+