{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "ModifierSelectDialog",
      "name": "Dialog/ModifierSelect",
      "reusable": true,
      "width": 420,
      "height": 580,
      "fill": "$bg-elevated",
      "cornerRadius": 24,
      "layout": "vertical",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "ModHeader",
          "width": "fill_container",
          "padding": [20, 24],
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "ModHeaderLeft", "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "ModProductImg", "width": 44, "height": 44, "fill": "#8B5CF620", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
                {"type": "icon_font", "id": "ModProductIcon", "width": 22, "height": 22, "iconFontName": "coffee", "iconFontFamily": "lucide", "fill": "#8B5CF6"}
              ]},
              {"type": "frame", "id": "ModHeaderInfo", "layout": "vertical", "gap": 2, "children": [
                {"type": "text", "id": "ModTitle", "fill": "$text-primary", "content": "Trà sữa trân châu", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"},
                {"type": "text", "id": "ModSubtitle", "fill": "$text-tertiary", "content": "Chọn tùy chỉnh", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}
              ]}
            ]},
            {"type": "frame", "id": "ModCloseBtn", "width": 36, "height": 36, "fill": "$bg-interactive", "cornerRadius": 18, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "ModCloseIcon", "width": 18, "height": 18, "iconFontName": "x", "iconFontFamily": "lucide", "fill": "$text-secondary"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "ModContent",
          "width": "fill_container",
          "height": "fill_container",
          "padding": 20,
          "layout": "vertical",
          "gap": 20,
          "children": [
            {"type": "frame", "id": "ModSizeSection", "width": "fill_container", "layout": "vertical", "gap": 12, "children": [
              {"type": "frame", "id": "ModSizeHeader", "width": "fill_container", "justifyContent": "space_between", "alignItems": "center", "children": [
                {"type": "text", "id": "ModSizeLabel", "fill": "$text-primary", "content": "Kích cỡ", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"},
                {"type": "frame", "id": "ModSizeRequired", "fill": "#EF444420", "cornerRadius": 6, "padding": [4, 8], "children": [
                  {"type": "text", "id": "ModSizeRequiredText", "fill": "#EF4444", "content": "Bắt buộc", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "500"}
                ]}
              ]},
              {"type": "frame", "id": "ModSizeOptions", "width": "fill_container", "gap": 10, "children": [
                {"type": "frame", "id": "ModSizeS", "width": "fill_container", "height": 52, "fill": "$bg-page", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "gap": 2, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "ModSizeSText", "fill": "$text-secondary", "content": "S", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "600"},
                  {"type": "text", "id": "ModSizeSPrice", "fill": "$text-tertiary", "content": "+0₫", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
                ]},
                {"type": "frame", "id": "ModSizeM", "width": "fill_container", "height": 52, "fill": "$bg-page", "cornerRadius": 12, "stroke": {"thickness": 2, "fill": "$orange-primary"}, "layout": "vertical", "gap": 2, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "ModSizeMText", "fill": "$orange-primary", "content": "M", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"},
                  {"type": "text", "id": "ModSizeMPrice", "fill": "$orange-primary", "content": "+5,000₫", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "500"}
                ]},
                {"type": "frame", "id": "ModSizeL", "width": "fill_container", "height": 52, "fill": "$bg-page", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "gap": 2, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "ModSizeLText", "fill": "$text-secondary", "content": "L", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "600"},
                  {"type": "text", "id": "ModSizeLPrice", "fill": "$text-tertiary", "content": "+10,000₫", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "normal"}
                ]}
              ]}
            ]},
            {"type": "frame", "id": "ModSugarSection", "width": "fill_container", "layout": "vertical", "gap": 12, "children": [
              {"type": "text", "id": "ModSugarLabel", "fill": "$text-primary", "content": "Độ ngọt", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"},
              {"type": "frame", "id": "ModSugarOptions", "width": "fill_container", "gap": 8, "children": [
                {"type": "frame", "id": "ModSugar0", "width": "fill_container", "height": 42, "fill": "$bg-page", "cornerRadius": 10, "stroke": {"thickness": 1, "fill": "$border-default"}, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "ModSugar0Text", "fill": "$text-secondary", "content": "0%", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"}
                ]},
                {"type": "frame", "id": "ModSugar30", "width": "fill_container", "height": 42, "fill": "$bg-page", "cornerRadius": 10, "stroke": {"thickness": 1, "fill": "$border-default"}, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "ModSugar30Text", "fill": "$text-secondary", "content": "30%", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"}
                ]},
                {"type": "frame", "id": "ModSugar50", "width": "fill_container", "height": 42, "fill": "$orange-primary", "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "ModSugar50Text", "fill": "$text-primary", "content": "50%", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}
                ]},
                {"type": "frame", "id": "ModSugar100", "width": "fill_container", "height": 42, "fill": "$bg-page", "cornerRadius": 10, "stroke": {"thickness": 1, "fill": "$border-default"}, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "text", "id": "ModSugar100Text", "fill": "$text-secondary", "content": "100%", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"}
                ]}
              ]}
            ]},
            {"type": "frame", "id": "ModToppingSection", "width": "fill_container", "layout": "vertical", "gap": 12, "children": [
              {"type": "text", "id": "ModToppingLabel", "fill": "$text-primary", "content": "Topping", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"},
              {"type": "frame", "id": "ModToppingList", "width": "fill_container", "layout": "vertical", "gap": 8, "children": [
                {"type": "frame", "id": "ModTop1", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 10, "padding": [12, 14], "justifyContent": "space_between", "alignItems": "center", "children": [
                  {"type": "frame", "id": "ModTop1Left", "gap": 10, "alignItems": "center", "children": [
                    {"type": "frame", "id": "ModTop1Check", "width": 22, "height": 22, "fill": "$orange-primary", "cornerRadius": 6, "justifyContent": "center", "alignItems": "center", "children": [
                      {"type": "icon_font", "id": "ModTop1CheckIcon", "width": 14, "height": 14, "iconFontName": "check", "iconFontFamily": "lucide", "fill": "$text-primary"}
                    ]},
                    {"type": "text", "id": "ModTop1Name", "fill": "$text-primary", "content": "Trân châu đen", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"}
                  ]},
                  {"type": "text", "id": "ModTop1Price", "fill": "$orange-primary", "content": "+8,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}
                ]},
                {"type": "frame", "id": "ModTop2", "width": "fill_container", "fill": "$bg-page", "cornerRadius": 10, "padding": [12, 14], "justifyContent": "space_between", "alignItems": "center", "children": [
                  {"type": "frame", "id": "ModTop2Left", "gap": 10, "alignItems": "center", "children": [
                    {"type": "frame", "id": "ModTop2Check", "width": 22, "height": 22, "stroke": {"thickness": 2, "fill": "$border-default"}, "cornerRadius": 6},
                    {"type": "text", "id": "ModTop2Name", "fill": "$text-secondary", "content": "Thạch dừa", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "500"}
                  ]},
                  {"type": "text", "id": "ModTop2Price", "fill": "$text-tertiary", "content": "+6,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}
                ]}
              ]}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "ModFooter",
          "width": "fill_container",
          "fill": "$bg-page",
          "padding": [16, 20],
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["top"]},
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "ModFooterPrice", "layout": "vertical", "gap": 2, "children": [
              {"type": "text", "id": "ModFooterPriceLabel", "fill": "$text-tertiary", "content": "Thành tiền", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"},
              {"type": "text", "id": "ModFooterPriceValue", "fill": "$orange-primary", "content": "48,000₫", "fontFamily": "Roboto", "fontSize": 22, "fontWeight": "700"}
            ]},
            {"type": "frame", "id": "ModAddBtn", "width": 160, "height": 52, "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "size": {"height": 1}, "colors": [{"color": "#FF5C00", "position": 0}, {"color": "#E64D00", "position": 1}]}, "cornerRadius": 12, "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
              {"type": "icon_font", "id": "ModAddIcon", "width": 20, "height": 20, "iconFontName": "plus", "iconFontFamily": "lucide", "fill": "$text-primary"},
              {"type": "text", "id": "ModAddText", "fill": "$text-primary", "content": "Thêm", "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"}
  }
}
