{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "PriceCheckDialog",
      "x": 0,
      "y": 0,
      "name": "Dialog/PriceCheck",
      "reusable": true,
      "clip": true,
      "width": 400,
      "height": 523,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "PriceCheckHeader",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "padding": [
            16,
            20
          ],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "PriceCheckHeaderLeft",
              "gap": 12,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "PriceCheckIconBg",
                  "width": 40,
                  "height": 40,
                  "fill": "#3B82F620",
                  "cornerRadius": 12,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "PriceCheckIcon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "search",
                      "iconFontFamily": "lucide",
                      "fill": "#3B82F6"
                    }
                  ]
                },
                {
                  "type": "text",
                  "id": "PriceCheckTitle",
                  "fill": "$text-primary",
                  "content": "Kiểm tra giá",
                  "fontFamily": "Roboto",
                  "fontSize": 18,
                  "fontWeight": "700"
                }
              ]
            },
            {
              "type": "frame",
              "id": "PriceCheckCloseBtn",
              "width": 36,
              "height": 36,
              "fill": "$bg-interactive",
              "cornerRadius": 18,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "PriceCheckCloseIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "x",
                  "iconFontFamily": "lucide",
                  "fill": "$text-secondary"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "PriceCheckContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "gap": 20,
          "padding": 20,
          "children": [
            {
              "type": "frame",
              "id": "PriceCheckInputRow",
              "width": "fill_container",
              "gap": 12,
              "children": [
                {
                  "type": "frame",
                  "id": "PriceCheckInput",
                  "width": "fill_container",
                  "height": 52,
                  "fill": "$bg-page",
                  "cornerRadius": 12,
                  "stroke": {
                    "thickness": 2,
                    "fill": "$orange-primary"
                  },
                  "gap": 12,
                  "padding": [
                    0,
                    16
                  ],
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "PriceCheckInputIcon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "barcode",
                      "iconFontFamily": "lucide",
                      "fill": "$text-tertiary"
                    },
                    {
                      "type": "text",
                      "id": "PriceCheckInputValue",
                      "fill": "$text-primary",
                      "content": "8936075400128",
                      "fontFamily": "Roboto",
                      "fontSize": 16,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "PriceCheckScanBtn",
                  "width": 52,
                  "height": 52,
                  "fill": "$orange-primary",
                  "cornerRadius": 12,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "PriceCheckScanIcon",
                      "width": 24,
                      "height": 24,
                      "iconFontName": "scan-line",
                      "iconFontFamily": "lucide",
                      "fill": "$text-primary"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "PriceCheckResult",
              "width": "fill_container",
              "fill": "$bg-page",
              "cornerRadius": 16,
              "layout": "vertical",
              "gap": 16,
              "padding": 20,
              "children": [
                {
                  "type": "frame",
                  "id": "PriceCheckProduct",
                  "width": "fill_container",
                  "gap": 16,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "PriceCheckProductImg",
                      "width": 72,
                      "height": 72,
                      "fill": "#8B5CF620",
                      "cornerRadius": 14,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "PriceCheckProductIcon",
                          "width": 36,
                          "height": 36,
                          "iconFontName": "package",
                          "iconFontFamily": "lucide",
                          "fill": "#8B5CF6"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "PriceCheckProductInfo",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 4,
                      "children": [
                        {
                          "type": "text",
                          "id": "PriceCheckProductName",
                          "fill": "$text-primary",
                          "content": "Cà phê sữa đá",
                          "fontFamily": "Roboto",
                          "fontSize": 18,
                          "fontWeight": "700"
                        },
                        {
                          "type": "text",
                          "id": "PriceCheckProductSKU",
                          "fill": "$text-tertiary",
                          "content": "SKU: CF001 • Size M",
                          "fontFamily": "Roboto",
                          "fontSize": 13,
                          "fontWeight": "normal"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "PriceCheckDivider",
                  "width": "fill_container",
                  "height": 1,
                  "fill": "$border-subtle"
                },
                {
                  "type": "frame",
                  "id": "PriceCheckPriceRow",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "PriceCheckPriceLabel",
                      "fill": "$text-secondary",
                      "content": "Giá bán lẻ",
                      "fontFamily": "Roboto",
                      "fontSize": 14,
                      "fontWeight": "normal"
                    },
                    {
                      "type": "text",
                      "id": "PriceCheckPriceValue",
                      "fill": "$orange-primary",
                      "content": "35,000₫",
                      "fontFamily": "Roboto",
                      "fontSize": 28,
                      "fontWeight": "700"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "PriceCheckPromoRow",
                  "width": "fill_container",
                  "justifyContent": "space_between",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "PriceCheckPromoLabel",
                      "gap": 6,
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "PriceCheckPromoIcon",
                          "width": 14,
                          "height": 14,
                          "iconFontName": "tag",
                          "iconFontFamily": "lucide",
                          "fill": "#22C55E"
                        },
                        {
                          "type": "text",
                          "id": "PriceCheckPromoText",
                          "fill": "#22C55E",
                          "content": "Khuyến mãi 10%",
                          "fontFamily": "Roboto",
                          "fontSize": 13,
                          "fontWeight": "500"
                        }
                      ]
                    },
                    {
                      "type": "text",
                      "id": "PriceCheckPromoValue",
                      "fill": "#22C55E",
                      "content": "-3,500₫",
                      "fontFamily": "Roboto",
                      "fontSize": 15,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "PriceCheckStock",
                  "width": "fill_container",
                  "fill": "#22C55E15",
                  "cornerRadius": 10,
                  "gap": 8,
                  "padding": [
                    10,
                    14
                  ],
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "PriceCheckStockIcon",
                      "width": 16,
                      "height": 16,
                      "iconFontName": "circle-check",
                      "iconFontFamily": "lucide",
                      "fill": "#22C55E"
                    },
                    {
                      "type": "text",
                      "id": "PriceCheckStockText",
                      "fill": "#22C55E",
                      "content": "Còn hàng: 45 sản phẩm",
                      "fontFamily": "Roboto",
                      "fontSize": 13,
                      "fontWeight": "500"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "PriceCheckFooter",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "padding": [
            16,
            20
          ],
          "children": [
            {
              "type": "frame",
              "id": "PriceCheckAddBtn",
              "width": "fill_container",
              "height": 52,
              "fill": {
                "type": "gradient",
                "gradientType": "linear",
                "enabled": true,
                "rotation": 135,
                "size": {
                  "height": 1
                },
                "colors": [
                  {
                    "color": "#FF5C00",
                    "position": 0
                  },
                  {
                    "color": "#FF8533",
                    "position": 1
                  }
                ]
              },
              "cornerRadius": 12,
              "gap": 10,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "PriceCheckAddIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "plus",
                  "iconFontFamily": "lucide",
                  "fill": "$text-primary"
                },
                {
                  "type": "text",
                  "id": "PriceCheckAddText",
                  "fill": "$text-primary",
                  "content": "Thêm vào đơn hàng",
                  "fontFamily": "Roboto",
                  "fontSize": 15,
                  "fontWeight": "600"
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "variables": {
    "bg-elevated": {
      "type": "color",
      "value": "#1A1A1D"
    },
    "bg-interactive": {
      "type": "color",
      "value": "#2A2A2E"
    },
    "bg-page": {
      "type": "color",
      "value": "#0A0A0B"
    },
    "border-default": {
      "type": "color",
      "value": "#2A2A2E"
    },
    "border-subtle": {
      "type": "color",
      "value": "#1F1F23"
    },
    "orange-primary": {
      "type": "color",
      "value": "#FF5C00"
    },
    "text-primary": {
      "type": "color",
      "value": "#FFFFFF"
    },
    "text-secondary": {
      "type": "color",
      "value": "#ADADB0"
    },
    "text-tertiary": {
      "type": "color",
      "value": "#8B8B90"
    }
  }
}