@charset "UTF-8";
.icons{
    width: 0.5rem; height: 0.5rem;
    vertical-align: -0.1rem;
    fill: currentColor;
    overflow: hidden;
}

/* 轮播图 */
.banner{
 width: 100%;
/*
 height: 4.64rem;
 overflow: hidden!important;
 */
}
.banner a{
    display: block;
}

body {
    font-family: "PingFang SC", "Microsoft Yahei", sans-serif;
    background: #F5F9F7;
    color: #2D3748;
}
/* 顶部搜索栏 */
.top-bar {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.3rem;
    gap: 0.2rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}
.top-back {
    font-size: 0.32rem;
    color: #2D3748;
    font-weight: 500;
}
.search-input {
    flex: 1;
    height: 0.64rem;
    background: #F5F7F6;
    border-radius: 0.32rem;
    padding: 0 0.3rem;
    font-size: 0.26rem;
    border: none;
}


/* 图标导航 */
.nav-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
    padding: 0.45rem 0.3rem;
    background: #fff;
    border-radius: 0 0 0.3rem 0.3rem;
    margin-bottom: 0.3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.nav-icon-item {
    display: block;
    text-align: center;
}
.nav-icon {
    width: 0.9rem;
    height: 0.9rem;
    line-height: 0.9rem;
    background: #F5F9F7;
    border-radius: 50%;
    font-size: 0.42rem;
    margin: 0 auto 0.12rem;
    color: #38A76F;
}
.nav-text {
    font-size: 0.26rem;
    color: #444;
    font-weight: 500;
}
/* 公告栏 */
.notice-bar {
    padding: 0.25rem 0.3rem;
    background: #fff;
    font-size: 0.24rem;
    color: #666;
    border-left: 0.06rem solid #38A76F;
    border-radius: 0.1rem;
    margin: 0 0.3rem 0.4rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.notice-bar>a {
    display: block;
}
/* 模块标题 */
.module-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.3rem;
    margin-bottom: 0.35rem;
}
.module-title h3 {
    font-size: 0.36rem;
    font-weight: 600;
    color: #2D3748;
    display: flex;
    align-items: center;
    gap: 0.15rem;
}
.module-title h3::before {
    content: "";
    width: 0.08rem;
    height: 0.32rem;
    background: #38A76F;
    border-radius: 0.04rem;
}
.module-title .more {
    font-size: 0.24rem;
    color: #38A76F;
    font-weight: 500;
}
/* 商品模块 */
.goods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
    padding: 0 0.3rem;
    margin-bottom: 0.6rem;
}
.goods-card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(56,167,111,0.08);
    transition: all 0.2s;
}
.goods-card:active {
    transform: scale(0.98);
}
.goods-img {
    width: 100%;
    height: 2.6rem;
    object-fit: cover;
}
.goods-name {
    padding: 0.2rem;
    font-size: 0.27rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}
.goods-info {
    display: flex;
    justify-content: space-between;
    padding: 0 0.2rem 0.25rem;
}
.goods-price {
    font-size: 0.32rem;
    color: #E63946;
    font-weight: bold;
}
.goods-sold {
    font-size: 0.22rem;
    color: #999;
}
/* 文字6宫格 */
.nav-text-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.15rem;
    padding: 0 0.3rem;
    margin-bottom: 0.6rem;
}
.nav-text-item {
    display: block;
    background: #fff;
    padding: 0.35rem 0;
    text-align: center;
    font-size: 0.26rem;
    border-radius: 0.2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    font-weight: 500;
    color: #444;
}

/* 马边风光 */
.img-group {
    display: flex;
    gap: 0.3rem;
    overflow-x: auto;
    padding: 0 0.3rem 0.25rem;
    margin-bottom: 0.4rem;
}
.img-group::-webkit-scrollbar {
    display: none;
}

.img-item {
    display: block;
    flex: 0 0 2.6rem;
    height: 3.5rem;
    object-fit: cover;
}
.img-item>img{
    width: 100%;
    border-radius: 0.22rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* 问答模块 */
.qa-list {
    padding: 0 0.3rem;
    margin-bottom: 0.6rem;
}
.qa-card {
    display: block;
    background: #fff;
    border-radius: 0.25rem;
    padding: 0.35rem;
    margin-bottom: 0.3rem;
    box-shadow: 0 3px 10px rgba(56,167,111,0.07);
}
.qa-title {
    font-size: 0.32rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
    line-height: 1.45;
    color: #2D3748;
}
.qa-info {
    font-size: 0.22rem;
    color: #999;
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.25rem;
}
.qa-action {
    display: flex;
    gap: 0.5rem;
    font-size: 0.24rem;
    color: #666;
}
.qa-action-item.active i, .qa-action-item.active span {
    color: #38A76F;
}
/* 文章模块 */
.article-list {
    padding: 0 0.3rem;
    margin-bottom: 0.5rem;
}
.article-item {
    display: flex;
    gap: 0.3rem;
    background: #fff;
    border-radius: 0.25rem;
    padding: 0.3rem;
    margin-bottom: 0.3rem;
    box-shadow: 0 3px 10px rgba(56,167,111,0.07);
}
.article-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.article-title {
    font-size: 0.3rem;
    font-weight: 500;
    line-height: 1.45;
    color: #2D3748;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-desc {
    font-size: 0.23rem;
    color: #888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-img {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.22rem;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
/* 底部tab */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.1rem;
    background: #fff;
    display: flex;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.22rem;
    color: #888;
}
.tab-item.active {
    color: #38A76F;
}
.tab-icon {
    font-size: 0.42rem;
    margin-bottom: 0.06rem;
}























/*搜索层*/
.search-layer{
    position: fixed;
    right: 0;
    bottom: 0;
    -webkit-transform: translate(100%,0);
    transform: translate(100%,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 6000;
    width: 100%;
    height: 100%;
    background-color:#fff;
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
}
.search-layer-toggle{
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}
.search-layer .layer-header{
    width: 100%;
    height: 0.8rem;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.layer-header> .top-sch-box{
    -webkit-box-flex:5;
    -webkit-flex:5;
    -ms-flex:5;
    flex:5;
    margin: 0 0.12rem 0 0.2rem;
    color: #9e9e9e;
    background-color:#ececec;
    -webkit-border-radius:1000px;
    border-radius: 1000px;
    overflow: hidden;
    line-height: 0.6rem;
}
.layer-header> .top-sch-box> .centerflex{
    position: relative;
    left: 0;
    top:0;
}
.layer-header> .top-sch-box .icon-search{
    position: absolute;
    left: 0.2rem;
    top: 0;
    font-size: 0.34rem;
}
.layer-header>.top-sch-box .sch-txt{
    font-size: 0.24rem;
    padding: 0.12rem 0.24rem 0.12rem 0.68rem;
}
.layer-header> .right-btn{
    -webkit-box-flex:1;
    -webkit-flex:1;
    -ms-flex:1;
    flex:1;
    text-align: center;
}
.layer-header> .right-btn>a{
    display: inline-block;
    font-size: 0.26rem;
    color: #4CAF50;
    padding: 0.06rem 0.2rem;
    background-color: #ececec;
    text-align: center;
    border-radius: 2px;
    margin-right: 0.1rem;
}
.search-layer .search-layer-content{
    padding: 0.15rem;
}
.search-layer-content .search-title{
    padding: 0.2rem 0 0 0;
    font-size: 0.28rem;
    color: #000;
}
.search-layer-content .search-hot-center{
    padding: 0.2rem 0;
}
.search-layer-content .search-hot-center>a{
    display: inline-block;
    padding: 0.1rem 0.2rem;
    margin: 2% 2% 1% 0;
    background-color:#ececec;
    text-align: center;
}



