{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "POSRestaurantTablet",
      "name": "POS Restaurant Tablet",
      "reusable": true,
      "width": 1024,
      "height": 768,
      "fill": "$bg-page",
      "layout": "vertical",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "RestTabHeader",
          "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": "RestTabLeft", "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "RestTabLogoIcon", "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": "RestTabLogoText", "fill": "$text-primary", "content": "G", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"}]},
              {"type": "frame", "id": "RestTabTableBadge", "fill": "$orange-primary", "cornerRadius": 8, "padding": [6, 12], "children": [{"type": "text", "id": "RestTabTableText", "fill": "$text-primary", "content": "Bàn 01", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}]},
              {"type": "text", "id": "RestTabGuestInfo", "fill": "$text-secondary", "content": "2 khách • 45 phút", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "RestTabSearch", "width": 240, "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": "RestTabSearchIcon", "width": 18, "height": 18, "iconFontName": "search", "iconFontFamily": "lucide", "fill": "$text-tertiary"},
              {"type": "text", "id": "RestTabSearchText", "fill": "$text-tertiary", "content": "Tìm món...", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "RestTabRight", "gap": 8, "alignItems": "center", "children": [
              {"type": "frame", "id": "RestTabKitchenBtn", "height": 36, "fill": "#22C55E", "cornerRadius": 8, "padding": [0, 12], "gap": 6, "alignItems": "center", "children": [{"type": "icon_font", "id": "RestTabKitchenIcon", "width": 16, "height": 16, "iconFontName": "chef-hat", "iconFontFamily": "lucide", "fill": "$text-primary"}, {"type": "text", "id": "RestTabKitchenText", "fill": "$text-primary", "content": "Gửi bếp", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]},
              {"type": "text", "id": "RestTabTime", "fill": "$text-primary", "content": "23:48", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "RestTabCategories",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "padding": [10, 16],
          "gap": 8,
          "children": [
            {"type": "frame", "id": "RestTabCatAll", "fill": "$orange-primary", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "RestTabCatAllText", "fill": "$text-primary", "content": "Tất cả", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]},
            {"type": "frame", "id": "RestTabCatAppetizer", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "RestTabCatAppetizerText", "fill": "$text-secondary", "content": "Khai vị", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
            {"type": "frame", "id": "RestTabCatMain", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "RestTabCatMainText", "fill": "$text-secondary", "content": "Món chính", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
            {"type": "frame", "id": "RestTabCatSeafood", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "RestTabCatSeafoodText", "fill": "$text-secondary", "content": "Hải sản", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
            {"type": "frame", "id": "RestTabCatDrinks", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "RestTabCatDrinksText", "fill": "$text-secondary", "content": "Đồ uống", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]}
          ]
        },
        {
          "type": "frame",
          "id": "RestTabMain",
          "width": "fill_container",
          "height": "fill_container",
          "children": [
            {
              "type": "frame",
              "id": "RestTabProducts",
              "width": "fill_container",
              "height": "fill_container",
              "padding": 16,
              "layout": "vertical",
              "gap": 12,
              "clip": true,
              "children": [
                {"type": "frame", "id": "RestTabProdRow1", "width": "fill_container", "gap": 12, "children": [
                  {"type": "frame", "id": "RestTabProd1", "width": 140, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "RestTabProd1Img", "width": "fill_container", "height": 85, "fill": "#EF444418"}, {"type": "frame", "id": "RestTabProd1Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "RestTabProd1Name", "fill": "$text-primary", "content": "Bò Lúc Lắc", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "RestTabProd1Price", "fill": "$orange-primary", "content": "185,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]},
                  {"type": "frame", "id": "RestTabProd2", "width": 140, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 2, "fill": "$orange-primary"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "RestTabProd2Img", "width": "fill_container", "height": 85, "fill": "#F59E0B18"}, {"type": "frame", "id": "RestTabProd2Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "RestTabProd2Name", "fill": "$text-primary", "content": "Gà Nướng", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "RestTabProd2Price", "fill": "$orange-primary", "content": "165,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]},
                  {"type": "frame", "id": "RestTabProd3", "width": 140, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "RestTabProd3Img", "width": "fill_container", "height": 85, "fill": "#3B82F618"}, {"type": "frame", "id": "RestTabProd3Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "RestTabProd3Name", "fill": "$text-primary", "content": "Cá Hồi", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "RestTabProd3Price", "fill": "$orange-primary", "content": "220,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]},
                  {"type": "frame", "id": "RestTabProd4", "width": 140, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "RestTabProd4Img", "width": "fill_container", "height": 85, "fill": "#22C55E18"}, {"type": "frame", "id": "RestTabProd4Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "RestTabProd4Name", "fill": "$text-primary", "content": "Salad", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "RestTabProd4Price", "fill": "$orange-primary", "content": "85,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]}
                ]},
                {"type": "frame", "id": "RestTabProdRow2", "width": "fill_container", "gap": 12, "children": [
                  {"type": "frame", "id": "RestTabProd5", "width": 140, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "RestTabProd5Img", "width": "fill_container", "height": 85, "fill": "#8B5CF618"}, {"type": "frame", "id": "RestTabProd5Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "RestTabProd5Name", "fill": "$text-primary", "content": "Rượu Vang", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "RestTabProd5Price", "fill": "$orange-primary", "content": "450,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]},
                  {"type": "frame", "id": "RestTabProd6", "width": 140, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "RestTabProd6Img", "width": "fill_container", "height": 85, "fill": "#F59E0B18"}, {"type": "frame", "id": "RestTabProd6Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "RestTabProd6Name", "fill": "$text-primary", "content": "Bia Tiger", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "RestTabProd6Price", "fill": "$orange-primary", "content": "35,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]}
                ]}
              ]
            },
            {
              "type": "frame",
              "id": "RestTabCart",
              "width": 300,
              "height": "fill_container",
              "fill": "$bg-elevated",
              "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["left"]},
              "layout": "vertical",
              "children": [
                {"type": "frame", "id": "RestTabCartHeader", "width": "fill_container", "padding": [12, 16], "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]}, "justifyContent": "space_between", "alignItems": "center", "children": [
                  {"type": "text", "id": "RestTabCartTitle", "fill": "$text-primary", "content": "Đơn hàng #0089", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                  {"type": "frame", "id": "RestTabCartRight", "gap": 6, "alignItems": "center", "children": [{"type": "text", "id": "RestTabCartStatus", "fill": "#F59E0B", "content": "2 chờ bếp", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}, {"type": "frame", "id": "RestTabCustomerBtn", "width": 28, "height": 28, "fill": "#14B8A620", "cornerRadius": 6, "stroke": {"thickness": 1, "fill": "#14B8A6"}, "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "RestTabCustomerIcon", "width": 14, "height": 14, "iconFontName": "user-search", "iconFontFamily": "lucide", "fill": "#14B8A6"}]}]}
                ]},
                {"type": "frame", "id": "RestTabCustomerSection", "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": "RestTabCustInfo", "gap": 6, "alignItems": "center", "children": [{"type": "frame", "id": "RestTabCustAvatar", "width": 24, "height": 24, "fill": "#14B8A630", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "RestTabCustIcon", "width": 12, "height": 12, "iconFontName": "user", "iconFontFamily": "lucide", "fill": "#14B8A6"}]}, {"type": "frame", "id": "RestTabCustDetails", "layout": "vertical", "gap": 1, "children": [{"type": "text", "id": "RestTabCustName", "fill": "$text-primary", "content": "Trần Văn B", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "600"}, {"type": "text", "id": "RestTabCustPoints", "fill": "$text-tertiary", "content": "Silver • 1,200 điểm", "fontFamily": "Roboto", "fontSize": 9}]}]}, {"type": "frame", "id": "RestTabCustRemove", "width": 18, "height": 18, "fill": "$bg-interactive", "cornerRadius": 4, "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "RestTabCustRemoveIcon", "width": 9, "height": 9, "iconFontName": "x", "iconFontFamily": "lucide", "fill": "$text-tertiary"}]}]},
                {"type": "frame", "id": "RestTabCartItems", "width": "fill_container", "height": "fill_container", "layout": "vertical", "children": [
                  {"type": "frame", "id": "RestTabCartItem1", "width": "fill_container", "padding": [10, 16], "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]}, "justifyContent": "space_between", "alignItems": "center", "children": [{"type": "frame", "id": "RestTabCartItem1Left", "gap": 10, "alignItems": "center", "children": [{"type": "frame", "id": "RestTabCartItem1Qty", "width": 26, "height": 26, "fill": "$bg-interactive", "cornerRadius": 6, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "RestTabCartItem1QtyText", "fill": "$text-primary", "content": "1", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "600"}]}, {"type": "frame", "id": "RestTabCartItem1Info", "layout": "vertical", "gap": 2, "children": [{"type": "text", "id": "RestTabCartItem1Name", "fill": "$text-primary", "content": "Bò Lúc Lắc", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "frame", "id": "RestTabCartItem1Status", "fill": "#22C55E20", "cornerRadius": 4, "padding": [2, 6], "children": [{"type": "text", "id": "RestTabCartItem1StatusText", "fill": "#22C55E", "content": "Đã phục vụ", "fontFamily": "Roboto", "fontSize": 9, "fontWeight": "600"}]}]}]}, {"type": "text", "id": "RestTabCartItem1Price", "fill": "$text-primary", "content": "185,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
                  {"type": "frame", "id": "RestTabCartItem2", "width": "fill_container", "padding": [10, 16], "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]}, "justifyContent": "space_between", "alignItems": "center", "children": [{"type": "frame", "id": "RestTabCartItem2Left", "gap": 10, "alignItems": "center", "children": [{"type": "frame", "id": "RestTabCartItem2Qty", "width": 26, "height": 26, "fill": "$bg-interactive", "cornerRadius": 6, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "RestTabCartItem2QtyText", "fill": "$text-primary", "content": "1", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "600"}]}, {"type": "frame", "id": "RestTabCartItem2Info", "layout": "vertical", "gap": 2, "children": [{"type": "text", "id": "RestTabCartItem2Name", "fill": "$text-primary", "content": "Gà Nướng", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "frame", "id": "RestTabCartItem2Status", "fill": "#F59E0B20", "cornerRadius": 4, "padding": [2, 6], "children": [{"type": "text", "id": "RestTabCartItem2StatusText", "fill": "#F59E0B", "content": "Chờ bếp", "fontFamily": "Roboto", "fontSize": 9, "fontWeight": "600"}]}]}]}, {"type": "text", "id": "RestTabCartItem2Price", "fill": "$text-primary", "content": "165,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]}
                ]},
                {"type": "frame", "id": "RestTabCartSummary", "width": "fill_container", "fill": "$bg-surface", "layout": "vertical", "padding": 14, "gap": 6, "children": [
                  {"type": "frame", "id": "RestTabCartSubtotal", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "text", "id": "RestTabCartSubtotalLabel", "fill": "$text-secondary", "content": "Tạm tính", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}, {"type": "text", "id": "RestTabCartSubtotalValue", "fill": "$text-primary", "content": "505,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]},
                  {"type": "frame", "id": "RestTabCartService", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "text", "id": "RestTabCartServiceLabel", "fill": "$text-secondary", "content": "Phí dịch vụ 5%", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}, {"type": "text", "id": "RestTabCartServiceValue", "fill": "$text-primary", "content": "25,250₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]},
                  {"type": "frame", "id": "RestTabCartLoyalty", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "frame", "id": "RestTabLoyaltyRow", "gap": 4, "alignItems": "center", "children": [{"type": "icon_font", "id": "RestTabLoyaltyIcon", "width": 12, "height": 12, "iconFontName": "coins", "iconFontFamily": "lucide", "fill": "#14B8A6"}, {"type": "text", "id": "RestTabLoyaltyLabel", "fill": "#14B8A6", "content": "Dùng 300 điểm", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]}, {"type": "text", "id": "RestTabLoyaltyValue", "fill": "#14B8A6", "content": "-30,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]},
                  {"type": "frame", "id": "RestTabCartTotal", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "text", "id": "RestTabCartTotalLabel", "fill": "$text-primary", "content": "Tổng cộng", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}, {"type": "text", "id": "RestTabCartTotalValue", "fill": "$orange-primary", "content": "530,250₫", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"}]}
                ]},
                {"type": "frame", "id": "RestTabPayBtn", "width": "fill_container", "height": 48, "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": "RestTabPayIcon", "width": 18, "height": 18, "iconFontName": "credit-card", "iconFontFamily": "lucide", "fill": "$text-primary"},
                  {"type": "text", "id": "RestTabPayText", "fill": "$text-primary", "content": "Thanh toá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"},
    "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"}
  }
}
