{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "ecommerce-05",
  "type": "registry:block",
  "description": "A product bundle section with included items and pricing.",
  "dependencies": [
    "lucide-react"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "registry/designali/blocks/ecommerce/ecommerce-05.tsx",
      "content": "import {\n  Download,\n  RefreshCw,\n  ShieldCheck,\n  Star,\n  Zap,\n} from \"@designali/icons\"\n\nimport { Button } from \"@workspace/ui/components/button\"\nimport { IPhone } from \"@/registry/designali/ui/apple/iphone\"\nimport { Macbook } from \"@/registry/designali/ui/apple/macbook\"\n\nconst perks = [\n  { icon: Download, title: \"Instant download\", text: \"Files in your inbox the moment you check out.\" },\n  { icon: RefreshCw, title: \"Free updates\", text: \"Every new block and icon for 12 months.\" },\n  { icon: ShieldCheck, title: \"Commercial license\", text: \"Use it in client work, no questions.\" },\n  { icon: Zap, title: \"Built to ship\", text: \"Next.js, React, TypeScript and Tailwind CSS.\" },\n]\n\nconst bundle = [\n  { name: \"Design Agency Template\", price: 79 },\n  { name: \"Designali Icons Pro\", price: 39 },\n  { name: \"Vectors Starter Pack\", price: 19 },\n]\n\nexport default function Ecommerce05() {\n  const total = bundle.reduce((sum, item) => sum + item.price, 0)\n  const discounted = Math.round(total * 0.85)\n\n  return (\n    <section className=\"w-full bg-background py-16 text-foreground md:py-24\">\n      <div className=\"mx-auto max-w-6xl px-6\">\n        <div className=\"grid border border-border md:grid-cols-[1.2fr_1fr]\">\n          <div className=\"relative flex min-h-72 items-center justify-center overflow-hidden border-b border-border bg-muted p-6 pt-16 md:border-r md:border-b-0\">\n            <div className=\"absolute inset-0 bg-gradient-to-tr from-primary/40 via-transparent to-primary/40\" />\n            <div className=\"relative flex w-full items-end justify-center\">\n              <Macbook variant=\"macbook-pro\" color=\"black\" size=\"sm\" className=\"w-full! max-w-md\">\n                <img src=\"/images/templates/design-agency.jpg\" alt=\"Design Agency Template\" className=\"size-full object-cover object-top\" />\n              </Macbook>\n              <IPhone size=\"sm\" color=\"black\" className=\"-ml-16 h-auto! w-1/5! max-w-full shrink-0 sm:-ml-20\">\n                <img src=\"/images/templates/dalim-icons-old.jpg\" alt=\"Designali Icons Pro\" className=\"size-full object-cover object-top\" />\n              </IPhone>\n            </div>\n            <span className=\"absolute top-6 left-6 bg-primary px-3 py-1 text-xs text-primary-foreground\">\n              Save 15%\n            </span>\n          </div>\n          <div className=\"p-8 md:p-10\">\n            <p className=\"text-xs tracking-widest text-muted-foreground uppercase\">\n              Bundle\n            </p>\n            <h2 className=\"mt-2 text-3xl font-medium tracking-tight\">The Studio Launch Set</h2>\n            <p className=\"mt-2 flex items-center gap-1 text-sm text-muted-foreground\">\n              <Star className=\"size-4 fill-current text-primary\" />\n              4.9 from 1,204 reviews\n            </p>\n            <ul className=\"mt-6 divide-y divide-border border-y border-border text-sm\">\n              {bundle.map((item) => (\n                <li key={item.name} className=\"flex justify-between py-3\">\n                  <span>{item.name}</span>\n                  <span className=\"text-muted-foreground tabular-nums\">${item.price}</span>\n                </li>\n              ))}\n            </ul>\n            <div className=\"mt-6 flex items-baseline gap-3\">\n              <span className=\"text-3xl font-semibold\">${discounted}</span>\n              <span className=\"text-muted-foreground line-through\">${total}</span>\n            </div>\n            <Button size=\"lg\" className=\"mt-6 w-full\">\n              Add bundle to cart\n            </Button>\n          </div>\n        </div>\n\n        <div className=\"grid grid-cols-1 border-x border-b border-border sm:grid-cols-2 lg:grid-cols-4\">\n          {perks.map((perk) => (\n            <div key={perk.title} className=\"flex gap-4 border-border p-6 not-last:border-b sm:[&:nth-child(odd)]:border-r lg:border-b-0 lg:not-last:border-r\">\n              <perk.icon className=\"mt-0.5 size-5 shrink-0\" />\n              <div>\n                <p className=\"text-sm font-medium\">{perk.title}</p>\n                <p className=\"mt-1 text-xs leading-5 text-muted-foreground\">{perk.text}</p>\n              </div>\n            </div>\n          ))}\n        </div>\n      </div>\n    </section>\n  )\n}\n",
      "type": "registry:component"
    }
  ],
  "meta": {
    "iframeHeight": "800px"
  },
  "categories": [
    "ecommerce"
  ]
}