{
  "version": "2.7",
  "children": [
    {
      "type": "frame",
      "id": "RewardsCatalogScreen",
      "x": 0,
      "y": 0,
      "name": "Screen/RewardsCatalog",
      "reusable": true,
      "width": 390,
      "height": 911,
      "fill": "$bg-page",
      "layout": "vertical",
      "children": [
        {
          "type": "frame",
          "id": "RewardsTopBar",
          "name": "TopBar",
          "width": "fill_container",
          "height": 56,
          "fill": "$bg-surface",
          "padding": [
            0,
            16
          ],
          "justifyContent": "space_between",
          "alignItems": "center",
          "children": [
            {
              "type": "icon_font",
              "id": "RewardsBackIcon",
              "name": "BackIcon",
              "width": 24,
              "height": 24,
              "iconFontName": "chevron-left",
              "iconFontFamily": "lucide",
              "fill": "$text-primary"
            },
            {
              "type": "frame",
              "id": "wU2Gs",
              "name": "titleWrapper",
              "width": "fill_container",
              "height": "fill_container",
              "justifyContent": "center",
              "alignItems": "center",
              "children": [
                {
                  "type": "text",
                  "id": "RewardsScreenTitle",
                  "name": "Title",
                  "fill": "$text-primary",
                  "content": "Đổi thưởng",
                  "fontFamily": "Poppins",
                  "fontSize": 18,
                  "fontWeight": "600"
                }
              ]
            },
            {
              "type": "icon_font",
              "id": "RewardsFilterIcon",
              "name": "FilterIcon",
              "width": 24,
              "height": 24,
              "iconFontName": "sliders-horizontal",
              "iconFontFamily": "lucide",
              "fill": "$text-primary"
            }
          ]
        },
        {
          "type": "frame",
          "id": "RewardsScrollContent",
          "name": "ScrollContent",
          "width": "fill_container",
          "layout": "vertical",
          "gap": 16,
          "padding": [
            16,
            20,
            20,
            20
          ],
          "children": [
            {
              "type": "frame",
              "id": "PointsBalanceBar",
              "name": "PointsBalance",
              "width": "fill_container",
              "fill": "$bg-elevated",
              "cornerRadius": 12,
              "padding": [
                14,
                16
              ],
              "justifyContent": "space_between",
              "alignItems": "center",
              "children": [
                {
                  "type": "frame",
                  "id": "BalanceLeft",
                  "name": "Left",
                  "gap": 8,
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "icon_font",
                      "id": "BalanceIcon",
                      "name": "Icon",
                      "width": 20,
                      "height": 20,
                      "iconFontName": "coins",
                      "iconFontFamily": "lucide",
                      "fill": "$orange-primary"
                    },
                    {
                      "type": "text",
                      "id": "BalanceText",
                      "name": "Text",
                      "fill": "$text-primary",
                      "content": "Bạn có 2,450 điểm",
                      "fontFamily": "Poppins",
                      "fontSize": 14,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "icon_font",
                  "id": "BalanceArrow",
                  "name": "Arrow",
                  "width": 20,
                  "height": 20,
                  "iconFontName": "chevron-right",
                  "iconFontFamily": "lucide",
                  "fill": "$text-secondary"
                }
              ]
            },
            {
              "type": "frame",
              "id": "CategoryTabs",
              "name": "CategoryTabs",
              "width": "fill_container",
              "gap": 8,
              "children": [
                {
                  "type": "frame",
                  "id": "CatTabAll",
                  "name": "TabAll",
                  "fill": "$orange-primary",
                  "cornerRadius": 20,
                  "padding": [
                    8,
                    14
                  ],
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "CatTabAllText",
                      "fill": "#FFFFFF",
                      "content": "Tất cả",
                      "fontFamily": "Poppins",
                      "fontSize": 13,
                      "fontWeight": "600"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "CatTabDiscount",
                  "name": "TabDiscount",
                  "fill": "$bg-interactive",
                  "cornerRadius": 20,
                  "padding": [
                    8,
                    14
                  ],
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "CatTabDiscountText",
                      "fill": "$text-secondary",
                      "content": "Giảm giá",
                      "fontFamily": "Poppins",
                      "fontSize": 13,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "CatTabFree",
                  "name": "TabFree",
                  "fill": "$bg-interactive",
                  "cornerRadius": 20,
                  "padding": [
                    8,
                    14
                  ],
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "CatTabFreeText",
                      "fill": "$text-secondary",
                      "content": "Miễn phí",
                      "fontFamily": "Poppins",
                      "fontSize": 13,
                      "fontWeight": "500"
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "CatTabGifts",
                  "name": "TabGifts",
                  "fill": "$bg-interactive",
                  "cornerRadius": 20,
                  "padding": [
                    8,
                    14
                  ],
                  "justifyContent": "center",
                  "alignItems": "center",
                  "children": [
                    {
                      "type": "text",
                      "id": "CatTabGiftsText",
                      "fill": "$text-secondary",
                      "content": "Quà tặng",
                      "fontFamily": "Poppins",
                      "fontSize": 13,
                      "fontWeight": "500"
                    }
                  ]
                }
              ]
            },
            {
              "type": "frame",
              "id": "RewardsGrid",
              "name": "RewardsGrid",
              "width": "fill_container",
              "layout": "vertical",
              "gap": 12,
              "children": [
                {
                  "type": "frame",
                  "id": "4yWVT",
                  "name": "row1",
                  "width": "fill_container",
                  "gap": 12,
                  "children": [
                    {
                      "type": "frame",
                      "id": "RewardCard1",
                      "name": "RewardCoffee",
                      "width": 166,
                      "fill": "$bg-surface",
                      "cornerRadius": 16,
                      "layout": "vertical",
                      "children": [
                        {
                          "type": "frame",
                          "id": "Reward1ImageArea",
                          "name": "ImageArea",
                          "width": "fill_container",
                          "height": 100,
                          "fill": "#FFE5D9",
                          "cornerRadius": [
                            16,
                            16,
                            0,
                            0
                          ],
                          "layout": "vertical",
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "id": "Reward1Icon",
                              "name": "Icon",
                              "width": 48,
                              "height": 48,
                              "iconFontName": "coffee",
                              "iconFontFamily": "lucide",
                              "fill": "$orange-primary"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "Reward1Info",
                          "name": "Info",
                          "width": "fill_container",
                          "layout": "vertical",
                          "gap": 8,
                          "padding": 12,
                          "children": [
                            {
                              "type": "text",
                              "id": "Reward1Title",
                              "name": "Title",
                              "fill": "$text-primary",
                              "textGrowth": "fixed-width",
                              "width": "fill_container",
                              "content": "1 ly cà phê miễn phí",
                              "fontFamily": "Poppins",
                              "fontSize": 13,
                              "fontWeight": "600"
                            },
                            {
                              "type": "text",
                              "id": "Reward1Points",
                              "name": "Points",
                              "fill": "$orange-primary",
                              "content": "200 điểm",
                              "fontFamily": "Poppins",
                              "fontSize": 12,
                              "fontWeight": "500"
                            },
                            {
                              "type": "frame",
                              "id": "Reward1Button",
                              "name": "Button",
                              "width": "fill_container",
                              "fill": "$orange-primary",
                              "cornerRadius": 8,
                              "layout": "vertical",
                              "padding": [
                                8,
                                0
                              ],
                              "justifyContent": "center",
                              "alignItems": "center",
                              "children": [
                                {
                                  "type": "text",
                                  "id": "Reward1BtnText",
                                  "name": "BtnText",
                                  "fill": "#FFFFFF",
                                  "content": "Đổi ngay",
                                  "fontFamily": "Poppins",
                                  "fontSize": 12,
                                  "fontWeight": "600"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "RewardCard2",
                      "name": "RewardDiscount",
                      "width": 166,
                      "fill": "$bg-surface",
                      "cornerRadius": 16,
                      "layout": "vertical",
                      "children": [
                        {
                          "type": "frame",
                          "id": "Reward2ImageArea",
                          "name": "ImageArea",
                          "width": "fill_container",
                          "height": 100,
                          "fill": "#FFE5D9",
                          "cornerRadius": [
                            16,
                            16,
                            0,
                            0
                          ],
                          "layout": "vertical",
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "id": "Reward2Icon",
                              "name": "Icon",
                              "width": 48,
                              "height": 48,
                              "iconFontName": "percent",
                              "iconFontFamily": "lucide",
                              "fill": "$orange-primary"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "Reward2Info",
                          "name": "Info",
                          "width": "fill_container",
                          "layout": "vertical",
                          "gap": 8,
                          "padding": 12,
                          "children": [
                            {
                              "type": "text",
                              "id": "Reward2Title",
                              "name": "Title",
                              "fill": "$text-primary",
                              "textGrowth": "fixed-width",
                              "width": "fill_container",
                              "content": "Giảm 20% đơn tiếp theo",
                              "fontFamily": "Poppins",
                              "fontSize": 13,
                              "fontWeight": "600"
                            },
                            {
                              "type": "text",
                              "id": "Reward2Points",
                              "name": "Points",
                              "fill": "$orange-primary",
                              "content": "100 điểm",
                              "fontFamily": "Poppins",
                              "fontSize": 12,
                              "fontWeight": "500"
                            },
                            {
                              "type": "frame",
                              "id": "Reward2Button",
                              "name": "Button",
                              "width": "fill_container",
                              "fill": "$orange-primary",
                              "cornerRadius": 8,
                              "layout": "vertical",
                              "padding": [
                                8,
                                0
                              ],
                              "justifyContent": "center",
                              "alignItems": "center",
                              "children": [
                                {
                                  "type": "text",
                                  "id": "Reward2BtnText",
                                  "name": "BtnText",
                                  "fill": "#FFFFFF",
                                  "content": "Đổi ngay",
                                  "fontFamily": "Poppins",
                                  "fontSize": 12,
                                  "fontWeight": "600"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "Dw1Yp",
                  "name": "row2",
                  "width": "fill_container",
                  "gap": 12,
                  "children": [
                    {
                      "type": "frame",
                      "id": "RewardCard3",
                      "name": "RewardCombo",
                      "width": 166,
                      "fill": "$bg-surface",
                      "cornerRadius": 16,
                      "layout": "vertical",
                      "children": [
                        {
                          "type": "frame",
                          "id": "Reward3ImageArea",
                          "name": "ImageArea",
                          "width": "fill_container",
                          "height": 100,
                          "fill": "#FFE5D9",
                          "cornerRadius": [
                            16,
                            16,
                            0,
                            0
                          ],
                          "layout": "vertical",
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "id": "Reward3Icon",
                              "name": "Icon",
                              "width": 48,
                              "height": 48,
                              "iconFontName": "sandwich",
                              "iconFontFamily": "lucide",
                              "fill": "$orange-primary"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "Reward3Info",
                          "name": "Info",
                          "width": "fill_container",
                          "layout": "vertical",
                          "gap": 8,
                          "padding": 12,
                          "children": [
                            {
                              "type": "text",
                              "id": "Reward3Title",
                              "name": "Title",
                              "fill": "$text-primary",
                              "textGrowth": "fixed-width",
                              "width": "fill_container",
                              "content": "Combo bánh + nước -50%",
                              "fontFamily": "Poppins",
                              "fontSize": 13,
                              "fontWeight": "600"
                            },
                            {
                              "type": "text",
                              "id": "Reward3Points",
                              "name": "Points",
                              "fill": "$orange-primary",
                              "content": "350 điểm",
                              "fontFamily": "Poppins",
                              "fontSize": 12,
                              "fontWeight": "500"
                            },
                            {
                              "type": "frame",
                              "id": "Reward3Button",
                              "name": "Button",
                              "width": "fill_container",
                              "fill": "$orange-primary",
                              "cornerRadius": 8,
                              "layout": "vertical",
                              "padding": [
                                8,
                                0
                              ],
                              "justifyContent": "center",
                              "alignItems": "center",
                              "children": [
                                {
                                  "type": "text",
                                  "id": "Reward3BtnText",
                                  "name": "BtnText",
                                  "fill": "#FFFFFF",
                                  "content": "Đổi ngay",
                                  "fontFamily": "Poppins",
                                  "fontSize": 12,
                                  "fontWeight": "600"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "RewardCard4",
                      "name": "RewardShirt",
                      "width": 166,
                      "fill": "$bg-surface",
                      "cornerRadius": 16,
                      "layout": "vertical",
                      "children": [
                        {
                          "type": "frame",
                          "id": "Reward4ImageArea",
                          "name": "ImageArea",
                          "width": "fill_container",
                          "height": 100,
                          "fill": "#FFE5D9",
                          "cornerRadius": [
                            16,
                            16,
                            0,
                            0
                          ],
                          "layout": "vertical",
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "id": "Reward4Icon",
                              "name": "Icon",
                              "width": 48,
                              "height": 48,
                              "iconFontName": "shirt",
                              "iconFontFamily": "lucide",
                              "fill": "$orange-primary"
                            },
                            {
                              "type": "frame",
                              "id": "Reward4Tag",
                              "name": "Tag",
                              "fill": "$error",
                              "cornerRadius": 6,
                              "padding": [
                                3,
                                8
                              ],
                              "justifyContent": "center",
                              "alignItems": "center",
                              "children": [
                                {
                                  "type": "text",
                                  "id": "Reward4TagText",
                                  "fill": "#FFFFFF",
                                  "content": "Sắp hết",
                                  "fontFamily": "Poppins",
                                  "fontSize": 10,
                                  "fontWeight": "600"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "Reward4Info",
                          "name": "Info",
                          "width": "fill_container",
                          "layout": "vertical",
                          "gap": 8,
                          "padding": 12,
                          "children": [
                            {
                              "type": "text",
                              "id": "Reward4Title",
                              "name": "Title",
                              "fill": "$text-primary",
                              "textGrowth": "fixed-width",
                              "width": "fill_container",
                              "content": "Áo thun EggyMon",
                              "fontFamily": "Poppins",
                              "fontSize": 13,
                              "fontWeight": "600"
                            },
                            {
                              "type": "text",
                              "id": "Reward4Points",
                              "name": "Points",
                              "fill": "$orange-primary",
                              "content": "500 điểm",
                              "fontFamily": "Poppins",
                              "fontSize": 12,
                              "fontWeight": "500"
                            },
                            {
                              "type": "frame",
                              "id": "Reward4Button",
                              "name": "Button",
                              "width": "fill_container",
                              "fill": "$orange-primary",
                              "cornerRadius": 8,
                              "layout": "vertical",
                              "padding": [
                                8,
                                0
                              ],
                              "justifyContent": "center",
                              "alignItems": "center",
                              "children": [
                                {
                                  "type": "text",
                                  "id": "Reward4BtnText",
                                  "name": "BtnText",
                                  "fill": "#FFFFFF",
                                  "content": "Đổi ngay",
                                  "fontFamily": "Poppins",
                                  "fontSize": 12,
                                  "fontWeight": "600"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "frame",
                  "id": "x81EV",
                  "name": "row3",
                  "width": "fill_container",
                  "gap": 12,
                  "children": [
                    {
                      "type": "frame",
                      "id": "RewardCard5",
                      "name": "RewardMealSet",
                      "width": 166,
                      "fill": "$bg-surface",
                      "cornerRadius": 16,
                      "layout": "vertical",
                      "children": [
                        {
                          "type": "frame",
                          "id": "Reward5ImageArea",
                          "name": "ImageArea",
                          "width": "fill_container",
                          "height": 100,
                          "fill": "#FFE5D9",
                          "cornerRadius": [
                            16,
                            16,
                            0,
                            0
                          ],
                          "layout": "vertical",
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "id": "Reward5Icon",
                              "name": "Icon",
                              "width": 48,
                              "height": 48,
                              "iconFontName": "utensils",
                              "iconFontFamily": "lucide",
                              "fill": "$orange-primary"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "Reward5Info",
                          "name": "Info",
                          "width": "fill_container",
                          "layout": "vertical",
                          "gap": 8,
                          "padding": 12,
                          "children": [
                            {
                              "type": "text",
                              "id": "Reward5Title",
                              "name": "Title",
                              "fill": "$text-primary",
                              "textGrowth": "fixed-width",
                              "width": "fill_container",
                              "content": "Set ăn miễn phí",
                              "fontFamily": "Poppins",
                              "fontSize": 13,
                              "fontWeight": "600"
                            },
                            {
                              "type": "text",
                              "id": "Reward5Points",
                              "name": "Points",
                              "fill": "$orange-primary",
                              "content": "800 điểm",
                              "fontFamily": "Poppins",
                              "fontSize": 12,
                              "fontWeight": "500"
                            },
                            {
                              "type": "frame",
                              "id": "Reward5Button",
                              "name": "Button",
                              "width": "fill_container",
                              "fill": "$orange-primary",
                              "cornerRadius": 8,
                              "layout": "vertical",
                              "padding": [
                                8,
                                0
                              ],
                              "justifyContent": "center",
                              "alignItems": "center",
                              "children": [
                                {
                                  "type": "text",
                                  "id": "Reward5BtnText",
                                  "name": "BtnText",
                                  "fill": "#FFFFFF",
                                  "content": "Đổi ngay",
                                  "fontFamily": "Poppins",
                                  "fontSize": 12,
                                  "fontWeight": "600"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "type": "frame",
                      "id": "RewardCard6",
                      "name": "RewardVIP",
                      "width": 166,
                      "fill": "$bg-surface",
                      "cornerRadius": 16,
                      "layout": "vertical",
                      "children": [
                        {
                          "type": "frame",
                          "id": "Reward6ImageArea",
                          "name": "ImageArea",
                          "width": "fill_container",
                          "height": 100,
                          "fill": "#FFE5D9",
                          "cornerRadius": [
                            16,
                            16,
                            0,
                            0
                          ],
                          "layout": "vertical",
                          "justifyContent": "center",
                          "alignItems": "center",
                          "children": [
                            {
                              "type": "icon_font",
                              "id": "Reward6Icon",
                              "name": "Icon",
                              "width": 48,
                              "height": 48,
                              "iconFontName": "crown",
                              "iconFontFamily": "lucide",
                              "fill": "$orange-primary"
                            }
                          ]
                        },
                        {
                          "type": "frame",
                          "id": "Reward6Info",
                          "name": "Info",
                          "width": "fill_container",
                          "layout": "vertical",
                          "gap": 8,
                          "padding": 12,
                          "children": [
                            {
                              "type": "text",
                              "id": "Reward6Title",
                              "name": "Title",
                              "fill": "$text-primary",
                              "textGrowth": "fixed-width",
                              "width": "fill_container",
                              "content": "Nâng hạng VIP",
                              "fontFamily": "Poppins",
                              "fontSize": 13,
                              "fontWeight": "600"
                            },
                            {
                              "type": "text",
                              "id": "Reward6Points",
                              "name": "Points",
                              "fill": "$orange-primary",
                              "content": "1000 điểm",
                              "fontFamily": "Poppins",
                              "fontSize": 12,
                              "fontWeight": "500"
                            },
                            {
                              "type": "frame",
                              "id": "Reward6Button",
                              "name": "Button",
                              "width": "fill_container",
                              "fill": "$orange-primary",
                              "cornerRadius": 8,
                              "layout": "vertical",
                              "padding": [
                                8,
                                0
                              ],
                              "justifyContent": "center",
                              "alignItems": "center",
                              "children": [
                                {
                                  "type": "text",
                                  "id": "Reward6BtnText",
                                  "name": "BtnText",
                                  "fill": "#FFFFFF",
                                  "content": "Đổi ngay",
                                  "fontFamily": "Poppins",
                                  "fontSize": 12,
                                  "fontWeight": "600"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "variables": {
    "bg-page": {
      "type": "color",
      "value": "#FAF8F4"
    },
    "bg-surface": {
      "type": "color",
      "value": "#FFFFFF"
    },
    "bg-elevated": {
      "type": "color",
      "value": "#FFF8F0"
    },
    "bg-interactive": {
      "type": "color",
      "value": "#F5EDE4"
    },
    "brown-primary": {
      "type": "color",
      "value": "#6B4423"
    },
    "brown-dark": {
      "type": "color",
      "value": "#4A2E15"
    },
    "orange-primary": {
      "type": "color",
      "value": "#FF6B35"
    },
    "orange-light": {
      "type": "color",
      "value": "#FF8A5C"
    },
    "text-primary": {
      "type": "color",
      "value": "#2C2C2C"
    },
    "text-secondary": {
      "type": "color",
      "value": "#6B6B6B"
    },
    "text-tertiary": {
      "type": "color",
      "value": "#9B9B9B"
    },
    "border-default": {
      "type": "color",
      "value": "#E5DDD4"
    },
    "border-subtle": {
      "type": "color",
      "value": "#F0EAE2"
    },
    "success": {
      "type": "color",
      "value": "#22C55E"
    },
    "warning": {
      "type": "color",
      "value": "#F59E0B"
    },
    "error": {
      "type": "color",
      "value": "#EF4444"
    }
  }
}