{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "POSCafeTablet",
      "name": "POS Cafe Tablet",
      "reusable": true,
      "width": 1024,
      "height": 768,
      "fill": "$bg-page",
      "layout": "vertical",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "CafeTabHeader",
          "width": "fill_container",
          "height": 56,
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "padding": [0, 16],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {"type": "frame", "id": "CafeTabLogo", "gap": 10, "alignItems": "center", "children": [
              {"type": "frame", "id": "CafeTabLogoIcon", "width": 36, "height": 36, "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "size": {"height": 1}, "colors": [{"color": "#FF5C00", "position": 0}, {"color": "#FF8A4C", "position": 1}]}, "cornerRadius": 10, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "CafeTabLogoText", "fill": "$text-primary", "content": "G", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"}]},
              {"type": "text", "id": "CafeTabStoreName", "fill": "$text-primary", "content": "GoodGo Café", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "600"}
            ]},
            {"type": "frame", "id": "CafeTabSearch", "width": 280, "height": 40, "fill": "$bg-surface", "cornerRadius": 10, "stroke": {"thickness": 1, "fill": "$border-default"}, "padding": [0, 12], "gap": 8, "alignItems": "center", "children": [
              {"type": "icon_font", "id": "CafeTabSearchIcon", "width": 18, "height": 18, "iconFontName": "search", "iconFontFamily": "lucide", "fill": "$text-tertiary"},
              {"type": "text", "id": "CafeTabSearchText", "fill": "$text-tertiary", "content": "Tìm món...", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "CafeTabRight", "gap": 12, "alignItems": "center", "children": [
              {"type": "text", "id": "CafeTabTime", "fill": "$text-primary", "content": "23:48", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
              {"type": "frame", "id": "CafeTabAvatar", "width": 36, "height": 36, "fill": "#22C55E30", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "CafeTabAvatarText", "fill": "#22C55E", "content": "M", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}]}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "CafeTabCategories",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "padding": [10, 16],
          "gap": 8,
          "children": [
            {"type": "frame", "id": "CafeTabCatAll", "fill": "$orange-primary", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "CafeTabCatAllText", "fill": "$text-primary", "content": "Tất cả", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]},
            {"type": "frame", "id": "CafeTabCatCoffee", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "CafeTabCatCoffeeText", "fill": "$text-secondary", "content": "Cà phê", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
            {"type": "frame", "id": "CafeTabCatTea", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "CafeTabCatTeaText", "fill": "$text-secondary", "content": "Trà", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
            {"type": "frame", "id": "CafeTabCatSnack", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "CafeTabCatSnackText", "fill": "$text-secondary", "content": "Bánh", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]}
          ]
        },
        {
          "type": "frame",
          "id": "CafeTabMain",
          "width": "fill_container",
          "height": "fill_container",
          "children": [
            {
              "type": "frame",
              "id": "CafeTabProducts",
              "width": "fill_container",
              "height": "fill_container",
              "padding": 16,
              "layout": "vertical",
              "gap": 12,
              "clip": true,
              "children": [
                {"type": "frame", "id": "CafeTabProdRow1", "width": "fill_container", "gap": 12, "children": [
                  {"type": "frame", "id": "CafeTabProd1", "width": 150, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "CafeTabProd1Img", "width": "fill_container", "height": 90, "fill": "#8B4513"}, {"type": "frame", "id": "CafeTabProd1Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "CafeTabProd1Name", "fill": "$text-primary", "content": "Cà Phê Sữa Đá", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "CafeTabProd1Price", "fill": "$orange-primary", "content": "29,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]},
                  {"type": "frame", "id": "CafeTabProd2", "width": 150, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 2, "fill": "$orange-primary"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "CafeTabProd2Img", "width": "fill_container", "height": 90, "fill": "#654321"}, {"type": "frame", "id": "CafeTabProd2Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "CafeTabProd2Name", "fill": "$text-primary", "content": "Bạc Xỉu", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "CafeTabProd2Price", "fill": "$orange-primary", "content": "32,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]},
                  {"type": "frame", "id": "CafeTabProd3", "width": 150, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "CafeTabProd3Img", "width": "fill_container", "height": 90, "fill": "#FFA500"}, {"type": "frame", "id": "CafeTabProd3Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "CafeTabProd3Name", "fill": "$text-primary", "content": "Trà Đào", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "CafeTabProd3Price", "fill": "$orange-primary", "content": "35,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]},
                  {"type": "frame", "id": "CafeTabProd4", "width": 150, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "CafeTabProd4Img", "width": "fill_container", "height": 90, "fill": "#90EE90"}, {"type": "frame", "id": "CafeTabProd4Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "CafeTabProd4Name", "fill": "$text-primary", "content": "Matcha Latte", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "CafeTabProd4Price", "fill": "$orange-primary", "content": "45,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]}
                ]},
                {"type": "frame", "id": "CafeTabProdRow2", "width": "fill_container", "gap": 12, "children": [
                  {"type": "frame", "id": "CafeTabProd5", "width": 150, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "CafeTabProd5Img", "width": "fill_container", "height": 90, "fill": "#D2691E"}, {"type": "frame", "id": "CafeTabProd5Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "CafeTabProd5Name", "fill": "$text-primary", "content": "Bánh Mì Ốp La", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "CafeTabProd5Price", "fill": "$orange-primary", "content": "25,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]},
                  {"type": "frame", "id": "CafeTabProd6", "width": 150, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "CafeTabProd6Img", "width": "fill_container", "height": 90, "fill": "#FFD700"}, {"type": "frame", "id": "CafeTabProd6Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "CafeTabProd6Name", "fill": "$text-primary", "content": "Croissant", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "CafeTabProd6Price", "fill": "$orange-primary", "content": "35,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]}
                ]}
              ]
            },
            {
              "type": "frame",
              "id": "CafeTabCart",
              "width": 320,
              "height": "fill_container",
              "fill": "$bg-elevated",
              "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["left"]},
              "layout": "vertical",
              "children": [
                {"type": "frame", "id": "CafeTabCartHeader", "width": "fill_container", "padding": [12, 16], "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]}, "justifyContent": "space_between", "alignItems": "center", "children": [
                  {"type": "text", "id": "CafeTabCartTitle", "fill": "$text-primary", "content": "Đơn hàng", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"},
                  {"type": "frame", "id": "CafeTabCartRight", "gap": 8, "alignItems": "center", "children": [{"type": "text", "id": "CafeTabCartCount", "fill": "$text-secondary", "content": "3 món", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}, {"type": "frame", "id": "CafeTabCustomerBtn", "width": 32, "height": 32, "fill": "#14B8A620", "cornerRadius": 8, "stroke": {"thickness": 1, "fill": "#14B8A6"}, "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "CafeTabCustomerIcon", "width": 16, "height": 16, "iconFontName": "user-search", "iconFontFamily": "lucide", "fill": "#14B8A6"}]}]}
                ]},
                {"type": "frame", "id": "CafeTabCustomerSection", "width": "fill_container", "fill": "#14B8A610", "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]}, "padding": [8, 16], "justifyContent": "space_between", "alignItems": "center", "children": [{"type": "frame", "id": "CafeTabCustInfo", "gap": 8, "alignItems": "center", "children": [{"type": "frame", "id": "CafeTabCustAvatar", "width": 28, "height": 28, "fill": "#14B8A630", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "CafeTabCustIcon", "width": 14, "height": 14, "iconFontName": "user", "iconFontFamily": "lucide", "fill": "#14B8A6"}]}, {"type": "frame", "id": "CafeTabCustDetails", "layout": "vertical", "gap": 1, "children": [{"type": "text", "id": "CafeTabCustName", "fill": "$text-primary", "content": "Nguyễn Văn A", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}, {"type": "text", "id": "CafeTabCustPoints", "fill": "$text-tertiary", "content": "Gold • 2,520 điểm", "fontFamily": "Roboto", "fontSize": 10}]}]}, {"type": "frame", "id": "CafeTabCustRemove", "width": 20, "height": 20, "fill": "$bg-interactive", "cornerRadius": 4, "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "CafeTabCustRemoveIcon", "width": 10, "height": 10, "iconFontName": "x", "iconFontFamily": "lucide", "fill": "$text-tertiary"}]}]},
                {"type": "frame", "id": "CafeTabCartItems", "width": "fill_container", "height": "fill_container", "layout": "vertical", "children": [
                  {"type": "frame", "id": "CafeTabCartItem1", "width": "fill_container", "padding": [10, 16], "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]}, "justifyContent": "space_between", "alignItems": "center", "children": [{"type": "frame", "id": "CafeTabCartItem1Left", "gap": 10, "alignItems": "center", "children": [{"type": "frame", "id": "CafeTabCartItem1Qty", "width": 28, "height": 28, "fill": "$bg-interactive", "cornerRadius": 6, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "CafeTabCartItem1QtyText", "fill": "$text-primary", "content": "2", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]}, {"type": "text", "id": "CafeTabCartItem1Name", "fill": "$text-primary", "content": "Cà Phê Sữa Đá", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]}, {"type": "text", "id": "CafeTabCartItem1Price", "fill": "$text-primary", "content": "58,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]},
                  {"type": "frame", "id": "CafeTabCartItem2", "width": "fill_container", "padding": [10, 16], "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]}, "justifyContent": "space_between", "alignItems": "center", "children": [{"type": "frame", "id": "CafeTabCartItem2Left", "gap": 10, "alignItems": "center", "children": [{"type": "frame", "id": "CafeTabCartItem2Qty", "width": 28, "height": 28, "fill": "$bg-interactive", "cornerRadius": 6, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "CafeTabCartItem2QtyText", "fill": "$text-primary", "content": "1", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]}, {"type": "text", "id": "CafeTabCartItem2Name", "fill": "$text-primary", "content": "Bạc Xỉu", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]}, {"type": "text", "id": "CafeTabCartItem2Price", "fill": "$text-primary", "content": "32,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}
                ]},
                {"type": "frame", "id": "CafeTabCartSummary", "width": "fill_container", "fill": "$bg-surface", "layout": "vertical", "padding": 16, "gap": 8, "children": [
                  {"type": "frame", "id": "CafeTabCartLoyalty", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "frame", "id": "CafeTabLoyaltyRow", "gap": 4, "alignItems": "center", "children": [{"type": "icon_font", "id": "CafeTabLoyaltyIcon", "width": 12, "height": 12, "iconFontName": "coins", "iconFontFamily": "lucide", "fill": "#14B8A6"}, {"type": "text", "id": "CafeTabLoyaltyLabel", "fill": "#14B8A6", "content": "Dùng 100 điểm", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]}, {"type": "text", "id": "CafeTabLoyaltyValue", "fill": "#14B8A6", "content": "-10,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]},
                  {"type": "frame", "id": "CafeTabCartTotal", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "text", "id": "CafeTabCartTotalLabel", "fill": "$text-primary", "content": "Tổng cộng", "fontFamily": "Roboto", "fontSize": 15, "fontWeight": "600"}, {"type": "text", "id": "CafeTabCartTotalValue", "fill": "$orange-primary", "content": "80,000₫", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"}]}
                ]},
                {"type": "frame", "id": "CafeTabPayBtn", "width": "fill_container", "height": 52, "fill": {"type": "gradient", "gradientType": "linear", "enabled": true, "rotation": 135, "size": {"height": 1}, "colors": [{"color": "#FF5C00", "position": 0}, {"color": "#FF8A4C", "position": 1}]}, "gap": 8, "justifyContent": "center", "alignItems": "center", "children": [
                  {"type": "icon_font", "id": "CafeTabPayIcon", "width": 20, "height": 20, "iconFontName": "credit-card", "iconFontFamily": "lucide", "fill": "$text-primary"},
                  {"type": "text", "id": "CafeTabPayText", "fill": "$text-primary", "content": "Thanh toán", "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"},
    "bg-surface": {"type": "color", "value": "#111113"},
    "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"}
  }
}
