
body{margin:0;padding:0;}
ul,ol{margin:0;padding:0;}
*{margin:0;padding:0}
body{color: #212529;font: 1em/1.5 楷体,黑体,Helvetica,sans-serif;background:#EEEEEEFF;}
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:#212529;}
a:hover{color:#14B665;}

.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:1200px;margin:0 auto;}
.main-body{min-height:800px;}
.main-left{width:200px;float:left;}
.main-right{width:960px;float:right;}

/*头部*/
.header .logo{padding:0.5em 0 0.5em 0;}
.header .logo img{height:3em;}

.header .search-box{width:350px;position: relative;overflow: hidden;padding:1px;margin-top:1.2em;border-radius:0.5em;border:1px solid #14B665;}
.header .search-box .input{padding:0 4em 0 0.5em;background: #FFF;}
.header .search-box input{width:100%;height:2em;border:0;outline: 0;}
.header .search-box .button{position: absolute;background:#14B665;color:#FFF;right:0;top:0;bottom:0;padding:0.1em 1.5em 0  1.5em;}

.header .login-box{color:#999;cursor: pointer;position: relative;padding-top:1.5em;}
.header .login-box .uname{padding-left:2em;display: block;}
.header .login-box .avatar{width:1.5em;height:1.5em;border-radius:50%;position: absolute;left:0;}

.header .lists{position: relative;background: linear-gradient(to bottom, #19d376,#14B665,#19d376);}
.header .lists ul{padding:0.5em 0;}
.header .lists li{display: inline-block;margin-right:1.5em;}
.header .lists li a{display: block;font-size:1.3em;color:#FFF;}


/*底部*/
.footer{background:#FFF;color:#999;text-align:center;margin-top:1em;padding:3em 1em 3em 1em;line-height:1.5em;font-size:0.8em;}

/*banner*/
.banner{background-image: url('./image/banner.jpg');width:1200px;height:300px;background-size: 100% 100%;position: relative;margin-top:1em;}
.banner .title{text-align:center;color:#FFF;font-weight:900;font-size:3em;padding-top:1.5em;}
/*卡列表*/
.cat-box{background: #FFF;border-radius:0.5em;padding:1em 0 1em 1em;margin-top:1em;}
.cat-box h2{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;border:1px solid #14B665;border-radius:0.5em;overflow: hidden;background: rgba(20, 182, 101, 0.11);}
.cat-box .item .litpic{margin:1em 1em 0 1em;}
.cat-box .item img{width:100%;border-radius:1em;}
.cat-box .item .info{background:#14B665;margin-top:1em;padding:0.5em 1em 0.5em 1em;}
.cat-box .item .title{color:#FFF;font-size:0.9em;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.cat-box .price-box{margin-top:0.5em;}
.cat-box .price{color:#FFF;font-weight:900;font-size:1.2em;}
.cat-box .orgin-price{color:#ddd;font-size:0.8em;line-height:2.5;}

/*产品详情*/
.info-box{position: relative;background: #FFFFFF;border-radius:0.5em;padding:1em;margin-top:1em;}
.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:1em;position: relative;line-height:2em;}
.info-box .price{font-weight:900;font-size:2em;display: inline-block;margin:0 2em 0 0;color:#14B665;}
.info-box .orgin-price{color:#999;font-size:0.9em;}
.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, #22d37a,#14B665, #22d37a);
    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:#14B665;}

.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: #14B665;background: #ebfff5;}
.order-card-box{margin-top:20px;line-height:30px;}
.order-msg-title{margin:30px 0 0 20px;font-weight:900;color: #14B665;}
.order-msg-content{margin:20px 0 0 20px;color: #14B665;}

.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: #14B665;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, #1ed579,#14B665, #1ed579);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: #14B665;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;}


}