*{margin: 0;padding: 0;box-sizing: border-box;}
body{font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;background: #F8F9FA;line-height: 1.4;}
a{ text-decoration:none;}
.page{max-width: 450px;margin: 0 auto;background: #F8F9FA;min-height: 100vh;box-shadow: 0 0 20px rgba(0,0,0,0.05);}
.container{display: flex;flex-direction: column;}
.header{padding: 15px 20px;background-color: #40AE36;width: 100%;}
.header-address{display: flex;align-items: center;justify-content: space-between;}
.header-address-left{display: flex;align-items: center;}
.header-address-left image, .header-address-left img{width: 24px;height: 24px;}
.header-address-left text, .header-address-left span{font-size: 15px;color: #FFFFFF;margin-left: 3px;}
.header-address-down-icon{width: 8px !important;height: 5px !important;margin-left: 5px;}
.header-address-right{display: flex;align-items: center;}
.header-address-right image, .header-address-right img{width: 24px;height: 24px;}
.header-address-scan-icon{margin-right: 10px;}
.content{padding: 20px;}
.search{background: #EDEFF2;border-radius: 20px;display: flex;align-items: center;padding: 7px 18px;cursor: pointer;}
.search image, .search img{width: 16px;height: 16px;}
.search-input{margin-left: 10px;flex: 1;}
.search-input input{color: #999999;font-size: 14px;border: none;outline: none;background: transparent;width: 100%;}
.banner{margin-top: 12px;overflow: hidden;}
.swiper-container{width: 100%;height: 150px;border-radius: 10px;overflow: hidden;}
.swiper-wrapper{display: flex;height: 100%;transition: transform 0.3s;}
.swiper-slide{flex: 0 0 100%;height: 100%;}
.swiper-slide image, .swiper-slide img{width: 100%;height: 100%;border-radius: 10px;object-fit: cover;display: block;}
.swiper-pagination{text-align: center;margin-top: 4px;}
.dot{display: inline-block;width: 6px;height: 6px;border-radius: 50%;background: #ccc;margin: 0 3px;}
.dot.active{background: #40AE36;}
.category{display: flex;flex-wrap: wrap;margin-top: 20px;}
.category-item{display: flex;flex-direction: column;align-items: center;width: 20%;margin-bottom: 10px;}
.category-item-info{display: flex;flex-direction: column;align-items: center;cursor: pointer;}
.category-item-info image, .category-item-info img{width: 54px;height: 54px;}
.category-item-info text, .category-item-info span{font-size: 12px;color: #666666;margin-top: 8px;}
.part1{border-radius: 10px;background: #FFFFFF;margin-top: 20px;padding: 10px 15px 15px 15px;}
.part1-top{display: flex;align-items: center;justify-content: space-between;}
.part1-left{display: flex;align-items: center;}
.part1-left-huasuan{font-size: 17px;color: #333333;font-weight: bold;}
.part1-left-dongri{font-size: 9px;color: #FFFFFF;background: #EC9F09;border-radius: 2px;padding: 0px 2px;margin-left: 5px;}
.part1-right{font-size: 12px;color: #40AE36;cursor: pointer;}
.part1-bottom{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;}
.part1-content{width: 33.33%;text-align: left;padding: 0 5px 0 0;}
.part1-content-top{cursor: pointer;}
.part1-goods-img{width: 90px;height: 90px;max-width: 100%;}
.part1-content-bottom{display: flex;align-items: center;justify-content: space-between;margin-top: 5px;}
.part1-goods-name{color: #666666;font-size: 12px;padding: 5px 0px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
.part1-goods-price{color: #F55726;font-size: 16px;font-weight: 600;}
.part1-shopcar-icon{width: 22px;height: 22px;margin-right: 5px;cursor: pointer;}
.part2{display: flex;align-items: stretch;justify-content: space-between;gap: 10px;margin-top: 20px;}
.part2-left, .part2-right{border-radius: 10px;background: #FFFFFF;padding: 10px 10px 5px 10px;flex: 1;}
.part2-txt{display: flex;flex-direction: column;}
.part2-title{font-size: 15px;color: #333333;font-weight: 600;}
.part2-description{font-size: 12px;color: #999999;margin-top: 2px;}
.part2-img{margin-top: 8px;display: flex;gap: 5px;}
.part2-img image, .part2-img img{width: 65px;height: 65px;object-fit: cover;}
.bottom{margin-top: 20px;}
.goods{display: flex;flex-wrap: wrap;justify-content: space-between;}
.goods-item{display: flex;flex-direction: column;justify-content: space-between;border-radius: 10px;background: #FFFFFF;padding: 0px 10px 15px 10px;margin-top: 15px;width: calc(50% - 5px);}
.goods-item-image{width: 100%;height: 140px;border-radius: 2px;object-fit: cover;}
.goods-item-name{width: 100%;font-size: 13px;font-weight: 700;line-height: 17px;color: #333333;margin-top: 5px;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;}
.goods-item-tag{display: flex;align-items: center;margin-top: 7px;font-size: 9px;flex-wrap: wrap;gap: 3px;}
.goods-item-tag span{display: inline-block;border-radius: 2px;padding: 0px 2px;}
.tag-first{color: #F55726;border: 1px solid #F55726;}
.tag-second{color: #40AE36;border: 1px solid #40AE36;}
.goods-item-price{display: flex;align-items: center;justify-content: space-between;margin-top: 7px;}
.goods-item-price-txt{color: #F55726;font-size: 16px;font-weight: 600;}
.goods-item-price-unit{font-size: 11px;color: #999999;font-weight: normal;}
.goods-item-shopcar-icon{width: 22px;height: 22px;margin-right: 5px;cursor: pointer;}
img{display: block;}
.loadmore{text-align: center;padding: 10px;color: #999;font-size: 12px;}
.hidden{display: none;}


/* 底部导航栏容器 - 固定在底部 */
        .tabbar {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            max-width: 450px;
            margin: 0 auto;
            right: 0;
            background-color: #FFFFFF;
            border-top: 1px solid #f0f0f0;
            z-index: 1000;
        }

        .tabbar-content {
            display: flex;
            align-items: center;
            height: 60px;
            padding: 5px 0;
        }

        .tabbar-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .tabbar-item img {
            width: 24px;
            height: 24px;
            margin-bottom: 4px;
            display: block;
        }

        .tabbar-item span {
            font-size: 11px;
            color: #666666;
        }

        .tabbar-item.active span {
            color: #40AE36;
        }



        /* 左侧菜单 */
        .u-tab-view {
            width: 100px;
            height: 100%;
            background: #F8F9FA;
            overflow-y: auto;
        }
        .u-tab-item {
            height: 55px;
            background: #f6f6f6;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            color: #444;
            font-weight: 400;
            line-height: 1;
            cursor: pointer;
            transition: all 0.2s;
        }
        .u-tab-item-active {
            position: relative;
            color: #000;
            font-size: 15px;
            font-weight: 600;
            background: #fff;
        }
        .u-line-1 {
            padding: 10px 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        /* 右侧内容 */
        .right-box {
            background-color: #fafafa;
            flex: 1;
            overflow-y: auto;
            padding: 10px;
        }
        .page-view {
            width: 100%;
        }
        .class-item {
            margin-bottom: 15px;
            background-color: #fff;
            padding: 8px;
            border-radius: 4px;
        }
        .thumb-box {
            display: flex;
            align-items: center;
            padding: 10px 0px;
            border-bottom: 0.5px solid #EBEBEB;
        }
        .thumb-box:last-child {
            border-bottom: none;
        }
        .goods-left {
            max-width: 90px;
            max-height: 90px;
            cursor: pointer;
        }
        .goods-left img {
            width: 90px;
            height: 90px;
            border-radius: 2px;
            object-fit: cover;
        }
        .goods-right {
            flex: 1;
            padding-bottom: 11px;
            margin: 0px 12px;
        }
        .goods-name {
            font-size: 13px;
            font-weight: 700;
            line-height: 17px;
            color: #333333;
            margin-top: 5px;
            cursor: pointer;
        }
        .goods-name span {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }
        .goods-type {
            font-size: 11px;
            color: #999999;
            margin-top: 2px;
            cursor: pointer;
        }
        .goods-service {
            display: flex;
            align-items: center;
            margin-top: 9px;
            font-size: 9px;
            flex-wrap: wrap;
            gap: 3px;
            cursor: pointer;
        }
        .goods-service span {
            display: inline-block;
            border-radius: 2px;
            padding: 0px 2px;
        }
        .tag-first {
            color: #F55726;
            border: 1px solid #F55726;
        }
        .tag-second {
            color: #40AE36;
            border: 1px solid #40AE36;
        }
        .goods-price {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 2px;
        }
        .goods-price-txt {
            color: #F55726;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
        }
        .goods-price-unit {
            font-size: 11px;
            color: #999999;
            font-weight: normal;
        }
        .goods-shopcar-icon {
            width: 22px;
            height: 22px;
            margin-right: 5px;
            cursor: pointer;
        }

        .empty-state {
            margin-top: 100px;
            text-align: center;
            color: #999;
            font-size: 14px;
        }
        

/* 底部栏*/
.fixbottom{position: fixed;bottom: 0;left: 0;right: 0;max-width: 450px;margin: 0 auto;background: #FFFFFF;display: flex;align-items: center;justify-content: flex-end;padding: 11px 0px;border-top: 1px solid #f0f0f0;}
.fixbottom .btns{display: flex;margin-right: 15px;}
.fixbottom .btns button{border-radius: 12px;background-color: #FFFFFF;margin: 0;border: none;padding: 8px 16px;font-size: 12px;cursor: pointer;margin-left: 10px;}
.fixbottom .cancel{color: #333333;border: 0.5px solid #999999 !important;}
.fixbottom .pay{color: #40AE36;border: 0.5px solid #40AE36 !important;}

/* 为你推荐*/
.recommend{margin-top: 25px;}
.recommend .recommend-title{display: flex;align-items: center;justify-content: center;}
.recommend .recommend-title span{font-size: 15px;font-weight: 600;color: #333333;}
.recommend .recommend-title img{width: 20px;height: 11px;}
.recommend .recommend-title-l{margin-right: 15px;}
.recommend .recommend-title-r{margin-left: 15px;}
.recommend .recommend-goods{display: flex;flex-wrap: wrap;justify-content: space-between;margin-top: 10px;}
.recommend .goods{display: flex;flex-direction: column;justify-content: space-between;border-radius: 10px;background: #FFFFFF;padding: 0px 15px 15px 15px;margin-top: 15px;width: calc(50% - 5px);}
.recommend .goods-image{width: 100%;height: 140px;border-radius: 2px;}
.recommend .goods-name{width: 100%;font-size: 13px;font-weight: 700;line-height: 17px;color: #333333;margin-top: 5px;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;}
.recommend .goods-tag{display: flex;align-items: center;margin-top: 7px;font-size: 9px;flex-wrap: wrap;gap: 3px;}
.recommend .goods-tag span{display: inline-block;border-radius: 2px;padding: 0px 2px;}
.recommend .tag-first{color: #F55726;border: 1px solid #F55726;}
.recommend .tag-second{color: #40AE36;border: 1px solid #40AE36;}
.recommend .goods-price{display: flex;align-items: center;justify-content: space-between;margin-top: 7px;}
.recommend .goods-price-txt{color: #F55726;font-size: 16px;font-weight: 600;}
.recommend .goods-price-unit{font-size: 11px;color: #999999;font-weight: normal;}
.recommend .goods-shopcar-icon{width: 22px;height: 22px;margin-right: 5px;cursor: pointer;}