{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "MultiDiscountDialog",
      "x": 0,
      "y": 0,
      "name": "Dialog/MultiDiscount",
      "reusable": true,
      "clip": true,
      "width": 420,
      "height": 634,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "MultiDiscountHeader",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "padding": [
            16,
            20
          ],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {
              "type": "frame",
              "id": "MultiDiscountHeaderLeft",
              "gap": 12,
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "MultiDiscountIconBg",
                  "width": 40,
                  "height": 40,
                  "fill": "#EC489920",
                  "cornerRadius": 12,
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "MultiDiscountIcon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "percent",
                      "iconFontFamily": "lucide",
                      "fill": "#EC4899"
                    }
                  ]
                },
                {
                  "type": "text",
                  "id": "MultiDiscountTitle",
                  "fill": "$text-primary",
                  "content": "Áp dụng giảm giá",
                  "fontFamily": "Roboto",
                  "fontSize": 18,
                  "fontWeight": "700"
                }
              ]
            },
            {
              "type": "frame",
              "id": "MultiDiscountCloseBtn",
              "width": 36,
              "height": 36,
              "fill": "$bg-interactive",
              "cornerRadius": 18,
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "icon_font",
                  "id": "MultiDiscountCloseIcon",
                  "width": 18,
                  "height": 18,
                  "iconFontName": "x",
                  "iconFontFamily": "lucide",
                  "fill": "$text-secondary"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "MultiDiscountContent",
          "width": "fill_container",
          "height": "fill_container",
          "layout": "vertical",
          "gap": 16,
          "padding": 20,
          "children": [
            {
              "type": "frame",
              "id": "DiscountOrderTotal",
              "width": "fill_container",
              "fill": "$bg-page",
              "cornerRadius": 14,
              "padding": [
                14,
                16
              ],
              "justifyContent": "space_between",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "DiscountOrderLabel",
                  "fill": "$text-secondary",
                  "content": "Tổng đơn hàng",
                  "fontFamily": "Roboto",
                  "fontSize": 14,
                  "fontWeight": "normal"
                },
                {
                  "type": "text",
                  "id": "DiscountOrderValue",
                  "fill": "$text-primary",
                  "content": "485,000₫",
                  "fontFamily": "Roboto",
                  "fontSize": 18,
                  "fontWeight": "700"
                }
              ]
            },
            {
              "type": "frame",
              "id": "DiscountList",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 10,
              "children": [
                {
                  "type": "text",
                  "id": "DiscountListLabel",
                  "fill": "$text-secondary",
                  "content": "Giảm giá áp dụng",
                  "fontFamily": "Roboto",
                  "fontSize": 13,
                  "fontWeight": "500"
                },
                {
                  "type": "frame",
                  "id": "DiscountItem1",
                  "width": "fill_container",
                  "fill": "$bg-page",
                  "cornerRadius": 14,
                  "stroke": {
                    "thickness": 2,
                    "fill": "#22C55E"
                  },
                  "gap": 12,
                  "padding": 14,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "DiscountItem1Check",
                      "width": 24,
                      "height": 24,
                      "fill": "#22C55E",
                      "cornerRadius": 6,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "DiscountItem1CheckIcon",
                          "width": 14,
                          "height": 14,
                          "iconFontName": "check",
                          "iconFontFamily": "lucide",
                          "fill": "$text-primary"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "DiscountItem1Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "DiscountItem1Name",
                          "fill": "$text-primary",
                          "content": "Giảm 10% Thành viên VIP",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "DiscountItem1Desc",
                          "fill": "$text-tertiary",
                          "content": "Tự động áp dụng cho KH VIP",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "text",
                      "id": "DiscountItem1Value",
                      "fill": "#22C55E",
                      "content": "-48,500₫",
                      "fontFamily": "Roboto",
                      "fontSize": 15,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "DiscountItem2",
                  "width": "fill_container",
                  "fill": "$bg-page",
                  "cornerRadius": 14,
                  "stroke": {
                    "thickness": 2,
                    "fill": "#22C55E"
                  },
                  "gap": 12,
                  "padding": 14,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "DiscountItem2Check",
                      "width": 24,
                      "height": 24,
                      "fill": "#22C55E",
                      "cornerRadius": 6,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "icon_font",
                          "id": "DiscountItem2CheckIcon",
                          "width": 14,
                          "height": 14,
                          "iconFontName": "check",
                          "iconFontFamily": "lucide",
                          "fill": "$text-primary"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "DiscountItem2Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "DiscountItem2Name",
                          "fill": "$text-primary",
                          "content": "Mã: SALE50K",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "DiscountItem2Desc",
                          "fill": "$text-tertiary",
                          "content": "Giảm 50K cho đơn từ 400K",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "text",
                      "id": "DiscountItem2Value",
                      "fill": "#22C55E",
                      "content": "-50,000₫",
                      "fontFamily": "Roboto",
                      "fontSize": 15,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "DiscountItem3",
                  "width": "fill_container",
                  "fill": "$bg-page",
                  "cornerRadius": 14,
                  "gap": 12,
                  "padding": 14,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "frame",
                      "id": "DiscountItem3Check",
                      "width": 24,
                      "height": 24,
                      "fill": "$bg-interactive",
                      "cornerRadius": 6,
                      "stroke": {
                        "thickness": 2,
                        "fill": "$border-default"
                      }
                    },
                    {
                      "type": "frame",
                      "id": "DiscountItem3Info",
                      "width": "fill_container",
                      "layout": "vertical",
                      "gap": 2,
                      "children": [
                        {
                          "type": "text",
                          "id": "DiscountItem3Name",
                          "fill": "$text-primary",
                          "content": "Sinh nhật -20%",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "600"
                        },
                        {
                          "type": "text",
                          "id": "DiscountItem3Desc",
                          "fill": "$text-tertiary",
                          "content": "Không thỏa điều kiện",
                          "fontFamily": "Roboto",
                          "fontSize": 12,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "text",
                      "id": "DiscountItem3Value",
                      "fill": "$text-tertiary",
                      "content": "N/A",
                      "fontFamily": "Roboto",
                      "fontSize": 15,
                      "fontWeight": "500"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "DiscountCodeInput",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 8,
              "children": [
                {
                  "type": "text",
                  "id": "DiscountCodeLabel",
                  "fill": "$text-secondary",
                  "content": "Nhập mã giảm giá",
                  "fontFamily": "Roboto",
                  "fontSize": 13,
                  "fontWeight": "500"
                },
                {
                  "type": "frame",
                  "id": "DiscountCodeRow",
                  "width": "fill_container",
                  "gap": 10,
                  "children": [
                    {
                      "type": "frame",
                      "id": "DiscountCodeField",
                      "width": "fill_container",
                      "height": 48,
                      "fill": "$bg-page",
                      "cornerRadius": 12,
                      "padding": [
                        0,
                        14
                      ],
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "DiscountCodePlaceholder",
                          "fill": "$text-tertiary",
                          "content": "VD: SUMMER2024",
                          "fontFamily": "Roboto",
                          "fontSize": 14,
                          "fontWeight": "normal"
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "DiscountCodeApplyBtn",
                      "width": 80,
                      "height": 48,
                      "fill": "$bg-interactive",
                      "cornerRadius": 12,
                      "justifyContent": "center",
                      "alignItems": "center",
                      "children": [
                        {
                          "type": "text",
                          "id": "DiscountCodeApplyText",
                          "fill": "$text-primary",
                          "content": "Áp dụng",
                          "fontFamily": "Roboto",
                          "fontSize": 13,
                          "fontWeight": "500"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "DiscountSummary",
              "width": "fill_container",
              "fill": "#FF5C0015",
              "cornerRadius": 14,
              "padding": [
                14,
                16
              ],
              "justifyContent": "space_between",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "DiscountSummaryLabel",
                  "fill": "$text-primary",
                  "content": "Tổng giảm:",
                  "fontFamily": "Roboto",
                  "fontSize": 15,
                  "fontWeight": "600"
                },
                {
                  "type": "text",
                  "id": "DiscountSummaryValue",
                  "fill": "$orange-primary",
                  "content": "-98,500₫",
                  "fontFamily": "Roboto",
                  "fontSize": 20,
                  "fontWeight": "700"
                }
              ]
            }
          ]
        },
        {
          "type": "frame",
          "id": "MultiDiscountFooter",
          "width": "fill_container",
          "stroke": {
            "thickness": 1,
            "fill": "$border-subtle"
          },
          "padding": [
            16,
            20
          ],
          "children": [
            {
              "type": "frame",
              "id": "MultiDiscountApplyBtn",
              "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": "MultiDiscountApplyIcon",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "check",
                  "iconFontFamily": "lucide",
                  "fill": "$text-primary"
                },
                {
                  "type": "text",
                  "id": "MultiDiscountApplyText",
                  "fill": "$text-primary",
                  "content": "Xác nhận giảm giá",
                  "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"
    }
  }
}