*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, sans-serif;
}
body{
  
  background: #fff;
  padding-bottom: 68px;
  display: block;
 margin: 0 auto;
  
	
}
.container{
  max-width: 750px;
  margin: 0 auto;
}


.gengxin{font-size:12px;margin-top:10px;color:#999}

.mianbao{padding: 12px 15px; background: #ffffff; font-size: 14px; color: #666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.mianbao a{color: #0066cc; text-decoration: none;}	

.sy{margin-right: 4px;}

.fh{margin: 0 10px; color: #ddd;}

.km{color: #222; font-weight: bold;}





/* 面包屑导航 */
.bread{
  padding: 16px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.bread a.home{
  color: #e62424;
  text-decoration: none;
}
.bread a.school{
  color: #2478e0;
  text-decoration: none;
}
.bread span.split{
  color: #cccccc;
}
.bread span.cur{
  color: #333;
}

.ewm {
    max-width: 300px;  /* 电脑端二维码最大宽度，可按需调整（比如250/350） */
    max-height: 300px; /* 电脑端二维码最大高度，和宽度保持一致 */
  
  
  }



/* 顶部黄色横幅主图区域 */
.banner-box{
  margin: 0 10px;
  background-color: #ffc038;
  border-radius: 10px;
  padding: 30px 10px;
  text-align: center;
}
.banner-title{
  font-size: clamp(2rem,7vw,4rem);
  font-weight: 900;
  color: #662200;
}
.banner-school{
  background: #ffe395;
  display: inline-block;
  padding: 14px 40px;
  border-radius: 6px;
  margin: 20px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.banner-school span{
  font-size: clamp(1.3rem,4vw,2.2rem);
  font-weight: bold;
}
.banner-subject{
  font-size: clamp(1.2rem,4vw,2rem);
  font-weight: 600;
  color: #3b1400;
}
.banner-desc{
  margin-top: 16px;
  font-size: clamp(0.95rem,2.5vw,1.3rem);
  color: #441702;
}
/* 商品基础信息 */
.goods-info{
  padding: 0 12px;
  margin-top: 20px;
  margin-bottom: 10px;
}
.goods-title{
  font-size: 22px;
  font-weight: bold;
  color: #111;
}
.goods-major{
  font-size: 16px;
  color: #555;
  margin-top: 8px;
}
.goods-price{
  font-size: clamp(1.8rem,6vw,2.6rem);
  font-weight: bold;
  color: #e62424;
  margin-top: 12px;
}
.goods-stat{
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #666;
  margin-top: 8px;
}
/* 板块分隔标题 */
.section-title{
  background: #f1f1f1;
  text-align: center;
  padding: 8px 0;
 
  color: #666;
}
/* 板块内容容器 */
.section-content{
  padding: 16px 14px;
  font-size: 16px;
  line-height: 1.8;
}
.red-text{
  color: #e62424;
}
/* FAQ问答区域 */
.faq-item{
  margin-bottom: 10px;
}
.faq-q{
  font-weight: bold;
  margin-bottom: 6px;
  color: #222;
}
.faq-a{
  color: #555;
  line-height: 1.8;
}


.recommend-wrap{
     margin: 0 clamp(10px, 3vw, 14px);
    max-width: 100%;
    box-sizing: border-box;
}
.recommend-title{
    font-size: 17px;
    font-weight: bold;
    color:#222;
    border-left:4px solid #ff4233;
    padding-left: 10px;
    margin-bottom:14px;
}
.recommend-grid{
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: clamp(7px,2vw,10px);
    width: 100%;
    box-sizing: border-box;
}
.rec-card{
    background:#fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow:hidden !important;
    transition:0.2s ease;
    width: 100%;
    box-sizing: border-box;
}
.rec-card:active{
    transform: scale(0.97);
}
/* !important强化样式，防止原有样式覆盖黄色栏省略效果，minmax(0,1fr)解决grid内容撑开宽度的经典坑 */
.rec-card-top{
    background: #ffc845;
    padding:10px 6px;
    text-align:center;
    font-weight:bold;
    font-size:12px;
    color:#592e00;
    width:100%;
    box-sizing: border-box;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.rec-card-body{
    padding: 8px 6px;
    width:100%;
    box-sizing: border-box;
}
.rec-name{
    font-size: 12px;
    color:#222;
    line-height: 1.3;
    min-height:32px;
    margin-bottom:6px;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
}
.rec-price{
    color:#e62418;
    font-size:15px;
    font-weight:bold;
}
.rec-meta{
    font-size: 10px;
    color:#888;
    margin-top:2px;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
/* PC大屏布局 */
@media(min-width:768px){
    .recommend-grid{
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap:12px;
    }
    .rec-card-top{
        font-size:14px;
        padding:12px 8px;
    }
    .rec-name{
        font-size:13px;
    }
    .rec-price{
        font-size:17px;
    }
}
/* 超小屏微调 */
@media(max-width:340px){
    .recommend-grid{
        gap:6px;
    }
    .rec-card-top{
        font-size:11px;
        padding:8px 4px;
    }
    .rec-name{
        font-size:11px;
    }
    .rec-price{
        font-size:14px;
    }
}
	
	
/* 底部备案文字 */
.record-text{
  text-align: center;
  margin-top: 15px;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}
.record-text a{
  color: #2478e0;
  text-decoration: none;
}
/* 底部固定导航栏 */
.footer-nav{
	
 width:100%;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  display: flex;
  z-index: 99;
 max-width:750px;
	left:0;
	right:0;
	  margin: 0 auto;
justify-content: center;
}
.nav-item{
  width: 16%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #666;
  text-decoration: none;
}
.nav-item span.icon{
  font-size: 20px;
}
.nav-item span.text{
  font-size: 12px;
  margin-top: 4px;
}
.buy-btn{
  flex: 1;
  background: #e62424;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

.kuaizhao{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none;}

.zhongxin{text-align:center}