{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "PaymentMethodScreen",
      "name": "Payment/Method Select",
      "reusable": true,
      "width": 480,
      "height": 640,
      "fill": "$bg-page",
      "layout": "vertical",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "PayHeader",
          "width": "fill_container",
          "padding": [20, 24],
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "PayHeaderLeft", "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "PayCloseBtn", "width": 40, "height": 40, "fill": "$bg-interactive", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "PayCloseIcon", "width": 20, "height": 20, "iconFontName": "x", "iconFontFamily": "lucide", "fill": "$text-secondary"}
              ]},
              {"type": "text", "id": "PayTitle", "fill": "$text-primary", "content": "Thanh toán", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"}
            ]},
            {"type": "frame", "id": "PayOrderInfo", "layout": "vertical", "alignItems": "flex_end", "gap": 2, "children": [
              {"type": "text", "id": "PayOrderLabel", "fill": "$text-tertiary", "content": "Đơn hàng #0089", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"},
              {"type": "text", "id": "PayOrderTotal", "fill": "$orange-primary", "content": "530,250₫", "fontFamily": "Roboto", "fontSize": 20, "fontWeight": "700"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "PayMethods",
          "width": "fill_container",
          "height": "fill_container",
          "padding": 24,
          "layout": "vertical",
          "gap": 16,
          "children": [
            {"type": "text", "id": "PayMethodsTitle", "fill": "$text-secondary", "content": "Chọn phương thức thanh toán", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"},
            {
              "type": "frame",
              "id": "PayMethodCash",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 16,
              "stroke": {"thickness": 2, "fill": "$orange-primary"},
              "padding": 20,
              "gap": 16,
              "alignItems": "center",
              "children": [
                {"type": "frame", "id": "PayCashIcon", "width": 52, "height": 52, "fill": "#22C55E20", "cornerRadius": 14, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "PayCashIconInner", "width": 26, "height": 26, "iconFontName": "banknote", "iconFontFamily": "lucide", "fill": "#22C55E"}
                ]},
                {"type": "frame", "id": "PayCashInfo", "layout": "vertical", "gap": 4, "children": [
                  {"type": "text", "id": "PayCashTitle", "fill": "$text-primary", "content": "Tiền mặt", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "600"},
                  {"type": "text", "id": "PayCashDesc", "fill": "$text-secondary", "content": "Nhận tiền và thối lại", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}
                ]},
                {"type": "icon_font", "id": "PayCashCheck", "width": 24, "height": 24, "iconFontName": "check-circle", "iconFontFamily": "lucide", "fill": "$orange-primary"}
              ]
            },
            {
              "type": "frame",
              "id": "PayMethodQR",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 16,
              "stroke": {"thickness": 1, "fill": "$border-default"},
              "padding": 20,
              "gap": 16,
              "alignItems": "center",
              "children": [
                {"type": "frame", "id": "PayQRIcon", "width": 52, "height": 52, "fill": "#3B82F620", "cornerRadius": 14, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "PayQRIconInner", "width": 26, "height": 26, "iconFontName": "qr-code", "iconFontFamily": "lucide", "fill": "#3B82F6"}
                ]},
                {"type": "frame", "id": "PayQRInfo", "layout": "vertical", "gap": 4, "children": [
                  {"type": "text", "id": "PayQRTitle", "fill": "$text-primary", "content": "Quét mã QR", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "600"},
                  {"type": "text", "id": "PayQRDesc", "fill": "$text-secondary", "content": "VietQR, MoMo, ZaloPay", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}
                ]},
                {"type": "icon_font", "id": "PayQRArrow", "width": 20, "height": 20, "iconFontName": "chevron-right", "iconFontFamily": "lucide", "fill": "$text-tertiary"}
              ]
            },
            {
              "type": "frame",
              "id": "PayMethodBank",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 16,
              "stroke": {"thickness": 1, "fill": "$border-default"},
              "padding": 20,
              "gap": 16,
              "alignItems": "center",
              "children": [
                {"type": "frame", "id": "PayBankIcon", "width": 52, "height": 52, "fill": "#8B5CF620", "cornerRadius": 14, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "PayBankIconInner", "width": 26, "height": 26, "iconFontName": "landmark", "iconFontFamily": "lucide", "fill": "#8B5CF6"}
                ]},
                {"type": "frame", "id": "PayBankInfo", "layout": "vertical", "gap": 4, "children": [
                  {"type": "text", "id": "PayBankTitle", "fill": "$text-primary", "content": "Chuyển khoản", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "600"},
                  {"type": "text", "id": "PayBankDesc", "fill": "$text-secondary", "content": "Hiển thị thông tin tài khoản", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}
                ]},
                {"type": "icon_font", "id": "PayBankArrow", "width": 20, "height": 20, "iconFontName": "chevron-right", "iconFontFamily": "lucide", "fill": "$text-tertiary"}
              ]
            },
            {
              "type": "frame",
              "id": "PayMethodCard",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 16,
              "stroke": {"thickness": 1, "fill": "$border-default"},
              "padding": 20,
              "gap": 16,
              "alignItems": "center",
              "children": [
                {"type": "frame", "id": "PayCardIcon", "width": 52, "height": 52, "fill": "#F59E0B20", "cornerRadius": 14, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "PayCardIconInner", "width": 26, "height": 26, "iconFontName": "credit-card", "iconFontFamily": "lucide", "fill": "#F59E0B"}
                ]},
                {"type": "frame", "id": "PayCardInfo", "layout": "vertical", "gap": 4, "children": [
                  {"type": "text", "id": "PayCardTitle", "fill": "$text-primary", "content": "Thẻ ATM/Visa", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "600"},
                  {"type": "text", "id": "PayCardDesc", "fill": "$text-secondary", "content": "Quẹt thẻ qua máy POS", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}
                ]},
                {"type": "icon_font", "id": "PayCardArrow", "width": 20, "height": 20, "iconFontName": "chevron-right", "iconFontFamily": "lucide", "fill": "$text-tertiary"}
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "PayFooter",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "padding": [16, 24],
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["top"]},
          "children": [
            {"type": "frame", "id": "PayConfirmBtn", "width": "fill_container", "height": 56, "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "size": {"height": 1}, "colors": [{"color": "#FF5C00", "position": 0}, {"color": "#FF8A4C", "position": 1}]}, "cornerRadius": 14, "gap": 10, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "PayConfirmIcon", "width": 22, "height": 22, "iconFontName": "banknote", "iconFontFamily": "lucide", "fill": "$text-primary"},
              {"type": "text", "id": "PayConfirmText", "fill": "$text-primary", "content": "Nhận tiền mặt 530,250₫", "fontFamily": "Roboto", "fontSize": 16, "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"}
  }
}
