{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "product-details",
  "title": "Product Details",
  "author": "AlgorizeTech",
  "description": "Ask the user to pick one of 4 product details variants: https://avaraui.com/view/product-details. This item holds 4 of them as looks of one component (color-sync-gallery, modern-split-gallery, floating-card-glass, bento-editorial-showcase). Skip the question if the user already named one. A collection of 4 production-ready, high-converting, fully responsive E-commerce Product Details components featuring split galleries, floating cards, bento hero showcases, and color-synced image previews.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "utils"
  ],
  "files": [
    {
      "path": "src/components/custom/blocks/ProductDetailsBlock.tsx",
      "content": "\"use client\";\n\nimport { useState } from \"react\";\nimport {\n  Star,\n  ShoppingBag,\n  Heart,\n  ShieldCheck,\n  Truck,\n  RotateCcw,\n  Flame,\n  Check,\n  Plus,\n  Minus,\n  ChevronLeft,\n  ChevronRight,\n  X,\n  ZoomIn,\n  Banknote,\n  CreditCard,\n} from \"lucide-react\";\nimport { cn } from \"@/lib/utils\";\n\nexport type ProductDetailsVariant =\n  | \"color-sync-gallery\"\n  | \"modern-split-gallery\"\n  | \"floating-card-glass\"\n  | \"bento-editorial-showcase\";\n\nexport interface ProductColor {\n  name: string;\n  class: string;\n  bgClass?: string;\n  image?: string;\n}\n\nexport interface ProductDetailsProps {\n  variant?: ProductDetailsVariant;\n  zoomMode?: \"inner\" | \"side\";\n  title?: string;\n  price?: string;\n  originalPrice?: string;\n  description?: string;\n  badge?: string;\n  rating?: number;\n  reviewsCount?: number;\n  images?: string[];\n  colors?: ProductColor[];\n  sizes?: string[];\n  className?: string;\n}\n\nconst DEFAULT_IMAGES = [\n  \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto/v1790516400/red-shows-1790516403807.jpg\",\n  \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto/v1790516403/purple-shows-1790516403806.jpg\",\n  \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto/v1790516399/blue-shows-1790516403806.jpg\",\n  \"https://res.cloudinary.com/dodndg7ai/image/upload/f_webp,q_auto/v1790516397/baby-pink-shows-1790516403806.jpg\",\n];\n\nconst ITEM_BG_CLASSES = [\n  \"bg-primary/10 border-primary/20\",\n  \"bg-primary/10 border-primary/20\",\n  \"bg-primary/10 border-primary/20\",\n  \"bg-primary/10 border-primary/20\",\n];\n\nconst DEFAULT_COLORS: ProductColor[] = [\n  { name: \"Crimson Red\", class: \"bg-[#BC2433]\", bgClass: ITEM_BG_CLASSES[0], image: DEFAULT_IMAGES[0] },\n  { name: \"Vibrant Purple\", class: \"bg-[#4A2C81]\", bgClass: ITEM_BG_CLASSES[1], image: DEFAULT_IMAGES[1] },\n  { name: \"Cobalt Blue\", class: \"bg-[#0A53B8]\", bgClass: ITEM_BG_CLASSES[2], image: DEFAULT_IMAGES[2] },\n  { name: \"Baby Pink\", class: \"bg-[#E4ADB2]\", bgClass: ITEM_BG_CLASSES[3], image: DEFAULT_IMAGES[3] },\n];\n\nconst DEFAULT_SIZES = [\"US 8\", \"US 9\", \"US 10\", \"US 11\", \"US 12\"];\n\n/** Five stars, filled up to `rating`. */\nfunction Stars({ className, rating }: { className?: string; rating: number }) {\n  return (\n    <div className=\"flex text-amber-400 shrink-0\">\n      {Array.from({ length: 5 }, (_, i) => (\n        <Star\n          key={i}\n          className={cn(className, i < Math.round(rating) && \"fill-amber-400\")}\n        />\n      ))}\n    </div>\n  );\n}\n\nexport function ProductDetails({\n  variant = \"color-sync-gallery\",\n  zoomMode = \"inner\",\n  title = \"Nike Air Max Pulse 2026\",\n  price = \"$189.99\",\n  originalPrice = \"$240.00\",\n  description = \"Engineered with reactive Air Cushioning and breathable Flyknit upper for high-performance city workouts and daily street style.\",\n  badge = \"Special Edition\",\n  rating = 4.9,\n  reviewsCount = 284,\n  images = DEFAULT_IMAGES,\n  colors = DEFAULT_COLORS,\n  sizes = DEFAULT_SIZES,\n  className,\n}: ProductDetailsProps) {\n  const [selectedColor, setSelectedColor] = useState(0);\n  const [selectedSize, setSelectedSize] = useState(sizes[2] || sizes[0] || \"US 10\");\n  const [quantity, setQuantity] = useState(1);\n  const [liked, setLiked] = useState(false);\n  const [paymentMethod, setPaymentMethod] = useState<\"cod\" | \"online\">(\"cod\");\n  const [selectedImage, setSelectedImage] = useState(0);\n  const [activeTab, setActiveTab] = useState<\"specs\" | \"shipping\" | \"reviews\">(\"specs\");\n  const [isModalOpen, setIsModalOpen] = useState(false);\n  const [zoomPos, setZoomPos] = useState<{ x: number; y: number; visible: boolean }>({ x: 0, y: 0, visible: false });\n\n  const handleMouseMove = (e: React.MouseEvent<HTMLDivElement>) => {\n    const { left, top, width, height } = e.currentTarget.getBoundingClientRect();\n    const x = ((e.clientX - left) / width) * 100;\n    const y = ((e.clientY - top) / height) * 100;\n    setZoomPos({ x, y, visible: true });\n  };\n\n  const handleMouseLeave = () => {\n    setZoomPos((prev) => ({ ...prev, visible: false }));\n  };\n\n  const currentImageSrc = variant === \"color-sync-gallery\" ? images[selectedColor] : images[selectedImage];\n\n  const sizeIndex = Math.max(0, sizes.indexOf(selectedSize));\n  const sizeScales = [\"scale-100\", \"scale-105\", \"scale-110\", \"scale-115\", \"scale-120\"];\n  const sizeScaleClass = sizeScales[sizeIndex % sizeScales.length] || \"scale-110\";\n\n  const reviews = reviewsCount.toLocaleString();\n\n  return (\n    <section className={cn(\"w-full bg-background text-foreground transition-colors py-10 sm:py-20 px-4 sm:px-6 overflow-hidden\", className)}>\n      {/* 1. MODERN SPLIT GALLERY */}\n      {variant === \"modern-split-gallery\" && (\n        <div className=\"max-w-7xl mx-auto space-y-12\">\n          <div className=\"grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-12 items-start\">\n            <div className=\"lg:col-span-7 space-y-4\">\n              <div\n                onClick={() => setIsModalOpen(true)}\n                className={cn(\n                  \"aspect-square w-full rounded-3xl overflow-hidden border border-border relative cursor-pointer flex items-center justify-center p-0 transition-colors\",\n                  ITEM_BG_CLASSES[selectedImage % ITEM_BG_CLASSES.length]\n                )}\n              >\n                <img src={images[selectedImage]} alt=\"Sneaker\" className={cn(\"peer w-full h-full object-cover scale-140 p-0 transition-all duration-300 hover:scale-105\", sizeScaleClass)} />\n\n                <div className=\"absolute inset-0 bg-black/20 opacity-0 peer-hover:opacity-100 transition-opacity flex items-center justify-center pointer-events-none z-10\">\n                  <span className=\"px-4 py-2 rounded-full bg-black/60 text-white backdrop-blur-md text-xs font-semibold flex items-center gap-2\">\n                    <ZoomIn className=\"size-4\" /> Click to Expand\n                  </span>\n                </div>\n\n                <span className=\"absolute top-4 left-4 px-3 py-1 rounded-full bg-primary text-primary-foreground text-xs font-extrabold uppercase tracking-wider z-20 pointer-events-auto\">\n                  20% OFF\n                </span>\n\n                <button onClick={(e) => { e.stopPropagation(); setLiked(!liked); }} className=\"absolute top-4 right-4 p-3 rounded-full bg-card/80 backdrop-blur-md border border-border text-foreground hover:text-rose-500 transition-all z-20\">\n                  <Heart className={cn(\"size-5\", liked && \"fill-rose-500 text-rose-500\")} />\n                </button>\n\n                {/* Left & Right Slider Arrow Buttons */}\n                <button\n                  onClick={(e) => { e.stopPropagation(); setSelectedImage((prev) => (prev === 0 ? images.length - 1 : prev - 1)); }}\n                  className=\"absolute left-4 top-1/2 -translate-y-1/2 p-3 rounded-full bg-card/90 border border-border text-foreground hover:scale-110 transition-all backdrop-blur-md z-20\"\n                  aria-label=\"Previous Image\"\n                >\n                  <ChevronLeft className=\"size-5\" />\n                </button>\n\n                <button\n                  onClick={(e) => { e.stopPropagation(); setSelectedImage((prev) => (prev === images.length - 1 ? 0 : prev + 1)); }}\n                  className=\"absolute right-4 top-1/2 -translate-y-1/2 p-3 rounded-full bg-card/90 border border-border text-foreground hover:scale-110 transition-all backdrop-blur-md z-20\"\n                  aria-label=\"Next Image\"\n                >\n                  <ChevronRight className=\"size-5\" />\n                </button>\n\n                {/* Slide Indicator Dots */}\n                <div className=\"absolute bottom-4 left-1/2 -translate-x-1/2 flex gap-2 z-20\" onClick={(e) => e.stopPropagation()}>\n                  {images.map((_, idx) => (\n                    <button\n                      key={idx}\n                      onClick={() => setSelectedImage(idx)}\n                      className={cn(\"h-2 rounded-full transition-all\", selectedImage === idx ? \"w-6 bg-primary\" : \"w-2 bg-muted\")}\n                    />\n                  ))}\n                </div>\n              </div>\n            </div>\n\n            <div className=\"lg:col-span-5 space-y-6\">\n              <div className=\"space-y-3\">\n                <div className=\"flex flex-wrap items-center gap-2\">\n                  <span className=\"px-2.5 py-0.5 rounded-full bg-background border border-border text-foreground text-[11px] font-semibold shrink-0 whitespace-nowrap\">{badge}</span>\n                  <Stars className=\"size-4\" rating={rating} />\n                  <span className=\"text-xs font-semibold text-foreground shrink-0\">{rating}</span>\n                  <span className=\"text-xs text-muted-foreground whitespace-nowrap\">({reviews} Verified Runner Reviews)</span>\n                </div>\n                <h1 className=\"text-3xl font-extrabold tracking-tight text-foreground\">{title || \"Nike Air Max 270 React Sneakers\"}</h1>\n                <p className=\"text-xs sm:text-sm text-muted-foreground leading-relaxed\">{description || \"Engineered with Max Air 270 cushioning and lightweight Nike React foam for exceptional everyday comfort and energy return.\"}</p>\n              </div>\n\n              <div className=\"p-4 rounded-2xl bg-card border border-border text-foreground text-xs font-semibold flex items-center gap-2\">\n                <Flame className=\"size-4 shrink-0 text-amber-500\" />\n                <span>High Demand: Only 4 pairs left in stock for fast dispatch!</span>\n              </div>\n\n              <div className=\"flex flex-wrap items-center gap-2.5 sm:gap-3\">\n                <span className=\"text-2xl sm:text-3xl font-bold text-foreground\">{price || \"$160.00\"}</span>\n                <span className=\"text-base sm:text-lg text-muted-foreground line-through\">{originalPrice || \"$190.00\"}</span>\n                <span className=\"px-2.5 py-1 rounded-full bg-card border border-border text-foreground text-xs font-semibold shrink-0 whitespace-nowrap\">Save $30 Today</span>\n              </div>\n\n              <div className=\"space-y-3\">\n                <div className=\"flex flex-wrap justify-between items-center text-xs font-semibold uppercase tracking-wider text-muted-foreground gap-1\">\n                  <span>Colorway: {colors[selectedColor].name}</span>\n                </div>\n                <div className=\"flex flex-wrap gap-3\">\n                  {colors.map((c, idx) => (\n                    <button key={idx} onClick={() => setSelectedColor(idx)} className={cn(\"size-9 rounded-full transition-all border-2 flex items-center justify-center shrink-0\", c.class, selectedColor === idx ? \"ring-2 ring-primary/30 ring-offset-2 ring-offset-background scale-110\" : \"opacity-80\")}>\n                      {selectedColor === idx && <Check className={cn(\"size-4\", idx === 3 ? \"text-foreground\" : \"text-white\")} />}\n                    </button>\n                  ))}\n                </div>\n              </div>\n\n              <div className=\"space-y-3\">\n                <div className=\"flex flex-wrap justify-between items-center text-xs font-semibold uppercase tracking-wider text-muted-foreground gap-1\">\n                  <span>Select US Shoe Size</span>\n                  <a href=\"#\" className=\"text-foreground hover:underline text-[11px]\">Size Guide</a>\n                </div>\n                <div className=\"flex flex-wrap gap-2\">\n                  {sizes.map((s) => (\n                    <button key={s} onClick={() => setSelectedSize(s)} className={cn(\"px-3.5 sm:px-4 py-2 sm:py-2.5 rounded-xl text-xs font-semibold border transition-all bg-card shrink-0\", selectedSize === s ? \"bg-primary text-primary-foreground border-primary/30\" : \"border-border text-foreground hover:bg-muted\")}>\n                      {s}\n                    </button>\n                  ))}\n                </div>\n              </div>\n\n              <div className=\"flex flex-col sm:flex-row items-stretch sm:items-center gap-3 pt-2\">\n                <div className=\"flex items-center justify-between sm:justify-start rounded-2xl border border-border bg-card p-1\">\n                  <button onClick={() => setQuantity(Math.max(1, quantity - 1))} className=\"p-2 rounded-xl hover:bg-muted text-foreground\"><Minus className=\"size-3.5\" /></button>\n                  <span className=\"px-4 text-xs font-semibold text-foreground\">{quantity}</span>\n                  <button onClick={() => setQuantity(quantity + 1)} className=\"p-2 rounded-xl hover:bg-muted text-foreground\"><Plus className=\"size-3.5\" /></button>\n                </div>\n\n                <button className=\"flex-1 py-3.5 rounded-2xl bg-primary text-primary-foreground font-semibold text-sm hover:opacity-90 transition-all flex items-center justify-center gap-2\">\n                  <ShoppingBag className=\"size-4\" /> Add Sneaker to Bag\n                </button>\n              </div>\n\n              <div className=\"grid grid-cols-1 sm:grid-cols-3 gap-3 pt-4 border-t border-border text-center text-xs text-muted-foreground\">\n                <div className=\"p-3 rounded-2xl bg-card border border-border\"><Truck className=\"size-4 mx-auto mb-1 text-foreground\" />Free Shipping</div>\n                <div className=\"p-3 rounded-2xl bg-card border border-border\"><RotateCcw className=\"size-4 mx-auto mb-1 text-foreground\" />30-Day Easy Exchange</div>\n                <div className=\"p-3 rounded-2xl bg-card border border-border\"><ShieldCheck className=\"size-4 mx-auto mb-1 text-foreground\" />100% Authentic Guaranteed</div>\n              </div>\n            </div>\n          </div>\n\n          <div className=\"border-t border-border pt-8 space-y-6\">\n            <div className=\"flex gap-4 border-b border-border pb-3\">\n              {([\"specs\", \"shipping\", \"reviews\"] as const).map((tab) => (\n                <button key={tab} onClick={() => setActiveTab(tab)} className={cn(\"text-xs font-semibold uppercase tracking-wider pb-2 border-b-2 transition-all capitalize\", activeTab === tab ? \"border-primary/30 text-foreground\" : \"border-transparent text-muted-foreground hover:text-foreground\")}>\n                  {tab}\n                </button>\n              ))}\n            </div>\n\n            {activeTab === \"specs\" && (\n              <div className=\"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-4 text-xs\">\n                <div className=\"p-4 rounded-2xl bg-card border border-border\"><span className=\"text-muted-foreground\">Upper Material</span><p className=\"font-semibold text-sm text-foreground\">Breathable Flyknit Mesh</p></div>\n                <div className=\"p-4 rounded-2xl bg-card border border-border\"><span className=\"text-muted-foreground\">Midsole</span><p className=\"font-semibold text-sm text-foreground\">Max Air 270 Cushioning</p></div>\n                <div className=\"p-4 rounded-2xl bg-card border border-border\"><span className=\"text-muted-foreground\">Outsole</span><p className=\"font-semibold text-sm text-foreground\">Durable Rubber Traction</p></div>\n                <div className=\"p-4 rounded-2xl bg-card border border-border\"><span className=\"text-muted-foreground\">Weight</span><p className=\"font-semibold text-sm text-foreground\">310 grams (US 10)</p></div>\n              </div>\n            )}\n            {activeTab === \"shipping\" && (\n              <div className=\"p-4 rounded-2xl bg-card border border-border text-xs text-muted-foreground space-y-1 font-medium\">\n                <p className=\"font-semibold text-foreground\">Double-Boxed Express Delivery</p>\n                <p>All shoes ship in protective double-boxing with tracking link provided.</p>\n              </div>\n            )}\n            {activeTab === \"reviews\" && (\n              <div className=\"p-4 rounded-2xl bg-card border border-border text-xs text-muted-foreground space-y-1 font-medium\">\n                <p className=\"font-semibold text-foreground\">{rating} out of 5 stars ({reviews} Verified Reviews)</p>\n                <p>\"Super comfortable for all-day walking and running. True to size!\" - Marcus L.</p>\n              </div>\n            )}\n          </div>\n        </div>\n      )}\n\n      {/* 2. FLOATING CARD GLASS */}\n      {variant === \"floating-card-glass\" && (\n        <div className=\"max-w-6xl mx-auto space-y-10\">\n          <div className=\"p-6 sm:p-10 rounded-3xl bg-card border border-border space-y-8 relative overflow-hidden\">\n            <div className=\"grid grid-cols-1 lg:grid-cols-12 gap-8 items-center relative z-10\">\n              <div className=\"lg:col-span-6 space-y-4\">\n                <div\n                  onClick={() => setIsModalOpen(true)}\n                  className={cn(\n                    \"aspect-square w-full rounded-2xl overflow-hidden border border-border relative cursor-pointer flex items-center justify-center p-0 transition-colors\",\n                    ITEM_BG_CLASSES[selectedImage % ITEM_BG_CLASSES.length]\n                  )}\n                >\n                  <img src={images[selectedImage]} alt=\"Glass Sneaker\" className={cn(\"peer w-full h-full object-cover scale-140 p-0 transition-all duration-300 hover:scale-105\", sizeScaleClass)} />\n \n                  <div className=\"absolute inset-0 bg-black/20 opacity-0 peer-hover:opacity-100 transition-opacity flex items-center justify-center pointer-events-none z-10\">\n                    <span className=\"px-4 py-2 rounded-full bg-black/60 text-white backdrop-blur-md text-xs font-semibold flex items-center gap-2\">\n                      <ZoomIn className=\"size-4\" /> Click to Expand\n                    </span>\n                  </div>\n \n                  <div className=\"absolute top-3 left-3 px-3 py-1 rounded-full bg-primary text-primary-foreground text-[11px] font-extrabold uppercase tracking-wider z-20\">\n                    20% OFF\n                  </div>\n \n                  <button onClick={(e) => { e.stopPropagation(); setLiked(!liked); }} className=\"absolute top-3 right-3 p-2.5 rounded-full bg-card border border-border text-foreground hover:text-rose-500 transition-all z-20\">\n                    <Heart className={cn(\"size-4\", liked && \"fill-rose-500 text-rose-500\")} />\n                  </button>\n                </div>\n \n                <div className=\"flex gap-2.5\">\n                  {images.map((img, idx) => (\n                    <button key={idx} onClick={() => setSelectedImage(idx)} className={cn(\"flex-1 aspect-square rounded-xl overflow-hidden border-2 transition-all p-0 flex items-center justify-center\", ITEM_BG_CLASSES[idx % ITEM_BG_CLASSES.length], selectedImage === idx ? \"border-primary/30 scale-105\" : \"border-border opacity-70 hover:opacity-100\")}>\n                      <img src={img} alt=\"Thumb\" className=\"w-full h-full object-cover scale-120 p-0\" />\n                    </button>\n                  ))}\n                </div>\n              </div>\n\n              <div className=\"lg:col-span-6 space-y-6\">\n                <div className=\"space-y-2\">\n                  <div className=\"flex flex-wrap items-center gap-2\">\n                    <span className=\"px-2.5 py-0.5 rounded-full bg-background border border-border text-foreground text-[11px] font-semibold shrink-0 whitespace-nowrap\">{badge}</span>\n                    <div className=\"flex items-center gap-1.5 shrink-0 whitespace-nowrap\">\n                      <Stars className=\"size-3.5\" rating={rating} />\n                      <span className=\"text-xs font-semibold text-muted-foreground whitespace-nowrap\">{rating} ({reviews} Reviews)</span>\n                    </div>\n                  </div>\n                  <h1 className=\"text-2xl sm:text-3xl font-semibold tracking-tight text-foreground\">{title || \"Adidas Ultraboost Light Running Shoes\"}</h1>\n                  <p className=\"text-xs text-muted-foreground leading-relaxed\">{description || \"Engineered with Max Air 270 cushioning and lightweight Nike React foam for exceptional everyday comfort and energy return.\"}</p>\n                </div>\n\n                <div className=\"p-3 rounded-xl bg-background border border-border text-foreground text-xs font-semibold flex items-center gap-2\">\n                  <Flame className=\"size-4 text-amber-500 shrink-0\" />\n                  <span>High Demand: Only 4 pairs left in stock for fast dispatch!</span>\n                </div>\n\n                <div className=\"flex flex-wrap items-center gap-2.5 sm:gap-3\">\n                  <span className=\"text-2xl sm:text-3xl font-extrabold text-foreground\">{price || \"$160.00\"}</span>\n                  <span className=\"text-base text-muted-foreground line-through\">{originalPrice || \"$190.00\"}</span>\n                  <span className=\"px-2.5 py-1 rounded-full bg-card border border-border text-foreground text-xs font-semibold shrink-0 whitespace-nowrap\">Save $30 Today</span>\n                </div>\n\n                <div className=\"space-y-2\">\n                  <span className=\"text-xs font-semibold uppercase tracking-wider text-muted-foreground block\">Colorway: {colors[selectedColor].name}</span>\n                  <div className=\"flex flex-wrap gap-2.5\">\n                    {colors.map((c, idx) => (\n                      <button key={idx} onClick={() => setSelectedColor(idx)} className={cn(\"size-8 rounded-xl border-2 transition-all flex items-center justify-center shrink-0\", c.class, selectedColor === idx ? \"ring-2 ring-primary/30 scale-110\" : \"opacity-75\")}>\n                        {selectedColor === idx && <Check className={cn(\"size-3.5\", idx === 3 ? \"text-foreground\" : \"text-white\")} />}\n                      </button>\n                    ))}\n                  </div>\n                </div>\n\n                <div className=\"space-y-2\">\n                  <span className=\"text-xs font-semibold uppercase tracking-wider text-muted-foreground block\">US Shoe Size</span>\n                  <div className=\"flex flex-wrap gap-2\">\n                    {sizes.map((s) => (\n                      <button key={s} onClick={() => setSelectedSize(s)} className={cn(\"px-3.5 py-1.5 rounded-xl text-xs font-semibold border transition-all bg-background shrink-0\", selectedSize === s ? \"bg-primary text-primary-foreground border-primary/30\" : \"border-border text-foreground hover:bg-muted\")}>\n                        {s}\n                      </button>\n                    ))}\n                  </div>\n                </div>\n\n                <div className=\"flex flex-col sm:flex-row items-stretch sm:items-center gap-3 pt-2\">\n                  <div className=\"flex items-center justify-between sm:justify-start rounded-xl border border-border bg-background p-1\">\n                    <button onClick={() => setQuantity(Math.max(1, quantity - 1))} className=\"p-1.5 rounded-lg hover:bg-muted text-foreground\"><Minus className=\"size-3\" /></button>\n                    <span className=\"px-3 text-xs font-semibold text-foreground\">{quantity}</span>\n                    <button onClick={() => setQuantity(quantity + 1)} className=\"p-1.5 rounded-lg hover:bg-muted text-foreground\"><Plus className=\"size-3\" /></button>\n                  </div>\n\n                  <button className=\"flex-1 py-3 rounded-xl bg-primary text-primary-foreground font-semibold text-xs hover:opacity-90 transition-all flex items-center justify-center gap-2\">\n                    <ShoppingBag className=\"size-4\" /> Add Sneaker to Bag\n                  </button>\n                </div>\n              </div>\n            </div>\n\n            <div className=\"grid grid-cols-1 sm:grid-cols-3 gap-3 pt-6 border-t border-border text-center text-xs text-muted-foreground\">\n              <div className=\"p-3 rounded-xl bg-background border border-border\"><Truck className=\"size-4 mx-auto mb-1 text-foreground\" />Free Shipping</div>\n              <div className=\"p-3 rounded-xl bg-background border border-border\"><RotateCcw className=\"size-4 mx-auto mb-1 text-foreground\" />30-Day Easy Exchange</div>\n              <div className=\"p-3 rounded-xl bg-background border border-border\"><ShieldCheck className=\"size-4 mx-auto mb-1 text-foreground\" />100% Authentic Guaranteed</div>\n            </div>\n          </div>\n        </div>\n      )}\n\n      {/* 3. BENTO EDITORIAL SHOWCASE */}\n      {variant === \"bento-editorial-showcase\" && (\n        <div className=\"max-w-7xl mx-auto space-y-8\">\n          <div className=\"grid grid-cols-1 lg:grid-cols-12 gap-6\">\n            <div\n              onClick={() => setIsModalOpen(true)}\n              className={cn(\n                \"lg:col-span-7 relative rounded-3xl overflow-hidden border border-slate-800 p-6 sm:p-10 flex flex-col justify-between min-h-[460px] cursor-pointer transition-colors\",\n                ITEM_BG_CLASSES[selectedImage % ITEM_BG_CLASSES.length]\n              )}\n            >\n              <img src={images[selectedImage]} alt=\"Bento Sneaker\" className={cn(\"peer absolute inset-0 w-full h-full object-cover scale-140 p-0 transition-all duration-500 hover:scale-105 z-0\", sizeScaleClass)} />\n              <div className=\"absolute inset-0 bg-gradient-to-t from-slate-950/80 via-slate-950/20 to-transparent pointer-events-none z-0\" />\n\n              <div className=\"absolute inset-0 bg-black/20 opacity-0 peer-hover:opacity-100 transition-opacity flex items-center justify-center pointer-events-none z-10\">\n                <span className=\"px-4 py-2 rounded-full bg-black/60 text-white backdrop-blur-md text-xs font-semibold flex items-center gap-2\">\n                  <ZoomIn className=\"size-4\" /> Click to Expand\n                </span>\n              </div>\n\n              <div className=\"relative z-20 flex justify-between items-start\">\n                <span className=\"px-3.5 py-1 rounded-full bg-slate-900/90 border border-slate-700 text-white text-xs font-bold uppercase tracking-wider backdrop-blur-md\">\n                  20% OFF\n                </span>\n                <button onClick={(e) => { e.stopPropagation(); setLiked(!liked); }} className=\"p-3 rounded-full bg-slate-900/80 border border-slate-700 text-white hover:text-rose-500 transition-all backdrop-blur-md z-20\">\n                  <Heart className={cn(\"size-5\", liked && \"fill-rose-500 text-rose-500\")} />\n                </button>\n              </div>\n\n              <div className=\"relative z-20 space-y-3 max-w-xl pointer-events-none\">\n                <div className=\"flex items-center gap-2 text-amber-300 text-xs font-semibold drop-shadow\">\n                  <Star className=\"size-4 fill-amber-300 fill-amber-300\" /> {rating} Rating ({reviews} Verified Runner Reviews)\n                </div>\n                <h1 className=\"text-3xl sm:text-4xl font-extrabold text-white drop-shadow-md\">{title || \"Air Jordan 1 Retro High OG Vintage\"}</h1>\n                <p className=\"text-xs sm:text-sm text-slate-100/90 line-clamp-2 drop-shadow\">{description || \"Engineered with Max Air 270 cushioning and lightweight Nike React foam for exceptional everyday comfort and energy return.\"}</p>\n                <div className=\"flex flex-wrap items-center gap-2.5 sm:gap-3 pt-2\">\n                  <span className=\"text-2xl sm:text-3xl font-bold text-white drop-shadow-md\">{price || \"$160.00\"}</span>\n                  <span className=\"text-base sm:text-lg text-white/70 line-through\">{originalPrice || \"$190.00\"}</span>\n                  <span className=\"px-2.5 py-0.5 rounded-full bg-white/20 border border-white/30 text-white text-xs font-semibold backdrop-blur-sm shrink-0 whitespace-nowrap\">Save $30 Today</span>\n                </div>\n              </div>\n            </div>\n\n            <div className=\"lg:col-span-5 space-y-6 p-6 rounded-3xl bg-card border border-border flex flex-col justify-between\">\n              <div className=\"space-y-4\">\n                <div className=\"p-3 rounded-2xl bg-background border border-border text-foreground text-xs font-semibold flex items-center gap-2\">\n                  <Flame className=\"size-4 text-amber-500 shrink-0\" />\n                  <span>High Demand: Only 4 pairs left in stock!</span>\n                </div>\n\n                <div className=\"space-y-2\">\n                  <label className=\"text-xs font-semibold uppercase tracking-wider text-muted-foreground block\">Colorway: {colors[selectedColor].name}</label>\n                  <div className=\"flex flex-wrap gap-2.5\">\n                    {colors.map((c, idx) => (\n                      <button key={idx} onClick={() => setSelectedColor(idx)} className={cn(\"size-8 rounded-full border-2 transition-all flex items-center justify-center shrink-0\", c.class, selectedColor === idx ? \"ring-2 ring-primary/30 scale-110\" : \"opacity-75\")}>\n                        {selectedColor === idx && <Check className={cn(\"size-3.5\", idx === 3 ? \"text-foreground\" : \"text-white\")} />}\n                      </button>\n                    ))}\n                  </div>\n                </div>\n\n                <div className=\"space-y-2\">\n                  <label className=\"text-xs font-semibold uppercase tracking-wider text-muted-foreground block\">US Shoe Size</label>\n                  <div className=\"flex flex-wrap gap-2\">\n                    {sizes.map((s) => (\n                      <button key={s} onClick={() => setSelectedSize(s)} className={cn(\"px-3.5 py-1.5 rounded-xl text-xs font-semibold border transition-all bg-background shrink-0\", selectedSize === s ? \"bg-primary text-primary-foreground border-primary/30\" : \"border-border text-foreground hover:bg-muted\")}>\n                        {s}\n                      </button>\n                    ))}\n                  </div>\n                </div>\n\n                <div className=\"flex flex-col sm:flex-row items-stretch sm:items-center gap-3\">\n                  <div className=\"flex items-center justify-between sm:justify-start rounded-xl border border-border bg-background p-1\">\n                    <button onClick={() => setQuantity(Math.max(1, quantity - 1))} className=\"p-1.5 rounded-lg hover:bg-muted text-foreground\"><Minus className=\"size-3\" /></button>\n                    <span className=\"px-3 text-xs font-semibold text-foreground\">{quantity}</span>\n                    <button onClick={() => setQuantity(quantity + 1)} className=\"p-1.5 rounded-lg hover:bg-muted text-foreground\"><Plus className=\"size-3\" /></button>\n                  </div>\n\n                  <button className=\"flex-1 py-3 rounded-xl bg-primary text-primary-foreground font-semibold text-xs hover:opacity-90 transition-all flex items-center justify-center gap-2\">\n                    <ShoppingBag className=\"size-4\" /> Add Sneaker to Bag\n                  </button>\n                </div>\n              </div>\n\n              <div className=\"grid grid-cols-1 sm:grid-cols-3 gap-2 pt-4 border-t border-border text-center text-[10px] text-muted-foreground\">\n                <div className=\"p-2 rounded-xl bg-background border border-border\"><Truck className=\"size-3.5 mx-auto mb-1 text-foreground\" />Free Shipping</div>\n                <div className=\"p-2 rounded-xl bg-background border border-border\"><RotateCcw className=\"size-3.5 mx-auto mb-1 text-foreground\" />30-Day Exchange</div>\n                <div className=\"p-2 rounded-xl bg-background border border-border\"><ShieldCheck className=\"size-3.5 mx-auto mb-1 text-foreground\" />100% Authentic</div>\n              </div>\n            </div>\n          </div>\n\n          <div className=\"grid grid-cols-2 sm:grid-cols-4 gap-4 text-xs\">\n            {images.map((img, idx) => (\n              <button key={idx} onClick={() => setSelectedImage(idx)} className={cn(\"aspect-[4/3] rounded-2xl overflow-hidden border-2 transition-all p-0 flex items-center justify-center\", ITEM_BG_CLASSES[idx % ITEM_BG_CLASSES.length], selectedImage === idx ? \"border-primary/30 scale-105\" : \"border-border opacity-70 hover:opacity-100\")}>\n                <img src={img} alt=\"Bento Thumb\" className=\"w-full h-full object-cover scale-120 p-0\" />\n              </button>\n            ))}\n          </div>\n        </div>\n      )}\n\n      {/* 1. COLOR SYNC GALLERY (ULTRA-MODERN LUXURY SHOWCASE) */}\n      {variant === \"color-sync-gallery\" && (\n        <div className=\"max-w-7xl mx-auto space-y-8 sm:space-y-12\">\n          {/* Top Brand Header & Live Price */}\n          <div className=\"flex flex-col sm:flex-row sm:items-end justify-between gap-4 pb-6 border-b border-border\">\n            <div className=\"space-y-1.5\">\n              <div className=\"flex flex-wrap items-center gap-2 sm:gap-2.5\">\n                <span className=\"px-2.5 sm:px-3 py-1 rounded-full bg-primary/10 text-primary text-[10px] sm:text-[11px] font-bold uppercase tracking-widest border border-primary/20\">\n                  {badge}\n                </span>\n                <div className=\"flex items-center gap-1.5\">\n                  <Stars className=\"size-3.5\" rating={rating} />\n                  <span className=\"text-xs font-bold text-foreground\">{rating}</span>\n                  <span className=\"text-[10px] sm:text-[11px] text-muted-foreground font-medium\">({reviews} Reviews)</span>\n                </div>\n              </div>\n              <h1 className=\"text-2xl sm:text-4xl md:text-5xl font-bold tracking-tight text-foreground\">\n                {title || \"Nike Air Max Pulse 2026\"}\n              </h1>\n            </div>\n\n            <div className=\"flex items-center gap-3 shrink-0\">\n              <div className=\"text-left sm:text-right\">\n                <span className=\"text-xs text-muted-foreground line-through font-semibold block\">{originalPrice || \"$240.00\"}</span>\n                <span className=\"text-2xl sm:text-4xl font-bold text-foreground\">{price || \"$189.99\"}</span>\n              </div>\n              <span className=\"px-3 sm:px-3.5 py-1.5 sm:py-2 rounded-2xl bg-primary text-primary-foreground text-[11px] sm:text-xs font-bold uppercase tracking-wider\">\n                SAVE $50\n              </span>\n            </div>\n          </div>\n\n          <div className=\"grid grid-cols-1 lg:grid-cols-12 gap-6 lg:gap-12 items-start\">\n            {/* Single Hero Image Studio Stage */}\n            <div className=\"lg:col-span-7 relative\">\n              <div\n                onMouseMove={handleMouseMove}\n                onMouseLeave={handleMouseLeave}\n                className={cn(\n                  \"aspect-square w-full rounded-3xl sm:rounded-[2.5rem] overflow-hidden border border-border relative flex items-center justify-center p-0 transition-colors cursor-crosshair group\",\n                  ITEM_BG_CLASSES[selectedColor % ITEM_BG_CLASSES.length]\n                )}\n              >\n                <img\n                  src={images[selectedColor]}\n                  alt={colors[selectedColor].name}\n                  className={cn(\n                    \"w-full h-full object-cover scale-140 p-0 transition-all duration-300\",\n                    sizeScaleClass,\n                    zoomMode === \"inner\" && zoomPos.visible && \"opacity-0\"\n                  )}\n                />\n\n                {/* Inner Magnifier Zoom View */}\n                {zoomMode === \"inner\" && zoomPos.visible && (\n                  <div\n                    className=\"absolute inset-0 w-full h-full pointer-events-none transition-all duration-150 rounded-3xl sm:rounded-[2.5rem]\"\n                    style={{\n                      backgroundImage: `url(${images[selectedColor]})`,\n                      backgroundPosition: `${zoomPos.x}% ${zoomPos.y}%`,\n                      backgroundSize: \"260%\",\n                      backgroundRepeat: \"no-repeat\",\n                    }}\n                  />\n                )}\n\n                {/* Side Magnifier Lens Box */}\n                {zoomMode === \"side\" && zoomPos.visible && (\n                  <div\n                    className=\"absolute size-36 rounded-2xl border-2 border-primary/60 bg-primary/10 pointer-events-none -translate-x-1/2 -translate-y-1/2 transition-opacity duration-150 hidden sm:block\"\n                    style={{ left: `${zoomPos.x}%`, top: `${zoomPos.y}%` }}\n                  />\n                )}\n\n                {/* Wishlist Floating Button */}\n                <button\n                  onClick={() => setLiked(!liked)}\n                  className=\"absolute top-4 right-4 sm:top-5 sm:right-5 p-2.5 sm:p-3.5 rounded-full bg-background/90 backdrop-blur-md border border-border text-foreground hover:text-rose-500 transition-all z-20 cursor-pointer\"\n                >\n                  <Heart className={cn(\"size-4 sm:size-5 transition-colors\", liked && \"fill-rose-500 text-rose-500\")} />\n                </button>\n              </div>\n\n              {/* Side Magnified Portal View Window */}\n              {zoomMode === \"side\" && zoomPos.visible && (\n                <div\n                  className=\"hidden sm:block absolute top-0 left-[calc(100%+24px)] w-[450px] aspect-square rounded-[2.5rem] overflow-hidden border-2 border-border bg-card z-50 pointer-events-none\"\n                  style={{\n                    backgroundImage: `url(${images[selectedColor]})`,\n                    backgroundPosition: `${zoomPos.x}% ${zoomPos.y}%`,\n                    backgroundSize: \"280%\",\n                    backgroundRepeat: \"no-repeat\",\n                  }}\n                >\n                  <div className=\"absolute bottom-4 left-4 px-3.5 py-1.5 rounded-full bg-background border border-border text-xs font-semibold text-foreground\">\n                    2.8x HD Zoom View\n                  </div>\n                </div>\n              )}\n            </div>\n\n            {/* Right Side Options & CTA (Ultra-Modern High-End Design) */}\n            <div className=\"lg:col-span-5 space-y-6 sm:space-y-7\">\n              {/* Product Short Bio & Stock Indicator Bar */}\n              <div className=\"space-y-3\">\n                <p className=\"text-xs sm:text-sm text-muted-foreground leading-relaxed font-medium\">\n                  {description || \"Engineered with reactive Air Cushioning and breathable Flyknit upper for high-performance city workouts and daily street style.\"}\n                </p>\n\n                <div className=\"p-3.5 sm:p-4 rounded-2xl bg-card border border-border text-xs font-semibold flex flex-wrap items-center justify-between gap-2.5\">\n                  <div className=\"flex items-center gap-2.5\">\n                    <div className=\"size-2 rounded-full bg-emerald-500 animate-pulse shrink-0\" />\n                    <span className=\"text-foreground font-extrabold text-xs\">In Stock & Ready to Ship</span>\n                  </div>\n                  <span className=\"text-[10px] sm:text-[11px] px-2.5 py-1 rounded-full bg-primary/10 text-primary font-bold uppercase tracking-wider shrink-0\">\n                    Only 4 left\n                  </span>\n                </div>\n              </div>\n\n              {/* Colorway Selection Swatches (Square Color Swatches with Checkmark) */}\n              <div className=\"space-y-3 pt-1\">\n                <div className=\"flex justify-between items-center text-xs font-bold uppercase tracking-widest text-muted-foreground\">\n                  <span>Colorway: <strong className=\"text-foreground font-bold\">{colors[selectedColor].name}</strong></span>\n                </div>\n                <div className=\"flex flex-wrap gap-2.5 sm:gap-3\">\n                  {colors.map((c, idx) => (\n                    <button\n                      key={idx}\n                      onClick={() => setSelectedColor(idx)}\n                      className={cn(\n                        \"size-10 sm:size-11 rounded-lg transition-all border-2 flex items-center justify-center shrink-0 cursor-pointer p-0\",\n                        c.class,\n                        selectedColor === idx\n                          ? \"ring-2 ring-primary/30 ring-offset-2 ring-offset-background scale-105\"\n                          : \"opacity-85 hover:opacity-100\"\n                      )}\n                      title={c.name}\n                    >\n                      {selectedColor === idx && (\n                        <Check className={cn(\"size-4 sm:size-5\", idx === 3 ? \"text-foreground\" : \"text-white\")} />\n                      )}\n                    </button>\n                  ))}\n                </div>\n              </div>\n\n              {/* Shoe Size Grid (Clean Square Box Tiles) */}\n              <div className=\"space-y-3 pt-1\">\n                <div className=\"flex justify-between items-center text-xs font-bold uppercase tracking-widest text-muted-foreground\">\n                  <span>Select US Shoe Size</span>\n                  <a href=\"#\" className=\"text-primary hover:underline text-[11px] font-extrabold uppercase tracking-wider\">Size Guide</a>\n                </div>\n                <div className=\"grid grid-cols-3 sm:grid-cols-5 gap-2\">\n                  {sizes.map((s) => (\n                    <button\n                      key={s}\n                      onClick={() => setSelectedSize(s)}\n                      className={cn(\n                        \"py-2.5 sm:py-3 text-center text-xs font-bold rounded-lg border transition-all cursor-pointer\",\n                        selectedSize === s\n                          ? \"bg-primary text-primary-foreground border-primary/30 shadow-sm\"\n                          : \"bg-card border-border text-foreground hover:bg-muted/70\"\n                      )}\n                    >\n                      {s}\n                    </button>\n                  ))}\n                </div>\n              </div>\n\n              {/* Payment Method Selector (Ultra-Modern High-End Cards) */}\n              <div className=\"space-y-3 pt-1\">\n                <div className=\"flex justify-between items-center text-xs font-bold uppercase tracking-widest text-muted-foreground\">\n                  <span>Select Payment Method</span>\n                  <span className=\"text-[11px] text-emerald-500 font-extrabold flex items-center gap-1\">\n                    <ShieldCheck className=\"size-3.5\" /> 100% Secure\n                  </span>\n                </div>\n\n                <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-3\">\n                  <button\n                    type=\"button\"\n                    onClick={() => setPaymentMethod(\"cod\")}\n                    className={cn(\n                      \"p-4 rounded-2xl border text-xs font-semibold transition-all flex items-start gap-3 cursor-pointer text-left relative group\",\n                      paymentMethod === \"cod\"\n                        ? \"bg-primary/10 border-primary/30 text-foreground ring-1 ring-primary/30\"\n                        : \"bg-card border-border text-foreground hover:bg-muted/60\"\n                    )}\n                  >\n                    <div className={cn(\n                      \"size-8 rounded-xl flex items-center justify-center shrink-0 transition-colors\",\n                      paymentMethod === \"cod\" ? \"bg-primary text-primary-foreground\" : \"bg-primary/10 text-primary\"\n                    )}>\n                      <Banknote className=\"size-4\" />\n                    </div>\n\n                    <div className=\"space-y-0.5 flex-1 min-w-0\">\n                      <div className=\"flex items-center justify-between\">\n                        <span className=\"font-bold text-xs text-foreground block\">Cash on Delivery</span>\n                        <div className={cn(\n                          \"size-4 rounded-full border flex items-center justify-center transition-all\",\n                          paymentMethod === \"cod\" ? \"border-primary/30 bg-primary\" : \"border-border\"\n                        )}>\n                          {paymentMethod === \"cod\" && <Check className=\"size-3 text-primary-foreground stroke-[3]\" />}\n                        </div>\n                      </div>\n                      <p className=\"text-[10px] text-muted-foreground font-medium line-clamp-1\">Pay with cash upon package arrival</p>\n                    </div>\n                  </button>\n\n                  <button\n                    type=\"button\"\n                    onClick={() => setPaymentMethod(\"online\")}\n                    className={cn(\n                      \"p-4 rounded-2xl border text-xs font-semibold transition-all flex items-start gap-3 cursor-pointer text-left relative group\",\n                      paymentMethod === \"online\"\n                        ? \"bg-primary/10 border-primary/30 text-foreground ring-1 ring-primary/30\"\n                        : \"bg-card border-border text-foreground hover:bg-muted/60\"\n                    )}\n                  >\n                    <div className={cn(\n                      \"size-8 rounded-xl flex items-center justify-center shrink-0 transition-colors\",\n                      paymentMethod === \"online\" ? \"bg-primary text-primary-foreground\" : \"bg-primary/10 text-primary\"\n                    )}>\n                      <CreditCard className=\"size-4\" />\n                    </div>\n\n                    <div className=\"space-y-0.5 flex-1 min-w-0\">\n                      <div className=\"flex items-center justify-between\">\n                        <span className=\"font-bold text-xs text-foreground block\">Digital / Card</span>\n                        <div className={cn(\n                          \"size-4 rounded-full border flex items-center justify-center transition-all\",\n                          paymentMethod === \"online\" ? \"border-primary/30 bg-primary\" : \"border-border\"\n                        )}>\n                          {paymentMethod === \"online\" && <Check className=\"size-3 text-primary-foreground stroke-[3]\" />}\n                        </div>\n                      </div>\n                      <p className=\"text-[10px] text-muted-foreground font-medium line-clamp-1\">bKash, Nagad, Visa, Cards</p>\n                    </div>\n                  </button>\n                </div>\n              </div>\n\n              {/* Quantity Counter & Add to Bag CTA */}\n              <div className=\"flex flex-col sm:flex-row items-stretch gap-3 pt-2\">\n                <div className=\"flex items-center justify-between rounded-2xl border border-border bg-card p-1.5 sm:min-w-[130px]\">\n                  <button onClick={() => setQuantity(Math.max(1, quantity - 1))} className=\"p-2 sm:p-2.5 rounded-xl hover:bg-muted text-foreground cursor-pointer transition-colors\"><Minus className=\"size-4\" /></button>\n                  <span className=\"px-4 text-xs font-bold text-foreground\">{quantity}</span>\n                  <button onClick={() => setQuantity(quantity + 1)} className=\"p-2 sm:p-2.5 rounded-xl hover:bg-muted text-foreground cursor-pointer transition-colors\"><Plus className=\"size-4\" /></button>\n                </div>\n\n                <button className=\"flex-1 py-3.5 sm:py-4 rounded-2xl bg-primary text-primary-foreground font-bold text-xs uppercase tracking-widest hover:opacity-90 transition-all flex items-center justify-center gap-2.5 cursor-pointer\">\n                  <ShoppingBag className=\"size-4\" /> Add Sneaker to Bag\n                </button>\n              </div>\n\n              {/* Trust & Guarantee Badges */}\n              <div className=\"grid grid-cols-1 sm:grid-cols-3 gap-2.5 sm:gap-3 pt-5 border-t border-border text-xs text-muted-foreground font-medium\">\n                <div className=\"p-3 sm:p-4 rounded-2xl bg-card border border-border flex sm:flex-col items-center sm:text-center justify-start gap-3 sm:gap-1\">\n                  <Truck className=\"size-4 text-primary shrink-0\" />\n                  <div>\n                    <p className=\"font-extrabold text-[11px] text-foreground\">Free Shipping</p>\n                    <p className=\"text-[10px] text-muted-foreground\">Worldwide Delivery</p>\n                  </div>\n                </div>\n                <div className=\"p-3 sm:p-4 rounded-2xl bg-card border border-border flex sm:flex-col items-center sm:text-center justify-start gap-3 sm:gap-1\">\n                  <RotateCcw className=\"size-4 text-primary shrink-0\" />\n                  <div>\n                    <p className=\"font-extrabold text-[11px] text-foreground\">30-Day Exchange</p>\n                    <p className=\"text-[10px] text-muted-foreground\">Hassle-Free Returns</p>\n                  </div>\n                </div>\n                <div className=\"p-3 sm:p-4 rounded-2xl bg-card border border-border flex sm:flex-col items-center sm:text-center justify-start gap-3 sm:gap-1\">\n                  <ShieldCheck className=\"size-4 text-primary shrink-0\" />\n                  <div>\n                    <p className=\"font-extrabold text-[11px] text-foreground\">100% Authentic</p>\n                    <p className=\"text-[10px] text-muted-foreground\">Verified Original</p>\n                  </div>\n                </div>\n              </div>\n            </div>\n          </div>\n\n          {/* Bottom Tabs Section (Modern Architectural Minimalist Design) */}\n          <div className=\"border-t border-border pt-8 sm:pt-10 space-y-6 sm:space-y-8\">\n            {/* Architectural Tab Pills */}\n            <div className=\"flex flex-col sm:flex-row sm:items-center justify-between gap-4\">\n              <div className=\"flex items-center gap-1.5 sm:gap-2 overflow-x-auto pb-1 sm:pb-0\">\n                {([\"specs\", \"shipping\", \"reviews\"] as const).map((tab) => (\n                  <button\n                    key={tab}\n                    onClick={() => setActiveTab(tab)}\n                    className={cn(\n                      \"px-4 sm:px-5 py-2 rounded-full text-xs font-bold uppercase tracking-wider transition-all cursor-pointer capitalize border shrink-0\",\n                      activeTab === tab\n                        ? \"bg-primary text-primary-foreground border-primary/30\"\n                        : \"bg-background border-border text-muted-foreground hover:text-foreground hover:bg-muted\"\n                    )}\n                  >\n                    {tab}\n                  </button>\n                ))}\n              </div>\n\n              <span className=\"text-[10px] sm:text-[11px] font-extrabold uppercase tracking-widest text-muted-foreground hidden sm:block\">\n                Product Details & Overview\n              </span>\n            </div>\n\n            {/* Specs View */}\n            {activeTab === \"specs\" && (\n              <div className=\"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-3 sm:gap-4 text-xs\">\n                <div className=\"p-5 sm:p-6 rounded-2xl sm:rounded-3xl bg-card border border-border flex flex-col justify-between space-y-4 hover:border-primary/40 transition-colors\">\n                  <div className=\"flex justify-between items-center text-primary font-bold\">\n                    <span className=\"text-[10px] uppercase tracking-widest\">Upper</span>\n                    <span className=\"text-xs\">01</span>\n                  </div>\n                  <div>\n                    <span className=\"text-muted-foreground font-medium text-[11px] block\">Material Construction</span>\n                    <p className=\"font-bold text-sm text-foreground pt-0.5\">Breathable Flyknit Mesh</p>\n                  </div>\n                </div>\n\n                <div className=\"p-5 sm:p-6 rounded-2xl sm:rounded-3xl bg-card border border-border flex flex-col justify-between space-y-4 hover:border-primary/40 transition-colors\">\n                  <div className=\"flex justify-between items-center text-primary font-bold\">\n                    <span className=\"text-[10px] uppercase tracking-widest\">Midsole</span>\n                    <span className=\"text-xs\">02</span>\n                  </div>\n                  <div>\n                    <span className=\"text-muted-foreground font-medium text-[11px] block\">Cushioning Tech</span>\n                    <p className=\"font-bold text-sm text-foreground pt-0.5\">Max Air 270 Foam</p>\n                  </div>\n                </div>\n\n                <div className=\"p-5 sm:p-6 rounded-2xl sm:rounded-3xl bg-card border border-border flex flex-col justify-between space-y-4 hover:border-primary/40 transition-colors\">\n                  <div className=\"flex justify-between items-center text-primary font-bold\">\n                    <span className=\"text-[10px] uppercase tracking-widest\">Outsole</span>\n                    <span className=\"text-xs\">03</span>\n                  </div>\n                  <div>\n                    <span className=\"text-muted-foreground font-medium text-[11px] block\">Traction Surface</span>\n                    <p className=\"font-bold text-sm text-foreground pt-0.5\">Durable Rubber Tread</p>\n                  </div>\n                </div>\n\n                <div className=\"p-5 sm:p-6 rounded-2xl sm:rounded-3xl bg-card border border-border flex flex-col justify-between space-y-4 hover:border-primary/40 transition-colors\">\n                  <div className=\"flex justify-between items-center text-primary font-bold\">\n                    <span className=\"text-[10px] uppercase tracking-widest\">Weight</span>\n                    <span className=\"text-xs\">04</span>\n                  </div>\n                  <div>\n                    <span className=\"text-muted-foreground font-medium text-[11px] block\">Standard Mass</span>\n                    <p className=\"font-bold text-sm text-foreground pt-0.5\">310 grams (US 10)</p>\n                  </div>\n                </div>\n              </div>\n            )}\n\n            {/* Shipping View */}\n            {activeTab === \"shipping\" && (\n              <div className=\"grid grid-cols-1 sm:grid-cols-3 gap-3 sm:gap-4 text-xs\">\n                <div className=\"p-5 sm:p-6 rounded-2xl sm:rounded-3xl bg-card border border-border space-y-3\">\n                  <div className=\"flex items-center gap-2 text-primary font-bold text-xs uppercase tracking-wider\">\n                    <Truck className=\"size-4\" />\n                    <span>Double-Boxed</span>\n                  </div>\n                  <p className=\"font-bold text-sm text-foreground\">Express Delivery</p>\n                  <p className=\"text-muted-foreground leading-relaxed font-medium\">All shoes ship in protective double-boxing with tracking link provided upon dispatch.</p>\n                </div>\n                <div className=\"p-5 sm:p-6 rounded-2xl sm:rounded-3xl bg-card border border-border space-y-3\">\n                  <div className=\"flex items-center gap-2 text-primary font-bold text-xs uppercase tracking-wider\">\n                    <RotateCcw className=\"size-4\" />\n                    <span>Free Exchange</span>\n                  </div>\n                  <p className=\"font-bold text-sm text-foreground\">30-Day Easy Exchange</p>\n                  <p className=\"text-muted-foreground leading-relaxed font-medium\">If the size doesn't fit, return or exchange within 30 days with hassle-free support.</p>\n                </div>\n                <div className=\"p-5 sm:p-6 rounded-2xl sm:rounded-3xl bg-card border border-border space-y-3\">\n                  <div className=\"flex items-center gap-2 text-primary font-bold text-xs uppercase tracking-wider\">\n                    <ShieldCheck className=\"size-4\" />\n                    <span>100% Authentic</span>\n                  </div>\n                  <p className=\"font-bold text-sm text-foreground\">Guaranteed Original</p>\n                  <p className=\"text-muted-foreground leading-relaxed font-medium\">Verified original factory sneakers with official serial codes and packaging.</p>\n                </div>\n              </div>\n            )}\n\n            {/* Reviews View */}\n            {activeTab === \"reviews\" && (\n              <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-3 sm:gap-4 text-xs\">\n                <div className=\"p-5 sm:p-6 rounded-2xl sm:rounded-3xl bg-card border border-border space-y-2\">\n                  <div className=\"flex items-center justify-between\">\n                    <Stars className=\"size-3.5\" rating={5} />\n                    <span className=\"text-[11px] text-muted-foreground font-medium\">2 days ago</span>\n                  </div>\n                  <p className=\"font-bold text-sm text-foreground\">\"Best running shoes I have owned!\"</p>\n                  <p className=\"text-muted-foreground leading-relaxed font-medium\">\"The air cushioning makes walking all day effortless. The Flyknit upper feels breathable and lightweight.\"</p>\n                  <span className=\"text-[11px] font-bold text-foreground block pt-1\">ΓÇö Marcus L., Verified Runner</span>\n                </div>\n\n                <div className=\"p-5 sm:p-6 rounded-2xl sm:rounded-3xl bg-card border border-border space-y-2\">\n                  <div className=\"flex items-center justify-between\">\n                    <Stars className=\"size-3.5\" rating={5} />\n                    <span className=\"text-[11px] text-muted-foreground font-medium\">1 week ago</span>\n                  </div>\n                  <p className=\"font-bold text-sm text-foreground\">\"True to size & premium quality\"</p>\n                  <p className=\"text-muted-foreground leading-relaxed font-medium\">\"Super fast shipping, fits perfectly right out of the box. Colorway looks even better in real life!\"</p>\n                  <span className=\"text-[11px] font-bold text-foreground block pt-1\">ΓÇö Sarah K., Verified Customer</span>\n                </div>\n              </div>\n            )}\n          </div>\n        </div>\n      )}\n\n      {/* FULL SCREEN IMAGE LIGHTBOX MODAL */}\n      {isModalOpen && (\n        <div\n          className=\"fixed inset-0 z-50 bg-background/60 backdrop-blur-md flex items-center justify-center p-4 sm:p-8 animate-in fade-in duration-200\"\n          onClick={() => setIsModalOpen(false)}\n        >\n          {/* Close button */}\n          <button\n            onClick={() => setIsModalOpen(false)}\n            className=\"absolute top-4 right-4 sm:top-6 sm:right-6 p-3 rounded-full bg-card/80 hover:bg-card border border-border text-foreground transition-all backdrop-blur-md z-50 cursor-pointer\"\n            aria-label=\"Close Lightbox\"\n          >\n            <X className=\"size-6\" />\n          </button>\n\n          {/* Modal Container */}\n          <div\n            className=\"relative flex flex-col items-center justify-center p-0\"\n            onClick={(e) => e.stopPropagation()}\n          >\n            {/* Relative Image Wrapper */}\n            <div className=\"relative flex items-center justify-center\">\n              <div\n                className={cn(\n                  \"p-0 rounded-3xl border border-border max-w-[80vw] sm:max-w-2xl max-h-[65vh] aspect-square sm:aspect-[4/3] flex items-center justify-center transition-colors overflow-hidden\",\n                  ITEM_BG_CLASSES[(variant === \"color-sync-gallery\" ? selectedColor : selectedImage) % ITEM_BG_CLASSES.length]\n                )}\n              >\n                <img\n                  src={currentImageSrc}\n                  alt=\"Full Screen Preview\"\n                  className={cn(\"w-full h-full object-cover scale-140 transition-all duration-300\", sizeScaleClass)}\n                />\n              </div>\n\n              {/* Lightbox Slider Arrows (positioned 25px OUTSIDE the image box on desktop, 10px on mobile) */}\n              {variant !== \"color-sync-gallery\" && (\n                <>\n                  <button\n                    onClick={() => setSelectedImage((prev) => (prev === 0 ? images.length - 1 : prev - 1))}\n                    className=\"absolute right-[calc(100%+10px)] sm:right-[calc(100%+25px)] top-1/2 -translate-y-1/2 p-2 sm:p-3 rounded-full bg-card/90 hover:bg-card border border-border text-foreground backdrop-blur-md transition-all z-50 cursor-pointer hover:scale-110 shrink-0\"\n                    aria-label=\"Previous Image\"\n                  >\n                    <ChevronLeft className=\"size-5 sm:size-6\" />\n                  </button>\n\n                  <button\n                    onClick={() => setSelectedImage((prev) => (prev === images.length - 1 ? 0 : prev + 1))}\n                    className=\"absolute left-[calc(100%+10px)] sm:left-[calc(100%+25px)] top-1/2 -translate-y-1/2 p-2 sm:p-3 rounded-full bg-card/90 hover:bg-card border border-border text-foreground backdrop-blur-md transition-all z-50 cursor-pointer hover:scale-110 shrink-0\"\n                    aria-label=\"Next Image\"\n                  >\n                    <ChevronRight className=\"size-5 sm:size-6\" />\n                  </button>\n                </>\n              )}\n\n              {/* Thumbnails inside Lightbox (positioned 30px below image on desktop, 15px on mobile) */}\n              {variant !== \"color-sync-gallery\" && (\n                <div className=\"absolute top-[calc(100%+15px)] sm:top-[calc(100%+30px)] left-1/2 -translate-x-1/2 flex gap-2 sm:gap-3 p-1.5 sm:p-2 rounded-2xl bg-card/90 backdrop-blur-md border border-border z-50\">\n                  {images.map((img, idx) => (\n                    <button\n                      key={idx}\n                      onClick={() => setSelectedImage(idx)}\n                      className={cn(\n                        \"size-9 sm:size-12 rounded-lg sm:rounded-xl overflow-hidden border-2 transition-all cursor-pointer p-0 flex items-center justify-center\",\n                        ITEM_BG_CLASSES[idx % ITEM_BG_CLASSES.length],\n                        selectedImage === idx ? \"border-primary/30 scale-105\" : \"border-border opacity-70 hover:opacity-100\"\n                      )}\n                    >\n                      <img src={img} alt=\"Thumb\" className=\"w-full h-full object-cover scale-120 p-0\" />\n                    </button>\n                  ))}\n                </div>\n              )}\n            </div>\n          </div>\n        </div>\n      )}\n    </section>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/custom/blocks/ProductDetailsBlock.tsx"
    }
  ],
  "docs": "Named export: ProductDetails. Accepts `variant` (4 variants: modern-split-gallery, floating-card-glass, bento-editorial-showcase, color-sync-gallery), `title`, `price`, `originalPrice`, `description`, `className`. Adaptable across mobile, tablet, and desktop viewports.",
  "categories": [
    "commerce",
    "marketing",
    "layout"
  ],
  "type": "registry:component"
}
