{
  "version": "7.1.0",
  "nodes": [
    {
      "name": "accordion",
      "description": "Một mục của accordion-group: accordion-summary (tiêu đề) rồi accordion-content (nội dung).",
      "docs": "# AccordionNode\n\n<!-- schema:start — tự sinh từ accordion.schema.ts, không sửa tay -->\n\nMột mục của accordion-group: accordion-summary (tiêu đề) rồi accordion-content (nội dung).\n\n## Resolved name\n\n`accordion`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `defaultOpen` | `true · false` | không | Mở sẵn khi tải trang |\n\n### `sx`\n\nKhông có key `sx` cấu hình.\n\n## Rules\n\n- **Nội dung**: chỉ nhận `accordion-summary`, `accordion-content`.\n- **Cha hợp lệ**: `accordion-group`.\n- accordion gồm đúng hai con theo thứ tự: accordion-summary rồi accordion-content.\n\n<!-- schema:end -->\n\n## Behavior\n\nKhông selectable trên canvas: chỉnh sửa qua `AccordionGroupNode`.\n\n## Usage\n\n```tsx\nimport { AccordionNode, AccordionSummaryNode, AccordionContentNode, ParagraphNode } from '@janbox/storefront-builder';\n\n<AccordionNode>\n  <AccordionSummaryNode>\n    <ParagraphNode>Question title</ParagraphNode>\n  </AccordionSummaryNode>\n  <AccordionContentNode>\n    <ParagraphNode>Answer content</ParagraphNode>\n  </AccordionContentNode>\n</AccordionNode>\n```\n\n## Related nodes\n\n- [`AccordionGroupNode`](../accordion-group/README.md) — parent container\n- [`AccordionSummaryNode`](../accordion-summary/README.md) — header\n- [`AccordionContentNode`](../accordion-content/README.md) — content area\n"
    },
    {
      "name": "accordion-content",
      "description": "Nội dung thu gọn của một accordion, chứa node con tùy ý. Chỉ được đặt trong accordion.",
      "docs": "# AccordionContentNode\n\n<!-- schema:start — tự sinh từ accordion-content.schema.ts, không sửa tay -->\n\nNội dung thu gọn của một accordion, chứa node con tùy ý. Chỉ được đặt trong accordion.\n\n## Resolved name\n\n`accordion-content`\n\n## Configurable props\n\n### Props\n\nKhông có prop cấu hình.\n\n### `sx`\n\nKhông có key `sx` cấu hình.\n\n## Rules\n\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: `accordion`.\n\n<!-- schema:end -->\n\n## Behavior\n\nKhông selectable và không kéo ra khỏi `AccordionNode`; style chung chỉnh qua `accordionContentProps` của `AccordionGroupNode`.\n\n## Usage\n\n```tsx\nimport { AccordionContentNode, ParagraphNode } from '@janbox/storefront-builder';\n\n<AccordionContentNode>\n  <ParagraphNode>\n    Answer content goes here. Can contain any nodes.\n  </ParagraphNode>\n</AccordionContentNode>\n```\n\n## Related nodes\n\n- [`AccordionNode`](../accordion/README.md) — parent item\n- [`AccordionGroupNode`](../accordion-group/README.md) — root container\n- [`AccordionSummaryNode`](../accordion-summary/README.md) — header\n"
    },
    {
      "name": "accordion-group",
      "description": "Nhóm accordion (hỏi đáp, thu gọn nội dung). Mỗi phần tử là một accordion, ít nhất một.",
      "docs": "# AccordionGroupNode\n\n<!-- schema:start — tự sinh từ accordion-group.schema.ts, không sửa tay -->\n\nNhóm accordion (hỏi đáp, thu gọn nội dung). Mỗi phần tử là một accordion, ít nhất một.\n\n## Resolved name\n\n`accordion-group`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `openMode` | `'single' · 'multiple'` | không | 'single' = chỉ mở một mục một lúc; mặc định 'multiple' |\n| `accordionSummaryProps` | `object` | không | Kiểu của tiêu đề mọi accordion trong nhóm |\n| `accordionSummaryProps.expandIcon` | `object` | không | Icon mở/đóng, phải đủ cả object hoặc bỏ hẳn |\n| `accordionSummaryProps.expandIcon.source.expanded` | `<svg …>` | không | Mã SVG khi mở |\n| `accordionSummaryProps.expandIcon.source.collapsed` | `<svg …>` | không | Mã SVG khi đóng |\n| `accordionSummaryProps.expandIcon.position` | `'left' · 'right'` | không | Vị trí icon trong tiêu đề |\n| `accordionSummaryProps.expandIcon.size` | `px` | không | Kích thước icon, đơn vị px |\n| `accordionSummaryProps.expandIcon.sx` | `object` | không | Màu icon (chỉ ở mobile) |\n| `accordionSummaryProps.expandIcon.sx.color` | `color` | không |  |\n| `accordionSummaryProps.sx.paddingTop` | `px` | có |  |\n| `accordionSummaryProps.sx.paddingRight` | `px` | có |  |\n| `accordionSummaryProps.sx.paddingBottom` | `px` | có |  |\n| `accordionSummaryProps.sx.paddingLeft` | `px` | có |  |\n| `accordionSummaryProps.sx.borderStyle` | `'solid' · 'dashed' · 'dotted'` | có |  |\n| `accordionSummaryProps.sx.borderTopWidth` | `px` | có |  |\n| `accordionSummaryProps.sx.borderRightWidth` | `px` | có |  |\n| `accordionSummaryProps.sx.borderBottomWidth` | `px` | có |  |\n| `accordionSummaryProps.sx.borderLeftWidth` | `px` | có |  |\n| `accordionSummaryProps.sx.borderColor` | `color` | có |  |\n| `accordionContentProps` | `object` | không | Kiểu của nội dung mọi accordion trong nhóm |\n| `accordionContentProps.sx.paddingTop` | `px` | có |  |\n| `accordionContentProps.sx.paddingRight` | `px` | có |  |\n| `accordionContentProps.sx.paddingBottom` | `px` | có |  |\n| `accordionContentProps.sx.paddingLeft` | `px` | có |  |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `width` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `rowGap` | `px` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: chỉ nhận `accordion`, ít nhất 1 node con.\n- **Cha hợp lệ**: bất kỳ.\n- accordion-group có openMode 'single' (mặc định 'multiple') thì tối đa một accordion có defaultOpen.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport { AccordionGroupNode, AccordionNode } from '@janbox/storefront-builder';\n\n// Single open mode\n<AccordionGroupNode\n  openMode=\"single\"\n  sx={{ rowGap: 8 }}\n  accordionSummaryProps={{ sx: { paddingTop: 12, paddingBottom: 12 } }}\n  accordionContentProps={{ sx: { paddingTop: 16, paddingBottom: 16 } }}\n>\n  <AccordionNode>...</AccordionNode>\n  <AccordionNode>...</AccordionNode>\n</AccordionGroupNode>\n\n// Multiple items có thể mở cùng lúc\n<AccordionGroupNode\n  openMode=\"multiple\"\n  sx={{\n    width: '100%',\n    rowGap: 4,\n    md: { rowGap: 8 },\n  }}\n>\n  <AccordionNode>...</AccordionNode>\n  <AccordionNode>...</AccordionNode>\n  <AccordionNode>...</AccordionNode>\n</AccordionGroupNode>\n```\n\n## Related nodes\n\n- [`AccordionNode`](../accordion/README.md) — item bên trong group\n- [`AccordionSummaryNode`](../accordion-summary/README.md) — header của mỗi item\n- [`AccordionContentNode`](../accordion-content/README.md) — content area của mỗi item\n"
    },
    {
      "name": "accordion-summary",
      "description": "Tiêu đề của một accordion, chứa node con tùy ý. Chỉ được đặt trong accordion.",
      "docs": "# AccordionSummaryNode\n\n<!-- schema:start — tự sinh từ accordion-summary.schema.ts, không sửa tay -->\n\nTiêu đề của một accordion, chứa node con tùy ý. Chỉ được đặt trong accordion.\n\n## Resolved name\n\n`accordion-summary`\n\n## Configurable props\n\n### Props\n\nKhông có prop cấu hình.\n\n### `sx`\n\nKhông có key `sx` cấu hình.\n\n## Rules\n\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: `accordion`.\n\n<!-- schema:end -->\n\n## Behavior\n\nKhông selectable và không kéo ra khỏi `AccordionNode`; style chung chỉnh qua `accordionSummaryProps` của `AccordionGroupNode`.\n\n## Usage\n\n```tsx\nimport { AccordionSummaryNode, FlexboxNode, FlexItemNode, ParagraphNode, IconNode } from '@janbox/storefront-builder';\n\n<AccordionSummaryNode>\n  <FlexboxNode sx={{ justifyContent: 'space-between', alignItems: 'center' }}>\n    <FlexItemNode>\n      <ParagraphNode>Question title</ParagraphNode>\n    </FlexItemNode>\n    <FlexItemNode>\n      <IconNode source=\"<svg ...>...</svg>\" size={16} />\n    </FlexItemNode>\n  </FlexboxNode>\n</AccordionSummaryNode>\n```\n\n## Related nodes\n\n- [`AccordionNode`](../accordion/README.md) — parent item\n- [`AccordionGroupNode`](../accordion-group/README.md) — root container\n- [`AccordionContentNode`](../accordion-content/README.md) — content area\n"
    },
    {
      "name": "box",
      "description": "Khối chứa đa dụng (div) để gom nhóm, tạo nền, viền, khoảng cách hoặc định vị node con.",
      "docs": "# BoxNode\n\n<!-- schema:start — tự sinh từ box.schema.ts, không sửa tay -->\n\nKhối chứa đa dụng (div) để gom nhóm, tạo nền, viền, khoảng cách hoặc định vị node con.\n\n## Resolved name\n\n`box`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `hidden` | `true · false` | có | Ẩn node ở breakpoint này |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `width` | `px · 'N%' · 'auto' · 'fit-content'` | mọi breakpoint |\n| `height` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n| `position` | `'static' · 'relative' · 'absolute' · 'sticky' · 'fixed'` | mọi breakpoint |\n| `top` | `px · 'N%'` | mọi breakpoint |\n| `right` | `px · 'N%'` | mọi breakpoint |\n| `bottom` | `px · 'N%'` | mọi breakpoint |\n| `left` | `px · 'N%'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Editor controls\n\n- **Settings → Layout**: width, height\n- **Settings → Shape**: border, border radius\n- **Settings → Background**: background styles\n- **Advanced → Position**: position\n  - `static`: default, không hiển thị offset inputs\n  - `relative`: set positioning context, không hiển thị offset inputs\n  - `absolute`, `sticky`, `fixed`: hiển thị `top`, `right`, `bottom`, `left`\n- **Advanced → Display on**: responsive visibility (ghi prop `hidden` theo từng breakpoint)\n- **Advanced → Spacing (px)**: margin, padding\n\n## Usage\n\n```tsx\nimport { BoxNode } from '@janbox/storefront-builder';\n\n// Wrapper đơn giản\n<BoxNode sx={{ paddingTop: 16, paddingRight: 16, paddingBottom: 16, paddingLeft: 16 }}>\n  <HeadingNode as=\"h2\">Hello</HeadingNode>\n</BoxNode>\n\n// Section có background\n<BoxNode\n  sx={{\n    backgroundColor: '#f5f5f5',\n    paddingTop: 48,\n    paddingBottom: 48,\n  }}\n>\n  ...\n</BoxNode>\n\n// Responsive padding\n<BoxNode\n  sx={{\n    paddingTop: 24,\n    paddingBottom: 24,\n    md: {\n      paddingTop: 48,\n      paddingBottom: 48,\n    },\n  }}\n>\n  ...\n</BoxNode>\n\n// Ẩn trên mobile (xs), hiện từ sm (768px) trở lên. `hidden` chỉ áp dụng cho đúng breakpoint của nó\n<BoxNode hidden sm={{ hidden: false }}>\n  ...\n</BoxNode>\n\n// Spacer cố định: kết hợp sx.width/height\n<BoxNode sx={{ width: '100%', height: 32, md: { height: 64 } }} />\n\n// Sticky header wrapper\n<BoxNode sx={{ position: 'sticky', top: 0, backgroundColor: '#fff' }}>\n  ...\n</BoxNode>\n\n// Badge đặt tuyệt đối trong wrapper relative\n<BoxNode sx={{ position: 'relative' }}>\n  <BoxNode sx={{ position: 'absolute', top: 8, right: 8 }}>...</BoxNode>\n</BoxNode>\n```\n"
    },
    {
      "name": "button",
      "description": "Nút bấm. Nhãn là text, có thể kèm đường dẫn điều hướng, hoặc là nút gửi form (type submit).",
      "docs": "# ButtonNode\n\n<!-- schema:start — tự sinh từ button.schema.ts, không sửa tay -->\n\nNút bấm. Nhãn là text, có thể kèm đường dẫn điều hướng, hoặc là nút gửi form (type submit).\n\n## Resolved name\n\n`button`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `color` | `'primary' · 'secondary' · 'green' · 'red' · 'orange' · 'blue' · 'neutral'` | không | Màu của nút |\n| `variant` | `'contained' · 'outlined' · 'text'` | không | Kiểu nút |\n| `size` | `'sm' · 'md' · 'lg'` | có | Kích thước nút |\n| `type` | `'button' · 'submit'` | không | 'submit' = gửi form chứa nút (bỏ qua link); mặc định 'button' |\n| `link` | `object` | không | Điều hướng khi bấm nút |\n| `link.href` | `https://… · /… · #… · mailto:… · tel:…` | không |  |\n| `link.target` | `'_self' · '_blank'` | không | Cách mở liên kết |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `width` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n\n## Rules\n\n- **Nội dung**: văn bản, không chứa node con.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Behavior\n\n- Luôn render thẻ `<button>`, kể cả khi có `link`. Click khi có `link.href`: gọi `onClick` trước, rồi `window.open(href, target)` (`_blank` kèm `noopener,noreferrer`). Bỏ qua điều hướng khi editor đang bật hoặc `onClick` đã gọi `e.preventDefault()`.\n- Điều hướng bằng JS nên không đi qua router phía client: trang luôn tải lại, HTML không có `href` nên crawler không đọc được link và không mở được bằng chuột giữa. Cần link chuẩn SEO thì dùng `LinkNode`.\n- Nhãn nút là text con của node, chỉnh bằng cách gõ trực tiếp trên canvas hoặc qua prop `children` trong inspector.\n\n## Usage\n\n```tsx\nimport { ButtonNode } from '@janbox/storefront-builder';\n\n// Button cơ bản\n<ButtonNode color=\"primary\" variant=\"contained\" size=\"md\">\n  Buy now\n</ButtonNode>\n\n// Link button\n<ButtonNode color=\"primary\" variant=\"contained\" size=\"lg\" link={{ href: '/checkout', target: '_blank' }}>\n  Checkout\n</ButtonNode>\n\n// Responsive size + width\n<ButtonNode\n  color=\"orange\"\n  variant=\"outlined\"\n  size=\"sm\"\n  md={{ size: 'lg' }}\n  sx={{\n    width: '100%',\n    marginTop: 16,\n    md: {\n      width: 'auto',\n      marginTop: 24,\n    },\n  }}\n>\n  View products\n</ButtonNode>\n```\n\n## Migrate dữ liệu\n\nTừ bản dùng `@janbox/storefront-ui` v7, prop `anchor` được thay bằng `link`. Builder **không** đọc fallback `anchor`. Áp dụng cho node có `\"type\": { \"resolvedName\": \"button\" }` trong JSON đã lưu:\n\n| Dữ liệu cũ | Dữ liệu mới |\n| --- | --- |\n| `anchor.to: '/path'` | `link.href: '/path'` |\n| `anchor.to: { pathname, search, hash }` | `link.href: (pathname ?? '') + (search ?? '') + (hash ?? '')` |\n| `anchor.target: 'X'` | `link.target: 'X'` |\n\nNode còn sót `anchor` thì key này lọt xuống thẻ `<button>` thành attribute thừa kèm cảnh báo của React, nên xoá `anchor` sau khi đã thêm `link`.\n"
    },
    {
      "name": "cell",
      "description": "Một ô của grid, chứa node con tùy ý. Chỉ được đặt trực tiếp trong grid.",
      "docs": "# CellNode\n\n<!-- schema:start — tự sinh từ cell.schema.ts, không sửa tay -->\n\nMột ô của grid, chứa node con tùy ý. Chỉ được đặt trực tiếp trong grid.\n\n## Resolved name\n\n`cell`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `hidden` | `true · false` | có | Ẩn node ở breakpoint này |\n| `colSpan` | `số nguyên 1..24` | có | Số cột mà ô chiếm |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `height` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n| `order` | `px` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: `grid`.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport { GridNode, CellNode, ParagraphNode } from '@janbox/storefront-builder';\n\n// Cell mặc định (1 cột)\n<GridNode cols={3}>\n  <CellNode><ParagraphNode>Content A</ParagraphNode></CellNode>\n  <CellNode><ParagraphNode>Content B</ParagraphNode></CellNode>\n  <CellNode><ParagraphNode>Content C</ParagraphNode></CellNode>\n</GridNode>\n\n// colSpan: cell chiếm 2/3 cột, cell còn lại chiếm 1/3\n<GridNode cols={3}>\n  <CellNode colSpan={2}><ParagraphNode>Wide content</ParagraphNode></CellNode>\n  <CellNode colSpan={1}><ParagraphNode>Narrow content</ParagraphNode></CellNode>\n</GridNode>\n\n// colSpan responsive: full-width mobile, 2 cột trên desktop\n<GridNode cols={1} md={{ cols: 3 }}>\n  <CellNode colSpan={1} md={{ colSpan: 2 }}>\n    <ParagraphNode>Wide on desktop</ParagraphNode>\n  </CellNode>\n  <CellNode colSpan={1}>\n    <ParagraphNode>Normal</ParagraphNode>\n  </CellNode>\n</GridNode>\n\n// sx responsive\n<CellNode\n  colSpan={1}\n  sx={{\n    paddingTop: 12,\n    paddingBottom: 12,\n    backgroundColor: '#fff',\n    md: {\n      paddingTop: 24,\n      paddingBottom: 24,\n    },\n  }}\n>\n  ...\n</CellNode>\n```\n\n## Related nodes\n\n- [`GridNode`](../grid/README.md) — parent bắt buộc của `CellNode`\n"
    },
    {
      "name": "container",
      "description": "Khung nội dung có chiều rộng tối đa theo layout trang, dùng làm vùng chứa của một section.",
      "docs": "# ContainerNode\n\n<!-- schema:start — tự sinh từ container.schema.ts, không sửa tay -->\n\nKhung nội dung có chiều rộng tối đa theo layout trang, dùng làm vùng chứa của một section.\n\n## Resolved name\n\n`container`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `hidden` | `true · false` | có | Ẩn node ở breakpoint này |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `height` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport { BoxNode, ContainerNode } from '@janbox/storefront-builder';\n\n// Full-width background, content bị giới hạn width\n<BoxNode sx={{ backgroundColor: '#f5f5f5' }}>\n  <ContainerNode sx={{ paddingTop: 48, paddingBottom: 48 }}>\n    ...\n  </ContainerNode>\n</BoxNode>\n\n// Responsive padding\n<ContainerNode\n  sx={{\n    paddingTop: 24,\n    paddingBottom: 24,\n    md: {\n      paddingTop: 48,\n      paddingBottom: 48,\n    },\n  }}\n>\n  ...\n</ContainerNode>\n```\n"
    },
    {
      "name": "count-up",
      "description": "Số đếm tăng dần từ giá trị đầu đến giá trị cuối, có thể kèm tiền tố và hậu tố.",
      "docs": "# CountUpNode\n\n<!-- schema:start — tự sinh từ count-up.schema.ts, không sửa tay -->\n\nSố đếm tăng dần từ giá trị đầu đến giá trị cuối, có thể kèm tiền tố và hậu tố.\n\n## Resolved name\n\n`count-up`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `from` | `số ≥ 0` | không | Giá trị bắt đầu (tối đa 2 chữ số thập phân) |\n| `to` | `số ≥ 0` | không | Giá trị kết thúc (tối đa 2 chữ số thập phân) |\n| `duration` | `số ≥ 0` | không | Thời gian chạy, đơn vị giây (tối đa 1 chữ số thập phân) |\n| `prefix` | `chuỗi` | không | Text hiển thị trước số |\n| `suffix` | `chuỗi` | không | Text hiển thị sau số |\n| `sizeVariant` | `'xs' · 'sm' · 'base' · 'lg' · 'xl' · '2xl' · '3xl' · '4xl' · '5xl' · '6xl'` | có | Cỡ chữ theo thang typography |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `color` | `color` | mọi breakpoint |\n| `fontWeight` | `200 · 300 · 400 · 500 · 600 · 700 · 800` | mọi breakpoint |\n| `fontStyle` | `'italic'` | mọi breakpoint |\n| `textDecorationLine` | `'underline'` | mọi breakpoint |\n| `textTransform` | `'uppercase' · 'capitalize' · 'lowercase'` | chỉ mobile (xs) |\n| `textAlign` | `'left' · 'center' · 'right' · 'justify'` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: không chứa node con.\n- **Cha hợp lệ**: bất kỳ.\n- props.to là bắt buộc: CountUp không có giá trị mặc định cho `to`.\n\n<!-- schema:end -->\n\n## Cấu trúc\n\n```text\ncount-up/\n├── count-up.node/       # CraftJS node bọc quanh <CountUp />\n│   ├── count-up.node.tsx\n│   ├── types.ts         # CountUpNodeProps\n│   └── helpers.ts       # useCountUpNodeProps (transform = getCountUpProps)\n└── count-up.inspector/  # Panel chỉnh sửa trong editor\n```\n\n`CountUpNode` lo phần CraftJS (connectors, data attributes) rồi delegate xuống `CountUp` của `@janbox/storefront-ui`. Trong editor (`enabled`) thì `startOnView` bị tắt để số luôn hiển thị giá trị cuối; ở trang thật thì animate khi cuộn tới. Các prop không set đều lấy default qua `getCountUpProps`, riêng `to` thì bắt buộc.\n\n## Usage\n\n```tsx\nimport { CountUpNode } from '@janbox/storefront-builder';\n\n// Cơ bản — chạy từ 0 đến 100\n<CountUpNode from={0} to={100} />\n\n// Có prefix/suffix\n<CountUpNode from={0} to={1000} prefix=\"+\" suffix=\"k\" />\n\n// Tùy chỉnh thời lượng + cỡ chữ responsive\n<CountUpNode\n  from={0}\n  to={98}\n  suffix=\"%\"\n  duration={3}\n  sizeVariant=\"xl\"\n  md={{ sizeVariant: '3xl' }}\n/>\n\n// Style qua sx\n<CountUpNode\n  from={0}\n  to={500}\n  sx={{\n    color: '#f59e0b',\n    fontWeight: 700,\n    textAlign: 'center',\n  }}\n/>\n```\n\n## Editor (Inspector)\n\n### Tab Settings\n\n- **Config**: From, To, Duration (s), Prefix, Suffix\n- **Text style**: Size variant, Color, Style (weight/italic/underline), Text align, Text transform, Font weight\n\n### Tab Advanced\n\n- **Shape**: Border, Border radius\n- **Background**: Background\n"
    },
    {
      "name": "countdown-timer",
      "description": "Đồng hồ đếm ngược đến một thời điểm, hiển thị các đơn vị thời gian kèm nhãn.",
      "docs": "# CountdownTimerNode\n\n<!-- schema:start — tự sinh từ countdown-timer.schema.ts, không sửa tay -->\n\nĐồng hồ đếm ngược đến một thời điểm, hiển thị các đơn vị thời gian kèm nhãn.\n\n## Resolved name\n\n`countdown-timer`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `date` | `chuỗi` | không | Thời điểm kết thúc, dạng ISO (ví dụ 2030-01-01T00:00) |\n| `units` | `mảng object` | không | Các đơn vị cần hiển thị, theo thứ tự |\n| `units[].value` | `'months' · 'weeks' · 'days' · 'hours' · 'minutes' · 'seconds'` | không | Đơn vị thời gian |\n| `units[].caption` | `chuỗi` | không | Nhãn hiển thị dưới số |\n| `hideAfterExpired` | `true · false` | không | Ẩn đồng hồ khi đã hết giờ |\n| `timeProps` | `object` | không | Kiểu chữ của con số |\n| `timeProps.sizeVariant` | `'xs' · 'sm' · 'base' · 'lg' · 'xl' · '2xl' · '3xl' · '4xl' · '5xl' · '6xl'` | có | Cỡ chữ theo thang typography |\n| `timeProps.sx.color` | `color` | không |  |\n| `timeProps.sx.fontWeight` | `200 · 300 · 400 · 500 · 600 · 700 · 800` | không |  |\n| `timeProps.sx.fontStyle` | `'italic'` | không |  |\n| `timeProps.sx.textDecorationLine` | `'underline'` | không |  |\n| `captionProps` | `object` | không | Kiểu chữ của nhãn |\n| `captionProps.sizeVariant` | `'xs' · 'sm' · 'base' · 'lg' · 'xl' · '2xl' · '3xl' · '4xl' · '5xl' · '6xl'` | có | Cỡ chữ theo thang typography |\n| `captionProps.sx.color` | `color` | không |  |\n| `captionProps.sx.fontWeight` | `200 · 300 · 400 · 500 · 600 · 700 · 800` | không |  |\n| `captionProps.sx.fontStyle` | `'italic'` | không |  |\n| `captionProps.sx.textDecorationLine` | `'underline'` | không |  |\n| `captionProps.sx.textTransform` | `'uppercase' · 'capitalize' · 'lowercase'` | không |  |\n| `unitItemProps` | `object` | không | Kiểu của từng ô đơn vị |\n| `unitItemProps.sx.width` | `px · 'N%' · 'auto'` | có |  |\n| `unitItemProps.sx.paddingTop` | `px` | có |  |\n| `unitItemProps.sx.paddingRight` | `px` | có |  |\n| `unitItemProps.sx.paddingBottom` | `px` | có |  |\n| `unitItemProps.sx.paddingLeft` | `px` | có |  |\n| `unitItemProps.sx.borderTopLeftRadius` | `px 0..9999` | có |  |\n| `unitItemProps.sx.borderTopRightRadius` | `px 0..9999` | có |  |\n| `unitItemProps.sx.borderBottomRightRadius` | `px 0..9999` | có |  |\n| `unitItemProps.sx.borderBottomLeftRadius` | `px 0..9999` | có |  |\n| `unitItemProps.sx.rowGap` | `px` | có |  |\n| `unitItemProps.sx.backgroundColor` | `color` | không |  |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `width` | `px · 'N%' · 'auto' · 'fit-content'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n| `flexWrap` | `'wrap'` | mọi breakpoint |\n| `justifyContent` | `'flex-start' · 'center' · 'flex-end' · 'space-between'` | mọi breakpoint |\n| `columnGap` | `px` | mọi breakpoint |\n| `rowGap` | `px` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: không chứa node con.\n- **Cha hợp lệ**: bất kỳ.\n- props.date là bắt buộc: countdown-timer cần thời điểm kết thúc để đếm ngược.\n- props.units là bắt buộc: countdown-timer không có giá trị mặc định cho `units`.\n\n<!-- schema:end -->\n\n## Notes\n\n- `unitItemProps` style từng ô đơn vị (box bao quanh số và nhãn); `rowGap` ở đó là khoảng cách giữa số và nhãn.\n- `timeProps` chỉ style con số, `captionProps` chỉ style nhãn bên dưới. Cả hai nhận `sizeVariant` responsive (`sizeVariant`, `sm`/`md`/`lg`) cùng một vài key `sx` về chữ.\n- `sx` ngoài cùng style container chứa tất cả các ô (khoảng cách `columnGap`/`rowGap`, `justifyContent`, `flexWrap`, nền, viền, margin, padding); `sx` này responsive bằng key `sm`/`md`/`lg` lồng bên trong.\n- Khi editor đang bật, component hiển thị placeholder nếu `units` rỗng hoặc đã hết giờ với `hideAfterExpired: true`.\n\n## Usage\n\n```tsx\nimport { CountdownTimerNode } from '@janbox/storefront-builder';\n\n// Đếm ngược đến ngày sale\n<CountdownTimerNode\n  date=\"2026-12-31T23:59:59\"\n  units={[\n    { value: 'days',    caption: 'Days' },\n    { value: 'hours',   caption: 'Hours' },\n    { value: 'minutes', caption: 'Mins' },\n    { value: 'seconds', caption: 'Secs' },\n  ]}\n  hideAfterExpired={false}\n  sx={{ columnGap: 8 }}\n  unitItemProps={{\n    sx: {\n      width: 64,\n      paddingTop: 8,\n      paddingBottom: 8,\n      backgroundColor: '#fa8c16',\n      borderTopLeftRadius: 8,\n      borderTopRightRadius: 8,\n      borderBottomLeftRadius: 8,\n      borderBottomRightRadius: 8,\n    },\n  }}\n  timeProps={{\n    sizeVariant: '2xl',\n    sx: { color: '#ffffff', fontWeight: 700 },\n  }}\n  captionProps={{\n    sizeVariant: 'xs',\n    sx: { color: '#ffffff', textTransform: 'uppercase' },\n  }}\n/>\n```\n"
    },
    {
      "name": "flex-item",
      "description": "Một phần tử của flexbox, chứa node con tùy ý. Chỉ được đặt trực tiếp trong flexbox.",
      "docs": "# FlexItemNode\n\n<!-- schema:start — tự sinh từ flex-item.schema.ts, không sửa tay -->\n\nMột phần tử của flexbox, chứa node con tùy ý. Chỉ được đặt trực tiếp trong flexbox.\n\n## Resolved name\n\n`flex-item`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `hidden` | `true · false` | có | Ẩn node ở breakpoint này |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `width` | `px · 'N%' · 'auto' · 'fit-content'` | mọi breakpoint |\n| `height` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n| `flexGrow` | `1` | chỉ mobile (xs) |\n| `flexShrink` | `0` | chỉ mobile (xs) |\n| `order` | `px` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: `flexbox`.\n\n<!-- schema:end -->\n\n## Behavior\n\n`FlexItemNode` không kéo ra khỏi `FlexboxNode` được (`canDrag: false`); thứ tự item chỉnh qua `sx.order` trong inspector.\n\n## Usage\n\n```tsx\nimport { FlexboxNode, FlexItemNode, ParagraphNode } from '@janbox/storefront-builder';\n\n// Item cố định width, item còn lại grow để fill\n<FlexboxNode sx={{ flexDirection: 'row', columnGap: 16 }}>\n  <FlexItemNode sx={{ width: 200 }}><ParagraphNode>Sidebar</ParagraphNode></FlexItemNode>\n  <FlexItemNode sx={{ flexGrow: 1 }}><ParagraphNode>Main content</ParagraphNode></FlexItemNode>\n</FlexboxNode>\n\n// Item không shrink khi container hẹp\n<FlexboxNode sx={{ flexDirection: 'row' }}>\n  <FlexItemNode sx={{ flexShrink: 0, width: 120 }}><ParagraphNode>Fixed</ParagraphNode></FlexItemNode>\n  <FlexItemNode sx={{ flexGrow: 1 }}><ParagraphNode>Flexible</ParagraphNode></FlexItemNode>\n</FlexboxNode>\n\n// Responsive: full width mobile, 50% desktop\n<FlexboxNode sx={{ flexDirection: 'column', md: { flexDirection: 'row' } }}>\n  <FlexItemNode\n    sx={{\n      width: '100%',\n      md: { width: '50%' },\n    }}\n  >\n    <ParagraphNode>Left</ParagraphNode>\n  </FlexItemNode>\n  <FlexItemNode\n    sx={{\n      width: '100%',\n      md: { width: '50%' },\n    }}\n  >\n    <ParagraphNode>Right</ParagraphNode>\n  </FlexItemNode>\n</FlexboxNode>\n```\n\n## Related nodes\n\n- [`FlexboxNode`](../flexbox/README.md) — parent bắt buộc của `FlexItemNode`\n"
    },
    {
      "name": "flexbox",
      "description": "Bố cục flex một chiều (hàng hoặc cột). Chỉ chứa các flex-item, cần ít nhất một flex-item.",
      "docs": "# FlexboxNode\n\n<!-- schema:start — tự sinh từ flexbox.schema.ts, không sửa tay -->\n\nBố cục flex một chiều (hàng hoặc cột). Chỉ chứa các flex-item, cần ít nhất một flex-item.\n\n## Resolved name\n\n`flexbox`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `hidden` | `true · false` | có | Ẩn node ở breakpoint này |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `flexDirection` | `'row' · 'column'` | mọi breakpoint |\n| `flexWrap` | `'wrap'` | mọi breakpoint |\n| `rowGap` | `px` | mọi breakpoint |\n| `columnGap` | `px` | mọi breakpoint |\n| `alignItems` | `'flex-start' · 'center' · 'flex-end' · 'stretch'` | mọi breakpoint |\n| `justifyContent` | `'flex-start' · 'center' · 'flex-end' · 'space-between'` | mọi breakpoint |\n| `width` | `px · 'N%' · 'auto' · 'fit-content'` | mọi breakpoint |\n| `height` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: chỉ nhận `flex-item`, ít nhất 1 node con.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport { FlexboxNode, FlexItemNode, ParagraphNode } from '@janbox/storefront-builder';\n\n// Row ngang, căn giữa dọc\n<FlexboxNode sx={{ flexDirection: 'row', alignItems: 'center', columnGap: 16 }}>\n  <FlexItemNode><ParagraphNode>Item A</ParagraphNode></FlexItemNode>\n  <FlexItemNode><ParagraphNode>Item B</ParagraphNode></FlexItemNode>\n</FlexboxNode>\n\n// Đổi direction theo breakpoint: column trên mobile, row trên desktop\n<FlexboxNode\n  sx={{\n    flexDirection: 'column',\n    rowGap: 12,\n    md: {\n      flexDirection: 'row',\n      columnGap: 24,\n      alignItems: 'center',\n    },\n  }}\n>\n  <FlexItemNode><ParagraphNode>Item A</ParagraphNode></FlexItemNode>\n  <FlexItemNode><ParagraphNode>Item B</ParagraphNode></FlexItemNode>\n</FlexboxNode>\n\n// Space-between, wrap\n<FlexboxNode\n  sx={{\n    flexDirection: 'row',\n    flexWrap: 'wrap',\n    justifyContent: 'space-between',\n    rowGap: 16,\n  }}\n>\n  <FlexItemNode><ParagraphNode>Item A</ParagraphNode></FlexItemNode>\n  <FlexItemNode><ParagraphNode>Item B</ParagraphNode></FlexItemNode>\n  <FlexItemNode><ParagraphNode>Item C</ParagraphNode></FlexItemNode>\n</FlexboxNode>\n```\n\n## Related nodes\n\n- [`FlexItemNode`](../flex-item/README.md) — con trực tiếp duy nhất của `FlexboxNode`\n"
    },
    {
      "name": "form",
      "description": "Form gửi dữ liệu cho app, ví dụ đăng ký nhận tin. Chứa node con tùy ý; các input bên trong được gửi theo name. Không đặt form trong form.",
      "docs": "# FormNode\n\n<!-- schema:start — tự sinh từ form.schema.ts, không sửa tay -->\n\nForm gửi dữ liệu cho app, ví dụ đăng ký nhận tin. Chứa node con tùy ý; các input bên trong được gửi theo name. Không đặt form trong form.\n\n## Resolved name\n\n`form`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `name` | `chuỗi` | không | Form của app nhận dữ liệu, chủ shop chọn trong inspector; để trống |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `width` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `height` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: bất kỳ.\n- **Không được nằm trong**: `form`.\n- name (nếu có) phải là một form trong danh sách forms của consumer; thường để trống để chủ shop chọn.\n- name của các input trong một form không được trùng.\n- form cần ít nhất một button type 'submit'.\n\n<!-- schema:end -->\n\n## Usage\n\n`name` là form của app mà node gửi tới. App liệt kê các form qua `resources.forms` của `Editor`, chủ shop chọn một form ở field **Submit to** trong inspector. Template và copilot không đặt sẵn `name`. Form chưa chọn form thì không gửi.\n\n```tsx\n// Editor: các form của app (`label` mặc định là `name`)\n<Editor\n  resources={{\n    forms: [\n      { name: 'newsletter', label: 'Newsletter' },\n      { name: 'contact', label: 'Contact us' },\n    ],\n  }}\n/>\n\n// Storefront: `submission.name` là `name` của form đã chọn\n<Composer\n  resources={{\n    nodes: {\n      form: {\n        onSubmit: async ({ name, values }) => {\n          await subscribe(name, values);\n        },\n      },\n    },\n  }}\n/>\n```\n\n```tsx\n<FormNode name=\"newsletter\">\n  <InputNode name=\"email\" placeholder=\"Email\" />\n  <ButtonNode type=\"submit\">Subscribe</ButtonNode>\n</FormNode>\n```\n"
    },
    {
      "name": "fragment",
      "description": "Đoạn text thuần bên trong heading, paragraph hoặc link, dùng khi cần xen kẽ với inline.",
      "docs": "# FragmentNode\n\nPhần văn bản thường trong rich text. Nằm bên trong `ParagraphNode`, `HeadingNode` hoặc `LinkNode`, xen kẽ với `InlineNode` khi một phần câu cần kiểu riêng.\n\n<!-- schema:start — tự sinh từ fragment.schema.ts, không sửa tay -->\n\nĐoạn text thuần bên trong heading, paragraph hoặc link, dùng khi cần xen kẽ với inline.\n\n## Resolved name\n\n`fragment`\n\n## Configurable props\n\n### Props\n\nKhông có prop cấu hình.\n\n### `sx`\n\nKhông có key `sx` cấu hình.\n\n## Rules\n\n- **Nội dung**: văn bản, không chứa node con.\n- **Cha hợp lệ**: `heading`, `paragraph`, `link`.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport { ParagraphNode, FragmentNode, InlineNode } from '@janbox/storefront-builder';\n\n// Rich text: văn bản thường xen kẽ đoạn có kiểu riêng\n<ParagraphNode>\n  <FragmentNode>Giảm </FragmentNode>\n  <InlineNode sx={{ fontWeight: 700 }}>50%</InlineNode>\n</ParagraphNode>\n```\n"
    },
    {
      "name": "grid",
      "description": "Bố cục lưới nhiều cột. Chỉ chứa các cell, cần ít nhất một cell.",
      "docs": "# GridNode\n\n<!-- schema:start — tự sinh từ grid.schema.ts, không sửa tay -->\n\nBố cục lưới nhiều cột. Chỉ chứa các cell, cần ít nhất một cell.\n\n## Resolved name\n\n`grid`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `hidden` | `true · false` | có | Ẩn node ở breakpoint này |\n| `cols` | `số nguyên 1..24` | có | Số cột của lưới |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `rowGap` | `px` | mọi breakpoint |\n| `columnGap` | `px` | mọi breakpoint |\n| `alignItems` | `'start' · 'center' · 'end' · 'stretch'` | mọi breakpoint |\n| `justifyItems` | `'start' · 'center' · 'end'` | mọi breakpoint |\n| `width` | `px · 'N%' · 'auto' · 'fit-content'` | mọi breakpoint |\n| `height` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: chỉ nhận `cell`, ít nhất 1 node con.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport { GridNode, CellNode } from '@janbox/storefront-builder';\n\n// 2 cột cố định\n<GridNode cols={2}>\n  <CellNode>...</CellNode>\n  <CellNode>...</CellNode>\n</GridNode>\n\n// Responsive: 1 cột mobile, 3 cột desktop\n<GridNode cols={1} md={{ cols: 3 }}>\n  <CellNode>...</CellNode>\n  <CellNode>...</CellNode>\n  <CellNode>...</CellNode>\n</GridNode>\n\n// sx responsive: gap nhỏ trên mobile, lớn hơn trên desktop\n<GridNode\n  cols={1}\n  md={{ cols: 2 }}\n  sx={{\n    columnGap: 8,\n    rowGap: 8,\n    paddingTop: 16,\n    paddingBottom: 16,\n    md: {\n      columnGap: 24,\n      rowGap: 24,\n      paddingTop: 32,\n      paddingBottom: 32,\n    },\n  }}\n>\n  <CellNode>...</CellNode>\n  <CellNode>...</CellNode>\n</GridNode>\n\n// Grid với background\n<GridNode\n  cols={2}\n  sx={{\n    backgroundColor: '#f5f5f5',\n    paddingTop: 32,\n    paddingBottom: 32,\n  }}\n>\n  <CellNode>...</CellNode>\n  <CellNode>...</CellNode>\n</GridNode>\n```\n\n## Related nodes\n\n- [`CellNode`](../cell/README.md) — the only valid direct child of `GridNode`\n"
    },
    {
      "name": "heading",
      "description": "Tiêu đề (h1-h6 hoặc div). Chứa text, hoặc các node con fragment, inline, link.",
      "docs": "# HeadingNode\n\n<!-- schema:start — tự sinh từ heading.schema.ts, không sửa tay -->\n\nTiêu đề (h1-h6 hoặc div). Chứa text, hoặc các node con fragment, inline, link.\n\n## Resolved name\n\n`heading`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `as` | `'h1' · 'h2' · 'h3' · 'h4' · 'h5' · 'h6' · 'div'` | không | Thẻ HTML của tiêu đề |\n| `sizeVariant` | `'xs' · 'sm' · 'base' · 'lg' · 'xl' · '2xl' · '3xl' · '4xl' · '5xl' · '6xl'` | có | Cỡ chữ theo thang typography |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `color` | `color` | chỉ mobile (xs) |\n| `fontWeight` | `200 · 300 · 400 · 500 · 600 · 700 · 800` | mọi breakpoint |\n| `fontStyle` | `'italic'` | chỉ mobile (xs) |\n| `textDecorationLine` | `'underline'` | chỉ mobile (xs) |\n| `textTransform` | `'uppercase' · 'capitalize' · 'lowercase'` | chỉ mobile (xs) |\n| `textAlign` | `'left' · 'center' · 'right' · 'justify'` | mọi breakpoint |\n| `width` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: chỉ nhận `fragment`, `inline`, `link`, hoặc văn bản thay cho node con.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Behavior\n\n- Render qua component `Text` của `@janbox/storefront-ui`.\n- Double-click trên canvas để chỉnh nội dung trực tiếp.\n\n## Usage\n\n```tsx\nimport { HeadingNode } from '@janbox/storefront-builder';\n\n// H1\n<HeadingNode as=\"h1\" sizeVariant=\"4xl\">\n  Page Title\n</HeadingNode>\n\n// Responsive size\n<HeadingNode\n  as=\"h2\"\n  sizeVariant=\"2xl\"\n  md={{ sizeVariant: '4xl' }}\n  sx={{ color: '#111111', textAlign: 'center' }}\n>\n  Section Title\n</HeadingNode>\n\n// Dùng div khi không cần semantic heading nhưng muốn style heading\n<HeadingNode as=\"div\" sizeVariant=\"xl\" sx={{ fontWeight: 700 }}>\n  Display text\n</HeadingNode>\n```\n\n## Related nodes\n\n- [`ParagraphNode`](../paragraph/README.md) — dành cho nội dung dạng đoạn văn\n"
    },
    {
      "name": "icon",
      "description": "Biểu tượng SVG inline, đổi được màu và kích thước.",
      "docs": "# IconNode\n\n<!-- schema:start — tự sinh từ icon.schema.ts, không sửa tay -->\n\nBiểu tượng SVG inline, đổi được màu và kích thước.\n\n## Resolved name\n\n`icon`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `source` | `<svg …>` | không | Mã SVG của icon |\n| `size` | `px` | có | Kích thước icon, đơn vị px |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `color` | `color` | chỉ mobile (xs) |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: không chứa node con.\n- **Cha hợp lệ**: bất kỳ.\n- props.source là bắt buộc: icon không có SVG sẽ không hiển thị.\n\n<!-- schema:end -->\n\n## Behavior\n\nRender inline SVG từ chuỗi SVG thô. Không có `source` thì icon không hiển thị gì.\n\n## Usage\n\n```tsx\nimport { IconNode } from '@janbox/storefront-builder';\n\n// Icon từ raw SVG\n<IconNode\n  source='<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"...\"/></svg>'\n  size={24}\n  sx={{ color: '#333333' }}\n/>\n\n// Responsive size\n<IconNode\n  source='<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"...\"/></svg>'\n  size={20}\n  md={{ size: 28 }}\n  sx={{ color: '#fa8c16' }}\n/>\n\n// Icon với border radius tròn\n<IconNode\n  source='<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"...\"/></svg>'\n  size={16}\n  sx={{\n    color: '#ffffff',\n    borderTopLeftRadius: 9999,\n    borderTopRightRadius: 9999,\n    borderBottomLeftRadius: 9999,\n    borderBottomRightRadius: 9999,\n  }}\n/>\n```\n"
    },
    {
      "name": "image",
      "description": "Ảnh. Nên có src (thiếu thì hiện ảnh giữ chỗ); có thể đặt alt, tỉ lệ khung và cách lấp ảnh (cover/contain).",
      "docs": "# ImageNode\n\n<!-- schema:start — tự sinh từ image.schema.ts, không sửa tay -->\n\nẢnh. Nên có src (thiếu thì hiện ảnh giữ chỗ); có thể đặt alt, tỉ lệ khung và cách lấp ảnh (cover/contain).\n\n## Resolved name\n\n`image`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `src` | `https://… · /…` | không | Đường dẫn ảnh |\n| `alt` | `chuỗi` | không | Mô tả ảnh (alt text) cho SEO và trợ năng |\n| `loading` | `'eager' · 'lazy'` | không | Tải ngay (eager) hoặc tải lười (lazy) |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `width` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `height` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `aspectRatio` | `'W / H'` | mọi breakpoint |\n| `objectFit` | `'cover' · 'contain'` | chỉ mobile (xs) |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: không chứa node con.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Behavior\n\nRender ra thẻ `<img>`.\n\n## Usage\n\n```tsx\nimport { ImageNode } from '@janbox/storefront-builder';\n\n// Ảnh cơ bản\n<ImageNode\n  src=\"https://example.com/photo.jpg\"\n  alt=\"Product photo\"\n  loading=\"lazy\"\n  sx={{ width: '100%', objectFit: 'cover' }}\n/>\n\n// Tỉ lệ 16:9, full width\n<ImageNode\n  src=\"https://example.com/banner.jpg\"\n  alt=\"Banner\"\n  sx={{\n    width: '100%',\n    aspectRatio: '16 / 9',\n    objectFit: 'cover',\n  }}\n/>\n\n// Thumbnail vuông, responsive width\n<ImageNode\n  src=\"https://example.com/thumb.jpg\"\n  alt=\"Thumbnail\"\n  sx={{\n    width: 80,\n    aspectRatio: '1 / 1',\n    objectFit: 'cover',\n    borderTopLeftRadius: 8,\n    borderTopRightRadius: 8,\n    borderBottomLeftRadius: 8,\n    borderBottomRightRadius: 8,\n    md: { width: 120 },\n  }}\n/>\n```\n"
    },
    {
      "name": "inline",
      "description": "Đoạn text có kiểu riêng (cỡ chữ, màu, đậm, nghiêng...) nằm trong heading, paragraph hoặc link.",
      "docs": "# InlineNode\n\nPhần văn bản có kiểu riêng trong rich text (đậm, nghiêng, đổi màu, đổi cỡ chữ...). Nằm bên trong `ParagraphNode`, `HeadingNode` hoặc `LinkNode`, xen kẽ với `FragmentNode`.\n\n<!-- schema:start — tự sinh từ inline.schema.ts, không sửa tay -->\n\nĐoạn text có kiểu riêng (cỡ chữ, màu, đậm, nghiêng...) nằm trong heading, paragraph hoặc link.\n\n## Resolved name\n\n`inline`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `as` | `'span' · 'strong' · 'em' · 'b' · 'i' · 'u' · 'small' · 'mark' · 'sub' · 'sup' · 'code'` | không | Thẻ HTML của đoạn inline |\n| `textVariable` | `object` | không | Biến text của consumer, hiển thị thay cho text |\n| `textVariable.key` | `chuỗi` | không |  |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `color` | `color` | chỉ mobile (xs) |\n| `fontWeight` | `200 · 300 · 400 · 500 · 600 · 700 · 800` | chỉ mobile (xs) |\n| `fontStyle` | `'italic'` | chỉ mobile (xs) |\n| `textDecorationLine` | `'underline'` | chỉ mobile (xs) |\n| `textTransform` | `'uppercase' · 'capitalize' · 'lowercase'` | chỉ mobile (xs) |\n| `textAlign` | `'left' · 'center' · 'right' · 'justify'` | chỉ mobile (xs) |\n| `fontSize` | `px` | chỉ mobile (xs) |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: văn bản, không chứa node con.\n- **Cha hợp lệ**: `heading`, `paragraph`, `link`.\n- props.textVariable.key phải là một key có trong textVariables của consumer.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport { ParagraphNode, FragmentNode, InlineNode } from '@janbox/storefront-builder';\n\n// Rich text: văn bản thường xen kẽ đoạn có kiểu riêng\n<ParagraphNode>\n  <FragmentNode>Giảm </FragmentNode>\n  <InlineNode sx={{ fontWeight: 700 }}>50%</InlineNode>\n</ParagraphNode>\n\n// Biến text: hiển thị `resources.textVariables.name` của Composer, thiếu giá trị thì hiện `{{name}}`\n<Composer resources={{ textVariables: { name: 'Ann' } }}>\n  …\n  <ParagraphNode>\n    <FragmentNode>Xin chào </FragmentNode>\n    <InlineNode textVariable={{ key: 'name' }} />\n  </ParagraphNode>\n</Composer>\n```\n\n## Notes\n\n- Không có inspector nào ghi `as` hay `textVariable`: hai prop này do code hoặc template đặt.\n- `textVariable.key` là một key trong `textVariables` mà consumer cấp qua prop `resources` của `Composer` / `Editor`; node hiển thị giá trị của biến thay cho text, thiếu giá trị thì hiện `{{key}}`. Copilot chỉ được ghi key có trong `textVariables`.\n"
    },
    {
      "name": "input",
      "description": "Ô nhập của form, bản này chỉ có kiểu email. Phải nằm trong một form (ở độ sâu bất kỳ).",
      "docs": "# InputNode\n\n<!-- schema:start — tự sinh từ input.schema.ts, không sửa tay -->\n\nÔ nhập của form, bản này chỉ có kiểu email. Phải nằm trong một form (ở độ sâu bất kỳ).\n\n## Resolved name\n\n`input`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `name` | `chuỗi` | không | Key của giá trị khi gửi form, không trùng trong cùng form (ví dụ email) |\n| `type` | `'email'` | không | Kiểu ô nhập; mặc định email |\n| `placeholder` | `chuỗi` | không | Chữ gợi ý trong ô, cũng là nhãn cho trình đọc màn hình |\n| `required` | `true · false` | không | Bắt buộc nhập; mặc định true |\n| `size` | `'sm' · 'md' · 'lg'` | có | Kích thước ô nhập |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `width` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n\n## Rules\n\n- **Nội dung**: không chứa node con.\n- **Cha hợp lệ**: bất kỳ.\n- **Phải nằm trong** (ở độ sâu bất kỳ): `form`.\n- input cần name khác rỗng.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\n<FormNode name=\"newsletter\">\n  <InputNode name=\"email\" type=\"email\" placeholder=\"Email\" required size=\"md\" />\n  <ButtonNode type=\"submit\">Subscribe</ButtonNode>\n</FormNode>\n```\n"
    },
    {
      "name": "link",
      "description": "Liên kết (thẻ a). Chứa text, hoặc các node con fragment, inline. Không lồng link trong link.",
      "docs": "# LinkNode\n\n<!-- schema:start — tự sinh từ link.schema.ts, không sửa tay -->\n\nLiên kết (thẻ a). Chứa text, hoặc các node con fragment, inline. Không lồng link trong link.\n\n## Resolved name\n\n`link`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `href` | `https://… · /… · #… · mailto:… · tel:…` | không | Đích của liên kết |\n| `target` | `'_self' · '_blank'` | không | Cách mở liên kết |\n| `rel` | `chuỗi` | không | Thuộc tính rel, ví dụ nofollow, noreferrer, noopener, ugc |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `color` | `color` | chỉ mobile (xs) |\n| `fontWeight` | `200 · 300 · 400 · 500 · 600 · 700 · 800` | mọi breakpoint |\n| `fontStyle` | `'italic'` | chỉ mobile (xs) |\n| `textDecorationLine` | `'underline'` | chỉ mobile (xs) |\n| `textTransform` | `'uppercase' · 'capitalize' · 'lowercase'` | chỉ mobile (xs) |\n| `textAlign` | `'left' · 'center' · 'right' · 'justify'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `fontSize` | `số ≥ 0 · 'var(--…)' · 'N' · 'Npx' · 'Nrem' · 'Nem' · 'N%'` | mọi breakpoint |\n| `lineHeight` | `số ≥ 0 · 'var(--…)' · 'N' · 'Npx' · 'Nrem' · 'Nem' · 'N%'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: chỉ nhận `fragment`, `inline`, hoặc văn bản thay cho node con.\n- **Cha hợp lệ**: bất kỳ.\n- sx.fontSize và sx.lineHeight phải đi cùng nhau và là một cặp có trong typographyPresets của consumer.\n\n<!-- schema:end -->\n\n## Behavior\n\n- Render qua component Link do consumer cấp (`resources.nodes.link.component`), mặc định là thẻ `<a>`.\n- Trong editor, click bị `preventDefault` để tránh điều hướng khỏi canvas.\n- Khi prop `children` đang là text inline thì không kéo thêm node con vào được.\n\n## Usage\n\n```tsx\nimport { LinkNode } from '@janbox/storefront-builder';\n\n// Link đơn giản\n<LinkNode href=\"/products\">View all products</LinkNode>\n\n// Mở tab mới, no-follow\n<LinkNode href=\"https://example.com\" target=\"_blank\" rel=\"nofollow noreferrer\">\n  External link\n</LinkNode>\n\n// Link có viền bo tròn, padding\n<LinkNode\n  href=\"/checkout\"\n  sx={{\n    paddingTop: 12,\n    paddingBottom: 12,\n    paddingLeft: 24,\n    paddingRight: 24,\n    borderStyle: 'solid',\n    borderTopWidth: 1,\n    borderRightWidth: 1,\n    borderBottomWidth: 1,\n    borderLeftWidth: 1,\n    borderColor: '#fa8c16',\n    borderTopLeftRadius: 6,\n    borderTopRightRadius: 6,\n    borderBottomLeftRadius: 6,\n    borderBottomRightRadius: 6,\n    color: '#fa8c16',\n  }}\n>\n  Checkout\n</LinkNode>\n\n// Cỡ chữ responsive\n<LinkNode\n  href=\"/sale\"\n  sx={{\n    fontSize: 'var(--text-sm--font-size)',\n    lineHeight: 'var(--text-sm--line-height)',\n    md: {\n      fontSize: 'var(--text-base--font-size)',\n      lineHeight: 'var(--text-base--line-height)',\n    },\n  }}\n>\n  Sale items\n</LinkNode>\n```\n\n## Link component\n\nConsumer cấp component render link qua `resources.nodes.link.component` của `Composer` / `Editor`. Không cấp thì `LinkNode` render thẻ `<a>`.\n\n```ts\ntype LinkComponentProps = ComponentPropsWithRef<'a'>; // props native của <a>, href optional\ntype LinkComponent = ComponentType<LinkComponentProps>;\n```\n\nYêu cầu với component được inject:\n\n- Forward `ref` tới thẻ `<a>`. Nếu không, node không chọn hay kéo được trong editor.\n- Truyền tiếp `className`, `onClick`, các thuộc tính `data-*` và `contentEditable` xuống thẻ `<a>`.\n\n```tsx\nimport { Link } from 'react-router';\nimport NextLink from 'next/link';\nimport type { LinkComponentProps } from '@janbox/storefront-builder';\n\n// React Router\nconst AppLink = ({ href, ...props }: LinkComponentProps) =>\n  href ? <Link {...props} to={href} /> : <a {...props} />;\n\n// Next.js\nconst AppLink = ({ href, ...props }: LinkComponentProps) =>\n  href ? <NextLink {...props} href={href} /> : <a {...props} />;\n\n<Composer resources={{ nodes: { link: { component: AppLink } } }}>…</Composer>\n```\n\n> `next/link` prefetch các link thấy được trên màn hình, kể cả trong canvas editor. Muốn tắt thì truyền `prefetch={false}` trong adapter.\n\n## Nâng cấp từ 4.x\n\n| 4.x | 5.0.0 |\n| --- | --- |\n| `to` | `href` |\n| `textVariant: 'X'` | `sx.fontSize: 'var(--text-X--font-size)'` + `sx.lineHeight: 'var(--text-X--line-height)'` |\n| `underline: true` | `sx.textDecorationLine: 'underline'` |\n| `sm`/`md`/`lg` cấp trên cùng | `sx.sm`/`sx.md`/`sx.lg` |\n| (không có) | Inject `nodeResources.link.component` (từ 7.0.0: `resources.nodes.link.component`), mặc định `<a>` |\n\nThứ tự: thêm key mới trước, chỉ xoá `to` / `textVariant` / `underline` sau khi mọi nơi render đã chạy 5.0.0.\n\n## Related nodes\n\n- [`ButtonNode`](../button/README.md) — dùng khi cần CTA có style button từ theme\n"
    },
    {
      "name": "list-item",
      "description": "Một mục của danh sách, chứa node con tùy ý. Chỉ được đặt trực tiếp trong unordered-list.",
      "docs": "# ListItemNode\n\n<!-- schema:start — tự sinh từ list-item.schema.ts, không sửa tay -->\n\nMột mục của danh sách, chứa node con tùy ý. Chỉ được đặt trực tiếp trong unordered-list.\n\n## Resolved name\n\n`list-item`\n\n## Configurable props\n\n### Props\n\nKhông có prop cấu hình.\n\n### `sx`\n\nKhông có key `sx` cấu hình.\n\n## Rules\n\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: `unordered-list`.\n\n<!-- schema:end -->\n\n## Behavior\n\nKhông selectable: chỉnh sửa qua inspector của `UnorderedListNode`.\n\n## Usage\n\n```tsx\nimport { ListItemNode, ParagraphNode } from '@janbox/storefront-builder';\n\n<ListItemNode>\n  <ParagraphNode>Item content</ParagraphNode>\n</ListItemNode>\n```\n\n## Related nodes\n\n- [`UnorderedListNode`](../unordered-list/README.md) — parent list container\n"
    },
    {
      "name": "marquee",
      "description": "Băng chuyền chạy ngang liên tục. Mỗi phần tử là một marquee-item, có thể có icon ngăn cách.",
      "docs": "# MarqueeNode\n\n<!-- schema:start — tự sinh từ marquee.schema.ts, không sửa tay -->\n\nBăng chuyền chạy ngang liên tục. Mỗi phần tử là một marquee-item, có thể có icon ngăn cách.\n\n## Resolved name\n\n`marquee`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `spaceBetween` | `px` | có | Khoảng cách giữa các mục, đơn vị px |\n| `separatorIcon` | `object` | không | Icon ngăn cách giữa các mục |\n| `separatorIcon.source` | `<svg …>` | không | Mã SVG của icon ngăn cách |\n| `separatorIcon.size` | `px` | không | Kích thước icon, đơn vị px |\n| `separatorIcon.sx` | `object` | không | Màu icon (chỉ ở mobile) |\n| `separatorIcon.sx.color` | `color` | không |  |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: chỉ nhận `marquee-item`.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport { MarqueeNode, MarqueeItemNode, ImageNode, ParagraphNode } from '@janbox/storefront-builder';\n\n// Marquee cơ bản\n<MarqueeNode\n  spaceBetween={32}\n>\n  <MarqueeItemNode><ImageNode src=\"...\" alt=\"Logo 1\" sx={{ width: 100 }} /></MarqueeItemNode>\n  <MarqueeItemNode><ImageNode src=\"...\" alt=\"Logo 2\" sx={{ width: 100 }} /></MarqueeItemNode>\n  <MarqueeItemNode><ImageNode src=\"...\" alt=\"Logo 3\" sx={{ width: 100 }} /></MarqueeItemNode>\n</MarqueeNode>\n\n// Với separator icon giữa các item\n<MarqueeNode\n  spaceBetween={24}\n  separatorIcon={{\n    source: '<svg ...>...</svg>',\n    size: 16,\n    sx: { color: '#fa8c16' },\n  }}\n>\n  <MarqueeItemNode><ParagraphNode>Item 1</ParagraphNode></MarqueeItemNode>\n  <MarqueeItemNode><ParagraphNode>Item 2</ParagraphNode></MarqueeItemNode>\n</MarqueeNode>\n\n// Responsive spacing\n<MarqueeNode\n  spaceBetween={16}\n  md={{ spaceBetween: 32 }}\n>\n  <MarqueeItemNode>...</MarqueeItemNode>\n</MarqueeNode>\n```\n\n## Related nodes\n\n- [`MarqueeItemNode`](../marquee-item/README.md) — mỗi item trong marquee\n"
    },
    {
      "name": "marquee-item",
      "description": "Một mục của băng chuyền chữ chạy, chứa node con tùy ý. Chỉ được đặt trực tiếp trong marquee.",
      "docs": "# MarqueeItemNode\n\n<!-- schema:start — tự sinh từ marquee-item.schema.ts, không sửa tay -->\n\nMột mục của băng chuyền chữ chạy, chứa node con tùy ý. Chỉ được đặt trực tiếp trong marquee.\n\n## Resolved name\n\n`marquee-item`\n\n## Configurable props\n\n### Props\n\nKhông có prop cấu hình.\n\n### `sx`\n\nKhông có key `sx` cấu hình.\n\n## Rules\n\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: `marquee`.\n\n<!-- schema:end -->\n\n## Behavior\n\nKhông selectable: chỉnh sửa qua inspector của `MarqueeNode`.\n\n## Usage\n\n```tsx\nimport { MarqueeItemNode, ImageNode } from '@janbox/storefront-builder';\n\n<MarqueeItemNode>\n  <ImageNode src=\"...\" alt=\"Brand logo\" sx={{ width: 80, height: 40, objectFit: 'contain' }} />\n</MarqueeItemNode>\n```\n\n## Related nodes\n\n- [`MarqueeNode`](../marquee/README.md) — parent scrolling container\n"
    },
    {
      "name": "paragraph",
      "description": "Đoạn văn (p hoặc div). Chứa text, hoặc các node con fragment, inline, link.",
      "docs": "# ParagraphNode\n\n<!-- schema:start — tự sinh từ paragraph.schema.ts, không sửa tay -->\n\nĐoạn văn (p hoặc div). Chứa text, hoặc các node con fragment, inline, link.\n\n## Resolved name\n\n`paragraph`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `as` | `'p' · 'div'` | không | Thẻ HTML của đoạn văn |\n| `sizeVariant` | `'xs' · 'sm' · 'base' · 'lg' · 'xl' · '2xl' · '3xl' · '4xl' · '5xl' · '6xl'` | có | Cỡ chữ theo thang typography |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `color` | `color` | chỉ mobile (xs) |\n| `fontWeight` | `200 · 300 · 400 · 500 · 600 · 700 · 800` | mọi breakpoint |\n| `fontStyle` | `'italic'` | chỉ mobile (xs) |\n| `textDecorationLine` | `'underline'` | chỉ mobile (xs) |\n| `textTransform` | `'uppercase' · 'capitalize' · 'lowercase'` | chỉ mobile (xs) |\n| `textAlign` | `'left' · 'center' · 'right' · 'justify'` | mọi breakpoint |\n| `width` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: chỉ nhận `fragment`, `inline`, `link`, hoặc văn bản thay cho node con.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Behavior\n\n- Render qua component `Text` của `@janbox/storefront-ui`.\n- Double-click trên canvas để chỉnh nội dung trực tiếp.\n- Tag chọn qua inspector, giới hạn `p` hoặc `div`.\n\n## Usage\n\n```tsx\nimport { ParagraphNode } from '@janbox/storefront-builder';\n\n// Đoạn văn đơn giản\n<ParagraphNode>\n  Lorem ipsum dolor sit amet.\n</ParagraphNode>\n\n// Với sizeVariant responsive\n<ParagraphNode sizeVariant=\"sm\" md={{ sizeVariant: 'base' }}>\n  Body copy text\n</ParagraphNode>\n\n// Styled\n<ParagraphNode\n  sx={{\n    color: '#555555',\n    textAlign: 'center',\n    marginTop: 8,\n    marginBottom: 8,\n  }}\n>\n  Centered paragraph\n</ParagraphNode>\n```\n\n## Related nodes\n\n- [`HeadingNode`](../heading/README.md) — dành cho tiêu đề với tag `h1`–`h6`\n"
    },
    {
      "name": "popup",
      "description": "Popup phủ lên trang, tự hiện khi khách vào trang theo thứ tự order. Chứa node con tùy ý, có sẵn nút đóng. Chỉ được đặt trực tiếp trong root.",
      "docs": "# PopupNode\n\n<!-- schema:start — tự sinh từ popup.schema.ts, không sửa tay -->\n\nPopup phủ lên trang, tự hiện khi khách vào trang theo thứ tự order. Chứa node con tùy ý, có sẵn nút đóng. Chỉ được đặt trực tiếp trong root.\n\n## Resolved name\n\n`popup`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `order` | `số nguyên ≥ 1` | không | Thứ tự giữa các popup đang chờ mở trên trang, số nhỏ hiện trước; trùng nhau thì popup xin mở trước hiện trước; mặc định 1 |\n| `delay` | `số ≥ 0` | không | Số giây chờ, tính từ lúc tải trang, trước khi popup xin mở; đang có popup khác mở thì chờ tới lượt; mặc định 0 |\n| `frequency` | `'always' · 'session' · 'days'` | không | Quy tắc hiện lại: 'always' = mỗi lần tải trang, 'session' = một lần mỗi phiên trình duyệt, 'days' = một lần rồi chờ frequencyDays ngày; mặc định 'always' (mỗi lần tải trang) |\n| `frequencyDays` | `số nguyên ≥ 1` | không | Số ngày chờ trước khi hiện lại, dùng khi frequency là 'days'; mặc định 7 |\n| `closeOnBackdrop` | `true · false` | không | Click ra nền mờ quanh popup thì đóng popup; mặc định true |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `width` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `height` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: `root`.\n\n<!-- schema:end -->\n\n## Editor controls\n\n- **Settings → Popup**: tên layer (`Name`, để trống thì dùng tên mặc định `Popup`)\n- **Settings → Display**: `Delay (s)`, `Show again` (`Every page load` / `Once per session` / `Once every N days`), `Days` (chỉ hiện khi chọn `Once every N days`), `Order`, `Close on backdrop click`\n- **Settings → Layout**: width, height (popup không bao giờ cao quá màn hình; nội dung dài hơn chiều cao đặt thì cuộn bên trong)\n- **Settings → Shape**: border, border radius\n- **Settings → Background**: background styles\n- **Advanced → Spacing (px)**: padding\n\n## Behaviour\n\n- **Không chiếm chỗ trong trang**: popup không render gì trong luồng trang. Khi mở, nó phủ lên trang qua `Floating` + `FloatingContent` của `@janbox/storefront-ui` (lớp nền mờ giống hệt `Dialog`, khóa cuộn, khung căn giữa). Khi render phía server không có gì hiện ra, vì `FloatingContent` chờ hydrate.\n- **Tự xin mở**: mỗi popup tự đếm `delay` (giây) từ lúc nó được render lên trang. Hết `delay`, nếu `frequency` còn cho phép, popup xin mở với một store dùng chung cho mọi `Composer` trên trang (header, main, footer, ...). `delay` âm, không phải số hoặc vô hạn thì xin mở ngay.\n- **Mỗi lúc một popup**: store chỉ mở một popup tại một thời điểm trên toàn trang. Popup xin mở khi đang có popup khác mở thì chờ; popup đang mở không bao giờ bị thay, dù `order` của popup chờ nhỏ hơn. Khi popup đang mở đóng (hoặc bị unmount), popup chờ kế tiếp mở ngay, không đợi thêm `delay`.\n- **Thứ tự (`order`)**: các popup đang chờ, hoặc xin mở cùng một lúc, mở theo `order` (số nhỏ trước); trùng `order` thì popup xin mở trước mở trước.\n- **Hiện lại (`frequency`)**:\n  - `always`: mỗi lần tải trang.\n  - `session`: một lần mỗi phiên trình duyệt (`sessionStorage`).\n  - `days`: một lần rồi chờ `frequencyDays` ngày (`localStorage` lưu thời điểm hiện cuối).\n  - Một lần hiện được tính từ lúc popup mở, không đợi khách đóng. Popup chưa tới lượt hiện lại thì không xin mở.\n  - Key lưu trữ: `storefront-builder:popup:<node id>`. Không truy cập được storage thì popup coi như được phép hiện.\n- **Nút đóng**: popup đang mở luôn có nút X (`aria-label=\"Close\"`, thuộc tính `data-popup-close`) là một `<button>` thường nằm hẳn bên ngoài khung, chéo ra ngoài góc trên bên phải và chạm vào góc đó; không có nền, padding 2px, icon 24px màu trắng trên lớp nền mờ. Nút nằm ngoài vùng cuộn nên luôn nhìn thấy. Nút này do component vẽ, không phải node: không có trong Layers, dữ liệu trang hay schema AI. Esc luôn đóng popup; click ra nền mờ đóng popup khi `closeOnBackdrop` bật.\n- **Kích thước**: khung nhận `sx` của node, nhưng như `Dialog` của storefront-ui không rộng quá màn hình trừ padding hai bên của breakpoint (ít nhất 28px mỗi bên, chỗ cho nút X), và không cao quá màn hình (trừ 28px phía trên dành cho nút X); nội dung dài thì cuộn bên trong khung, cắt theo bo góc của khung.\n- **Vị trí**: popup luôn là con trực tiếp của Root.\n- **Trong editor**: mỗi popup có một nút trigger ở mép phải canvas (ghi `order` và tên layer) để mở nó; cả cột trigger ẩn đi khi có popup đang mở, đóng popup bằng nút X. Chọn popup hoặc node bên trong nó cũng mở popup. Editor không đếm `delay` và không ghi storage.\n\n## Usage\n\n```tsx\nimport { HeadingNode, ParagraphNode, PopupNode, RootNode } from '@janbox/storefront-builder';\n\n<RootNode>\n  {/* ...các section của trang */}\n\n  {/* Hiện sau 3 giây, mỗi phiên một lần */}\n  <PopupNode\n    delay={3}\n    frequency=\"session\"\n    sx={{\n      width: 480,\n      paddingTop: 24,\n      paddingRight: 24,\n      paddingBottom: 24,\n      paddingLeft: 24,\n      backgroundColor: 'var(--color-surface-default)',\n      borderTopLeftRadius: 8,\n      borderTopRightRadius: 8,\n      borderBottomRightRadius: 8,\n      borderBottomLeftRadius: 8,\n    }}\n  >\n    <HeadingNode as=\"h3\">Giảm 10% cho đơn đầu tiên</HeadingNode>\n    <ParagraphNode>Nhập mã WELCOME10 khi thanh toán.</ParagraphNode>\n  </PopupNode>\n\n  {/* Hiện sau khi popup trên đóng; chỉ đóng bằng nút X hoặc Esc, tối đa một lần mỗi 7 ngày */}\n  <PopupNode order={2} frequency=\"days\" frequencyDays={7} closeOnBackdrop={false}>\n    ...\n  </PopupNode>\n</RootNode>\n```\n"
    },
    {
      "name": "rating",
      "description": "Hàng ngôi sao đánh giá, hỗ trợ số lẻ (ví dụ 4.5 trên 5 sao).",
      "docs": "# RatingNode\n\n<!-- schema:start — tự sinh từ rating.schema.ts, không sửa tay -->\n\nHàng ngôi sao đánh giá, hỗ trợ số lẻ (ví dụ 4.5 trên 5 sao).\n\n## Resolved name\n\n`rating`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `rating` | `số ≥ 0` | không | Điểm hiện tại (tối đa 1 chữ số thập phân) |\n| `count` | `số nguyên 1..10` | không | Số ngôi sao hiển thị (tối đa 10) |\n| `color` | `color` | không | Màu của các ngôi sao |\n| `size` | `px` | có | Kích thước mỗi ngôi sao, đơn vị px |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n| `columnGap` | `px` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: không chứa node con.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Cấu trúc\n\n```text\nrating/\n├── rating/            # Component thuần túy (không phụ thuộc CraftJS)\n│   ├── rating.tsx     # <Rating /> — render Primitive + danh sách StarRating\n│   ├── types.ts       # RatingProps\n│   └── helpers.ts     # defaultProps + getRatingProps (merge default)\n├── rating.node/       # CraftJS node bọc quanh <Rating />\n│   ├── rating.node.tsx\n│   ├── types.ts       # RatingNodeProps = RatingProps\n│   └── helpers.ts     # useRatingNodeProps (transform = getRatingProps)\n└── rating.inspector/  # Panel chỉnh sửa trong editor\n```\n\n`RatingNode` chỉ lo phần CraftJS (connectors, data attributes) rồi delegate xuống component `Rating`. `rating` là prop bắt buộc; các prop còn lại có default qua `getRatingProps`.\n\n## Usage\n\n```tsx\nimport { RatingNode } from '@janbox/storefront-builder';\n\n// Cơ bản — 5 sao, rating 4.5\n<RatingNode rating={4.5} />\n\n// Tùy chỉnh số sao, kích thước, màu\n<RatingNode rating={3} count={5} size={28} color=\"#f59e0b\" />\n\n// Size responsive\n<RatingNode rating={4} size={20} md={{ size: 32 }} />\n\n// Điều chỉnh khoảng cách giữa các sao + spacing ngoài\n<RatingNode\n  rating={4.5}\n  sx={{\n    columnGap: 8,\n    marginTop: 12,\n    marginBottom: 12,\n  }}\n/>\n```\n\n## Editor (Inspector)\n\n### Tab Settings\n\n- **Config**: Rating, Count, Size (responsive), Color (color picker), Column gap\n- **Spacing (px)**: Margin, Padding (responsive)\n\n### Tab Advanced\n\n- **Shape**: Border, Border radius\n- **Background**: Background\n"
    },
    {
      "name": "root",
      "description": "Gốc của trang. Chỉ chứa các node cấp cao nhất, AI không được sửa hay tạo node này.",
      "docs": "# RootNode\n\n<!-- schema:start — tự sinh từ root.schema.ts, không sửa tay -->\n\nGốc của trang. Chỉ chứa các node cấp cao nhất, AI không được sửa hay tạo node này.\n\n## Resolved name\n\n`root`\n\n## Configurable props\n\n### Props\n\nKhông có prop cấu hình.\n\n### `sx`\n\nKhông có key `sx` cấu hình.\n\n## Rules\n\n- AI không ghi được node này.\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport { Composer, Canvas } from '@janbox/storefront-builder';\nimport { RootNode } from '@janbox/storefront-builder';\n\n// Render mode (storefront)\n<Composer>\n  <Canvas data={savedNodes}>\n    <RootNode />\n  </Canvas>\n</Composer>\n\n// Editor mode — RootNode được Editor tự mount, không cần khai báo thủ công\n```\n\n## Notes\n\n- Khi editor bật (`enabled: true`): render `div` với `minHeight: 100vh` và padding mặc định để tạo không gian kéo thả.\n- Khi editor tắt (render mode): render `Fragment` — không thêm DOM wrapper.\n- `RootNode` phải là node root duy nhất trong `Canvas`. Không được nest `RootNode` bên trong node khác.\n"
    },
    {
      "name": "swiper",
      "description": "Carousel trượt ngang. Mỗi phần tử là một swiper-slide chứa nội dung tùy ý.",
      "docs": "# SwiperNode\n\n<!-- schema:start — tự sinh từ swiper.schema.ts, không sửa tay -->\n\nCarousel trượt ngang. Mỗi phần tử là một swiper-slide chứa nội dung tùy ý.\n\n## Resolved name\n\n`swiper`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `slidesPerView` | `số nguyên ≥ 1 · 'auto'` | có | Số slide hiển thị cùng lúc, hoặc 'auto' |\n| `spaceBetween` | `px` | có | Khoảng cách giữa các slide, đơn vị px |\n| `autoplayOptions` | `object` | không | Cấu hình tự chạy |\n| `autoplayOptions.active` | `true · false` | không | Bật tự chạy |\n| `autoplayOptions.delay` | `số nguyên ≥ 0` | không | Thời gian giữa hai lần chuyển slide, đơn vị ms |\n| `autoplayOptions.stopOnLastSnap` | `true · false` | không | true = dừng ở slide cuối, false = lặp lại |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: chỉ nhận `swiper-slide`.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport { SwiperNode, SwiperSlideNode, ParagraphNode } from '@janbox/storefront-builder';\n\n// 3 slides hiển thị, autoplay với loop\n<SwiperNode\n  slidesPerView={3}\n  spaceBetween={16}\n  autoplayOptions={{\n    active: true,\n    delay: 3000,\n    stopOnLastSnap: false, // loop\n  }}\n>\n  <SwiperSlideNode><ParagraphNode>Slide 1</ParagraphNode></SwiperSlideNode>\n  <SwiperSlideNode><ParagraphNode>Slide 2</ParagraphNode></SwiperSlideNode>\n  <SwiperSlideNode><ParagraphNode>Slide 3</ParagraphNode></SwiperSlideNode>\n</SwiperNode>\n\n// Responsive: 1 slide mobile, 3 slides desktop\n<SwiperNode\n  slidesPerView={1}\n  spaceBetween={8}\n  md={{ slidesPerView: 3, spaceBetween: 24 }}\n  sx={{\n    paddingTop: 16,\n    paddingBottom: 16,\n  }}\n>\n  <SwiperSlideNode>...</SwiperSlideNode>\n  <SwiperSlideNode>...</SwiperSlideNode>\n  <SwiperSlideNode>...</SwiperSlideNode>\n</SwiperNode>\n```\n\n## Related nodes\n\n- [`SwiperSlideNode`](../swiper-slide/README.md) — mỗi slide item\n"
    },
    {
      "name": "swiper-slide",
      "description": "Một slide của carousel, chứa node con tùy ý. Chỉ được đặt trực tiếp trong swiper.",
      "docs": "# SwiperSlideNode\n\n<!-- schema:start — tự sinh từ swiper-slide.schema.ts, không sửa tay -->\n\nMột slide của carousel, chứa node con tùy ý. Chỉ được đặt trực tiếp trong swiper.\n\n## Resolved name\n\n`swiper-slide`\n\n## Configurable props\n\n### Props\n\nKhông có prop cấu hình.\n\n### `sx`\n\nKhông có key `sx` cấu hình.\n\n## Rules\n\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: `swiper`.\n\n<!-- schema:end -->\n\n## Behavior\n\nKhông selectable: chỉnh sửa qua inspector của `SwiperNode`.\n\n## Usage\n\n```tsx\nimport { SwiperSlideNode, ImageNode, ParagraphNode } from '@janbox/storefront-builder';\n\n<SwiperSlideNode>\n  <ImageNode src=\"...\" alt=\"...\" sx={{ width: '100%' }} />\n  <ParagraphNode>Slide caption</ParagraphNode>\n</SwiperSlideNode>\n```\n\n## Related nodes\n\n- [`SwiperNode`](../swiper/README.md) — parent carousel container\n"
    },
    {
      "name": "tab",
      "description": "Nhãn của một tab, là text. Chỉ được đặt trong tab-list; kiểu dáng chỉnh ở tab-list.tabConfig.",
      "docs": "# TabNode\n\n<!-- schema:start — tự sinh từ tab.schema.ts, không sửa tay -->\n\nNhãn của một tab, là text. Chỉ được đặt trong tab-list; kiểu dáng chỉnh ở tab-list.tabConfig.\n\n## Resolved name\n\n`tab`\n\n## Configurable props\n\n### Props\n\nKhông có prop cấu hình.\n\n### `sx`\n\nKhông có key `sx` cấu hình.\n\n## Rules\n\n- **Nội dung**: văn bản, không chứa node con.\n- **Cha hợp lệ**: `tab-list`.\n\n<!-- schema:end -->\n\n## Behavior\n\nKhông selectable: chỉnh sửa qua inspector của `TabsNode`. Style của tab nằm ở `tabConfig` của `TabListNode`.\n\n## Usage\n\n```tsx\nimport { TabNode } from '@janbox/storefront-builder';\n\n<TabNode>Overview</TabNode>\n```\n\n## Related nodes\n\n- [`TabsNode`](../tabs/README.md) — root container\n- [`TabListNode`](../tab-list/README.md) — parent container\n- [`TabPanelNode`](../tab-panel/README.md) — panel tương ứng\n"
    },
    {
      "name": "tab-content",
      "description": "Vùng chứa các tab-panel của tabs. Chỉ được đặt trong tabs.",
      "docs": "# TabContentNode\n\n<!-- schema:start — tự sinh từ tab-content.schema.ts, không sửa tay -->\n\nVùng chứa các tab-panel của tabs. Chỉ được đặt trong tabs.\n\n## Resolved name\n\n`tab-content`\n\n## Configurable props\n\n### Props\n\nKhông có prop cấu hình.\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: chỉ nhận `tab-panel`.\n- **Cha hợp lệ**: `tabs`.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport { TabContentNode, TabPanelNode, ParagraphNode } from '@janbox/storefront-builder';\n\n<TabContentNode>\n  <TabPanelNode>\n    <ParagraphNode>Panel 1 content</ParagraphNode>\n  </TabPanelNode>\n  <TabPanelNode>\n    <ParagraphNode>Panel 2 content</ParagraphNode>\n  </TabPanelNode>\n  <TabPanelNode>\n    <ParagraphNode>Panel 3 content</ParagraphNode>\n  </TabPanelNode>\n</TabContentNode>\n```\n\n## Hook\n\n```tsx\nimport { useTabContentNodeProps } from '@janbox/storefront-builder';\n\n// gọi trong context của TabsNode — tự resolve TabContent node con\nconst { nodeProps, setNodeProps } = useTabContentNodeProps();\n```\n\nChỉ dùng được khi node hiện tại là `TabsNode`; nếu không tìm thấy `TabContent` con sẽ throw `Missing tab content node`.\n\n## Related nodes\n\n- [`TabsNode`](../tabs/README.md) — root container\n- [`TabPanelNode`](../tab-panel/README.md) — mỗi panel content\n"
    },
    {
      "name": "tab-list",
      "description": "Hàng tab, chứa các tab. Cấu hình của hàng tab và kiểu của từng tab nằm ở đây. Chỉ được đặt trong tabs.",
      "docs": "# TabListNode\n\n<!-- schema:start — tự sinh từ tab-list.schema.ts, không sửa tay -->\n\nHàng tab, chứa các tab. Cấu hình của hàng tab và kiểu của từng tab nằm ở đây. Chỉ được đặt trong tabs.\n\n## Resolved name\n\n`tab-list`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `align` | `'start' · 'center' · 'end'` | không | Căn các tab |\n| `overflowBehavior` | `'scroll' · 'wrap'` | không | Khi tab tràn: cuộn ngang hoặc xuống dòng |\n| `indicator` | `false · object` | không | false = ẩn thanh chỉ báo tab đang mở |\n| `indicator.size` | `px` | không | Độ dày thanh chỉ báo, đơn vị px |\n| `indicator.sx` | `object` | không | Màu thanh chỉ báo (chỉ ở mobile) |\n| `indicator.sx.backgroundColor` | `color` | không |  |\n| `tabConfig` | `object` | không | Kiểu của các tab |\n| `tabConfig.sx` | `object` | không | Kiểu chung cho mọi tab (chỉ ở mobile) |\n| `tabConfig.sx.paddingTop` | `px` | không |  |\n| `tabConfig.sx.paddingRight` | `px` | không |  |\n| `tabConfig.sx.paddingBottom` | `px` | không |  |\n| `tabConfig.sx.paddingLeft` | `px` | không |  |\n| `tabConfig.sx.borderTopLeftRadius` | `px 0..9999` | không |  |\n| `tabConfig.sx.borderTopRightRadius` | `px 0..9999` | không |  |\n| `tabConfig.sx.borderBottomRightRadius` | `px 0..9999` | không |  |\n| `tabConfig.sx.borderBottomLeftRadius` | `px 0..9999` | không |  |\n| `tabConfig.sx.minWidth` | `px` | không |  |\n| `tabConfig.sx.height` | `px · 'auto'` | không |  |\n| `tabConfig.sx.borderStyle` | `'solid' · 'dashed' · 'dotted'` | không |  |\n| `tabConfig.sx.borderTopWidth` | `px` | không |  |\n| `tabConfig.sx.borderRightWidth` | `px` | không |  |\n| `tabConfig.sx.borderBottomWidth` | `px` | không |  |\n| `tabConfig.sx.borderLeftWidth` | `px` | không |  |\n| `tabConfig.sx.color` | `color` | không |  |\n| `tabConfig.sx.backgroundColor` | `color` | không |  |\n| `tabConfig.sx.borderColor` | `color` | không |  |\n| `tabConfig.sx.:hover` | `object` | không | Màu nền khi rê chuột |\n| `tabConfig.sx.:hover.backgroundColor` | `color` | không |  |\n| `tabConfig.states.active.sx` | `object` | không | Kiểu của tab đang mở (chỉ ở mobile) |\n| `tabConfig.states.active.sx.color` | `color` | không |  |\n| `tabConfig.states.active.sx.borderColor` | `color` | không |  |\n| `tabConfig.states.active.sx.backgroundColor` | `color` | không |  |\n| `tabConfig.states.active.sx.:hover` | `object` | không | Màu nền khi rê chuột |\n| `tabConfig.states.active.sx.:hover.backgroundColor` | `color` | không |  |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `rowGap` | `px` | mọi breakpoint |\n| `columnGap` | `px` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: chỉ nhận `tab`.\n- **Cha hợp lệ**: `tabs`.\n\n<!-- schema:end -->\n\n## Notes\n\n`TabListNode` giữ toàn bộ cấu hình layout của thanh tab (`align`, `overflowBehavior`, `indicator`) và style dùng chung cho mọi `TabNode` con (`tabConfig`).\n\n`tabConfig` là nơi duy nhất để style các tab, `TabNode` không style riêng lẻ. Các thuộc tính kích thước (`minWidth`, `height`, `padding*`, `border*Width`, `border*Radius`) đặt ở `tabConfig.sx` và dùng chung cho mọi state; inspector gom vào nhóm **Shared (all states)**. Chỉ màu sắc (`color`, `backgroundColor`, `borderColor`, `:hover`) mới tách theo state, và `states.active.sx` chỉ cần ghi những gì khác trạng thái thường.\n\nKhông có state `hover` riêng: hover được biểu diễn bằng pseudo-selector `sx[':hover']` trong `tabConfig.sx` (tab thường) hoặc trong `states.active.sx` (tab đang mở).\n\n## Usage\n\n```tsx\nimport { TabListNode, TabNode } from '@janbox/storefront-builder';\n\n<TabListNode\n  align=\"center\"\n  overflowBehavior=\"wrap\"\n  indicator={{ size: 2, sx: { backgroundColor: 'var(--color-primary-600)' } }}\n  sx={{ columnGap: 8, rowGap: 8 }}\n  tabConfig={{\n    sx: {\n      minWidth: 120,\n      paddingTop: 8,\n      paddingBottom: 8,\n      color: 'var(--color-neutral-600)',\n      ':hover': { backgroundColor: 'var(--color-neutral-100)' },\n    },\n    states: {\n      active: {\n        sx: { color: 'var(--color-primary-600)' },\n      },\n    },\n  }}\n>\n  <TabNode>Tab 1</TabNode>\n  <TabNode>Tab 2</TabNode>\n  <TabNode>Tab 3</TabNode>\n</TabListNode>\n```\n\n## Hook\n\n```tsx\nimport { useTabListNodeProps } from '@janbox/storefront-builder';\n\n// gọi trong context của TabsNode — tự resolve TabList node con\nconst { nodeProps, setNodeProps } = useTabListNodeProps();\n```\n\nChỉ dùng được khi node hiện tại là `TabsNode`; nếu không tìm thấy `TabList` con sẽ throw `Missing tab list node`.\n\n## Related nodes\n\n- [`TabsNode`](../tabs/README.md) — root container\n- [`TabNode`](../tab/README.md) — tab header button\n"
    },
    {
      "name": "tab-panel",
      "description": "Nội dung của một tab, chứa node con tùy ý. Chỉ được đặt trong tab-content.",
      "docs": "# TabPanelNode\n\n<!-- schema:start — tự sinh từ tab-panel.schema.ts, không sửa tay -->\n\nNội dung của một tab, chứa node con tùy ý. Chỉ được đặt trong tab-content.\n\n## Resolved name\n\n`tab-panel`\n\n## Configurable props\n\n### Props\n\nKhông có prop cấu hình.\n\n### `sx`\n\nKhông có key `sx` cấu hình.\n\n## Rules\n\n- **Nội dung**: nhận node con bất kỳ.\n- **Cha hợp lệ**: `tab-content`.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport { TabPanelNode, ParagraphNode } from '@janbox/storefront-builder';\n\n<TabPanelNode>\n  <ParagraphNode>\n    Tab panel content goes here. Can contain any nodes.\n  </ParagraphNode>\n</TabPanelNode>\n```\n\n## Related nodes\n\n- [`TabsNode`](../tabs/README.md) — root container\n- [`TabContentNode`](../tab-content/README.md) — parent container\n- [`TabNode`](../tab/README.md) — tab header tương ứng\n"
    },
    {
      "name": "tabs",
      "description": "Nhóm tab: một tab-list rồi một tab-content, tab thứ i ứng với tab-panel thứ i.",
      "docs": "# TabsNode\n\n<!-- schema:start — tự sinh từ tabs.schema.ts, không sửa tay -->\n\nNhóm tab: một tab-list rồi một tab-content, tab thứ i ứng với tab-panel thứ i.\n\n## Resolved name\n\n`tabs`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `defaultActiveIndex` | `số nguyên ≥ 0` | không | Tab mở sẵn (tính từ 0) |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `width` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `backgroundColor` | `color` | mọi breakpoint |\n| `backgroundImage` | `url(https://…)` | mọi breakpoint |\n| `backgroundSize` | `'cover' · 'contain' · 'auto'` | mọi breakpoint |\n| `backgroundPosition` | `'left top' · 'top' · 'right top' · 'left' · 'center' · 'right' · 'left bottom' · 'bottom' · 'right bottom'` | mọi breakpoint |\n| `backgroundRepeat` | `'no-repeat' · 'repeat-x' · 'repeat-y' · 'repeat'` | mọi breakpoint |\n| `backgroundAttachment` | `'scroll' · 'fixed' · 'local'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: chỉ nhận `tab-list`, `tab-content`.\n- **Cha hợp lệ**: bất kỳ.\n- tabs gồm đúng một tab-list rồi một tab-content; số tab bằng số tab-panel (ít nhất 1); defaultActiveIndex nhỏ hơn số tab.\n\n<!-- schema:end -->\n\n## Usage\n\n```tsx\nimport {\n  TabsNode,\n  TabListNode,\n  TabNode,\n  TabContentNode,\n  TabPanelNode,\n  ParagraphNode,\n} from '@janbox/storefront-builder';\n\n// Bắt buộc có đúng một TabListNode rồi một TabContentNode;\n// số TabNode bằng số TabPanelNode, tab thứ i ứng với panel thứ i.\n<TabsNode defaultActiveIndex={0} sx={{ width: '100%', paddingTop: 16, paddingBottom: 16 }}>\n  <TabListNode>\n    <TabNode>Overview</TabNode>\n    <TabNode>Details</TabNode>\n  </TabListNode>\n  <TabContentNode>\n    <TabPanelNode>\n      <ParagraphNode>Overview content</ParagraphNode>\n    </TabPanelNode>\n    <TabPanelNode>\n      <ParagraphNode>Details content</ParagraphNode>\n    </TabPanelNode>\n  </TabContentNode>\n</TabsNode>\n```\n\n## Hook\n\n```tsx\nimport { useTabsNodeProps } from '@janbox/storefront-builder';\n\nconst { nodeProps, setNodeProps } = useTabsNodeProps();\n```\n\nHook không nhận `nodeId` — luôn đọc/ghi node hiện tại.\n\n## Inspector\n\nInspector của `TabsNode` điều khiển toàn bộ nhóm tabs (các node con đều `selectable: false`).\n\n### Tab Settings\n\n| Group | Nội dung |\n| --- | --- |\n| Items management | Add / delete / reorder (drag-drop) tabs — sync `TabNode` với `TabPanelNode`; đổi tên tab; bật `Default active`; nút **Tab style** |\n| Size | `width` của `TabsNode` |\n| Tab list | `Align`, `Wrap` (`overflowBehavior`), `Items spacing` (`columnGap` / `rowGap`), padding, border, border-radius, và `Indicator` (bật/tắt + size + color) |\n| Tab content | padding, border, border-radius của `TabContentNode` |\n\n### Tab Advanced\n\nSpacing / shape / background của chính `TabsNode`.\n\n### Tab style\n\nPopover mở từ Items management, chỉnh `tabConfig` trên `TabListNode`:\n\n- _Shared (all states)_: min-width, height, padding, border width, border radius\n- _By state_ (Normal / Active): color, background, border color, hover background\n\nChi tiết cấu trúc `tabConfig` xem [`TabListNode`](../tab-list/README.md).\n\n## Related nodes\n\n- [`TabListNode`](../tab-list/README.md) — container cho tab headers\n- [`TabNode`](../tab/README.md) — mỗi tab header button\n- [`TabContentNode`](../tab-content/README.md) — container cho tab panels\n- [`TabPanelNode`](../tab-panel/README.md) — nội dung của mỗi tab\n"
    },
    {
      "name": "unknown",
      "description": "Node giữ chỗ cho loại node không nhận diện được. AI không được sửa hay tạo node này.",
      "docs": "# UnknownNode\n\n<!-- schema:start — tự sinh từ unknown.schema.ts, không sửa tay -->\n\nNode giữ chỗ cho loại node không nhận diện được. AI không được sửa hay tạo node này.\n\n## Resolved name\n\n`unknown`\n\n## Configurable props\n\n### Props\n\nKhông có prop cấu hình.\n\n### `sx`\n\nKhông có key `sx` cấu hình.\n\n## Rules\n\n- AI không ghi được node này.\n- **Nội dung**: không chứa node con.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Behavior\n\n- **Render mode** (`enabled: false`): render nothing, hoàn toàn invisible.\n- **Editor mode** (`enabled: true`): hiển thị placeholder \"Section is not available\" kèm nút **Remove** để xóa node.\n\n## Khi nào xảy ra\n\n`Canvas` tự động thay thế node bằng `UnknownNode` khi load `SerializedNodes` mà `resolvedName` không có trong resolver:\n\n```ts\n// Trong Canvas component\nconst resolvedNode = resolver[resolvedName];\nif (!resolvedNode) {\n  value.type = { resolvedName: CoreNodeResolvedEnum.Unknown };\n}\n```\n\nThường xảy ra khi:\n\n- Custom node bị xóa khỏi codebase nhưng data cũ vẫn còn lưu\n- Resolver không được pass đầy đủ node types\n\n## Usage\n\nKhông cần dùng trực tiếp. Được xử lý tự động bởi `Canvas`.\n\nNếu muốn tránh `UnknownNode` xuất hiện, đảm bảo truyền đầy đủ resolver khi mount `Composer`:\n\n```tsx\nimport { MyCustomNode } from './my-custom-node';\n\n// Khoá resolver là resolved name dạng kebab-case, trùng với `type.resolvedName` trong dữ liệu đã lưu\n<Composer resolver={{ 'my-custom': MyCustomNode }}>\n  <Canvas data={savedNodes}>\n    <RootNode />\n  </Canvas>\n</Composer>\n```\n"
    },
    {
      "name": "unordered-list",
      "description": "Danh sách không đánh số. Chỉ chứa các list-item.",
      "docs": "# UnorderedListNode\n\n<!-- schema:start — tự sinh từ unordered-list.schema.ts, không sửa tay -->\n\nDanh sách không đánh số. Chỉ chứa các list-item.\n\n## Resolved name\n\n`unordered-list`\n\n## Configurable props\n\n### Props\n\nKhông có prop cấu hình.\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `width` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `rowGap` | `px` | mọi breakpoint |\n| `alignItems` | `'flex-start' · 'center' · 'flex-end'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: chỉ nhận `list-item`.\n- **Cha hợp lệ**: bất kỳ.\n\n<!-- schema:end -->\n\n## Behavior\n\nRender thẻ `ul` không bullet, layout flexbox column. Không nhận drop trực tiếp trên canvas: thêm `ListItemNode` qua inspector.\n\n## Usage\n\n```tsx\nimport { UnorderedListNode, ListItemNode, FlexboxNode, FlexItemNode, ParagraphNode, IconNode } from '@janbox/storefront-builder';\n\n// Danh sách các text items\n<UnorderedListNode sx={{ rowGap: 8 }}>\n  <ListItemNode>\n    <ParagraphNode>Item 1</ParagraphNode>\n  </ListItemNode>\n  <ListItemNode>\n    <ParagraphNode>Item 2</ParagraphNode>\n  </ListItemNode>\n</UnorderedListNode>\n\n// Icon + text, căn giữa dọc\n<UnorderedListNode sx={{ rowGap: 12, width: '100%' }}>\n  <ListItemNode>\n    <FlexboxNode sx={{ flexDirection: 'row', alignItems: 'center', columnGap: 8 }}>\n      <FlexItemNode><IconNode source=\"<svg ...>...</svg>\" size={16} /></FlexItemNode>\n      <FlexItemNode sx={{ flexGrow: 1 }}><ParagraphNode>Feature description</ParagraphNode></FlexItemNode>\n    </FlexboxNode>\n  </ListItemNode>\n</UnorderedListNode>\n```\n\n## Related nodes\n\n- [`ListItemNode`](../list-item/README.md) — mỗi item trong list\n"
    },
    {
      "name": "video",
      "description": "Video phát từ một đường dẫn, có thể kèm ảnh bìa (light) và tỉ lệ khung.",
      "docs": "# VideoNode\n\n<!-- schema:start — tự sinh từ video.schema.ts, không sửa tay -->\n\nVideo phát từ một đường dẫn, có thể kèm ảnh bìa (light) và tỉ lệ khung.\n\n## Resolved name\n\n`video`\n\n## Configurable props\n\n### Props\n\n| Prop | Giá trị | Responsive | Mô tả |\n| --- | --- | --- | --- |\n| `src` | `https://… · /…` | không | Đường dẫn video |\n| `light` | `https://… · /…` | không | Đường dẫn ảnh bìa hiển thị trước khi phát |\n\n### `sx`\n\n| Key | Giá trị | Breakpoint |\n| --- | --- | --- |\n| `width` | `px · 'N%' · 'auto'` | mọi breakpoint |\n| `marginTop` | `px · 'auto'` | mọi breakpoint |\n| `marginRight` | `px · 'auto'` | mọi breakpoint |\n| `marginBottom` | `px · 'auto'` | mọi breakpoint |\n| `marginLeft` | `px · 'auto'` | mọi breakpoint |\n| `paddingTop` | `px` | mọi breakpoint |\n| `paddingRight` | `px` | mọi breakpoint |\n| `paddingBottom` | `px` | mọi breakpoint |\n| `paddingLeft` | `px` | mọi breakpoint |\n| `borderStyle` | `'solid' · 'dashed' · 'dotted'` | mọi breakpoint |\n| `borderTopWidth` | `px` | mọi breakpoint |\n| `borderRightWidth` | `px` | mọi breakpoint |\n| `borderBottomWidth` | `px` | mọi breakpoint |\n| `borderLeftWidth` | `px` | mọi breakpoint |\n| `borderColor` | `color` | mọi breakpoint |\n| `borderTopLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `borderTopRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomRightRadius` | `px 0..9999` | mọi breakpoint |\n| `borderBottomLeftRadius` | `px 0..9999` | mọi breakpoint |\n| `aspectRatio` | `'W / H'` | mọi breakpoint |\n\n`color` = `var(--color-{primary\\|secondary\\|red\\|orange\\|yellow\\|green\\|blue\\|violet\\|neutral}-{100..800\\|contrast}) · var(--color-background-{subtle\\|default\\|emphasis}) · var(--color-border-default) · var(--color-surface-default) · var(--color-common-{black\\|white}) · #rgb · #rrggbb`\n\n## Rules\n\n- **Nội dung**: không chứa node con.\n- **Cha hợp lệ**: bất kỳ.\n- props.src là bắt buộc: react-player không hiển thị gì khi video không có nguồn.\n\n<!-- schema:end -->\n\n## Behavior\n\nDùng `react-player` bên dưới, nên `src` có thể là YouTube, Vimeo, Twitch, SoundCloud, Streamable, Wistia, Facebook hoặc file video trực tiếp.\n\n## Usage\n\n```tsx\nimport { VideoNode } from '@janbox/storefront-builder';\n\n// YouTube video\n<VideoNode\n  src=\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\"\n  sx={{ width: '100%', aspectRatio: '16 / 9' }}\n/>\n\n// MP4 video với thumbnail\n<VideoNode\n  src=\"https://example.com/video.mp4\"\n  light=\"https://example.com/thumbnail.jpg\"\n  sx={{ width: '100%', aspectRatio: '16 / 9' }}\n/>\n\n// Responsive width, aspect ratio cố định\n<VideoNode\n  src=\"https://vimeo.com/123456789\"\n  sx={{\n    width: '100%',\n    aspectRatio: '16 / 9',\n    borderTopLeftRadius: 8,\n    borderTopRightRadius: 8,\n    borderBottomLeftRadius: 8,\n    borderBottomRightRadius: 8,\n    md: { width: '80%' },\n  }}\n/>\n```\n"
    }
  ],
  "templates": [
    {
      "id": "layout-container",
      "group": "Layout",
      "name": "Container",
      "description": "Một khối container rỗng căn giữa nội dung với chiều rộng tối đa, dùng làm khung ngoài cho một section.",
      "tree": {
        "type": "container"
      }
    },
    {
      "id": "layout-block",
      "group": "Layout",
      "name": "Block",
      "description": "Một khối hộp (box) rỗng để gom nhóm phần tử và đặt nền, viền, khoảng cách.",
      "tree": {
        "type": "box"
      }
    },
    {
      "id": "layout-grid",
      "group": "Layout",
      "name": "Grid",
      "description": "Lưới nhiều cột, một cột trên mobile và nhiều cột trên màn hình lớn, để bố trí nội dung theo hàng cột.",
      "tree": {
        "type": "grid",
        "props": {
          "cols": 2,
          "sx": {
            "width": "100%",
            "columnGap": 8,
            "rowGap": 8,
            "paddingTop": 16,
            "paddingBottom": 16
          }
        },
        "children": [
          {
            "type": "cell"
          },
          {
            "type": "cell"
          }
        ]
      }
    },
    {
      "id": "layout-flex",
      "group": "Layout",
      "name": "Flex",
      "description": "Hàng flexbox chứa các mục xếp cạnh nhau, dùng để căn chỉnh và chia khoảng cách linh hoạt.",
      "tree": {
        "type": "flexbox",
        "props": {
          "sx": {
            "columnGap": 8,
            "rowGap": 8,
            "paddingTop": 16,
            "paddingBottom": 16
          }
        },
        "children": [
          {
            "type": "flex-item",
            "props": {
              "sx": {
                "width": "40%"
              }
            }
          },
          {
            "type": "flex-item",
            "props": {
              "sx": {
                "width": "60%"
              }
            }
          }
        ]
      }
    },
    {
      "id": "text-heading",
      "group": "Text",
      "name": "Heading",
      "description": "Một tiêu đề dùng cho tiêu đề section hoặc khối nội dung.",
      "tree": {
        "type": "heading",
        "props": {
          "as": "h2",
          "sizeVariant": "4xl",
          "md": {
            "sizeVariant": "5xl"
          }
        },
        "text": "Your heading text goes here"
      }
    },
    {
      "id": "text-paragraph",
      "group": "Text",
      "name": "Paragraph",
      "description": "Một đoạn văn bản thường để mô tả nội dung.",
      "tree": {
        "type": "paragraph",
        "text": "Replace this text with your content"
      }
    },
    {
      "id": "media-image",
      "group": "Media",
      "name": "Image",
      "description": "Một ảnh hiển thị đầy đủ chiều rộng của khung chứa.",
      "tree": {
        "type": "image",
        "props": {
          "src": "https://ucarecdn.com/ee6d5074-1640-4cc7-8933-47c8589c3dee/-/format/auto/"
        }
      }
    },
    {
      "id": "media-video",
      "group": "Media",
      "name": "Video",
      "description": "Một video nhúng để giới thiệu sản phẩm hoặc thương hiệu.",
      "tree": {
        "type": "video",
        "props": {
          "sx": {
            "aspectRatio": "16 / 9"
          },
          "src": "https://cdn.shopify.com/videos/c/o/v/2cd3deb506b54b009063f7270ab5cf2e.mp4"
        }
      }
    },
    {
      "id": "media-icon",
      "group": "Media",
      "name": "Icon",
      "description": "Một biểu tượng đơn lẻ dùng để minh họa hoặc làm điểm nhấn.",
      "tree": {
        "type": "icon",
        "props": {
          "source": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.3998 10.6645L13.6661 15.4669C12.6691 16.1777 11.3309 16.1777 10.3339 15.4669L3.60018 10.6645C3.2236 10.3962 3 9.96237 3 9.5C3 9.03763 3.2236 8.60381 3.60018 8.33553L10.3339 3.5331C11.3309 2.8223 12.6691 2.8223 13.6661 3.5331L20.3998 8.33553C20.7764 8.60381 21 9.03763 21 9.5C21 9.96237 20.7764 10.3962 20.3998 10.6645Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M20.3998 15.6645L13.6661 20.4669C12.6691 21.1777 11.3309 21.1777 10.3339 20.4669L3.60018 15.6645C3.2236 15.3962 3 14.9624 3 14.5C3 14.0376 3.2236 13.6038 3.60018 13.3355L10.3339 8.5331C11.3309 7.8223 12.6691 7.8223 13.6661 8.5331L20.3998 13.3355C20.7764 13.6038 21 14.0376 21 14.5C21 14.9624 20.7764 15.3962 20.3998 15.6645Z\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n"
        }
      }
    },
    {
      "id": "interactive-button",
      "group": "Interactive",
      "name": "Button",
      "description": "Một nút bấm kêu gọi hành động.",
      "tree": {
        "type": "button",
        "text": "Button"
      }
    },
    {
      "id": "interactive-link",
      "group": "Interactive",
      "name": "Link",
      "description": "Một liên kết văn bản dẫn tới trang khác.",
      "tree": {
        "type": "link"
      }
    },
    {
      "id": "interactive-carousel",
      "group": "Interactive",
      "name": "Carousel",
      "description": "Băng chuyền trượt nhiều slide, dùng để trình chiếu ảnh hoặc nội dung nổi bật.",
      "tree": {
        "type": "swiper",
        "props": {
          "slidesPerView": 2,
          "spaceBetween": 8,
          "md": {
            "slidesPerView": 3
          },
          "lg": {
            "slidesPerView": 4
          }
        },
        "children": [
          {
            "type": "swiper-slide",
            "label": "Slide 1"
          },
          {
            "type": "swiper-slide",
            "label": "Slide 2"
          },
          {
            "type": "swiper-slide",
            "label": "Slide 3"
          },
          {
            "type": "swiper-slide",
            "label": "Slide 4"
          },
          {
            "type": "swiper-slide",
            "label": "Slide 5"
          },
          {
            "type": "swiper-slide",
            "label": "Slide 6"
          }
        ]
      }
    },
    {
      "id": "interactive-marquee",
      "group": "Interactive",
      "name": "Marquee",
      "description": "Dải nội dung chạy ngang liên tục, dùng cho thông báo hoặc logo đối tác.",
      "tree": {
        "type": "marquee",
        "children": [
          {
            "type": "marquee-item",
            "label": "Marquee Item 1"
          },
          {
            "type": "marquee-item",
            "label": "Marquee Item 2"
          },
          {
            "type": "marquee-item",
            "label": "Marquee Item 3"
          },
          {
            "type": "marquee-item",
            "label": "Marquee Item 4"
          },
          {
            "type": "marquee-item",
            "label": "Marquee Item 5"
          },
          {
            "type": "marquee-item",
            "label": "Marquee Item 6"
          },
          {
            "type": "marquee-item",
            "label": "Marquee Item 7"
          },
          {
            "type": "marquee-item",
            "label": "Marquee Item 8"
          },
          {
            "type": "marquee-item",
            "label": "Marquee Item 9"
          },
          {
            "type": "marquee-item",
            "label": "Marquee Item 10"
          }
        ]
      }
    },
    {
      "id": "interactive-tabs",
      "group": "Interactive",
      "name": "Tabs",
      "description": "Bộ tab chuyển đổi giữa nhiều nhóm nội dung trong cùng một vùng.",
      "tree": {
        "type": "tabs",
        "props": {
          "sx": {
            "width": "100%"
          }
        },
        "children": [
          {
            "type": "tab-list",
            "children": [
              {
                "type": "tab",
                "text": "Tab 1"
              },
              {
                "type": "tab",
                "text": "Tab 2"
              },
              {
                "type": "tab",
                "text": "Tab 3"
              }
            ]
          },
          {
            "type": "tab-content",
            "props": {
              "sx": {
                "paddingTop": 8,
                "paddingBottom": 8,
                "paddingRight": 8,
                "paddingLeft": 8
              }
            },
            "children": [
              {
                "type": "tab-panel"
              },
              {
                "type": "tab-panel"
              },
              {
                "type": "tab-panel"
              }
            ]
          }
        ]
      }
    },
    {
      "id": "interactive-popup",
      "group": "Interactive",
      "name": "Popup",
      "description": "Popup quảng cáo phủ lên trang, tự hiện khi khách vào trang; chứa node tùy ý và có sẵn nút đóng.",
      "tree": {
        "type": "popup",
        "props": {
          "sx": {
            "width": 480,
            "paddingTop": 24,
            "paddingRight": 24,
            "paddingBottom": 24,
            "paddingLeft": 24,
            "backgroundColor": "var(--color-surface-default)",
            "borderTopLeftRadius": 8,
            "borderTopRightRadius": 8,
            "borderBottomRightRadius": 8,
            "borderBottomLeftRadius": 8
          }
        },
        "children": [
          {
            "type": "heading",
            "props": {
              "as": "h2",
              "sizeVariant": "2xl"
            },
            "text": "Ưu đãi dành cho bạn"
          },
          {
            "type": "paragraph",
            "text": "Nhập nội dung khuyến mãi của bạn tại đây."
          }
        ]
      }
    },
    {
      "id": "interactive-form",
      "group": "Interactive",
      "name": "Form",
      "description": "Form gồm ô email và nút gửi; dữ liệu được gửi cho app xử lý.",
      "tree": {
        "type": "form",
        "children": [
          {
            "type": "flexbox",
            "props": {
              "sx": {
                "flexDirection": "row",
                "alignItems": "center",
                "columnGap": 8
              }
            },
            "children": [
              {
                "type": "flex-item",
                "props": {
                  "sx": {
                    "flexGrow": 1
                  }
                },
                "children": [
                  {
                    "type": "input",
                    "props": {
                      "name": "email",
                      "type": "email",
                      "placeholder": "Enter your email",
                      "required": true
                    }
                  }
                ]
              },
              {
                "type": "flex-item",
                "children": [
                  {
                    "type": "button",
                    "props": {
                      "type": "submit"
                    },
                    "text": "Subscribe"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "content-list-accordion",
      "group": "Content list",
      "name": "Accordion",
      "description": "Danh sách câu hỏi dạng thu gọn và mở rộng, dùng cho nội dung hỏi đáp.",
      "tree": {
        "type": "accordion-group",
        "props": {
          "accordionSummaryProps": {
            "sx": {
              "paddingTop": 8,
              "paddingBottom": 8
            },
            "expandIcon": {
              "position": "right",
              "source": {
                "expanded": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M6 9L12 15L18 9\" transform=\"rotate(180 12 12)\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n",
                "collapsed": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M6 9L12 15L18 9\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n"
              }
            }
          },
          "accordionContentProps": {
            "sx": {
              "paddingTop": 4,
              "paddingBottom": 12
            }
          },
          "openMode": "single"
        },
        "children": [
          {
            "type": "accordion",
            "props": {
              "defaultOpen": true
            },
            "children": [
              {
                "type": "accordion-summary",
                "children": [
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base"
                    },
                    "text": "Accordion 1"
                  }
                ]
              },
              {
                "type": "accordion-content",
                "children": [
                  {
                    "type": "paragraph",
                    "props": {
                      "sx": {
                        "paddingTop": 8,
                        "paddingBottom": 8
                      }
                    },
                    "text": "Content for accordion 1"
                  }
                ]
              }
            ]
          },
          {
            "type": "accordion",
            "props": {
              "defaultOpen": false
            },
            "children": [
              {
                "type": "accordion-summary",
                "children": [
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base"
                    },
                    "text": "Accordion 2"
                  }
                ]
              },
              {
                "type": "accordion-content",
                "children": [
                  {
                    "type": "paragraph",
                    "props": {
                      "sx": {
                        "paddingTop": 8,
                        "paddingBottom": 8
                      }
                    },
                    "text": "Content for accordion 2"
                  }
                ]
              }
            ]
          },
          {
            "type": "accordion",
            "props": {
              "defaultOpen": false
            },
            "children": [
              {
                "type": "accordion-summary",
                "children": [
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base"
                    },
                    "text": "Accordion 3"
                  }
                ]
              },
              {
                "type": "accordion-content",
                "children": [
                  {
                    "type": "paragraph",
                    "props": {
                      "sx": {
                        "paddingTop": 8,
                        "paddingBottom": 8
                      }
                    },
                    "text": "Content for accordion 3"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "utilities-countdown-timer",
      "group": "Utilities",
      "name": "Countdown timer",
      "description": "Đồng hồ đếm ngược đến một thời điểm, dùng cho khuyến mãi hoặc sự kiện.",
      "tree": {
        "type": "countdown-timer",
        "props": {
          "date": "2026-11-09T07:05:51.811Z",
          "sx": {
            "justifyContent": "center",
            "columnGap": 8,
            "rowGap": 8,
            "sm": {
              "paddingLeft": 24,
              "paddingRight": 24
            }
          },
          "unitItemProps": {
            "sx": {
              "backgroundColor": "var(--color-neutral-100)",
              "borderTopLeftRadius": 8,
              "borderTopRightRadius": 8,
              "borderBottomLeftRadius": 8,
              "borderBottomRightRadius": 8,
              "paddingTop": 6,
              "paddingRight": 16,
              "paddingBottom": 6,
              "paddingLeft": 16
            }
          },
          "timeProps": {
            "sx": {
              "fontWeight": 600
            },
            "sizeVariant": "xl",
            "md": {
              "sizeVariant": "2xl"
            }
          },
          "captionProps": {
            "sx": {
              "color": "var(--color-neutral-500)"
            }
          },
          "units": [
            {
              "value": "days",
              "caption": "Days"
            },
            {
              "value": "hours",
              "caption": "Hours"
            },
            {
              "value": "minutes",
              "caption": "Minutes"
            },
            {
              "value": "seconds",
              "caption": "Seconds"
            }
          ]
        }
      }
    },
    {
      "id": "utilities-count-up",
      "group": "Utilities",
      "name": "Count up",
      "description": "Con số tăng dần từ 0 đến giá trị đích, dùng để nhấn mạnh thống kê.",
      "tree": {
        "type": "count-up",
        "props": {
          "from": 0,
          "to": 1000,
          "prefix": "+"
        }
      }
    },
    {
      "id": "utilities-rating",
      "group": "Utilities",
      "name": "Rating",
      "description": "Hàng sao đánh giá hiển thị điểm số trung bình.",
      "tree": {
        "type": "rating",
        "props": {
          "rating": 4.5,
          "size": 28
        }
      }
    },
    {
      "id": "hero-notebook",
      "group": "Hero",
      "name": "Notebook hero",
      "description": "Hero giới thiệu sản phẩm với đánh giá sao, tiêu đề, danh sách lợi ích, hai nút kêu gọi và ảnh lớn, dùng cho trang bán hàng.",
      "tree": {
        "type": "container",
        "props": {
          "sx": {
            "paddingTop": 32,
            "paddingBottom": 32,
            "paddingLeft": 16,
            "paddingRight": 16,
            "md": {
              "paddingTop": 48,
              "paddingBottom": 48,
              "paddingLeft": 48,
              "paddingRight": 48
            }
          }
        },
        "children": [
          {
            "type": "grid",
            "props": {
              "cols": 1,
              "md": {
                "cols": 2
              },
              "sx": {
                "rowGap": 32,
                "columnGap": 48,
                "alignItems": "center",
                "md": {
                  "columnGap": 64
                }
              }
            },
            "children": [
              {
                "type": "cell",
                "children": [
                  {
                    "type": "flexbox",
                    "props": {
                      "sx": {
                        "flexDirection": "row",
                        "alignItems": "center",
                        "columnGap": 8
                      }
                    },
                    "children": [
                      {
                        "type": "flex-item",
                        "children": [
                          {
                            "type": "rating",
                            "props": {
                              "rating": 5,
                              "count": 5,
                              "size": 18,
                              "color": "var(--color-primary-600)"
                            }
                          }
                        ]
                      },
                      {
                        "type": "flex-item",
                        "children": [
                          {
                            "type": "paragraph",
                            "props": {
                              "sizeVariant": "sm",
                              "sx": {
                                "color": "var(--color-neutral-600)",
                                "fontWeight": 600
                              }
                            },
                            "text": "2,500+ Verified Reviews!"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "type": "heading",
                    "props": {
                      "as": "h1",
                      "sizeVariant": "3xl",
                      "md": {
                        "sizeVariant": "4xl"
                      },
                      "sx": {
                        "fontWeight": 700,
                        "color": "var(--color-neutral-600)",
                        "marginTop": 16
                      }
                    },
                    "text": "Unleash Your Creativity with Premium Notebooks"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base",
                      "sx": {
                        "color": "var(--color-neutral-500)",
                        "marginTop": 12
                      }
                    },
                    "text": "Explore Our Premium Notebook Selection"
                  },
                  {
                    "type": "box",
                    "props": {
                      "sx": {
                        "marginTop": 24
                      }
                    },
                    "children": [
                      {
                        "type": "flexbox",
                        "props": {
                          "sx": {
                            "flexDirection": "row",
                            "alignItems": "center",
                            "columnGap": 12,
                            "marginTop": 0
                          }
                        },
                        "children": [
                          {
                            "type": "flex-item",
                            "props": {
                              "sx": {
                                "flexShrink": 0
                              }
                            },
                            "children": [
                              {
                                "type": "icon",
                                "props": {
                                  "source": "<svg fill=\"currentColor\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n  <path d=\"M10,18a1,1,0,0,1-.71-.29l-5-5a1,1,0,0,1,1.42-1.42L10,15.59l8.29-8.3a1,1,0,1,1,1.42,1.42l-9,9A1,1,0,0,1,10,18Z\"></path>\n</svg>",
                                  "size": 20,
                                  "sx": {
                                    "color": "var(--color-primary-600)"
                                  }
                                }
                              }
                            ]
                          },
                          {
                            "type": "flex-item",
                            "children": [
                              {
                                "type": "paragraph",
                                "props": {
                                  "sizeVariant": "base",
                                  "sx": {
                                    "color": "var(--color-neutral-600)"
                                  }
                                },
                                "text": "Premium Quality"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "flexbox",
                        "props": {
                          "sx": {
                            "flexDirection": "row",
                            "alignItems": "center",
                            "columnGap": 12,
                            "marginTop": 16
                          }
                        },
                        "children": [
                          {
                            "type": "flex-item",
                            "props": {
                              "sx": {
                                "flexShrink": 0
                              }
                            },
                            "children": [
                              {
                                "type": "icon",
                                "props": {
                                  "source": "<svg fill=\"currentColor\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n  <path d=\"M10,18a1,1,0,0,1-.71-.29l-5-5a1,1,0,0,1,1.42-1.42L10,15.59l8.29-8.3a1,1,0,1,1,1.42,1.42l-9,9A1,1,0,0,1,10,18Z\"></path>\n</svg>",
                                  "size": 20,
                                  "sx": {
                                    "color": "var(--color-primary-600)"
                                  }
                                }
                              }
                            ]
                          },
                          {
                            "type": "flex-item",
                            "children": [
                              {
                                "type": "paragraph",
                                "props": {
                                  "sizeVariant": "base",
                                  "sx": {
                                    "color": "var(--color-neutral-600)"
                                  }
                                },
                                "text": "Sleek & Functional Design"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "flexbox",
                        "props": {
                          "sx": {
                            "flexDirection": "row",
                            "alignItems": "center",
                            "columnGap": 12,
                            "marginTop": 16
                          }
                        },
                        "children": [
                          {
                            "type": "flex-item",
                            "props": {
                              "sx": {
                                "flexShrink": 0
                              }
                            },
                            "children": [
                              {
                                "type": "icon",
                                "props": {
                                  "source": "<svg fill=\"currentColor\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\n  <path d=\"M10,18a1,1,0,0,1-.71-.29l-5-5a1,1,0,0,1,1.42-1.42L10,15.59l8.29-8.3a1,1,0,1,1,1.42,1.42l-9,9A1,1,0,0,1,10,18Z\"></path>\n</svg>",
                                  "size": 20,
                                  "sx": {
                                    "color": "var(--color-primary-600)"
                                  }
                                }
                              }
                            ]
                          },
                          {
                            "type": "flex-item",
                            "children": [
                              {
                                "type": "paragraph",
                                "props": {
                                  "sizeVariant": "base",
                                  "sx": {
                                    "color": "var(--color-neutral-600)"
                                  }
                                },
                                "text": "Versatile Options"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "type": "box",
                    "props": {
                      "sx": {
                        "marginTop": 24,
                        "paddingTop": 24,
                        "borderStyle": "solid",
                        "borderColor": "var(--color-neutral-200)",
                        "borderTopWidth": 1
                      }
                    },
                    "children": [
                      {
                        "type": "heading",
                        "props": {
                          "as": "h3",
                          "sizeVariant": "lg",
                          "sx": {
                            "fontWeight": 700,
                            "color": "var(--color-neutral-600)"
                          }
                        },
                        "text": "Interested in more colors for the notebook?\""
                      }
                    ]
                  },
                  {
                    "type": "button",
                    "props": {
                      "color": "primary",
                      "variant": "outlined",
                      "sx": {
                        "width": "100%",
                        "marginTop": 20
                      }
                    },
                    "text": "Start Exploring →"
                  },
                  {
                    "type": "button",
                    "props": {
                      "color": "primary",
                      "variant": "contained",
                      "sx": {
                        "width": "100%",
                        "marginTop": 12
                      }
                    },
                    "text": "Show Now →"
                  },
                  {
                    "type": "box",
                    "props": {
                      "sx": {
                        "marginTop": 12,
                        "backgroundColor": "var(--color-neutral-100)",
                        "paddingTop": 12,
                        "paddingBottom": 12,
                        "paddingLeft": 16,
                        "paddingRight": 16,
                        "borderTopLeftRadius": 8,
                        "borderTopRightRadius": 8,
                        "borderBottomLeftRadius": 8,
                        "borderBottomRightRadius": 8
                      }
                    },
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "sm",
                          "sx": {
                            "color": "var(--color-neutral-600)",
                            "textAlign": "center"
                          }
                        },
                        "text": "30-day money back guarantee"
                      }
                    ]
                  },
                  {
                    "type": "grid",
                    "props": {
                      "cols": 3,
                      "sx": {
                        "columnGap": 16,
                        "marginTop": 32
                      }
                    },
                    "children": [
                      {
                        "type": "cell",
                        "children": [
                          {
                            "type": "icon",
                            "props": {
                              "source": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"2\" y=\"5\" width=\"20\" height=\"14\" rx=\"2\"/><line x1=\"2\" y1=\"10\" x2=\"22\" y2=\"10\"/></svg>",
                              "size": 22,
                              "sx": {
                                "color": "var(--color-neutral-600)",
                                "marginLeft": "auto",
                                "marginRight": "auto"
                              }
                            }
                          },
                          {
                            "type": "paragraph",
                            "props": {
                              "sizeVariant": "sm",
                              "sx": {
                                "color": "var(--color-neutral-500)",
                                "textAlign": "center",
                                "marginTop": 8
                              }
                            },
                            "text": "Safe Payment Options"
                          }
                        ]
                      },
                      {
                        "type": "cell",
                        "children": [
                          {
                            "type": "icon",
                            "props": {
                              "source": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M7 10v12\"/><path d=\"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z\"/></svg>",
                              "size": 22,
                              "sx": {
                                "color": "var(--color-neutral-600)",
                                "marginLeft": "auto",
                                "marginRight": "auto"
                              }
                            }
                          },
                          {
                            "type": "paragraph",
                            "props": {
                              "sizeVariant": "sm",
                              "sx": {
                                "color": "var(--color-neutral-500)",
                                "textAlign": "center",
                                "marginTop": 8
                              }
                            },
                            "text": "Secure logistics"
                          }
                        ]
                      },
                      {
                        "type": "cell",
                        "children": [
                          {
                            "type": "icon",
                            "props": {
                              "source": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z\"/><path d=\"M9 12l2 2 4-4\"/></svg>",
                              "size": 22,
                              "sx": {
                                "color": "var(--color-neutral-600)",
                                "marginLeft": "auto",
                                "marginRight": "auto"
                              }
                            }
                          },
                          {
                            "type": "paragraph",
                            "props": {
                              "sizeVariant": "sm",
                              "sx": {
                                "color": "var(--color-neutral-500)",
                                "textAlign": "center",
                                "marginTop": 8
                              }
                            },
                            "text": "Purchase protection"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "type": "cell",
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/gempages_432750572815254551-7b4ef89a-f381-4a78-934a-088101b8cb47.png?v=1716946704",
                      "alt": "Premium notebook",
                      "sx": {
                        "width": "100%",
                        "objectFit": "cover"
                      }
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "hero-split",
      "group": "Hero",
      "name": "Split hero",
      "description": "Hero chia hai cột: bên trái tiêu đề, mô tả và nút kêu gọi, bên phải là ảnh sản phẩm lớn.",
      "tree": {
        "type": "container",
        "children": [
          {
            "type": "grid",
            "props": {
              "sx": {
                "sm": {
                  "alignItems": "center"
                }
              },
              "sm": {
                "cols": 2
              }
            },
            "children": [
              {
                "type": "cell",
                "props": {
                  "sx": {
                    "order": 1,
                    "sm": {
                      "order": 0
                    }
                  }
                },
                "children": [
                  {
                    "type": "heading",
                    "props": {
                      "as": "h1",
                      "sizeVariant": "4xl",
                      "sx": {
                        "textAlign": "center",
                        "fontWeight": 600,
                        "sm": {
                          "textAlign": "left"
                        }
                      },
                      "md": {
                        "sizeVariant": "5xl"
                      }
                    },
                    "text": "Boost Performance:\nShop Athletic Shoes!"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sx": {
                        "marginTop": 12,
                        "textAlign": "center",
                        "md": {
                          "textAlign": "left"
                        }
                      }
                    },
                    "text": "Discover our latest running shoes with advanced air technology soles and boost technology, conquering every terrain with comfort and confidence."
                  },
                  {
                    "type": "button",
                    "props": {
                      "sx": {
                        "marginTop": 32,
                        "width": "100%",
                        "md": {
                          "width": 200
                        }
                      }
                    },
                    "text": "Explore Now"
                  }
                ]
              },
              {
                "type": "cell",
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "src": "https://cdn.shopify.com/s/files/1/0959/8114/2305/files/img140.png"
                    }
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "hero-campaign-board",
      "group": "Hero",
      "name": "Campaign board hero",
      "description": "Hero dạng bảng chiến dịch trên nền nhạt: tiêu đề và nút cạnh ảnh, kèm dải chữ chạy ngang bên dưới.",
      "tree": {
        "type": "container",
        "children": [
          {
            "type": "box",
            "props": {
              "sx": {
                "backgroundColor": "var(--color-primary-100)",
                "paddingTop": 32,
                "paddingRight": 20,
                "paddingBottom": 24,
                "paddingLeft": 20,
                "borderTopLeftRadius": 32,
                "borderTopRightRadius": 32,
                "borderBottomRightRadius": 32,
                "borderBottomLeftRadius": 32,
                "md": {
                  "paddingTop": 56,
                  "paddingRight": 48,
                  "paddingBottom": 40,
                  "paddingLeft": 48
                }
              }
            },
            "children": [
              {
                "type": "grid",
                "props": {
                  "cols": 1,
                  "md": {
                    "cols": 12
                  },
                  "sx": {
                    "rowGap": 24,
                    "columnGap": 24,
                    "alignItems": "end"
                  }
                },
                "children": [
                  {
                    "type": "cell",
                    "props": {
                      "md": {
                        "colSpan": 8
                      }
                    },
                    "children": [
                      {
                        "type": "heading",
                        "props": {
                          "as": "h1",
                          "sizeVariant": "4xl",
                          "md": {
                            "sizeVariant": "5xl"
                          },
                          "sx": {
                            "fontWeight": 600,
                            "textAlign": "center",
                            "md": {
                              "textAlign": "left"
                            }
                          }
                        },
                        "text": "Runway Mood, Everyday Form"
                      }
                    ]
                  },
                  {
                    "type": "cell",
                    "props": {
                      "md": {
                        "colSpan": 4
                      }
                    },
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sx": {
                            "color": "var(--color-neutral-600)",
                            "textAlign": "center",
                            "md": {
                              "textAlign": "left"
                            }
                          }
                        },
                        "text": "New arrivals shaped like a campaign board: sharp, wearable, and ready for the street."
                      },
                      {
                        "type": "button",
                        "props": {
                          "sx": {
                            "width": "100%",
                            "marginTop": 24,
                            "md": {
                              "width": 200
                            }
                          }
                        },
                        "text": "Explore New Arrivals"
                      }
                    ]
                  },
                  {
                    "type": "cell",
                    "props": {
                      "md": {
                        "colSpan": 12
                      }
                    },
                    "children": [
                      {
                        "type": "image",
                        "props": {
                          "src": "https://cdn.shopify.com/s/files/1/0959/8114/2305/files/img140.png",
                          "sx": {
                            "width": "100%",
                            "aspectRatio": "16 / 9",
                            "objectFit": "cover",
                            "borderTopLeftRadius": 28,
                            "borderTopRightRadius": 28,
                            "borderBottomRightRadius": 28,
                            "borderBottomLeftRadius": 28
                          }
                        }
                      }
                    ]
                  }
                ]
              },
              {
                "type": "marquee",
                "props": {
                  "spaceBetween": 24,
                  "md": {
                    "spaceBetween": 40
                  },
                  "sx": {
                    "marginTop": 24,
                    "paddingTop": 16,
                    "paddingBottom": 8
                  }
                },
                "children": [
                  {
                    "type": "marquee-item",
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "lg",
                          "sx": {
                            "fontWeight": 600,
                            "textTransform": "uppercase"
                          }
                        },
                        "text": "New Arrivals"
                      }
                    ]
                  },
                  {
                    "type": "marquee-item",
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "lg",
                          "sx": {
                            "fontWeight": 600,
                            "textTransform": "uppercase"
                          }
                        },
                        "text": "Editor's Picks"
                      }
                    ]
                  },
                  {
                    "type": "marquee-item",
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "lg",
                          "sx": {
                            "fontWeight": 600,
                            "textTransform": "uppercase"
                          }
                        },
                        "text": "Limited Edit"
                      }
                    ]
                  },
                  {
                    "type": "marquee-item",
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "lg",
                          "sx": {
                            "fontWeight": 600,
                            "textTransform": "uppercase"
                          }
                        },
                        "text": "Tailored For Now"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "faqs-centered",
      "group": "FAQs",
      "name": "Centered FAQ",
      "description": "Tiêu đề căn giữa phía trên và danh sách câu hỏi dạng accordion một cột, dùng cho phần hỏi đáp chung.",
      "tree": {
        "type": "container",
        "children": [
          {
            "type": "heading",
            "props": {
              "sizeVariant": "4xl",
              "sx": {
                "fontWeight": 600,
                "textAlign": "center",
                "marginBottom": 20,
                "md": {
                  "marginBottom": 24
                }
              },
              "md": {
                "sizeVariant": "5xl"
              }
            },
            "text": "Frequently Asked Questions"
          },
          {
            "type": "accordion-group",
            "props": {
              "openMode": "single",
              "accordionSummaryProps": {
                "sx": {
                  "paddingTop": 12,
                  "paddingBottom": 12,
                  "paddingLeft": 12,
                  "paddingRight": 12,
                  "borderBottomWidth": 1,
                  "borderStyle": "solid",
                  "md": {
                    "paddingTop": 16,
                    "paddingBottom": 16,
                    "paddingLeft": 16,
                    "paddingRight": 16
                  }
                },
                "expandIcon": {
                  "position": "right",
                  "source": {
                    "expanded": "<svg fill=\"currentColor\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19,13H5a1,1,0,0,1,0-2H19a1,1,0,0,1,0,2Z\"></path></svg>",
                    "collapsed": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12.8002 7.5002H8.5002V3.2002C8.5002 2.9002 8.3002 2.7002 8.0002 2.7002C7.7002 2.7002 7.5002 2.9002 7.5002 3.2002V7.5002H3.2002C2.9002 7.5002 2.7002 7.7002 2.7002 8.0002C2.7002 8.3002 2.9002 8.5002 3.2002 8.5002H7.5002V12.8002C7.5002 13.1002 7.7002 13.3002 8.0002 13.3002C8.3002 13.3002 8.5002 13.1002 8.5002 12.8002V8.5002H12.8002C13.1002 8.5002 13.3002 8.3002 13.3002 8.0002C13.3002 7.7002 13.1002 7.5002 12.8002 7.5002Z\" fill=\"currentColor\"/>\n</svg>\n"
                  }
                }
              },
              "accordionContentProps": {
                "sx": {
                  "paddingTop": 4,
                  "paddingBottom": 12
                }
              }
            },
            "children": [
              {
                "type": "accordion",
                "props": {
                  "defaultOpen": true
                },
                "children": [
                  {
                    "type": "accordion-summary",
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base"
                        },
                        "text": "At vero eos et accusamus odio?"
                      }
                    ]
                  },
                  {
                    "type": "accordion-content",
                    "children": [
                      {
                        "type": "paragraph",
                        "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation."
                      }
                    ]
                  }
                ]
              },
              {
                "type": "accordion",
                "children": [
                  {
                    "type": "accordion-summary",
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base"
                        },
                        "text": "At vero eos et accusamus et iusto?"
                      }
                    ]
                  },
                  {
                    "type": "accordion-content",
                    "children": [
                      {
                        "type": "paragraph",
                        "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation."
                      }
                    ]
                  }
                ]
              },
              {
                "type": "accordion",
                "children": [
                  {
                    "type": "accordion-summary",
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base"
                        },
                        "text": "At vero eos et accusamus?"
                      }
                    ]
                  },
                  {
                    "type": "accordion-content",
                    "children": [
                      {
                        "type": "paragraph",
                        "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation."
                      }
                    ]
                  }
                ]
              },
              {
                "type": "accordion",
                "children": [
                  {
                    "type": "accordion-summary",
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base"
                        },
                        "text": "At vero eos et iusto?"
                      }
                    ]
                  },
                  {
                    "type": "accordion-content",
                    "children": [
                      {
                        "type": "paragraph",
                        "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation."
                      }
                    ]
                  }
                ]
              },
              {
                "type": "accordion",
                "children": [
                  {
                    "type": "accordion-summary",
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base"
                        },
                        "text": "At vero eos et accusamus?"
                      }
                    ]
                  },
                  {
                    "type": "accordion-content",
                    "children": [
                      {
                        "type": "paragraph",
                        "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation."
                      }
                    ]
                  }
                ]
              },
              {
                "type": "accordion",
                "children": [
                  {
                    "type": "accordion-summary",
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base"
                        },
                        "text": "At vero eos et accusamus et iusto?"
                      }
                    ]
                  },
                  {
                    "type": "accordion-content",
                    "children": [
                      {
                        "type": "paragraph",
                        "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation."
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "faqs-help-desk",
      "group": "FAQs",
      "name": "Help desk FAQ",
      "description": "Hai cột: bên trái lời dẫn và nút liên hệ hỗ trợ, bên phải là accordion câu hỏi, dùng để giải đáp trước khi thanh toán.",
      "tree": {
        "type": "container",
        "children": [
          {
            "type": "grid",
            "props": {
              "cols": 1,
              "md": {
                "cols": 12
              },
              "sx": {
                "rowGap": 28,
                "columnGap": 40,
                "alignItems": "start"
              }
            },
            "children": [
              {
                "type": "cell",
                "props": {
                  "md": {
                    "colSpan": 4
                  }
                },
                "children": [
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "sm",
                      "sx": {
                        "color": "var(--color-primary-600)",
                        "fontWeight": 600,
                        "textTransform": "uppercase"
                      }
                    },
                    "text": "Help Desk"
                  },
                  {
                    "type": "heading",
                    "props": {
                      "sizeVariant": "4xl",
                      "md": {
                        "sizeVariant": "5xl"
                      },
                      "sx": {
                        "fontWeight": 600,
                        "marginTop": 12
                      }
                    },
                    "text": "Questions before checkout?"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sx": {
                        "color": "var(--color-neutral-600)",
                        "marginTop": 16
                      }
                    },
                    "text": "Keep buying decisions calm with answers for shipping, returns, sizing, and payment."
                  },
                  {
                    "type": "button",
                    "props": {
                      "sx": {
                        "width": "100%",
                        "marginTop": 28,
                        "md": {
                          "width": 180
                        }
                      }
                    },
                    "text": "Contact Support"
                  }
                ]
              },
              {
                "type": "cell",
                "props": {
                  "md": {
                    "colSpan": 8
                  }
                },
                "children": [
                  {
                    "type": "box",
                    "props": {
                      "sx": {
                        "backgroundColor": "var(--color-neutral-100)",
                        "paddingTop": 12,
                        "paddingRight": 12,
                        "paddingBottom": 12,
                        "paddingLeft": 12,
                        "borderTopLeftRadius": 28,
                        "borderTopRightRadius": 28,
                        "borderBottomRightRadius": 28,
                        "borderBottomLeftRadius": 28,
                        "md": {
                          "paddingTop": 24,
                          "paddingRight": 24,
                          "paddingBottom": 24,
                          "paddingLeft": 24
                        }
                      }
                    },
                    "children": [
                      {
                        "type": "accordion-group",
                        "props": {
                          "openMode": "single",
                          "sx": {
                            "rowGap": 8
                          },
                          "accordionSummaryProps": {
                            "sx": {
                              "paddingTop": 14,
                              "paddingBottom": 14,
                              "paddingLeft": 12,
                              "paddingRight": 12,
                              "md": {
                                "paddingTop": 18,
                                "paddingBottom": 18,
                                "paddingLeft": 16,
                                "paddingRight": 16
                              }
                            },
                            "expandIcon": {
                              "position": "right",
                              "source": {
                                "expanded": "<svg fill=\"currentColor\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19,13H5a1,1,0,0,1,0-2H19a1,1,0,0,1,0,2Z\"></path></svg>",
                                "collapsed": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12.8002 7.5002H8.5002V3.2002C8.5002 2.9002 8.3002 2.7002 8.0002 2.7002C7.7002 2.7002 7.5002 2.9002 7.5002 3.2002V7.5002H3.2002C2.9002 7.5002 2.7002 7.7002 2.7002 8.0002C2.7002 8.3002 2.9002 8.5002 3.2002 8.5002H7.5002V12.8002C7.5002 13.1002 7.7002 13.3002 8.0002 13.3002C8.3002 13.3002 8.5002 13.1002 8.5002 12.8002V8.5002H12.8002C13.1002 8.5002 13.3002 8.3002 13.3002 8.0002C13.3002 7.7002 13.1002 7.5002 12.8002 7.5002Z\" fill=\"currentColor\"/>\n</svg>\n"
                              }
                            }
                          },
                          "accordionContentProps": {
                            "sx": {
                              "paddingTop": 0,
                              "paddingBottom": 16,
                              "paddingLeft": 12,
                              "paddingRight": 12
                            }
                          }
                        },
                        "children": [
                          {
                            "type": "accordion",
                            "props": {
                              "defaultOpen": true
                            },
                            "children": [
                              {
                                "type": "accordion-summary",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "lg",
                                      "sx": {
                                        "fontWeight": 600
                                      }
                                    },
                                    "text": "How long does shipping usually take?"
                                  }
                                ]
                              },
                              {
                                "type": "accordion-content",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sx": {
                                        "color": "var(--color-neutral-600)"
                                      }
                                    },
                                    "text": "Most orders leave the warehouse within two business days. Delivery timing depends on destination and selected shipping method."
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "type": "accordion",
                            "children": [
                              {
                                "type": "accordion-summary",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "lg",
                                      "sx": {
                                        "fontWeight": 600
                                      }
                                    },
                                    "text": "Can I return an item if the fit is not right?"
                                  }
                                ]
                              },
                              {
                                "type": "accordion-content",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sx": {
                                        "color": "var(--color-neutral-600)"
                                      }
                                    },
                                    "text": "Yes. Keep the product unused with original tags and request a return within the policy window."
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "type": "accordion",
                            "children": [
                              {
                                "type": "accordion-summary",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "lg",
                                      "sx": {
                                        "fontWeight": 600
                                      }
                                    },
                                    "text": "Which payment methods are supported?"
                                  }
                                ]
                              },
                              {
                                "type": "accordion-content",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sx": {
                                        "color": "var(--color-neutral-600)"
                                      }
                                    },
                                    "text": "Major cards and supported local payment methods are available at checkout."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "faqs-card",
      "group": "FAQs",
      "name": "Card FAQ",
      "description": "Danh sách câu hỏi accordion đặt trong thẻ nền nhạt có bo góc, dùng cho khối hỏi đáp gọn.",
      "tree": {
        "type": "container",
        "children": [
          {
            "type": "box",
            "props": {
              "sx": {
                "backgroundColor": "var(--color-primary-100)",
                "paddingTop": 16,
                "paddingRight": 12,
                "paddingBottom": 16,
                "paddingLeft": 12,
                "borderTopLeftRadius": 32,
                "borderTopRightRadius": 32,
                "borderBottomRightRadius": 32,
                "borderBottomLeftRadius": 32,
                "md": {
                  "paddingTop": 56,
                  "paddingRight": 48,
                  "paddingBottom": 56,
                  "paddingLeft": 48
                }
              }
            },
            "children": [
              {
                "type": "heading",
                "props": {
                  "sizeVariant": "4xl",
                  "md": {
                    "sizeVariant": "5xl"
                  },
                  "sx": {
                    "textAlign": "center",
                    "fontWeight": 600
                  }
                },
                "text": "Need-to-know before you order"
              },
              {
                "type": "paragraph",
                "props": {
                  "sx": {
                    "color": "var(--color-neutral-600)",
                    "textAlign": "center",
                    "marginTop": 16,
                    "marginLeft": "auto",
                    "marginRight": "auto",
                    "md": {
                      "width": 640
                    }
                  }
                },
                "text": "A compact FAQ card for product pages and campaign landings where shoppers need quick confidence."
              },
              {
                "type": "accordion-group",
                "props": {
                  "openMode": "multiple",
                  "sx": {
                    "marginTop": 20,
                    "rowGap": 6,
                    "md": {
                      "marginTop": 32,
                      "rowGap": 12
                    }
                  },
                  "accordionSummaryProps": {
                    "sx": {
                      "paddingTop": 10,
                      "paddingBottom": 10,
                      "paddingLeft": 8,
                      "paddingRight": 8,
                      "md": {
                        "paddingTop": 16,
                        "paddingBottom": 16,
                        "paddingLeft": 16,
                        "paddingRight": 16
                      }
                    },
                    "expandIcon": {
                      "position": "right",
                      "source": {
                        "expanded": "<svg fill=\"currentColor\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19,13H5a1,1,0,0,1,0-2H19a1,1,0,0,1,0,2Z\"></path></svg>",
                        "collapsed": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12.8002 7.5002H8.5002V3.2002C8.5002 2.9002 8.3002 2.7002 8.0002 2.7002C7.7002 2.7002 7.5002 2.9002 7.5002 3.2002V7.5002H3.2002C2.9002 7.5002 2.7002 7.7002 2.7002 8.0002C2.7002 8.3002 2.9002 8.5002 3.2002 8.5002H7.5002V12.8002C7.5002 13.1002 7.7002 13.3002 8.0002 13.3002C8.3002 13.3002 8.5002 13.1002 8.5002 12.8002V8.5002H12.8002C13.1002 8.5002 13.3002 8.3002 13.3002 8.0002C13.3002 7.7002 13.1002 7.5002 12.8002 7.5002Z\" fill=\"currentColor\"/>\n</svg>\n"
                      }
                    }
                  },
                  "accordionContentProps": {
                    "sx": {
                      "paddingTop": 0,
                      "paddingBottom": 10,
                      "paddingLeft": 8,
                      "paddingRight": 8,
                      "md": {
                        "paddingBottom": 16,
                        "paddingLeft": 16,
                        "paddingRight": 16
                      }
                    }
                  }
                },
                "children": [
                  {
                    "type": "accordion",
                    "props": {
                      "defaultOpen": true
                    },
                    "children": [
                      {
                        "type": "accordion-summary",
                        "children": [
                          {
                            "type": "paragraph",
                            "props": {
                              "sizeVariant": "lg",
                              "sx": {
                                "fontWeight": 600
                              }
                            },
                            "text": "Do you offer size guidance?"
                          }
                        ]
                      },
                      {
                        "type": "accordion-content",
                        "children": [
                          {
                            "type": "paragraph",
                            "props": {
                              "sx": {
                                "color": "var(--color-neutral-600)"
                              }
                            },
                            "text": "Add a fit note, measurement guide, or size recommendation here so shoppers choose confidently."
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "type": "accordion",
                    "props": {
                      "defaultOpen": true
                    },
                    "children": [
                      {
                        "type": "accordion-summary",
                        "children": [
                          {
                            "type": "paragraph",
                            "props": {
                              "sizeVariant": "lg",
                              "sx": {
                                "fontWeight": 600
                              }
                            },
                            "text": "Is gift packaging available?"
                          }
                        ]
                      },
                      {
                        "type": "accordion-content",
                        "children": [
                          {
                            "type": "paragraph",
                            "props": {
                              "sx": {
                                "color": "var(--color-neutral-600)"
                              }
                            },
                            "text": "Use this answer to explain gift notes, premium packaging, or seasonal wrapping options."
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "type": "accordion",
                    "children": [
                      {
                        "type": "accordion-summary",
                        "children": [
                          {
                            "type": "paragraph",
                            "props": {
                              "sizeVariant": "lg",
                              "sx": {
                                "fontWeight": 600
                              }
                            },
                            "text": "How do exchanges work?"
                          }
                        ]
                      },
                      {
                        "type": "accordion-content",
                        "children": [
                          {
                            "type": "paragraph",
                            "props": {
                              "sx": {
                                "color": "var(--color-neutral-600)"
                              }
                            },
                            "text": "Explain the exchange flow, timeline, and whether replacement items are reserved during processing."
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "faqs-background-image",
      "group": "FAQs",
      "name": "Background image FAQ",
      "description": "Phần hỏi đáp trên nền ảnh, tiêu đề cùng accordion nằm trên lớp nền mờ để dễ đọc.",
      "tree": {
        "type": "container",
        "props": {
          "sx": {
            "backgroundImage": "url(https://cdn.shopify.com/s/files/1/2005/9307/files/432750572815254551-fc38f909-2492-4367-8f30-f09c5de9caf3.png)",
            "backgroundSize": "cover",
            "backgroundPosition": "right bottom",
            "backgroundRepeat": "no-repeat",
            "paddingTop": 56,
            "paddingBottom": 56,
            "md": {
              "paddingTop": 88,
              "paddingBottom": 88
            }
          }
        },
        "children": [
          {
            "type": "grid",
            "props": {
              "cols": 1,
              "md": {
                "cols": 12
              },
              "sx": {
                "alignItems": "center"
              }
            },
            "children": [
              {
                "type": "cell",
                "props": {
                  "md": {
                    "colSpan": 5
                  }
                },
                "children": [
                  {
                    "type": "box",
                    "props": {
                      "sx": {
                        "backgroundColor": "#ffffff",
                        "paddingTop": 24,
                        "paddingRight": 16,
                        "paddingBottom": 24,
                        "paddingLeft": 16,
                        "md": {
                          "paddingTop": 0,
                          "paddingRight": 0,
                          "paddingBottom": 0,
                          "paddingLeft": 0
                        }
                      }
                    },
                    "children": [
                      {
                        "type": "heading",
                        "props": {
                          "sizeVariant": "2xl",
                          "md": {
                            "sizeVariant": "3xl"
                          },
                          "sx": {
                            "color": "#74331f",
                            "fontWeight": 700,
                            "textTransform": "uppercase"
                          }
                        },
                        "text": "Frequently Asked Questions"
                      },
                      {
                        "type": "accordion-group",
                        "props": {
                          "openMode": "single",
                          "sx": {
                            "marginTop": 28,
                            "rowGap": 16
                          },
                          "accordionSummaryProps": {
                            "sx": {
                              "paddingTop": 14,
                              "paddingBottom": 14,
                              "paddingLeft": 10,
                              "paddingRight": 10,
                              "md": {
                                "paddingTop": 18,
                                "paddingBottom": 18,
                                "paddingLeft": 12,
                                "paddingRight": 12
                              }
                            },
                            "expandIcon": {
                              "position": "right",
                              "source": {
                                "expanded": "<svg fill=\"currentColor\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19,13H5a1,1,0,0,1,0-2H19a1,1,0,0,1,0,2Z\"></path></svg>",
                                "collapsed": "<svg width=\"24\" height=\"24\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12.8002 7.5002H8.5002V3.2002C8.5002 2.9002 8.3002 2.7002 8.0002 2.7002C7.7002 2.7002 7.5002 2.9002 7.5002 3.2002V7.5002H3.2002C2.9002 7.5002 2.7002 7.7002 2.7002 8.0002C2.7002 8.3002 2.9002 8.5002 3.2002 8.5002H7.5002V12.8002C7.5002 13.1002 7.7002 13.3002 8.0002 13.3002C8.3002 13.3002 8.5002 13.1002 8.5002 12.8002V8.5002H12.8002C13.1002 8.5002 13.3002 8.3002 13.3002 8.0002C13.3002 7.7002 13.1002 7.5002 12.8002 7.5002Z\" fill=\"currentColor\"/>\n</svg>\n"
                              }
                            }
                          },
                          "accordionContentProps": {
                            "sx": {
                              "paddingTop": 0,
                              "paddingBottom": 12,
                              "paddingLeft": 10,
                              "paddingRight": 10,
                              "md": {
                                "paddingLeft": 12,
                                "paddingRight": 12
                              }
                            }
                          }
                        },
                        "children": [
                          {
                            "type": "accordion",
                            "children": [
                              {
                                "type": "accordion-summary",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "base",
                                      "sx": {
                                        "fontWeight": 700,
                                        "color": "#74331f"
                                      }
                                    },
                                    "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod?"
                                  }
                                ]
                              },
                              {
                                "type": "accordion-content",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sx": {
                                        "color": "#74331f"
                                      }
                                    },
                                    "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt."
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "type": "accordion",
                            "children": [
                              {
                                "type": "accordion-summary",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "base",
                                      "sx": {
                                        "fontWeight": 700,
                                        "color": "#74331f"
                                      }
                                    },
                                    "text": "Lorem ipsum dolor sit amet, consectetur?"
                                  }
                                ]
                              },
                              {
                                "type": "accordion-content",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sx": {
                                        "color": "#74331f"
                                      }
                                    },
                                    "text": "Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip."
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "type": "accordion",
                            "children": [
                              {
                                "type": "accordion-summary",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "base",
                                      "sx": {
                                        "fontWeight": 700,
                                        "color": "#74331f"
                                      }
                                    },
                                    "text": "Lorem ipsum dolor sit amet, consectetur elit sed do eiusmod?"
                                  }
                                ]
                              },
                              {
                                "type": "accordion-content",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sx": {
                                        "color": "#74331f"
                                      }
                                    },
                                    "text": "Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore."
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "type": "accordion",
                            "children": [
                              {
                                "type": "accordion-summary",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "base",
                                      "sx": {
                                        "fontWeight": 700,
                                        "color": "#74331f"
                                      }
                                    },
                                    "text": "Lorem ipsum dolor sit amet consectetur?"
                                  }
                                ]
                              },
                              {
                                "type": "accordion-content",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sx": {
                                        "color": "#74331f"
                                      }
                                    },
                                    "text": "Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt."
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "type": "accordion",
                            "children": [
                              {
                                "type": "accordion-summary",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "base",
                                      "sx": {
                                        "fontWeight": 700,
                                        "color": "#74331f"
                                      }
                                    },
                                    "text": "Lorem ipsum dolor sit amet, consectetur adipiscing sed do eiusmod?"
                                  }
                                ]
                              },
                              {
                                "type": "accordion-content",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sx": {
                                        "color": "#74331f"
                                      }
                                    },
                                    "text": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "guarantee-icons",
      "group": "Guarantee",
      "name": "Icon guarantee",
      "description": "Tiêu đề căn giữa và lưới biểu tượng kèm nhãn, dùng để nêu các cam kết dịch vụ sau bán hàng.",
      "tree": {
        "type": "container",
        "children": [
          {
            "type": "heading",
            "props": {
              "sizeVariant": "4xl",
              "sx": {
                "textAlign": "center",
                "fontWeight": 600
              },
              "md": {
                "sizeVariant": "5xl"
              }
            },
            "text": "Why should you choose\nour product?"
          },
          {
            "type": "paragraph",
            "props": {
              "sizeVariant": "base",
              "sx": {
                "color": "var(--color-neutral-500)",
                "textAlign": "center",
                "marginTop": 16,
                "md": {
                  "marginTop": 20
                }
              }
            },
            "text": "Experience our prestigious after-sales service."
          },
          {
            "type": "grid",
            "props": {
              "sx": {
                "width": "100%",
                "marginTop": 32,
                "rowGap": 32,
                "columnGap": 32,
                "md": {
                  "marginTop": 32
                }
              },
              "cols": 1,
              "sm": {
                "cols": 2
              },
              "md": {
                "cols": 4
              }
            },
            "children": [
              {
                "type": "cell",
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "sx": {
                        "width": 80,
                        "marginLeft": "auto",
                        "marginRight": "auto"
                      },
                      "src": "https://ucarecdn.com/3c98ccba-611f-43aa-baee-8b70deaa56c4/-/format/auto/"
                    }
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "lg",
                      "sx": {
                        "textAlign": "center",
                        "marginTop": 16,
                        "fontWeight": 500
                      }
                    },
                    "text": "24/7 Friendly Support"
                  }
                ]
              },
              {
                "type": "cell",
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "sx": {
                        "width": 80,
                        "marginLeft": "auto",
                        "marginRight": "auto"
                      },
                      "src": "https://ucarecdn.com/c952daac-89f1-47b4-a784-09e95eeed162/-/format/auto/"
                    }
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "lg",
                      "sx": {
                        "textAlign": "center",
                        "marginTop": 16,
                        "fontWeight": 500
                      }
                    },
                    "text": "Free Shipping over $60"
                  }
                ]
              },
              {
                "type": "cell",
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "sx": {
                        "width": 80,
                        "marginLeft": "auto",
                        "marginRight": "auto"
                      },
                      "src": "https://ucarecdn.com/b2e041e5-f5f4-42c9-8c0d-e26234824568/-/format/auto/"
                    }
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "lg",
                      "sx": {
                        "textAlign": "center",
                        "marginTop": 16,
                        "fontWeight": 500
                      }
                    },
                    "text": "Vegan Friendly Formula"
                  }
                ]
              },
              {
                "type": "cell",
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "sx": {
                        "width": 80,
                        "marginLeft": "auto",
                        "marginRight": "auto"
                      },
                      "src": "https://ucarecdn.com/8a7a086c-1ef5-43a9-a036-daaf1f15a9f1/-/format/auto/"
                    }
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "lg",
                      "sx": {
                        "textAlign": "center",
                        "marginTop": 16,
                        "fontWeight": 500
                      }
                    },
                    "text": "Secure Online Payment"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "guarantee-image-stats",
      "group": "Guarantee",
      "name": "Image guarantee",
      "description": "Ảnh bên cạnh nội dung cam kết gồm tiêu đề, mô tả, hai điểm nổi bật và nút, dùng để tạo niềm tin khi mua hàng.",
      "tree": {
        "type": "container",
        "props": {
          "sx": {
            "paddingTop": 32,
            "paddingBottom": 32,
            "md": {
              "paddingTop": 64,
              "paddingBottom": 64
            }
          }
        },
        "children": [
          {
            "type": "grid",
            "props": {
              "sx": {
                "rowGap": 32,
                "columnGap": 48,
                "md": {
                  "alignItems": "center"
                }
              },
              "cols": 1,
              "md": {
                "cols": 2
              }
            },
            "children": [
              {
                "type": "cell",
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "sx": {
                        "width": "100%",
                        "borderTopLeftRadius": 32,
                        "borderTopRightRadius": 32,
                        "borderBottomRightRadius": 32,
                        "borderBottomLeftRadius": 32
                      },
                      "src": "https://cdn.shopify.com/s/files/1/0959/8114/2305/files/img140.png"
                    }
                  }
                ]
              },
              {
                "type": "cell",
                "children": [
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "sm",
                      "sx": {
                        "color": "var(--color-primary-600)",
                        "textAlign": "center",
                        "fontWeight": 600,
                        "textTransform": "uppercase",
                        "md": {
                          "textAlign": "left"
                        }
                      }
                    },
                    "text": "Shop with confidence"
                  },
                  {
                    "type": "heading",
                    "props": {
                      "sizeVariant": "4xl",
                      "sx": {
                        "textAlign": "center",
                        "fontWeight": 600,
                        "marginTop": 12,
                        "md": {
                          "textAlign": "left"
                        }
                      },
                      "md": {
                        "sizeVariant": "5xl"
                      }
                    },
                    "text": "Premium care from checkout to your doorstep"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base",
                      "sx": {
                        "color": "var(--color-neutral-500)",
                        "textAlign": "center",
                        "marginTop": 20,
                        "md": {
                          "textAlign": "left"
                        }
                      }
                    },
                    "text": "Every order is protected by responsive support, secure payments, and quality checks before shipping."
                  },
                  {
                    "type": "grid",
                    "props": {
                      "sx": {
                        "marginTop": 32,
                        "rowGap": 20,
                        "columnGap": 20
                      },
                      "cols": 1,
                      "sm": {
                        "cols": 2
                      }
                    },
                    "children": [
                      {
                        "type": "cell",
                        "children": [
                          {
                            "type": "heading",
                            "props": {
                              "sizeVariant": "3xl",
                              "sx": {
                                "textAlign": "center",
                                "fontWeight": 600,
                                "md": {
                                  "textAlign": "left"
                                }
                              }
                            },
                            "text": "24/7"
                          },
                          {
                            "type": "paragraph",
                            "props": {
                              "sx": {
                                "color": "var(--color-neutral-500)",
                                "textAlign": "center",
                                "md": {
                                  "textAlign": "left"
                                }
                              }
                            },
                            "text": "Friendly support team"
                          }
                        ]
                      },
                      {
                        "type": "cell",
                        "children": [
                          {
                            "type": "heading",
                            "props": {
                              "sizeVariant": "3xl",
                              "sx": {
                                "textAlign": "center",
                                "fontWeight": 600,
                                "md": {
                                  "textAlign": "left"
                                }
                              }
                            },
                            "text": "100%"
                          },
                          {
                            "type": "paragraph",
                            "props": {
                              "sx": {
                                "color": "var(--color-neutral-500)",
                                "textAlign": "center",
                                "md": {
                                  "textAlign": "left"
                                }
                              }
                            },
                            "text": "Secure online payment"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "type": "button",
                    "props": {
                      "sx": {
                        "width": "100%",
                        "marginTop": 32,
                        "md": {
                          "width": 180
                        }
                      }
                    },
                    "text": "Explore Now"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "guarantee-cards",
      "group": "Guarantee",
      "name": "Card guarantee",
      "description": "Ba cột: lời dẫn bên trái cùng các thẻ cam kết có biểu tượng, tiêu đề và mô tả, xếp chồng trên mobile.",
      "tree": {
        "type": "container",
        "children": [
          {
            "type": "grid",
            "props": {
              "sx": {
                "rowGap": 24,
                "columnGap": 24
              },
              "cols": 1,
              "md": {
                "cols": 3
              }
            },
            "children": [
              {
                "type": "cell",
                "children": [
                  {
                    "type": "heading",
                    "props": {
                      "sizeVariant": "4xl",
                      "sx": {
                        "textAlign": "center",
                        "fontWeight": 600,
                        "md": {
                          "textAlign": "left"
                        }
                      }
                    },
                    "text": "Built for calm, confident shopping"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sx": {
                        "color": "var(--color-neutral-500)",
                        "textAlign": "center",
                        "marginTop": 16,
                        "md": {
                          "textAlign": "left"
                        }
                      }
                    },
                    "text": "Keep the reassurance visible with a compact guarantee block that adapts from mobile stack to desktop grid."
                  }
                ]
              },
              {
                "type": "cell",
                "props": {
                  "sx": {
                    "backgroundColor": "var(--color-neutral-100)",
                    "paddingTop": 28,
                    "paddingRight": 24,
                    "paddingBottom": 28,
                    "paddingLeft": 24,
                    "borderTopLeftRadius": 28,
                    "borderTopRightRadius": 28,
                    "borderBottomRightRadius": 28,
                    "borderBottomLeftRadius": 28
                  }
                },
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "sx": {
                        "width": 72
                      },
                      "src": "https://ucarecdn.com/3c98ccba-611f-43aa-baee-8b70deaa56c4/-/format/auto/"
                    }
                  },
                  {
                    "type": "heading",
                    "props": {
                      "sizeVariant": "2xl",
                      "sx": {
                        "marginTop": 24,
                        "fontWeight": 600
                      }
                    },
                    "text": "Always-on support"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sx": {
                        "color": "var(--color-neutral-500)",
                        "marginTop": 12
                      }
                    },
                    "text": "Ask questions before or after purchase and get guidance whenever you need it."
                  }
                ]
              },
              {
                "type": "cell",
                "props": {
                  "sx": {
                    "backgroundColor": "var(--color-primary-100)",
                    "paddingTop": 28,
                    "paddingRight": 24,
                    "paddingBottom": 28,
                    "paddingLeft": 24,
                    "borderTopLeftRadius": 28,
                    "borderTopRightRadius": 28,
                    "borderBottomRightRadius": 28,
                    "borderBottomLeftRadius": 28
                  }
                },
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "sx": {
                        "width": 72
                      },
                      "src": "https://ucarecdn.com/8a7a086c-1ef5-43a9-a036-daaf1f15a9f1/-/format/auto/"
                    }
                  },
                  {
                    "type": "heading",
                    "props": {
                      "sizeVariant": "2xl",
                      "sx": {
                        "marginTop": 24,
                        "fontWeight": 600
                      }
                    },
                    "text": "Protected checkout"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sx": {
                        "color": "var(--color-neutral-600)",
                        "marginTop": 12
                      }
                    },
                    "text": "Secure payment flows and trusted order handling keep every transaction simple."
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "brand-story-about",
      "group": "Brand Story",
      "name": "About story",
      "description": "Câu chuyện thương hiệu hai cột gồm ảnh lớn và các mục giá trị với tiêu đề, mô tả, dùng cho trang giới thiệu.",
      "tree": {
        "type": "container",
        "props": {
          "sx": {
            "paddingTop": 40,
            "paddingBottom": 40,
            "paddingLeft": 16,
            "paddingRight": 16,
            "md": {
              "paddingTop": 64,
              "paddingBottom": 64,
              "paddingLeft": 48,
              "paddingRight": 48
            }
          }
        },
        "children": [
          {
            "type": "grid",
            "props": {
              "cols": 1,
              "md": {
                "cols": 2
              },
              "sx": {
                "rowGap": 40,
                "columnGap": 48,
                "alignItems": "start",
                "md": {
                  "columnGap": 80
                }
              }
            },
            "children": [
              {
                "type": "cell",
                "children": [
                  {
                    "type": "box",
                    "props": {
                      "sx": {
                        "backgroundColor": "var(--color-neutral-100)"
                      }
                    },
                    "children": [
                      {
                        "type": "image",
                        "props": {
                          "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/myimage_7.jpg",
                          "alt": "Workspace",
                          "sx": {
                            "width": "100%",
                            "objectFit": "cover"
                          }
                        }
                      }
                    ]
                  },
                  {
                    "type": "box",
                    "props": {
                      "sx": {
                        "backgroundColor": "var(--color-neutral-100)",
                        "marginTop": 16,
                        "paddingTop": 28,
                        "paddingBottom": 28,
                        "paddingLeft": 32,
                        "paddingRight": 32,
                        "md": {
                          "marginTop": 24,
                          "paddingTop": 36,
                          "paddingBottom": 36,
                          "paddingLeft": 48,
                          "paddingRight": 48
                        }
                      }
                    },
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base",
                          "md": {
                            "sizeVariant": "lg"
                          },
                          "sx": {
                            "color": "var(--color-neutral-600)",
                            "fontStyle": "italic",
                            "textAlign": "center"
                          }
                        },
                        "text": "“We’re a fully distributed team of 85 people living and working in 15 countries around the world. And we’re working to build the best products to help our customers.”"
                      }
                    ]
                  },
                  {
                    "type": "image",
                    "props": {
                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/James.svg",
                      "alt": "Signature",
                      "sx": {
                        "width": 140,
                        "marginTop": 24,
                        "marginLeft": "auto",
                        "marginRight": "auto",
                        "md": {
                          "width": 160,
                          "marginTop": 28
                        }
                      }
                    }
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base",
                      "sx": {
                        "fontWeight": 700,
                        "color": "var(--color-neutral-600)",
                        "textAlign": "center",
                        "marginTop": 12
                      }
                    },
                    "text": "James Frank / CEO"
                  }
                ]
              },
              {
                "type": "cell",
                "children": [
                  {
                    "type": "heading",
                    "props": {
                      "as": "h2",
                      "sizeVariant": "3xl",
                      "md": {
                        "sizeVariant": "4xl"
                      },
                      "sx": {
                        "fontWeight": 700,
                        "color": "var(--color-neutral-600)"
                      }
                    },
                    "text": "About us"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base",
                      "sx": {
                        "color": "var(--color-neutral-600)",
                        "marginTop": 20,
                        "md": {
                          "marginTop": 24
                        }
                      }
                    },
                    "text": "We’re a fully distributed team of 85 people living and working in 15 countries around the world. And we’re working to build the best products to help our customers build their brands and grow their businesses on social media. We’ve always aimed to do things a little differently at Buffer. Since the early days, we’ve had a focus on building one of the most unique and fulfilling workplaces by rethinking a lot of traditional practices."
                  },
                  {
                    "type": "heading",
                    "props": {
                      "as": "h3",
                      "sizeVariant": "lg",
                      "md": {
                        "sizeVariant": "xl"
                      },
                      "sx": {
                        "fontWeight": 700,
                        "color": "var(--color-neutral-600)",
                        "marginTop": 32,
                        "md": {
                          "marginTop": 40
                        }
                      }
                    },
                    "text": "Creative"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base",
                      "sx": {
                        "color": "var(--color-neutral-600)",
                        "marginTop": 12,
                        "md": {
                          "marginTop": 16
                        }
                      }
                    },
                    "text": "We care about building a quality product, trusted relationships with our customers, and a sense of community that connects our customers and team with one another."
                  },
                  {
                    "type": "heading",
                    "props": {
                      "as": "h3",
                      "sizeVariant": "lg",
                      "md": {
                        "sizeVariant": "xl"
                      },
                      "sx": {
                        "fontWeight": 700,
                        "color": "var(--color-neutral-600)",
                        "marginTop": 28,
                        "md": {
                          "marginTop": 32
                        }
                      }
                    },
                    "text": "Sustainability"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base",
                      "sx": {
                        "color": "var(--color-neutral-600)",
                        "marginTop": 12,
                        "md": {
                          "marginTop": 16
                        }
                      }
                    },
                    "text": "A commitment to supporting our team and our customers has helped Buffer grow from humble beginnings to now serving more than 140,000 users. Our passion for making meaningful connections flows through everything we do."
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "brand-story-founder",
      "group": "Brand Story",
      "name": "Founder story",
      "description": "Câu chuyện thương hiệu trên nền kem với nhiều ảnh xen kẽ tiêu đề và đoạn văn, dùng để kể về người sáng lập.",
      "tree": {
        "type": "container",
        "props": {
          "sx": {
            "backgroundColor": "#faf5ef",
            "paddingTop": 40,
            "paddingBottom": 40,
            "paddingLeft": 16,
            "paddingRight": 16,
            "md": {
              "paddingTop": 64,
              "paddingBottom": 64,
              "paddingLeft": 48,
              "paddingRight": 48
            }
          }
        },
        "children": [
          {
            "type": "grid",
            "props": {
              "cols": 1,
              "md": {
                "cols": 12
              },
              "sx": {
                "rowGap": 32,
                "columnGap": 32,
                "alignItems": "center",
                "md": {
                  "rowGap": 0,
                  "columnGap": 40
                }
              }
            },
            "children": [
              {
                "type": "cell",
                "props": {
                  "hidden": true,
                  "sm": {
                    "hidden": true
                  },
                  "md": {
                    "colSpan": 3
                  },
                  "sx": {
                    "md": {
                      "paddingTop": 120
                    }
                  }
                },
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/432750572815254551-1b13c10f-dc7c-494a-9dbb-ce3dd680f887.png",
                      "alt": "Product",
                      "sx": {
                        "width": "100%",
                        "objectFit": "cover",
                        "borderTopLeftRadius": 12,
                        "borderTopRightRadius": 12,
                        "borderBottomRightRadius": 12,
                        "borderBottomLeftRadius": 12
                      }
                    }
                  }
                ]
              },
              {
                "type": "cell",
                "props": {
                  "md": {
                    "colSpan": 4
                  }
                },
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/432750572815254551-9a302469-3a91-4a94-bf0b-564f2486a9f9.png",
                      "alt": "Brand founder",
                      "sx": {
                        "width": "100%",
                        "objectFit": "cover",
                        "borderTopLeftRadius": 12,
                        "borderTopRightRadius": 12,
                        "borderBottomRightRadius": 12,
                        "borderBottomLeftRadius": 12
                      }
                    }
                  }
                ]
              },
              {
                "type": "cell",
                "props": {
                  "md": {
                    "colSpan": 5
                  }
                },
                "children": [
                  {
                    "type": "heading",
                    "props": {
                      "as": "h2",
                      "sizeVariant": "3xl",
                      "md": {
                        "sizeVariant": "4xl"
                      },
                      "sx": {
                        "fontWeight": 600,
                        "color": "#1a1a1a"
                      }
                    },
                    "text": "Lorem ipsum dolor sit amet"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base",
                      "sx": {
                        "color": "#4a4a4a",
                        "marginTop": 20,
                        "md": {
                          "marginTop": 24
                        }
                      }
                    },
                    "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base",
                      "sx": {
                        "color": "#4a4a4a",
                        "marginTop": 20,
                        "md": {
                          "marginTop": 24
                        }
                      }
                    },
                    "text": "Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\""
                  },
                  {
                    "type": "image",
                    "props": {
                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/432750572815254551-0fae58d0-dd31-4973-9cea-5cc6bfd8276a.png",
                      "alt": "Signature",
                      "sx": {
                        "width": 140,
                        "marginTop": 28,
                        "md": {
                          "width": 160,
                          "marginTop": 36
                        }
                      }
                    }
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base",
                      "sx": {
                        "color": "#1a1a1a",
                        "marginTop": 12,
                        "fontWeight": 500
                      }
                    },
                    "text": "Lorem ipsum dolor sit amet"
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "about-stats",
      "group": "About",
      "name": "About with stats",
      "description": "Giới thiệu công ty: ảnh, tiêu đề, đoạn mô tả và lưới số liệu đếm tăng dần, dùng để nhấn mạnh con số ấn tượng.",
      "tree": {
        "type": "container",
        "props": {
          "sx": {
            "paddingTop": 40,
            "paddingBottom": 40,
            "paddingLeft": 16,
            "paddingRight": 16,
            "md": {
              "paddingTop": 64,
              "paddingBottom": 64,
              "paddingLeft": 48,
              "paddingRight": 48
            }
          }
        },
        "children": [
          {
            "type": "grid",
            "props": {
              "cols": 1,
              "md": {
                "cols": 2
              },
              "sx": {
                "rowGap": 32,
                "columnGap": 48,
                "alignItems": "center",
                "md": {
                  "columnGap": 64
                }
              }
            },
            "children": [
              {
                "type": "cell",
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/Frame_45283_1.webp",
                      "alt": "About us",
                      "sx": {
                        "width": "100%",
                        "objectFit": "cover",
                        "borderTopLeftRadius": 24,
                        "borderTopRightRadius": 24,
                        "borderBottomRightRadius": 24,
                        "borderBottomLeftRadius": 24
                      }
                    }
                  }
                ]
              },
              {
                "type": "cell",
                "children": [
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "sm",
                      "sx": {
                        "color": "var(--color-primary-600)",
                        "fontWeight": 600,
                        "textTransform": "uppercase"
                      }
                    },
                    "text": "About Us"
                  },
                  {
                    "type": "heading",
                    "props": {
                      "as": "h2",
                      "sizeVariant": "3xl",
                      "md": {
                        "sizeVariant": "4xl"
                      },
                      "sx": {
                        "fontWeight": 700,
                        "marginTop": 12
                      }
                    },
                    "text": "We help to bring your dream home to reality"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base",
                      "sx": {
                        "color": "var(--color-neutral-600)",
                        "marginTop": 16,
                        "md": {
                          "marginTop": 20
                        }
                      }
                    },
                    "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris."
                  },
                  {
                    "type": "grid",
                    "props": {
                      "cols": 1,
                      "sm": {
                        "cols": 3
                      },
                      "sx": {
                        "rowGap": 20,
                        "columnGap": 20,
                        "marginTop": 28,
                        "md": {
                          "marginTop": 36
                        }
                      }
                    },
                    "children": [
                      {
                        "type": "cell",
                        "children": [
                          {
                            "type": "flexbox",
                            "props": {
                              "sx": {
                                "backgroundColor": "var(--color-neutral-100)",
                                "paddingTop": 20,
                                "paddingBottom": 20,
                                "paddingLeft": 16,
                                "paddingRight": 16,
                                "borderTopLeftRadius": 16,
                                "borderTopRightRadius": 16,
                                "borderBottomRightRadius": 16,
                                "borderBottomLeftRadius": 16,
                                "flexDirection": "column",
                                "alignItems": "center"
                              }
                            },
                            "children": [
                              {
                                "type": "flex-item",
                                "props": {
                                  "sx": {
                                    "marginBottom": 8
                                  }
                                },
                                "children": [
                                  {
                                    "type": "image",
                                    "props": {
                                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/photo_6.png",
                                      "sx": {
                                        "width": 48,
                                        "height": 48,
                                        "objectFit": "contain",
                                        "marginLeft": "auto",
                                        "marginRight": "auto"
                                      }
                                    }
                                  }
                                ]
                              },
                              {
                                "type": "flex-item",
                                "children": [
                                  {
                                    "type": "count-up",
                                    "props": {
                                      "to": 10,
                                      "suffix": "+",
                                      "sizeVariant": "3xl",
                                      "sx": {
                                        "fontWeight": 700,
                                        "color": "var(--color-neutral-600)"
                                      }
                                    }
                                  }
                                ]
                              },
                              {
                                "type": "flex-item",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "sm",
                                      "sx": {
                                        "textAlign": "center",
                                        "color": "var(--color-neutral-500)",
                                        "marginTop": 4
                                      }
                                    },
                                    "text": "Years of experience"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "cell",
                        "children": [
                          {
                            "type": "flexbox",
                            "props": {
                              "sx": {
                                "backgroundColor": "var(--color-neutral-100)",
                                "paddingTop": 20,
                                "paddingBottom": 20,
                                "paddingLeft": 16,
                                "paddingRight": 16,
                                "borderTopLeftRadius": 16,
                                "borderTopRightRadius": 16,
                                "borderBottomRightRadius": 16,
                                "borderBottomLeftRadius": 16,
                                "flexDirection": "column",
                                "alignItems": "center"
                              }
                            },
                            "children": [
                              {
                                "type": "flex-item",
                                "props": {
                                  "sx": {
                                    "marginBottom": 8
                                  }
                                },
                                "children": [
                                  {
                                    "type": "image",
                                    "props": {
                                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/photo_7.png",
                                      "sx": {
                                        "width": 48,
                                        "height": 48,
                                        "objectFit": "contain",
                                        "marginLeft": "auto",
                                        "marginRight": "auto"
                                      }
                                    }
                                  }
                                ]
                              },
                              {
                                "type": "flex-item",
                                "children": [
                                  {
                                    "type": "count-up",
                                    "props": {
                                      "to": 235,
                                      "suffix": "+",
                                      "sizeVariant": "3xl",
                                      "sx": {
                                        "fontWeight": 700,
                                        "color": "var(--color-neutral-600)"
                                      }
                                    }
                                  }
                                ]
                              },
                              {
                                "type": "flex-item",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "sm",
                                      "sx": {
                                        "textAlign": "center",
                                        "color": "var(--color-neutral-500)",
                                        "marginTop": 4
                                      }
                                    },
                                    "text": "Happy Clients"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "cell",
                        "children": [
                          {
                            "type": "flexbox",
                            "props": {
                              "sx": {
                                "backgroundColor": "var(--color-neutral-100)",
                                "paddingTop": 20,
                                "paddingBottom": 20,
                                "paddingLeft": 16,
                                "paddingRight": 16,
                                "borderTopLeftRadius": 16,
                                "borderTopRightRadius": 16,
                                "borderBottomRightRadius": 16,
                                "borderBottomLeftRadius": 16,
                                "flexDirection": "column",
                                "alignItems": "center"
                              }
                            },
                            "children": [
                              {
                                "type": "flex-item",
                                "props": {
                                  "sx": {
                                    "marginBottom": 8
                                  }
                                },
                                "children": [
                                  {
                                    "type": "image",
                                    "props": {
                                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/photo_8.png",
                                      "sx": {
                                        "width": 48,
                                        "height": 48,
                                        "objectFit": "contain",
                                        "marginLeft": "auto",
                                        "marginRight": "auto"
                                      }
                                    }
                                  }
                                ]
                              },
                              {
                                "type": "flex-item",
                                "children": [
                                  {
                                    "type": "count-up",
                                    "props": {
                                      "to": 50,
                                      "suffix": "+",
                                      "sizeVariant": "3xl",
                                      "sx": {
                                        "fontWeight": 700,
                                        "color": "var(--color-neutral-600)"
                                      }
                                    }
                                  }
                                ]
                              },
                              {
                                "type": "flex-item",
                                "children": [
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "sm",
                                      "sx": {
                                        "textAlign": "center",
                                        "color": "var(--color-neutral-500)",
                                        "marginTop": 4
                                      }
                                    },
                                    "text": "Project completed"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "social-proof-before-after",
      "group": "Social Proof",
      "name": "Before and after",
      "description": "Ảnh trước và sau cạnh một lời đánh giá nổi bật kèm sao, dùng để chứng minh hiệu quả sản phẩm.",
      "tree": {
        "type": "container",
        "props": {
          "sx": {
            "paddingTop": 32,
            "paddingBottom": 32,
            "paddingLeft": 16,
            "paddingRight": 16,
            "md": {
              "paddingTop": 48,
              "paddingBottom": 48,
              "paddingLeft": 48,
              "paddingRight": 48
            }
          }
        },
        "children": [
          {
            "type": "grid",
            "props": {
              "cols": 1,
              "md": {
                "cols": 2
              },
              "sx": {
                "rowGap": 32,
                "columnGap": 48,
                "alignItems": "center",
                "md": {
                  "columnGap": 64
                }
              }
            },
            "children": [
              {
                "type": "cell",
                "children": [
                  {
                    "type": "grid",
                    "props": {
                      "cols": 2,
                      "sx": {
                        "columnGap": 12
                      }
                    },
                    "children": [
                      {
                        "type": "cell",
                        "children": [
                          {
                            "type": "image",
                            "props": {
                              "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/gempages_432750572815254551-5f08d6c7-f89f-496d-91ac-2aa43df3875b.png?v=1715708404",
                              "alt": "Before",
                              "sx": {
                                "width": "100%",
                                "objectFit": "cover",
                                "borderTopLeftRadius": 12,
                                "borderTopRightRadius": 12,
                                "borderBottomRightRadius": 12,
                                "borderBottomLeftRadius": 12
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "cell",
                        "children": [
                          {
                            "type": "image",
                            "props": {
                              "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/gempages_432750572815254551-880903a5-7b8a-4f03-a99a-7d1677a9cbbf.png?v=1715708428",
                              "alt": "After",
                              "sx": {
                                "width": "100%",
                                "objectFit": "cover",
                                "borderTopLeftRadius": 12,
                                "borderTopRightRadius": 12,
                                "borderBottomRightRadius": 12,
                                "borderBottomLeftRadius": 12
                              }
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "type": "cell",
                "children": [
                  {
                    "type": "heading",
                    "props": {
                      "as": "h3",
                      "sizeVariant": "2xl",
                      "sx": {
                        "fontWeight": 700,
                        "color": "var(--color-neutral-600)"
                      }
                    },
                    "text": "The standard"
                  },
                  {
                    "type": "heading",
                    "props": {
                      "as": "h2",
                      "sizeVariant": "4xl",
                      "md": {
                        "sizeVariant": "5xl"
                      },
                      "sx": {
                        "fontWeight": 700,
                        "color": "var(--color-blue-500)",
                        "marginTop": 4
                      }
                    },
                    "text": "Lorem ipsum"
                  },
                  {
                    "type": "box",
                    "props": {
                      "sx": {
                        "marginTop": 24,
                        "backgroundColor": "var(--color-neutral-100)",
                        "paddingTop": 24,
                        "paddingBottom": 24,
                        "paddingLeft": 24,
                        "paddingRight": 24,
                        "borderTopLeftRadius": 12,
                        "borderTopRightRadius": 12,
                        "borderBottomRightRadius": 12,
                        "borderBottomLeftRadius": 12
                      }
                    },
                    "children": [
                      {
                        "type": "heading",
                        "props": {
                          "as": "h4",
                          "sizeVariant": "base",
                          "sx": {
                            "fontWeight": 700,
                            "color": "var(--color-neutral-600)"
                          }
                        },
                        "text": "Sed ut perspiciatis unde omnis iste natus"
                      },
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base",
                          "sx": {
                            "color": "var(--color-neutral-600)",
                            "marginTop": 12
                          }
                        },
                        "text": "\"At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus."
                      },
                      {
                        "type": "flexbox",
                        "props": {
                          "sx": {
                            "flexDirection": "row",
                            "alignItems": "center",
                            "columnGap": 8,
                            "marginTop": 20
                          }
                        },
                        "children": [
                          {
                            "type": "flex-item",
                            "children": [
                              {
                                "type": "rating",
                                "props": {
                                  "rating": 5,
                                  "count": 5,
                                  "size": 18,
                                  "color": "var(--color-orange-500)"
                                }
                              }
                            ]
                          },
                          {
                            "type": "flex-item",
                            "children": [
                              {
                                "type": "paragraph",
                                "props": {
                                  "sizeVariant": "sm",
                                  "sx": {
                                    "fontWeight": 700,
                                    "color": "var(--color-neutral-600)"
                                  }
                                },
                                "text": "-Alisa G."
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "social-proof-cards",
      "group": "Social Proof",
      "name": "Testimonial cards",
      "description": "Tiêu đề căn giữa và lưới thẻ đánh giá khách hàng gồm sao, nội dung và người đánh giá, dùng làm bằng chứng xã hội.",
      "tree": {
        "type": "container",
        "props": {
          "sx": {
            "backgroundColor": "var(--color-neutral-100)",
            "paddingTop": 40,
            "paddingBottom": 40,
            "paddingLeft": 16,
            "paddingRight": 16,
            "md": {
              "paddingTop": 64,
              "paddingBottom": 64,
              "paddingLeft": 48,
              "paddingRight": 48
            }
          }
        },
        "children": [
          {
            "type": "paragraph",
            "props": {
              "sizeVariant": "sm",
              "sx": {
                "color": "var(--color-primary-600)",
                "fontWeight": 600,
                "textTransform": "uppercase",
                "textAlign": "center"
              }
            },
            "text": "Testimonials"
          },
          {
            "type": "heading",
            "props": {
              "as": "h2",
              "sizeVariant": "3xl",
              "md": {
                "sizeVariant": "4xl"
              },
              "sx": {
                "fontWeight": 700,
                "color": "var(--color-neutral-600)",
                "textAlign": "center",
                "marginTop": 12
              }
            },
            "text": "Loved by thousands of customers"
          },
          {
            "type": "paragraph",
            "props": {
              "sizeVariant": "base",
              "sx": {
                "color": "var(--color-neutral-600)",
                "textAlign": "center",
                "marginTop": 12,
                "marginLeft": "auto",
                "marginRight": "auto",
                "width": "100%",
                "md": {
                  "width": 640
                }
              }
            },
            "text": "Don’t just take our word for it. Here’s what real customers have to say about their experience."
          },
          {
            "type": "grid",
            "props": {
              "cols": 1,
              "md": {
                "cols": 3
              },
              "sx": {
                "rowGap": 24,
                "columnGap": 24,
                "alignItems": "stretch",
                "marginTop": 32,
                "md": {
                  "marginTop": 48
                }
              }
            },
            "children": [
              {
                "type": "cell",
                "children": [
                  {
                    "type": "box",
                    "props": {
                      "sx": {
                        "height": "100%",
                        "backgroundColor": "#ffffff",
                        "borderStyle": "solid",
                        "borderColor": "var(--color-neutral-200)",
                        "borderTopWidth": 1,
                        "borderRightWidth": 1,
                        "borderBottomWidth": 1,
                        "borderLeftWidth": 1,
                        "borderTopLeftRadius": 16,
                        "borderTopRightRadius": 16,
                        "borderBottomRightRadius": 16,
                        "borderBottomLeftRadius": 16,
                        "paddingTop": 28,
                        "paddingBottom": 28,
                        "paddingLeft": 24,
                        "paddingRight": 24
                      }
                    },
                    "children": [
                      {
                        "type": "rating",
                        "props": {
                          "rating": 5,
                          "count": 5,
                          "size": 20,
                          "color": "var(--color-orange-500)"
                        }
                      },
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base",
                          "sx": {
                            "color": "var(--color-neutral-600)",
                            "marginTop": 16
                          }
                        },
                        "text": "\"This product completely changed the way our team works. Setup was effortless and the support team went above and beyond to help us succeed.\""
                      },
                      {
                        "type": "box",
                        "props": {
                          "sx": {
                            "marginTop": 24,
                            "paddingTop": 20,
                            "borderStyle": "solid",
                            "borderColor": "var(--color-neutral-200)",
                            "borderTopWidth": 1
                          }
                        },
                        "children": [
                          {
                            "type": "grid",
                            "props": {
                              "cols": 1,
                              "sx": {
                                "columnGap": 12,
                                "rowGap": 0,
                                "alignItems": "center"
                              }
                            },
                            "children": [
                              {
                                "type": "cell",
                                "children": [
                                  {
                                    "type": "image",
                                    "props": {
                                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/image_9_05296326-8090-405d-8f31-e83c4a2d2739.webp",
                                      "alt": "Rita Carroll",
                                      "sx": {
                                        "width": 48,
                                        "height": 48,
                                        "objectFit": "cover",
                                        "borderTopLeftRadius": 999,
                                        "borderTopRightRadius": 999,
                                        "borderBottomRightRadius": 999,
                                        "borderBottomLeftRadius": 999
                                      }
                                    }
                                  },
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "base",
                                      "sx": {
                                        "fontWeight": 700,
                                        "color": "var(--color-neutral-600)",
                                        "marginTop": 8
                                      }
                                    },
                                    "text": "Rita Carroll"
                                  },
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "sm",
                                      "sx": {
                                        "color": "var(--color-neutral-500)",
                                        "marginTop": 2
                                      }
                                    },
                                    "text": "Marketing Director"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "type": "cell",
                "children": [
                  {
                    "type": "box",
                    "props": {
                      "sx": {
                        "height": "100%",
                        "backgroundColor": "#ffffff",
                        "borderStyle": "solid",
                        "borderColor": "var(--color-neutral-200)",
                        "borderTopWidth": 1,
                        "borderRightWidth": 1,
                        "borderBottomWidth": 1,
                        "borderLeftWidth": 1,
                        "borderTopLeftRadius": 16,
                        "borderTopRightRadius": 16,
                        "borderBottomRightRadius": 16,
                        "borderBottomLeftRadius": 16,
                        "paddingTop": 28,
                        "paddingBottom": 28,
                        "paddingLeft": 24,
                        "paddingRight": 24
                      }
                    },
                    "children": [
                      {
                        "type": "rating",
                        "props": {
                          "rating": 5,
                          "count": 5,
                          "size": 20,
                          "color": "var(--color-orange-500)"
                        }
                      },
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base",
                          "sx": {
                            "color": "var(--color-neutral-600)",
                            "marginTop": 16
                          }
                        },
                        "text": "\"We saw results within the first week. The quality is outstanding and it has become an essential part of our daily workflow.\""
                      },
                      {
                        "type": "box",
                        "props": {
                          "sx": {
                            "marginTop": 24,
                            "paddingTop": 20,
                            "borderStyle": "solid",
                            "borderColor": "var(--color-neutral-200)",
                            "borderTopWidth": 1
                          }
                        },
                        "children": [
                          {
                            "type": "grid",
                            "props": {
                              "cols": 1,
                              "sx": {
                                "columnGap": 12,
                                "rowGap": 0,
                                "alignItems": "center"
                              }
                            },
                            "children": [
                              {
                                "type": "cell",
                                "children": [
                                  {
                                    "type": "image",
                                    "props": {
                                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/image_10_80120d07-93d9-4ec1-9f95-02f565eb09ae.webp",
                                      "alt": "Olivia Rowse",
                                      "sx": {
                                        "width": 48,
                                        "height": 48,
                                        "objectFit": "cover",
                                        "borderTopLeftRadius": 999,
                                        "borderTopRightRadius": 999,
                                        "borderBottomRightRadius": 999,
                                        "borderBottomLeftRadius": 999
                                      }
                                    }
                                  },
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "base",
                                      "sx": {
                                        "fontWeight": 700,
                                        "color": "var(--color-neutral-600)",
                                        "marginTop": 8
                                      }
                                    },
                                    "text": "Olivia Rowse"
                                  },
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "sm",
                                      "sx": {
                                        "color": "var(--color-neutral-500)",
                                        "marginTop": 2
                                      }
                                    },
                                    "text": "Product Manager"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              {
                "type": "cell",
                "children": [
                  {
                    "type": "box",
                    "props": {
                      "sx": {
                        "height": "100%",
                        "backgroundColor": "#ffffff",
                        "borderStyle": "solid",
                        "borderColor": "var(--color-neutral-200)",
                        "borderTopWidth": 1,
                        "borderRightWidth": 1,
                        "borderBottomWidth": 1,
                        "borderLeftWidth": 1,
                        "borderTopLeftRadius": 16,
                        "borderTopRightRadius": 16,
                        "borderBottomRightRadius": 16,
                        "borderBottomLeftRadius": 16,
                        "paddingTop": 28,
                        "paddingBottom": 28,
                        "paddingLeft": 24,
                        "paddingRight": 24
                      }
                    },
                    "children": [
                      {
                        "type": "rating",
                        "props": {
                          "rating": 4.5,
                          "count": 5,
                          "size": 20,
                          "color": "var(--color-orange-500)"
                        }
                      },
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base",
                          "sx": {
                            "color": "var(--color-neutral-600)",
                            "marginTop": 16
                          }
                        },
                        "text": "\"Reliable, easy to use, and worth every penny. I recommend it to everyone looking to grow their business online.\""
                      },
                      {
                        "type": "box",
                        "props": {
                          "sx": {
                            "marginTop": 24,
                            "paddingTop": 20,
                            "borderStyle": "solid",
                            "borderColor": "var(--color-neutral-200)",
                            "borderTopWidth": 1
                          }
                        },
                        "children": [
                          {
                            "type": "grid",
                            "props": {
                              "cols": 1,
                              "sx": {
                                "columnGap": 12,
                                "rowGap": 0,
                                "alignItems": "center"
                              }
                            },
                            "children": [
                              {
                                "type": "cell",
                                "children": [
                                  {
                                    "type": "image",
                                    "props": {
                                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/image_11_00d15153-b18c-43c7-aeb4-21d43c1b8612.webp",
                                      "alt": "Timothy Joseph",
                                      "sx": {
                                        "width": 48,
                                        "height": 48,
                                        "objectFit": "cover",
                                        "borderTopLeftRadius": 999,
                                        "borderTopRightRadius": 999,
                                        "borderBottomRightRadius": 999,
                                        "borderBottomLeftRadius": 999
                                      }
                                    }
                                  },
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "base",
                                      "sx": {
                                        "fontWeight": 700,
                                        "color": "var(--color-neutral-600)",
                                        "marginTop": 8
                                      }
                                    },
                                    "text": "Timothy Joseph"
                                  },
                                  {
                                    "type": "paragraph",
                                    "props": {
                                      "sizeVariant": "sm",
                                      "sx": {
                                        "color": "var(--color-neutral-500)",
                                        "marginTop": 2
                                      }
                                    },
                                    "text": "Small Business Owner"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "newsletter-inline",
      "group": "Newsletter",
      "name": "Newsletter inline",
      "description": "Dải đăng ký nhận tin nền màu nhạt bo góc: tiêu đề và mô tả một bên, ô email và nút gửi cùng một hàng bên kia.",
      "tree": {
        "type": "container",
        "props": {
          "sx": {
            "paddingTop": 32,
            "paddingBottom": 32,
            "paddingLeft": 16,
            "paddingRight": 16,
            "md": {
              "paddingTop": 56,
              "paddingBottom": 56,
              "paddingLeft": 48,
              "paddingRight": 48
            }
          }
        },
        "children": [
          {
            "type": "box",
            "props": {
              "sx": {
                "backgroundColor": "var(--color-primary-100)",
                "borderTopLeftRadius": 24,
                "borderTopRightRadius": 24,
                "borderBottomRightRadius": 24,
                "borderBottomLeftRadius": 24,
                "paddingTop": 32,
                "paddingBottom": 32,
                "paddingLeft": 24,
                "paddingRight": 24,
                "md": {
                  "paddingTop": 48,
                  "paddingBottom": 48,
                  "paddingLeft": 56,
                  "paddingRight": 56
                }
              }
            },
            "children": [
              {
                "type": "grid",
                "props": {
                  "cols": 1,
                  "md": {
                    "cols": 12
                  },
                  "sx": {
                    "rowGap": 24,
                    "columnGap": 48,
                    "alignItems": "center"
                  }
                },
                "children": [
                  {
                    "type": "cell",
                    "props": {
                      "md": {
                        "colSpan": 6
                      }
                    },
                    "children": [
                      {
                        "type": "heading",
                        "props": {
                          "as": "h2",
                          "sizeVariant": "2xl",
                          "md": {
                            "sizeVariant": "3xl"
                          },
                          "sx": {
                            "fontWeight": 700,
                            "color": "var(--color-neutral-600)"
                          }
                        },
                        "text": "Subscribe to our newsletter"
                      },
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base",
                          "sx": {
                            "color": "var(--color-neutral-500)",
                            "marginTop": 8
                          }
                        },
                        "text": "New arrivals, restocks and members-only deals, straight to your inbox."
                      }
                    ]
                  },
                  {
                    "type": "cell",
                    "props": {
                      "md": {
                        "colSpan": 6
                      }
                    },
                    "children": [
                      {
                        "type": "form",
                        "children": [
                          {
                            "type": "flexbox",
                            "props": {
                              "sx": {
                                "flexDirection": "row",
                                "alignItems": "center",
                                "columnGap": 8
                              }
                            },
                            "children": [
                              {
                                "type": "flex-item",
                                "props": {
                                  "sx": {
                                    "flexGrow": 1
                                  }
                                },
                                "children": [
                                  {
                                    "type": "input",
                                    "props": {
                                      "name": "email",
                                      "type": "email",
                                      "placeholder": "Enter your email",
                                      "required": true,
                                      "size": "lg"
                                    }
                                  }
                                ]
                              },
                              {
                                "type": "flex-item",
                                "props": {
                                  "sx": {
                                    "flexShrink": 0
                                  }
                                },
                                "children": [
                                  {
                                    "type": "button",
                                    "props": {
                                      "type": "submit",
                                      "size": "lg"
                                    },
                                    "text": "Subscribe"
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "type": "paragraph",
                            "props": {
                              "sizeVariant": "xs",
                              "sx": {
                                "color": "var(--color-neutral-500)",
                                "textAlign": "left",
                                "marginTop": 12
                              }
                            },
                            "text": "No spam. Unsubscribe anytime."
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "newsletter-stacked",
      "group": "Newsletter",
      "name": "Newsletter stacked",
      "description": "Section đăng ký nhận tin căn giữa: biểu tượng thư, tiêu đề lớn, mô tả, ô email và nút gửi rộng hết khung xếp dọc.",
      "tree": {
        "type": "container",
        "props": {
          "sx": {
            "paddingTop": 48,
            "paddingBottom": 48,
            "paddingLeft": 16,
            "paddingRight": 16,
            "md": {
              "paddingTop": 80,
              "paddingBottom": 80,
              "paddingLeft": 48,
              "paddingRight": 48
            }
          }
        },
        "children": [
          {
            "type": "box",
            "props": {
              "sx": {
                "width": "fit-content",
                "marginLeft": "auto",
                "marginRight": "auto",
                "backgroundColor": "var(--color-primary-100)",
                "borderTopLeftRadius": 9999,
                "borderTopRightRadius": 9999,
                "borderBottomRightRadius": 9999,
                "borderBottomLeftRadius": 9999,
                "paddingTop": 14,
                "paddingBottom": 14,
                "paddingLeft": 14,
                "paddingRight": 14
              }
            },
            "children": [
              {
                "type": "icon",
                "props": {
                  "source": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.75\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"5\" width=\"18\" height=\"14\" rx=\"2.5\"/><path d=\"m3.5 7 8.5 6 8.5-6\"/></svg>",
                  "size": 28,
                  "sx": {
                    "color": "var(--color-primary-600)"
                  }
                }
              }
            ]
          },
          {
            "type": "heading",
            "props": {
              "as": "h2",
              "sizeVariant": "3xl",
              "md": {
                "sizeVariant": "4xl"
              },
              "sx": {
                "fontWeight": 700,
                "color": "var(--color-neutral-600)",
                "textAlign": "center",
                "marginTop": 20
              }
            },
            "text": "Stay in the loop"
          },
          {
            "type": "paragraph",
            "props": {
              "sizeVariant": "base",
              "md": {
                "sizeVariant": "lg"
              },
              "sx": {
                "color": "var(--color-neutral-500)",
                "textAlign": "center",
                "width": "100%",
                "marginTop": 12,
                "marginLeft": "auto",
                "marginRight": "auto",
                "md": {
                  "width": 560
                }
              }
            },
            "text": "Be the first to know about new collections, restocks and exclusive offers."
          },
          {
            "type": "form",
            "props": {
              "sx": {
                "width": "100%",
                "marginTop": 32,
                "marginLeft": "auto",
                "marginRight": "auto",
                "md": {
                  "width": 440
                }
              }
            },
            "children": [
              {
                "type": "input",
                "props": {
                  "name": "email",
                  "type": "email",
                  "placeholder": "Enter your email",
                  "required": true,
                  "size": "lg"
                }
              },
              {
                "type": "button",
                "props": {
                  "type": "submit",
                  "size": "lg",
                  "sx": {
                    "width": "100%",
                    "marginTop": 12
                  }
                },
                "text": "Subscribe"
              },
              {
                "type": "paragraph",
                "props": {
                  "sizeVariant": "xs",
                  "sx": {
                    "color": "var(--color-neutral-500)",
                    "textAlign": "center",
                    "marginTop": 12
                  }
                },
                "text": "We respect your inbox. Unsubscribe anytime."
              }
            ]
          }
        ]
      }
    },
    {
      "id": "newsletter-perks",
      "group": "Newsletter",
      "name": "Newsletter perks",
      "description": "Section đăng ký nhận tin hai cột trên nền xám nhạt: tiêu đề và danh sách quyền lợi có dấu tích bên trái, thẻ trắng chứa ưu đãi, ô email và nút gửi bên phải.",
      "tree": {
        "type": "box",
        "props": {
          "sx": {
            "backgroundColor": "var(--color-neutral-100)"
          }
        },
        "children": [
          {
            "type": "container",
            "props": {
              "sx": {
                "paddingTop": 48,
                "paddingBottom": 48,
                "paddingLeft": 16,
                "paddingRight": 16,
                "md": {
                  "paddingTop": 80,
                  "paddingBottom": 80,
                  "paddingLeft": 48,
                  "paddingRight": 48
                }
              }
            },
            "children": [
              {
                "type": "grid",
                "props": {
                  "cols": 1,
                  "md": {
                    "cols": 12
                  },
                  "sx": {
                    "rowGap": 40,
                    "columnGap": 48,
                    "alignItems": "center",
                    "md": {
                      "columnGap": 72
                    }
                  }
                },
                "children": [
                  {
                    "type": "cell",
                    "props": {
                      "md": {
                        "colSpan": 6
                      }
                    },
                    "children": [
                      {
                        "type": "box",
                        "props": {
                          "sx": {
                            "width": "fit-content",
                            "backgroundColor": "var(--color-primary-100)",
                            "borderTopLeftRadius": 9999,
                            "borderTopRightRadius": 9999,
                            "borderBottomRightRadius": 9999,
                            "borderBottomLeftRadius": 9999,
                            "paddingTop": 4,
                            "paddingBottom": 4,
                            "paddingLeft": 12,
                            "paddingRight": 12
                          }
                        },
                        "children": [
                          {
                            "type": "paragraph",
                            "props": {
                              "sizeVariant": "xs",
                              "sx": {
                                "fontWeight": 600,
                                "textTransform": "uppercase",
                                "color": "var(--color-primary-600)"
                              }
                            },
                            "text": "Members club"
                          }
                        ]
                      },
                      {
                        "type": "heading",
                        "props": {
                          "as": "h2",
                          "sizeVariant": "3xl",
                          "md": {
                            "sizeVariant": "4xl"
                          },
                          "sx": {
                            "fontWeight": 700,
                            "color": "var(--color-neutral-600)",
                            "marginTop": 16
                          }
                        },
                        "text": "Join the inner circle"
                      },
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base",
                          "sx": {
                            "color": "var(--color-neutral-500)",
                            "marginTop": 12
                          }
                        },
                        "text": "Sign up once and hear about the good stuff first. No noise, only emails worth opening."
                      },
                      {
                        "type": "unordered-list",
                        "props": {
                          "sx": {
                            "rowGap": 16,
                            "marginTop": 28
                          }
                        },
                        "children": [
                          {
                            "type": "list-item",
                            "children": [
                              {
                                "type": "flexbox",
                                "props": {
                                  "sx": {
                                    "flexDirection": "row",
                                    "alignItems": "center",
                                    "columnGap": 12
                                  }
                                },
                                "children": [
                                  {
                                    "type": "flex-item",
                                    "props": {
                                      "sx": {
                                        "flexShrink": 0
                                      }
                                    },
                                    "children": [
                                      {
                                        "type": "icon",
                                        "props": {
                                          "source": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M12 1a11 11 0 1 0 0 22a11 11 0 1 0 0-22zM7.85 11.65l2.62 2.62 5.65-6.09 1.76 1.64-7.35 7.91-4.38-4.38z\"/></svg>",
                                          "size": 22,
                                          "sx": {
                                            "color": "var(--color-primary-600)"
                                          }
                                        }
                                      }
                                    ]
                                  },
                                  {
                                    "type": "flex-item",
                                    "children": [
                                      {
                                        "type": "paragraph",
                                        "props": {
                                          "sizeVariant": "base",
                                          "sx": {
                                            "color": "var(--color-neutral-600)"
                                          }
                                        },
                                        "text": "Early access to new drops"
                                      }
                                    ]
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "type": "list-item",
                            "children": [
                              {
                                "type": "flexbox",
                                "props": {
                                  "sx": {
                                    "flexDirection": "row",
                                    "alignItems": "center",
                                    "columnGap": 12
                                  }
                                },
                                "children": [
                                  {
                                    "type": "flex-item",
                                    "props": {
                                      "sx": {
                                        "flexShrink": 0
                                      }
                                    },
                                    "children": [
                                      {
                                        "type": "icon",
                                        "props": {
                                          "source": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M12 1a11 11 0 1 0 0 22a11 11 0 1 0 0-22zM7.85 11.65l2.62 2.62 5.65-6.09 1.76 1.64-7.35 7.91-4.38-4.38z\"/></svg>",
                                          "size": 22,
                                          "sx": {
                                            "color": "var(--color-primary-600)"
                                          }
                                        }
                                      }
                                    ]
                                  },
                                  {
                                    "type": "flex-item",
                                    "children": [
                                      {
                                        "type": "paragraph",
                                        "props": {
                                          "sizeVariant": "base",
                                          "sx": {
                                            "color": "var(--color-neutral-600)"
                                          }
                                        },
                                        "text": "Members-only discounts"
                                      }
                                    ]
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "type": "list-item",
                            "children": [
                              {
                                "type": "flexbox",
                                "props": {
                                  "sx": {
                                    "flexDirection": "row",
                                    "alignItems": "center",
                                    "columnGap": 12
                                  }
                                },
                                "children": [
                                  {
                                    "type": "flex-item",
                                    "props": {
                                      "sx": {
                                        "flexShrink": 0
                                      }
                                    },
                                    "children": [
                                      {
                                        "type": "icon",
                                        "props": {
                                          "source": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path fill-rule=\"evenodd\" d=\"M12 1a11 11 0 1 0 0 22a11 11 0 1 0 0-22zM7.85 11.65l2.62 2.62 5.65-6.09 1.76 1.64-7.35 7.91-4.38-4.38z\"/></svg>",
                                          "size": 22,
                                          "sx": {
                                            "color": "var(--color-primary-600)"
                                          }
                                        }
                                      }
                                    ]
                                  },
                                  {
                                    "type": "flex-item",
                                    "children": [
                                      {
                                        "type": "paragraph",
                                        "props": {
                                          "sizeVariant": "base",
                                          "sx": {
                                            "color": "var(--color-neutral-600)"
                                          }
                                        },
                                        "text": "Restock alerts for your favourites"
                                      }
                                    ]
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "type": "cell",
                    "props": {
                      "md": {
                        "colSpan": 6
                      }
                    },
                    "children": [
                      {
                        "type": "box",
                        "props": {
                          "sx": {
                            "backgroundColor": "var(--color-surface-default)",
                            "borderStyle": "solid",
                            "borderTopWidth": 1,
                            "borderRightWidth": 1,
                            "borderBottomWidth": 1,
                            "borderLeftWidth": 1,
                            "borderColor": "var(--color-neutral-200)",
                            "borderTopLeftRadius": 20,
                            "borderTopRightRadius": 20,
                            "borderBottomRightRadius": 20,
                            "borderBottomLeftRadius": 20,
                            "paddingTop": 28,
                            "paddingBottom": 28,
                            "paddingLeft": 24,
                            "paddingRight": 24,
                            "md": {
                              "paddingTop": 40,
                              "paddingBottom": 40,
                              "paddingLeft": 40,
                              "paddingRight": 40
                            }
                          }
                        },
                        "children": [
                          {
                            "type": "heading",
                            "props": {
                              "as": "h3",
                              "sizeVariant": "xl",
                              "md": {
                                "sizeVariant": "2xl"
                              },
                              "sx": {
                                "fontWeight": 700,
                                "color": "var(--color-neutral-600)"
                              }
                            },
                            "text": "Get 10% off your first order"
                          },
                          {
                            "type": "paragraph",
                            "props": {
                              "sizeVariant": "sm",
                              "sx": {
                                "color": "var(--color-neutral-500)",
                                "marginTop": 8
                              }
                            },
                            "text": "Enter your email and we will send your code right away."
                          },
                          {
                            "type": "form",
                            "props": {
                              "sx": {
                                "marginTop": 24
                              }
                            },
                            "children": [
                              {
                                "type": "input",
                                "props": {
                                  "name": "email",
                                  "type": "email",
                                  "placeholder": "you@example.com",
                                  "required": true,
                                  "size": "lg"
                                }
                              },
                              {
                                "type": "button",
                                "props": {
                                  "type": "submit",
                                  "size": "lg",
                                  "sx": {
                                    "width": "100%",
                                    "marginTop": 12
                                  }
                                },
                                "text": "Send my code"
                              },
                              {
                                "type": "paragraph",
                                "props": {
                                  "sizeVariant": "xs",
                                  "sx": {
                                    "color": "var(--color-neutral-500)",
                                    "textAlign": "center",
                                    "marginTop": 12
                                  }
                                },
                                "text": "By subscribing you agree to receive marketing emails."
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "newsletter-image",
      "group": "Newsletter",
      "name": "Newsletter with image",
      "description": "Section đăng ký nhận tin hai cột: ảnh lớn bo góc một bên, nhãn nhỏ, tiêu đề, mô tả, ô email và nút gửi cùng hàng bên kia.",
      "tree": {
        "type": "container",
        "props": {
          "sx": {
            "paddingTop": 48,
            "paddingBottom": 48,
            "paddingLeft": 16,
            "paddingRight": 16,
            "md": {
              "paddingTop": 80,
              "paddingBottom": 80,
              "paddingLeft": 48,
              "paddingRight": 48
            }
          }
        },
        "children": [
          {
            "type": "grid",
            "props": {
              "cols": 1,
              "md": {
                "cols": 2
              },
              "sx": {
                "rowGap": 32,
                "columnGap": 48,
                "alignItems": "center",
                "md": {
                  "columnGap": 72
                }
              }
            },
            "children": [
              {
                "type": "cell",
                "children": [
                  {
                    "type": "image",
                    "props": {
                      "src": "https://cdn.shopify.com/s/files/1/2005/9307/files/myimage_7.jpg",
                      "alt": "Laptop, phone and a potted plant on a white desk",
                      "loading": "lazy",
                      "sx": {
                        "width": "100%",
                        "aspectRatio": "4 / 3",
                        "objectFit": "cover",
                        "borderTopLeftRadius": 24,
                        "borderTopRightRadius": 24,
                        "borderBottomRightRadius": 24,
                        "borderBottomLeftRadius": 24
                      }
                    }
                  }
                ]
              },
              {
                "type": "cell",
                "children": [
                  {
                    "type": "box",
                    "props": {
                      "sx": {
                        "width": "fit-content",
                        "backgroundColor": "var(--color-primary-100)",
                        "borderTopLeftRadius": 9999,
                        "borderTopRightRadius": 9999,
                        "borderBottomRightRadius": 9999,
                        "borderBottomLeftRadius": 9999,
                        "paddingTop": 4,
                        "paddingBottom": 4,
                        "paddingLeft": 12,
                        "paddingRight": 12
                      }
                    },
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "xs",
                          "sx": {
                            "fontWeight": 600,
                            "textTransform": "uppercase",
                            "color": "var(--color-primary-600)"
                          }
                        },
                        "text": "The weekly edit"
                      }
                    ]
                  },
                  {
                    "type": "heading",
                    "props": {
                      "as": "h2",
                      "sizeVariant": "3xl",
                      "md": {
                        "sizeVariant": "4xl"
                      },
                      "sx": {
                        "fontWeight": 700,
                        "color": "var(--color-neutral-600)",
                        "marginTop": 16
                      }
                    },
                    "text": "Good things, delivered weekly"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "base",
                      "md": {
                        "sizeVariant": "lg"
                      },
                      "sx": {
                        "color": "var(--color-neutral-500)",
                        "marginTop": 12
                      }
                    },
                    "text": "Styling notes, new arrivals and offers you will not find anywhere else."
                  },
                  {
                    "type": "form",
                    "props": {
                      "sx": {
                        "marginTop": 28
                      }
                    },
                    "children": [
                      {
                        "type": "flexbox",
                        "props": {
                          "sx": {
                            "flexDirection": "row",
                            "alignItems": "center",
                            "columnGap": 8
                          }
                        },
                        "children": [
                          {
                            "type": "flex-item",
                            "props": {
                              "sx": {
                                "flexGrow": 1
                              }
                            },
                            "children": [
                              {
                                "type": "input",
                                "props": {
                                  "name": "email",
                                  "type": "email",
                                  "placeholder": "Enter your email",
                                  "required": true,
                                  "size": "lg"
                                }
                              }
                            ]
                          },
                          {
                            "type": "flex-item",
                            "props": {
                              "sx": {
                                "flexShrink": 0
                              }
                            },
                            "children": [
                              {
                                "type": "button",
                                "props": {
                                  "type": "submit",
                                  "size": "lg"
                                },
                                "text": "Sign me up"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "xs",
                          "sx": {
                            "color": "var(--color-neutral-500)",
                            "textAlign": "left",
                            "marginTop": 12
                          }
                        },
                        "text": "One email a week. Unsubscribe anytime."
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "newsletter-bold",
      "group": "Newsletter",
      "name": "Newsletter bold",
      "description": "Dải đăng ký nhận tin tràn màu chủ đạo: tiêu đề ưu đãi rất lớn chữ sáng một bên, mô tả, ô email và nút gửi nền trắng bên kia.",
      "tree": {
        "type": "box",
        "props": {
          "sx": {
            "backgroundColor": "var(--color-primary-600)"
          }
        },
        "children": [
          {
            "type": "container",
            "props": {
              "sx": {
                "paddingTop": 56,
                "paddingBottom": 56,
                "paddingLeft": 16,
                "paddingRight": 16,
                "md": {
                  "paddingTop": 88,
                  "paddingBottom": 88,
                  "paddingLeft": 48,
                  "paddingRight": 48
                }
              }
            },
            "children": [
              {
                "type": "grid",
                "props": {
                  "cols": 1,
                  "md": {
                    "cols": 12
                  },
                  "sx": {
                    "rowGap": 28,
                    "columnGap": 48,
                    "alignItems": "end",
                    "md": {
                      "columnGap": 80
                    }
                  }
                },
                "children": [
                  {
                    "type": "cell",
                    "props": {
                      "md": {
                        "colSpan": 7
                      }
                    },
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "sm",
                          "sx": {
                            "fontWeight": 700,
                            "textTransform": "uppercase",
                            "color": "var(--color-primary-200)"
                          }
                        },
                        "text": "Members only"
                      },
                      {
                        "type": "heading",
                        "props": {
                          "as": "h2",
                          "sizeVariant": "4xl",
                          "md": {
                            "sizeVariant": "5xl"
                          },
                          "sx": {
                            "fontWeight": 800,
                            "color": "var(--color-primary-contrast)",
                            "marginTop": 12
                          }
                        },
                        "text": "Sign up and save 15% on your first order"
                      }
                    ]
                  },
                  {
                    "type": "cell",
                    "props": {
                      "md": {
                        "colSpan": 5
                      }
                    },
                    "children": [
                      {
                        "type": "paragraph",
                        "props": {
                          "sizeVariant": "base",
                          "sx": {
                            "color": "var(--color-primary-100)"
                          }
                        },
                        "text": "Plus early access to sales and new drops. Your code arrives in seconds."
                      },
                      {
                        "type": "form",
                        "props": {
                          "sx": {
                            "marginTop": 20
                          }
                        },
                        "children": [
                          {
                            "type": "input",
                            "props": {
                              "name": "email",
                              "type": "email",
                              "placeholder": "Enter your email",
                              "required": true,
                              "size": "lg"
                            }
                          },
                          {
                            "type": "button",
                            "props": {
                              "type": "submit",
                              "color": "primary",
                              "variant": "outlined",
                              "size": "lg",
                              "sx": {
                                "width": "100%",
                                "marginTop": 12
                              }
                            },
                            "text": "Get my 15% off"
                          },
                          {
                            "type": "paragraph",
                            "props": {
                              "sizeVariant": "xs",
                              "sx": {
                                "color": "var(--color-primary-200)",
                                "textAlign": "left",
                                "marginTop": 12
                              }
                            },
                            "text": "No spam. Unsubscribe anytime."
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    },
    {
      "id": "newsletter-coupon",
      "group": "Newsletter",
      "name": "Newsletter coupon",
      "description": "Thẻ phiếu giảm giá viền nét đứt căn giữa: con số ưu đãi rất lớn, đường cắt nét đứt, ô email và nút gửi.",
      "tree": {
        "type": "container",
        "props": {
          "sx": {
            "paddingTop": 48,
            "paddingBottom": 48,
            "paddingLeft": 16,
            "paddingRight": 16,
            "md": {
              "paddingTop": 80,
              "paddingBottom": 80,
              "paddingLeft": 48,
              "paddingRight": 48
            }
          }
        },
        "children": [
          {
            "type": "box",
            "props": {
              "sx": {
                "width": "100%",
                "marginLeft": "auto",
                "marginRight": "auto",
                "backgroundColor": "var(--color-surface-default)",
                "borderStyle": "dashed",
                "borderTopWidth": 2,
                "borderRightWidth": 2,
                "borderBottomWidth": 2,
                "borderLeftWidth": 2,
                "borderColor": "var(--color-primary-300)",
                "borderTopLeftRadius": 24,
                "borderTopRightRadius": 24,
                "borderBottomRightRadius": 24,
                "borderBottomLeftRadius": 24,
                "paddingTop": 32,
                "paddingBottom": 32,
                "paddingLeft": 24,
                "paddingRight": 24,
                "md": {
                  "width": 520,
                  "paddingTop": 44,
                  "paddingBottom": 44,
                  "paddingLeft": 48,
                  "paddingRight": 48
                }
              }
            },
            "children": [
              {
                "type": "paragraph",
                "props": {
                  "sizeVariant": "sm",
                  "sx": {
                    "fontWeight": 700,
                    "textTransform": "uppercase",
                    "textAlign": "center",
                    "color": "var(--color-primary-600)"
                  }
                },
                "text": "Welcome gift"
              },
              {
                "type": "heading",
                "props": {
                  "as": "h2",
                  "sizeVariant": "5xl",
                  "md": {
                    "sizeVariant": "6xl"
                  },
                  "sx": {
                    "fontWeight": 800,
                    "textAlign": "center",
                    "color": "var(--color-primary-600)",
                    "marginTop": 8
                  }
                },
                "text": "10% OFF"
              },
              {
                "type": "paragraph",
                "props": {
                  "sizeVariant": "base",
                  "sx": {
                    "color": "var(--color-neutral-500)",
                    "textAlign": "center",
                    "marginTop": 8
                  }
                },
                "text": "your first order when you join our newsletter"
              },
              {
                "type": "form",
                "props": {
                  "sx": {
                    "marginTop": 28,
                    "paddingTop": 28,
                    "borderStyle": "dashed",
                    "borderTopWidth": 2,
                    "borderColor": "var(--color-primary-200)"
                  }
                },
                "children": [
                  {
                    "type": "input",
                    "props": {
                      "name": "email",
                      "type": "email",
                      "placeholder": "Enter your email",
                      "required": true,
                      "size": "lg"
                    }
                  },
                  {
                    "type": "button",
                    "props": {
                      "type": "submit",
                      "size": "lg",
                      "sx": {
                        "width": "100%",
                        "marginTop": 12
                      }
                    },
                    "text": "Unlock my discount"
                  },
                  {
                    "type": "paragraph",
                    "props": {
                      "sizeVariant": "xs",
                      "sx": {
                        "color": "var(--color-neutral-500)",
                        "textAlign": "center",
                        "marginTop": 12
                      }
                    },
                    "text": "One code per customer. Unsubscribe anytime."
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  ]
}
