{
  "version": "2.6",
  "children": [
    {
      "type": "frame",
      "id": "POSKaraokeTablet",
      "name": "POS Karaoke Tablet",
      "reusable": true,
      "width": 1024,
      "height": 768,
      "fill": "$bg-page",
      "layout": "vertical",
      "clip": true,
      "children": [
        {
          "type": "frame",
          "id": "KarTabHeader",
          "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": "KarTabLeft", "gap": 12, "alignItems": "center", "children": [
              {"type": "frame", "id": "KarTabLogoIcon", "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": "KarTabLogoText", "fill": "$text-primary", "content": "G", "fontFamily": "Roboto", "fontSize": 18, "fontWeight": "700"}]},
              {"type": "frame", "id": "KarTabRoomBadge", "fill": "#8B5CF6", "cornerRadius": 8, "padding": [6, 12], "children": [{"type": "text", "id": "KarTabRoomText", "fill": "$text-primary", "content": "Phòng VIP 01", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "700"}]},
              {"type": "frame", "id": "KarTabTimer", "fill": "$bg-interactive", "cornerRadius": 8, "padding": [6, 12], "gap": 6, "alignItems": "center", "children": [{"type": "icon_font", "id": "KarTabTimerIcon", "width": 14, "height": 14, "iconFontName": "clock", "iconFontFamily": "lucide", "fill": "#22C55E"}, {"type": "text", "id": "KarTabTimerText", "fill": "#22C55E", "content": "01:45:30", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}]}
            ]},
            {"type": "frame", "id": "KarTabSearch", "width": 220, "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": "KarTabSearchIcon", "width": 18, "height": 18, "iconFontName": "search", "iconFontFamily": "lucide", "fill": "$text-tertiary"},
              {"type": "text", "id": "KarTabSearchText", "fill": "$text-tertiary", "content": "Tìm món...", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "normal"}
            ]},
            {"type": "frame", "id": "KarTabRight", "gap": 8, "alignItems": "center", "children": [
              {"type": "frame", "id": "KarTabExtendBtn", "height": 36, "fill": "#F59E0B", "cornerRadius": 8, "padding": [0, 12], "gap": 6, "alignItems": "center", "children": [{"type": "icon_font", "id": "KarTabExtendIcon", "width": 16, "height": 16, "iconFontName": "plus-circle", "iconFontFamily": "lucide", "fill": "$text-primary"}, {"type": "text", "id": "KarTabExtendText", "fill": "$text-primary", "content": "Gia hạn", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]},
              {"type": "text", "id": "KarTabTime", "fill": "$text-primary", "content": "23:48", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}
            ]}
          ]
        },
        {
          "type": "frame",
          "id": "KarTabCategories",
          "width": "fill_container",
          "fill": "$bg-elevated",
          "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]},
          "padding": [10, 16],
          "gap": 8,
          "children": [
            {"type": "frame", "id": "KarTabCatAll", "fill": "$orange-primary", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "KarTabCatAllText", "fill": "$text-primary", "content": "Tất cả", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]},
            {"type": "frame", "id": "KarTabCatBeer", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "KarTabCatBeerText", "fill": "$text-secondary", "content": "Bia", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
            {"type": "frame", "id": "KarTabCatSoft", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "KarTabCatSoftText", "fill": "$text-secondary", "content": "Nước ngọt", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
            {"type": "frame", "id": "KarTabCatSnack", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "KarTabCatSnackText", "fill": "$text-secondary", "content": "Snack", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]},
            {"type": "frame", "id": "KarTabCatCombo", "fill": "$bg-interactive", "cornerRadius": 100, "padding": [8, 16], "children": [{"type": "text", "id": "KarTabCatComboText", "fill": "$text-secondary", "content": "Combo", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "500"}]}
          ]
        },
        {
          "type": "frame",
          "id": "KarTabMain",
          "width": "fill_container",
          "height": "fill_container",
          "children": [
            {
              "type": "frame",
              "id": "KarTabProducts",
              "width": "fill_container",
              "height": "fill_container",
              "padding": 16,
              "layout": "vertical",
              "gap": 12,
              "clip": true,
              "children": [
                {"type": "frame", "id": "KarTabProdRow1", "width": "fill_container", "gap": 12, "children": [
                  {"type": "frame", "id": "KarTabProd1", "width": 140, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "KarTabProd1Img", "width": "fill_container", "height": 85, "fill": "#F59E0B30"}, {"type": "frame", "id": "KarTabProd1Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "KarTabProd1Name", "fill": "$text-primary", "content": "Heineken", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "KarTabProd1Price", "fill": "$orange-primary", "content": "35,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]},
                  {"type": "frame", "id": "KarTabProd2", "width": 140, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 2, "fill": "$orange-primary"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "KarTabProd2Img", "width": "fill_container", "height": 85, "fill": "#EF444430"}, {"type": "frame", "id": "KarTabProd2Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "KarTabProd2Name", "fill": "$text-primary", "content": "Coca Cola", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "KarTabProd2Price", "fill": "$orange-primary", "content": "20,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]},
                  {"type": "frame", "id": "KarTabProd3", "width": 140, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "KarTabProd3Img", "width": "fill_container", "height": 85, "fill": "#22C55E30"}, {"type": "frame", "id": "KarTabProd3Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "KarTabProd3Name", "fill": "$text-primary", "content": "Trái cây", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "KarTabProd3Price", "fill": "$orange-primary", "content": "120,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]},
                  {"type": "frame", "id": "KarTabProd4", "width": 140, "fill": "$bg-elevated", "cornerRadius": 12, "stroke": {"thickness": 1, "fill": "$border-default"}, "layout": "vertical", "clip": true, "children": [{"type": "frame", "id": "KarTabProd4Img", "width": "fill_container", "height": 85, "fill": "#8B5CF630"}, {"type": "frame", "id": "KarTabProd4Info", "width": "fill_container", "layout": "vertical", "gap": 4, "padding": 10, "children": [{"type": "text", "id": "KarTabProd4Name", "fill": "$text-primary", "content": "Combo VIP", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}, {"type": "text", "id": "KarTabProd4Price", "fill": "$orange-primary", "content": "599,000₫", "fontFamily": "Roboto", "fontSize": 13, "fontWeight": "600"}]}]}
                ]}
              ]
            },
            {
              "type": "frame",
              "id": "KarTabCart",
              "width": 300,
              "height": "fill_container",
              "fill": "$bg-elevated",
              "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["left"]},
              "layout": "vertical",
              "children": [
                {"type": "frame", "id": "KarTabCartHeader", "width": "fill_container", "padding": [12, 16], "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]}, "justifyContent": "space_between", "alignItems": "center", "children": [
                  {"type": "text", "id": "KarTabCartTitle", "fill": "$text-primary", "content": "Phòng VIP 01", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"},
                  {"type": "frame", "id": "KarTabCartRight", "gap": 6, "alignItems": "center", "children": [{"type": "text", "id": "KarTabCartItems", "fill": "$text-secondary", "content": "5 món", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}, {"type": "frame", "id": "KarTabCustomerBtn", "width": 28, "height": 28, "fill": "#14B8A620", "cornerRadius": 6, "stroke": {"thickness": 1, "fill": "#14B8A6"}, "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "KarTabCustomerIcon", "width": 14, "height": 14, "iconFontName": "user-search", "iconFontFamily": "lucide", "fill": "#14B8A6"}]}]}
                ]},
                {"type": "frame", "id": "KarTabCustomerSection", "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": "KarTabCustInfo", "gap": 6, "alignItems": "center", "children": [{"type": "frame", "id": "KarTabCustAvatar", "width": 24, "height": 24, "fill": "#14B8A630", "cornerRadius": 100, "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "KarTabCustIcon", "width": 12, "height": 12, "iconFontName": "user", "iconFontFamily": "lucide", "fill": "#14B8A6"}]}, {"type": "frame", "id": "KarTabCustDetails", "layout": "vertical", "gap": 1, "children": [{"type": "text", "id": "KarTabCustName", "fill": "$text-primary", "content": "Lê Văn C", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "600"}, {"type": "text", "id": "KarTabCustPoints", "fill": "$text-tertiary", "content": "Platinum • 5,600 điểm", "fontFamily": "Roboto", "fontSize": 9}]}]}, {"type": "frame", "id": "KarTabCustRemove", "width": 18, "height": 18, "fill": "$bg-interactive", "cornerRadius": 4, "justifyContent": "center", "alignItems": "center", "children": [{"type": "icon_font", "id": "KarTabCustRemoveIcon", "width": 9, "height": 9, "iconFontName": "x", "iconFontFamily": "lucide", "fill": "$text-tertiary"}]}]},
                {"type": "frame", "id": "KarTabCartItems2", "width": "fill_container", "height": "fill_container", "layout": "vertical", "children": [
                  {"type": "frame", "id": "KarTabRoomFee", "width": "fill_container", "padding": [10, 16], "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]}, "fill": "#8B5CF610", "justifyContent": "space_between", "alignItems": "center", "children": [{"type": "frame", "id": "KarTabRoomFeeLeft", "gap": 8, "alignItems": "center", "children": [{"type": "icon_font", "id": "KarTabRoomFeeIcon", "width": 16, "height": 16, "iconFontName": "clock", "iconFontFamily": "lucide", "fill": "#8B5CF6"}, {"type": "text", "id": "KarTabRoomFeeName", "fill": "$text-primary", "content": "Giờ phòng VIP", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]}, {"type": "text", "id": "KarTabRoomFeePrice", "fill": "#8B5CF6", "content": "270,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
                  {"type": "frame", "id": "KarTabCartItem1", "width": "fill_container", "padding": [10, 16], "stroke": {"thickness": 1, "fill": "$border-subtle", "sides": ["bottom"]}, "justifyContent": "space_between", "alignItems": "center", "children": [{"type": "frame", "id": "KarTabCartItem1Left", "gap": 10, "alignItems": "center", "children": [{"type": "frame", "id": "KarTabCartItem1Qty", "width": 26, "height": 26, "fill": "$bg-interactive", "cornerRadius": 6, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "KarTabCartItem1QtyText", "fill": "$text-primary", "content": "6", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "600"}]}, {"type": "text", "id": "KarTabCartItem1Name", "fill": "$text-primary", "content": "Heineken", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]}, {"type": "text", "id": "KarTabCartItem1Price", "fill": "$text-primary", "content": "210,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
                  {"type": "frame", "id": "KarTabCartItem2", "width": "fill_container", "padding": [10, 16], "justifyContent": "space_between", "alignItems": "center", "children": [{"type": "frame", "id": "KarTabCartItem2Left", "gap": 10, "alignItems": "center", "children": [{"type": "frame", "id": "KarTabCartItem2Qty", "width": 26, "height": 26, "fill": "$bg-interactive", "cornerRadius": 6, "justifyContent": "center", "alignItems": "center", "children": [{"type": "text", "id": "KarTabCartItem2QtyText", "fill": "$text-primary", "content": "4", "fontFamily": "Roboto", "fontSize": 11, "fontWeight": "600"}]}, {"type": "text", "id": "KarTabCartItem2Name", "fill": "$text-primary", "content": "Coca Cola", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]}, {"type": "text", "id": "KarTabCartItem2Price", "fill": "$text-primary", "content": "80,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]}
                ]},
                {"type": "frame", "id": "KarTabCartSummary", "width": "fill_container", "fill": "$bg-surface", "layout": "vertical", "padding": 14, "gap": 6, "children": [
                  {"type": "frame", "id": "KarTabCartRoom", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "text", "id": "KarTabCartRoomLabel", "fill": "$text-secondary", "content": "Tiền phòng (1.8h)", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}, {"type": "text", "id": "KarTabCartRoomValue", "fill": "#8B5CF6", "content": "270,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "600"}]},
                  {"type": "frame", "id": "KarTabCartFood", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "text", "id": "KarTabCartFoodLabel", "fill": "$text-secondary", "content": "Đồ ăn/uống", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "normal"}, {"type": "text", "id": "KarTabCartFoodValue", "fill": "$text-primary", "content": "290,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]},
                  {"type": "frame", "id": "KarTabCartLoyalty", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "frame", "id": "KarTabLoyaltyRow", "gap": 4, "alignItems": "center", "children": [{"type": "icon_font", "id": "KarTabLoyaltyIcon", "width": 12, "height": 12, "iconFontName": "coins", "iconFontFamily": "lucide", "fill": "#14B8A6"}, {"type": "text", "id": "KarTabLoyaltyLabel", "fill": "#14B8A6", "content": "Dùng 500 điểm", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]}, {"type": "text", "id": "KarTabLoyaltyValue", "fill": "#14B8A6", "content": "-50,000₫", "fontFamily": "Roboto", "fontSize": 12, "fontWeight": "500"}]},
                  {"type": "frame", "id": "KarTabCartTotal", "width": "fill_container", "justifyContent": "space_between", "children": [{"type": "text", "id": "KarTabCartTotalLabel", "fill": "$text-primary", "content": "Tổng cộng", "fontFamily": "Roboto", "fontSize": 14, "fontWeight": "600"}, {"type": "text", "id": "KarTabCartTotalValue", "fill": "$orange-primary", "content": "560,000₫", "fontFamily": "Roboto", "fontSize": 16, "fontWeight": "700"}]}
                ]},
                {"type": "frame", "id": "KarTabPayBtn", "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": "KarTabPayIcon", "width": 18, "height": 18, "iconFontName": "credit-card", "iconFontFamily": "lucide", "fill": "$text-primary"},
                  {"type": "text", "id": "KarTabPayText", "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"}
  }
}
