* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
	font-family: "Helvetica Neue", Helvetica, sans-serif;
	font-size: 20px;
}
body {
    font-size: 0.7rem;
    color: #333;
    background-color: #f5f5f5;
    max-width: 37.5rem;
    margin: 0 auto;
}

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2.7rem; /* 54px = 54/20 = 2.7rem */
    display: flex;
    align-items: center;
    padding: 0 0.5rem; /* 10px = 0.5rem */
    z-index: 100;
    background: transparent;
    border-bottom: none;
}

.logo {
    width: 3rem; /* 60px = 3rem */
    height: 2rem; /* 40px = 2rem */
    display: flex; 
    justify-content: center; 
    align-items: center;
}
.logo img{
    width: 100%;
}        
.search-box {
    flex: 1;
    margin: 0 0.75rem; /* 15px = 0.75rem */
    height: 1.5rem; /* 30px = 1.5rem */
    background: rgba(255,255,255,0.8);
    border-radius: 0.75rem; /* 15px = 0.75rem */
    padding: 0 0.75rem; /* 15px = 0.75rem */
    display: flex;
    align-items: center;
    position: relative;
}
.search-box i{
    top: 0;
    right: 0;
    height: 1.4rem; /* 28px = 1.4rem */
    line-height: 1.4rem; /* 28px = 1.4rem */
}        
.search-box input {
    border: none;
    outline: none;
    width: 100%;
    height: 1.4rem; /* 28px = 1.4rem */
    font-size: 0.7rem; /* 14px = 0.7rem */
    background: transparent;
    color: #333;
}

/* 导航菜单 - 完全透明，悬浮在Banner上 */
.nav-menu {
    position: absolute;
    top: 2.7rem; /* 54px = 2.7rem */
    left: 0;
    width: 100%;
    height: 1.8rem; /* 36px = 1.8rem */
    display: flex;
    align-items: center;
    padding: 0 0.5rem; /* 10px = 0.5rem */
    z-index: 99;
    background: transparent;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    margin: 0 0.4rem; /* 8px = 0.4rem */
    font-size: 0.7rem; /* 14px = 0.7rem */
    text-shadow: 0 0 0.1rem rgba(0,0,0,0.3); /* 2px = 0.1rem */
}

.nav-menu a:first-child {
    color: white;
    font-weight: bold;
}

/* Banner 容器 - 作为顶部栏的定位父级 */
.banner-container {
    position: relative;
    width: 100%;
    height: 15rem; /* 480px = 24rem */
    margin-top: 0;
    z-index: 1;
	overflow:hidden;
}

/* 背景虚化层 */
.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(0.3rem); /* 6px = 0.3rem */
    transform: scale(1.2);
    z-index: 1;
}

/* 轮播图容器 - 下移，避开顶部栏 */
.banner-swiper {
    position: absolute;
    top: 4.5rem; /* 90px = 4.5rem */
    left: 0.5rem; /* 10px = 0.5rem */
    right: 0.5rem; /* 10px = 0.5rem */
    height: calc(100% - 4rem); /* 80px = 4rem */
    z-index: 2;
    overflow: hidden;
    border-radius: 0.4rem; /* 8px = 0.4rem */
}

.banner-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.banner-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.2rem; /* 4px = 0.2rem */
}

/* 轮播指示器 */
.banner-indicator {
    position: absolute;
    bottom: 0.75rem; /* 15px = 0.75rem */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.3rem; /* 6px = 0.3rem */
    z-index: 3;
}

.indicator-dot {
    width: 0.4rem; /* 8px = 0.4rem */
    height: 0.4rem; /* 8px = 0.4rem */
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.indicator-dot.active {
    background: white;
}
.clear{clear:c}
/* 功能图标区 */
.func-icons {
    overflow: hidden;
    margin: 0.25rem 0.5rem; /* 5px=0.25rem, 10px=0.5rem */
    padding: 0.5rem 0 0; /* 10px=0.5rem */
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%);
}
.func-kuang {
    position: relative;
    z-index: 2;
    width: 100%;
    background: white;
    margin-top: 1rem !important; /* 20px=1rem */
    padding: 0.5rem; /* 10px=0.5rem */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 0.5rem; /* 10px=0.5rem */
    border-radius: 0.2rem; /* 4px=0.2rem */
    overflow: hidden;
}        
.func-item {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem; /* 10px=0.5rem */
}

.func-icon {
    width: 2.45rem; /* 49px=2.45rem */
    height: 2.45rem; /* 49px=2.45rem */
    border-radius: 50%;
    margin-bottom: 0.25rem; /* 5px=0.25rem */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    
}

/* 功能图标配色（还原截图） */
.icon1 { background: #ff6766; font-size:1.7rem!important;}
.icon2 { background: #9477ea; font-size:1.6rem!important;}
.icon3 { background: #67c23a; font-size:1.3rem!important;}
.icon4 { background: #fab005; font-size:1.5rem!important;}
.icon5 { background: #409eff; font-size:1.5rem!important;}
.icon6 { background: #ff9a66;  font-size:1.5rem!important;}
.icon7 { background: #e6a23c;  font-size:1.5rem!important;}
.icon8 { background: #f56c6c;  font-size:1.5rem!important;}
.icon9 { background: #909399;  font-size:1.5rem!important;}
.icon10 { background: #722ed1; font-size:1.5rem!important;}

.func-name {
    font-size: 0.65rem; /* 13px=0.65rem */
    color: #666;
}

/* 商品推荐区 - 一行2个，自动换行 */
.goods-section {
    overflow: hidden;
    margin: 0.5rem; /* 10px=0.5rem */
    padding: 0.4rem; /* 8px=0.4rem */
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%);
    border-radius: 0.5rem; /* 10px=0.5rem */
}
.goods-kuang {
    width: 100%;
    background: white;
    border-radius: 0.2rem; /* 4px=0.2rem */
}        
.section-title {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 0.5rem; /* 10px=0.5rem */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.section-title::-webkit-scrollbar {
    display: none;
}

.title-item {
    padding: 0.25rem 0.5rem; /* 5px=0.25rem, 10px=0.5rem */
    margin-right: 0.5rem; /* 10px=0.5rem */
    font-size: 0.75rem; /* 15px=0.75rem */
}

.title-item.active {
    color: #e64340;
    font-weight: bold;
    border-bottom: 0.1rem solid #e64340; /* 2px=0.1rem */
}

.goods-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* 10px=0.5rem */
    padding-bottom: 0.5rem; /* 10px=0.5rem */
}
.goods-item {
    width: 48%;
    display: flex;
    flex-direction: column;
}

.goods-img {
    width: 100%;
    border-radius: 0.2rem;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.goods-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.goods-name {
    font-size: 0.65rem; /* 13px=0.65rem */
    color: #333;
    line-height: 1.4;
    margin-bottom: 0.25rem; /* 5px=0.25rem */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.goods-price {
     display: flex;
      justify-content:space-between;
    color: #e64340;
    font-weight: bold;
    font-size: 0.7rem; 
}
.goods-price o{font-size:.5rem;}
.goods-price .price{color:#999;text-decoration: line-through; }
.goods-price del {
    color: #999;
    font-size: 0.6rem;
    font-weight: normal;
    margin-left: 0.25rem;
}

.goods-sales {
    font-size: 0.6rem;
    color: #999;
    margin-top: 0.25rem;
}

.svip-tag {
    background: #ff6766;
    color: white;
    font-size: 0.5rem; /* 10px=0.5rem */
    padding: 0.05rem 0.15rem; /* 1px=0.05rem, 3px=0.15rem */
    border-radius: 0.1rem; /* 2px=0.1rem */
    margin-left: 0.25rem; /* 5px=0.25rem */
}



.news-section {
    overflow: hidden;
    margin: 0.5rem; /* 10px=0.5rem */
    padding: 0.4rem; /* 8px=0.4rem */
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%);
    border-radius: 0.5rem; /* 10px=0.5rem */
}
.news-kuang {
    width: 100%;
    background: white;
    border-radius: 0.2rem; /* 4px=0.2rem */
}
	
        .news-card {
            display: flex;
            padding: 0.75rem 0;
            border-bottom: 1px solid #f0f0f0;
            gap: 0.6rem;
        }
		.news-card:last-child{
		  border-bottom: none;
		}
        .news-img {
            width: 4.5rem;
            height: 4.5rem;
            object-fit: cover;
            background: #fafafa;
        }
        .news-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .news-title {
            font-size: 0.7rem;
            font-weight: 600;
            line-height: 1.2;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }	
        .news-desc {
            font-size: 0.6rem;
            color: #666;
            line-height: 1.2;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        .news-time {
            font-size: 0.6rem;
            color: #999;
        }
		
.notice-section {
    overflow: hidden;
    margin: 0.5rem; /* 10px=0.5rem */
    padding: 0.4rem; /* 8px=0.4rem */
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%);
    border-radius: 0.5rem; /* 10px=0.5rem */
}

		
        .notice-wrapper {
			width: 100%;
			border-radius: 0.2rem; /* 4px=0.2rem */
            height: 2.5rem;
            line-height:2.5rem;
            border: 1px solid #eee;
            padding: 0 0.5rem;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        .notice-icon {
            width: 1rem;
            font-size: 0.8rem;
            flex-shrink: 0;
            text-align: center;
        }
        .notice-container {
            flex: 1;
            height: 2.5rem;
            overflow: hidden;
            position: relative;
			
			
        }
        .notice-list {
            margin: 0;
            padding:0 0 0 0.5rem;
            list-style: none;
            position: absolute;
            top: 0;
            left: 0;
            transition: top 0.5s ease;
            width: 100%;
        }
        .notice-item {
            height: 2.5rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding-right: 1rem;
        }
        .notice-arrow {
            position: absolute;
            right: 0.5rem;
            top: 0;
            width: 0.6rem;
            height: 2.5rem;
            line-height: 2.5rem;
            font-size: 0.7rem;
            color: #666;
        }
        .support{
            width: 100%;
            height: 2rem;
            margin:1.8rem 0 2.8rem;
            display: block;
        	color:#bbb;
        	font-size:12px;
        	text-align:center;
        }
        .support,.support a,.support p{
            padding:0 15px;
        	color:#bbb;
        	font-size:12px;
        	text-align:center;
        }