
body{margin:0;padding:0;}
ul,ol{margin:0;padding:0;}
*{margin:0;padding:0}
body{color:#333;font: 16px/1.25 黑体,Helvetica,sans-serif;color: #000;background:#F3F3F3;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
ul,ol,li{list-style:none;}
img{border:0 none;-ms-interpolation-mode:bicubic;}
input[type="button"],input[type='submit']{cursor:pointer}
a:focus,input:focus{outline:none;}
button{cursor:pointer}
table{border-collapse:collapse;border-spacing:0}
a{text-decoration:none;color:#236100;}
a:hover{color: #4caf00;}

.clearfix:after,
.column:after {visibility: hidden;display: block;font-size: 0;content: " ";clear: both;height: 0;}
.clearfix{*zoom:1;}


.flex_row{display: -webkit-box;display: -webkit-flex;display: flex;}
.flex_col{height:100%;display: -webkit-box;display: -webkit-flex;display: flex;-webkit-box-orient: vertical;-webkit-flex-flow: column;flex-flow: column;}
.flex_son{-webkit-box-flex: 1;-webkit-flex: 1;flex:1;}


.main{width:980px;margin:0 auto;}
.main-body{min-height:800px;}


/*头部*/
.header{position: fixed;left:0;top:0;right:0;width:100%;padding:0.8em 0;z-index:9;background:linear-gradient(to bottom,#FFF, #6fdc67);}
.menu-lists{position: relative;height:2em;}
.menu-lists ul{left:8em;right:10em;position: absolute;height:2em;overflow: hidden;padding:0 0.8em;}
.menu-lists ul:hover{background:linear-gradient(to bottom, #e2ffde, #6fdc67);height:auto;}
.menu-lists li{display: inline-block;margin-right:1em;height:2em;}
.menu-lists li a{display: block;line-height:2em;}
.menu-lists .logo{position: absolute;left:0;top:0px;padding-left:2em;line-height:2em;}
.menu-lists .logo img{height:2.5em;position: absolute;left:0;}
.header .login-box{position: absolute;right:0;top:10px;color:#999;cursor: pointer;}
.header .login-box .uname{padding-left:30px;display: block;}
.header .login-box .avatar{width:20px;height:20px;border-radius:50%;position: absolute;left:0;}
.fixed-header .header-height{height:3.6em;}

/*底部*/
.footer{background:linear-gradient(to bottom, #f4fff3, #e0fdde);color:#999;text-align:center;margin-top:1em;padding:2em 1em 2em 1em;line-height:1.5em;font-size:0.8em;}

/*banner*/
.banner{overflow: hidden;margin-top:1em;}
.banner img{width:100%;height:260px;border-radius:10px;overflow: hidden;}
.banner .el-carousel__container{height:260px;}

/*卡列表*/
.cat-box{background: #FFF;border-radius:0.5em;padding:1em 0 1em 1em;margin-top:1em;}
.cat-box.index-1{margin-top:0;}
.cat-box h2{border-bottom:1px solid #ddd;padding-bottom:0.2em;margin-right:1em;}
.cat-box h2 a{font-size:1.2em;}

.cat-box .item{float:left;width:25%;}
.cat-box .item a{display: block;margin:1em 1em 0 0;}
.cat-box .item img{width:100%;border-radius:1em;}
.cat-box .item .title{color:#999;font-size:1em;text-align:center;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}

/*产品详情*/
.info-box{position: relative;background: #FFFFFF;border-radius:10px;padding:20px;}
.info-box .cover{width:380px;height:380px;overflow: hidden;position: absolute;left:1em;top:1em;border-radius:10px;overflow: hidden;}
.info-box img{width:100%;}
.info-box .right-box{margin-left:400px;height:380px;overflow: hidden;}

.info-box .title{font-size: 1.2em;line-height:2em;color: #333;}

.info-box .price-box{margin-top:1.1em;background:#236100;color: #fff;position: relative;}
.info-box .price{font-weight: 700;margin:10px 0 0 15px;
    font-size: 30px;}
.info-box .orgin_price{    margin:5px 0 10px 15px;
    font-size: 14px;}
.salenum-box{position: relative;text-align: center;padding:15px 15px;}
.salenum-box:before{content: "";
    position: absolute;
    top: 14px;
    bottom: 12px;
    left: 0;
    width: 1px;
    border-left: 1px solid hsla(0, 0%, 100%, .24);}
.salenum-box .salenum{margin-bottom: 3px;font-weight: 700;font-size: 20px;}
.salenum-box .label{font-size:12px;}

.form-item{margin:30px 0 0 0;}
.form-item .label{width: 80px;
    font-size:16px;
    color: #5a5a5a;}
.form-item input{line-height:30px;height:30px;text-align:center;border-color: #f0f0f0;}
.form-item .stock{margin:10px 0 0 20px;font-size:14px;color:#999;}

.button-box{position: absolute;bottom:20px;left:420px;}
.button-box .buy{width: 158px;cursor: pointer;
    height: 50px;
    border-radius: 4px;
    background:linear-gradient(to bottom, #45bc02,#236100, #45bc02);
    font-size: 16px;text-align:center;line-height:50px;border:0;
    color: #FFF;}

/*产品详情*/
.content-box{margin-top:1em;padding:1em;background: #FFFFFF;border-radius:0.5em;}
.content-box .title{font-size:1.2em;font-weight:900;}
.content-box .content{margin-top:0.5em;color:#999;line-height:2;min-height:300px;}

/*订单信息*/
.white-box{background: #FFF;margin-top:1em;padding:1em;border-radius:0.5em;}
.white-box .nav-title{font-weight:900;color:#236100;}

.order-goods-box{margin-top:20px;}
.order-goods-box img{width:60px;height:60px;}
.order-goods-box .title{margin:0px 0 0 20px;}
.order-goods-box .price{line-height:60px;margin-left:20px;}
.order-goods-box .num{margin:15px 0 0 20px;}
.order-goods-box input{width:80px;}
.account{margin-top:20px;}
.account input{width:100%;}


.pay-type{position: relative;line-height:1.5em;padding:1em 1em 1em 3em;border:1px solid #ddd;margin:1em 1em 0 0;border-radius:0.5em;cursor: pointer;}
.pay-type img{position: absolute;left:1em;width:1.5em;height:1.5em;}
.pay-type-box .hover{border-color: #236100;background: #eaffdb;}
.order-card-box{margin-top:20px;line-height:30px;}
.order-msg-title{margin:30px 0 0 20px;font-weight:900;color: #236100;}
.order-msg-content{margin:20px 0 0 20px;color: #236100;}

.order-pay-box .flex_row{margin-top:20px;}
.order-pay-box .label{color:#999;font-size:16px;}
.order-pay-box .value{width:100px;text-align:right;}
.order-pay-box .total-fee{color: #236100;font-size:20px;}

.order-button-box{margin:1em 0 0 0;}
.order-button-box .buy{width:8em;cursor: pointer;height:2.5em;border-radius:0.3em;background:linear-gradient(to bottom, #45bc02,#236100, #45bc02);font-size:1em;text-align:center;line-height:2.5em;border:0;color: #FFF;}


/*文档格式*/
.article-page h1{font-size:1.5em;}
.article-page .info{margin-top:1em;color:#999;}
.article-page .content{margin-top:1em;line-height:2;margin-right:1em;}

/*文档分类*/
.article-page-box{background:#FFF;background:linear-gradient(180deg, #fdcec7,#FFEEEC);border-radius:0.5em;padding:1em 0 0 0;margin-top:1em;}
.article-page-box h1{padding-bottom:0.5em;margin-left:1em;color: #333;font-weight:900;}
.article-page-box a{font-size:20px;color: #333;}

.article-page-lists{background: rgba(255,255,255,0.5);border-radius:0.5em;overflow: hidden;border-top:1px solid #FFF;padding:0.1em 0 1em 1em;}
.article-page-lists .item{float:left;width:20%;overflow: hidden;padding-top:1px;}
.article-page-lists .item a{display: block;margin:1em 1em 0 0;background:#FFF;border-radius:10px;position: relative;padding-bottom:1em;
    box-shadow: 0 2px 4px rgba(218,218,218,.5);
}
.article-page-lists .title{height:3em;overflow: hidden;padding:0.5em 0.5em 0 1em;}
.article-page-lists .updated_at{font-size:0.8em;margin:0.5em 0 0 1em;color:#999;}



/*屏幕宽大大于1200*/
@media (max-width:1200px) {
    .main{margin:0 auto;width:900px;}
    /*列表*/
}

/*屏幕宽大大于750*/
@media (max-width:750px) {
    body{font-size:1em;}
    .main{width:auto;margin:0 0;}
    .header {padding:0.5em 0;}
    .menu-lists{height:2.2em;}
    .menu-lists .logo{position: absolute;left:1em;top:0;padding-left:2.5em;line-height:2em;}
    .menu-lists .logo img{height:2em;position: absolute;left:0;}
    .menu-lists ul{display: none;}
    .header .login-box{position: absolute;right:1em;top:0.5em;color:#999;cursor: pointer;}
    .header .login-box .uname{padding-left:1.8em;color:#999;font-size:0.8em;}
    .header .login-box .avatar{width:1.3em;height:1.3em;}
    .fixed-header .header-height{height:3em;}

    /*底部*/
    .footer{margin-top:1em;padding:1em;line-height:1.5em;font-size:0.8em;}

    /*轮播图片*/
    .banner{width:100%;}
    .banner img {width: 100%;height:auto;}
    .banner .el-carousel__container{height:10em;}

    /*卡片列表*/
    .cat-box h2 a {font-size:1.1em;}
    .cat-box{padding:1em 0 1em 1em;margin:1em 1em 0 1em;}
    .cat-box .item a{margin:1em 1em 0 0;}
    .cat-box .title{font-size:0.7em;display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp:2; /* 限制显示的行数 */
        overflow: hidden; /* 隐藏溢出内容 */
        text-overflow: ellipsis; /* 省略号表示溢出内容（虽然在这里不直接作用，但有助于理解） */
        line-height: 1.5; /* 根据你的字体和设计调整行高 */
        max-height: calc(1.5em * 2); /* 根据行高和行数计算最大高度 */  }


    /*产品详情*/
    .info-box{border-radius:0.5em;padding:0 0 1em 0;}
    .info-box .cover{width:100%;height:auto;overflow: hidden;position:initial;left:0;top:0;}
    .info-box img{width:100%;}
    .info-box .right-box{margin-left:0;height:auto;}
    .info-box .title{font-size:1.1em;margin:1em 1em 0 1em;}

    .info-box .price-box{margin:1em 1em 0 1em;border-radius:0.5em;}
    .info-box .price{font-weight: 700;margin:0.5em 0 0 1em;
        font-size:1.5em;}
    .info-box .orgin_price{margin:0.3em 0 0.5em 1em;font-size:0.8em;}
    .salenum-box{padding:1em;}
    .salenum-box:before{content: "";
        position: absolute;
        top: 1em;
        bottom: 0.8em;
        left: 0;
        width: 1px;
        border-left: 1px solid hsla(0, 0%, 100%, .24);}
    .salenum-box .salenum{margin-bottom: 3px;font-weight: 700;font-size:1.2em;}
    .salenum-box .label{font-size:0.8em;}

    .form-item{margin:1em 0 0 1em;}
    .form-item .label{width: 80px;
        font-size:16px;
        color: #5a5a5a;}
    .form-item input{line-height:2em;height:2em;}
    .form-item .stock{margin:0.5em 0 0 1em;font-size:1em;}

    .button-box{position:initial;text-align:center;margin-top:1em;}
    .button-box .buy{width:10em;height:3em;font-size:0.8em;line-height:3em;}


    /*产品详情*/
    .content-box{margin-top:1em;padding:1em;border-radius:0.5em;}
    .content-box .title{font-size:1.2em;font-weight:900;}
    .content-box .content{margin-top:0.5em;color:#999;line-height:2;min-height:300px;}

    /*订单信息*/
    .white-box{margin-top:1em;padding:1em;border-radius:0.5em;}
    .order-goods-box{margin-top:1em;font-size:0.8em;}
    .order-goods-box img{width:3em;height:3em;}
    .order-goods-box .title{margin:0 0 0 1em;}
    .order-goods-box .price{line-height:3em;margin-left:1em;}
    .order-goods-box .num{margin:0.3em 0 0 1em;}
    .order-goods-box input{width:4em;}
    .account{margin-top:1em;}
    .account input{width:100%;}

    /*订单支付*/
    .pay-type{position: relative;padding:0.5em 2em 0.5em 3.5em;margin:1em 1em 0 0;}
    .pay-type img{position: absolute;left:1em;width:1.5em;height:1.5em;top:0.6em;}
    .pay-type-box .acc{display:block;}
    .order-card-box{margin-top:1em;}
    .order-msg-title{margin:1em 0 0 1em;}
    .order-msg-content{margin:1em 0 0 1em;}


    .order-pay-box .flex_row{margin-top:1em;}
    .order-pay-box .label{font-size:1em;}
    .order-pay-box .value{width:100px;text-align:right;}
    .order-pay-box .total-fee{color: #fc5547;font-size:1em;}

    .order-button-box{margin:1em 0 0 0;}
    .order-button-box .buy{width: 158px;cursor: pointer;
        height:3em;
        font-size:0.8em;text-align:center;line-height:3em;border:0;
        color: #FFF;}


}