{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "OpenPriceDialog",
      "name": "Dialog/OpenPrice",
      "reusable": true,
      "clip": true,
      "width": 360,
      "height": 420,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "OpenPriceHeader",
          "width": "fill_container",
          "padding": [16, 20],
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "OpenPriceHeaderLeft", "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "OpenPriceIconBg", "width": 40, "height": 40, "fill": "#F59E0B20", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "OpenPriceIcon", "width": 20, "height": 20, "iconFontName": "tag", "iconFontFamily": "lucide", "fill": "#F59E0B"}
              ]},
              {"type": "text", "id": "OpenPriceTitle", "fill": "$text-primary", "content": "Nhập giá", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"}
            ]},
            {"type": "frame", "id": "OpenPriceCloseBtn", "width": 36, "height": 36, "fill": "$bg-interactive", "cornerRadius": 18, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "OpenPriceCloseIcon", "width": 18, "height": 18, "iconFontName": "x", "iconFontFamily": "lucide", "fill": "$text-secondary"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "OpenPriceContent",
          "width": "fill_container",
          "height": "fill_container",
          "padding": 20,
          "layout": "vertical",
          "gap": 16,
          "children": [
            {"type": "frame", "id": "OpenPriceProductInfo", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 14, "padding": 14, "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "OpenPriceProductImg", "width": 48, "height": 48, "fill": "#8B5CF620", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "OpenPriceProductIcon", "width": 24, "height": 24, "iconFontName": "package", "iconFontFamily": "lucide", "fill": "#8B5CF6"}
              ]},
              {"type": "frame", "id": "OpenPriceProductText", "width": "fill_container", "layout": "vertical", "gap": 2, "children": [
                {"type": "text", "id": "OpenPriceProductName", "fill": "$text-primary", "content": "Sản phẩm tùy chỉnh", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"},
                {"type": "text", "id": "OpenPriceProductSKU", "fill": "$text-tertiary", "content": "Giá linh hoạt", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}
              ]}
            ]},
            {"type": "frame", "id": "OpenPriceInputSection", "width": "fill_container", "layout": "vertical", "gap": 8, "children": [
              {"type": "text", "id": "OpenPriceInputLabel", "fill": "$text-secondary", "content": "Nhập giá bán", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"},
              {"type": "frame", "id": "OpenPriceInput", "width": "fill_container", "height": 60, "fill": "$bg-page", "cornerRadius": 14, "stroke": {"thickness": 2, "fill": "$orange-primary"}, "padding": [0, 16], "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "OpenPriceInputValue", "fill": "$orange-primary", "content": "75,000₫", "fontFamily": "Roboto", "fontSize": 28, "fontWeight": "700"}
              ]}
            ]},
            {"type": "frame", "id": "OpenPriceQuickBtns", "width": "fill_container", "gap": 8, "children": [
              {"type": "frame", "id": "OpenPriceQuick1", "width": "fill_container", "height": 40, "fill": "$bg-page", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "OpenPriceQuick1Text", "fill": "$text-secondary", "content": "50K", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}
              ]},
              {"type": "frame", "id": "OpenPriceQuick2", "width": "fill_container", "height": 40, "fill": "$bg-page", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "OpenPriceQuick2Text", "fill": "$text-secondary", "content": "100K", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}
              ]},
              {"type": "frame", "id": "OpenPriceQuick3", "width": "fill_container", "height": 40, "fill": "$bg-page", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "OpenPriceQuick3Text", "fill": "$text-secondary", "content": "200K", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}
              ]},
              {"type": "frame", "id": "OpenPriceQuick4", "width": "fill_container", "height": 40, "fill": "$bg-page", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "text", "id": "OpenPriceQuick4Text", "fill": "$text-secondary", "content": "500K", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}
              ]}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "OpenPriceFooter",
          "width": "fill_container",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["top"]},
          "gap": 12,
          "padding": [16, 20],
          "children": [
            {"type": "frame", "id": "OpenPriceCancelBtn", "width": "fill_container", "height": 48, "fill": "$bg-interactive", "cornerRadius": 12, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "text", "id": "OpenPriceCancelText", "fill": "$text-secondary", "content": "Hủy", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"}
            ]},
            {"type": "frame", "id": "OpenPriceConfirmBtn", "width": "fill_container", "height": 48, "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "colors": [{"color": "#FF5C00", "position": 0}, {"color": "#FF8533", "position": 1}]}, "cornerRadius": 12, "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "OpenPriceConfirmIcon", "width": 18, "height": 18, "iconFontName": "check", "iconFontFamily": "lucide", "fill": "$text-primary"},
              {"type": "text", "id": "OpenPriceConfirmText", "fill": "$text-primary", "content": "Xác nhận", "fontFamily": "Roboto", "fontSize": 14, "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"}
  }
}
