/* ============ 鑫恒德包装官网 - 仿 glx015 模板站 ============ */
/* 主色 #ff9900  文字 #333/#555/#777  深底 #333333  白底 #fff */

*{margin:0;padding:0;box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  font-family:'微软雅黑',"Microsoft YaHei",Arial,sans-serif;
  color:#555;background:#fff;font-size:14px;line-height:1.8;
}
a{text-decoration:none;color:inherit;}
img{display:block;max-width:100%;}
ul,ol{list-style:none;}
.wrap{width:1200px;margin:0 auto;position:relative;}
.clearfix:after{content:"";display:block;clear:both;}

/* fadeIn 动画（animate.css 风格） */
@keyframes fadeInUp{from{opacity:0;transform:translate3d(0,40px,0)}to{opacity:1;transform:none}}
@keyframes fadeInDown{from{opacity:0;transform:translate3d(0,-40px,0)}to{opacity:1;transform:none}}
@keyframes fadeInLeft{from{opacity:0;transform:translate3d(-40px,0,0)}to{opacity:1;transform:none}}
@keyframes fadeInRight{from{opacity:0;transform:translate3d(40px,0,0)}to{opacity:1;transform:none}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
.la{opacity:0;}
.la.fadeInUp{animation:fadeInUp 1s .1s both}
.la.fadeInDown{animation:fadeInDown 1s .1s both}
.la.fadeInLeft{animation:fadeInLeft 1s .1s both}
.la.fadeInRight{animation:fadeInRight 1s .1s both}
.la.fadeIn{animation:fadeIn 1s .1s both}

/* ============ 顶部黑条 ============ */
#top_area{background:#333333;height:36px;line-height:36px;color:#bbb;font-size:12px;}
#top_area a{color:#bbb;} #top_area a:hover{color:#fff;}
#top_area .left{float:left;}
#top_area .right{float:right;}
#top_area .right span{color:#666;margin:0 8px;}
#top_area .right a{margin:0 2px;}

/* ============ 头部 ============ */
#header{background:#fff;border-bottom:1px solid #eee;}
#header .header-inner{height:128px;display:flex;align-items:center;}
#header .logo{display:flex;align-items:center;float:left;}
#header .logo .logo-text{font-size:34px;font-weight:700;color:#333;letter-spacing:2px;}
#header .logo .logo-sub{font-size:14px;color:#999;margin-top:4px;letter-spacing:4px;}
#header .header-right{float:right;margin-left:auto;display:flex;align-items:center;}
.hd-info{display:flex;align-items:center;padding-left:30px;}
.hd-info .ic{width:40px;height:40px;margin-right:12px;}
.hd-info .t1{font-size:13px;color:#999;}
.hd-info .t2{font-size:18px;color:#ff9900;font-weight:700;line-height:1.3;}
.v-line{width:1px;height:44px;background:#e5e5e5;margin:0 30px;}

/* ============ 导航 ============ */
#nav{background:#fff;}
#nav .nav{display:flex;justify-content:space-around;text-align:center;}
#nav .nav li{position:relative;}
#nav .nav li a{display:block;padding:18px 38px;font-size:16px;color:#333;}
#nav .nav li:hover>a,#nav .nav li.cur>a{color:#ff9900;}
#nav .nav li.cur:after{content:"";position:absolute;left:30%;right:30%;bottom:8px;height:3px;background:#ff9900;}

/* ============ Banner（单图自适应） ============ */
#banner{position:relative;overflow:hidden;background:#fff;}
#banner .banner-item{position:relative;width:100%;}
#banner .banner-item img{display:block;width:100%;height:auto;}

/* ============ 板块通用 ============ */
.sec{padding:70px 0;}
.sec .sec-head{text-align:center;margin-bottom:48px;}
.sec .sec-title{font-size:30px;color:#333;font-weight:400;letter-spacing:2px;}
.sec .sec-title em{color:#ff9900;font-style:normal;}
.sec .sec-line{width:60px;height:3px;background:#ff9900;margin:14px auto 6px;}
.sec .sec-sub{font-size:13px;color:#999;letter-spacing:6px;}

/* ============ 新品推荐（方形卡片） ============ */
.product-grid{display:flex;justify-content:space-between;flex-wrap:wrap;}
.product-card{width:285px;margin-bottom:20px;text-align:center;background:#f8f8f8;transition:all .35s;padding-bottom:22px;}
.product-card:hover{background:#ff9900;}
.product-card .pic{width:285px;height:285px;overflow:hidden;}
.product-card .pic img{width:100%;height:100%;object-fit:cover;transition:transform .5s;}
.product-card:hover .pic img{transform:scale(1.05);}
.product-card .name{font-size:16px;color:#333;margin-top:18px;}
.product-card:hover .name{color:#fff;}
.product-card .price{font-size:15px;color:#ff0033;margin-top:6px;}
.product-card:hover .price{color:#fff;}
.product-card .more{display:inline-block;margin-top:12px;padding:6px 22px;border:1px solid #ccc;color:#888;font-size:13px;transition:.3s;}
.product-card:hover .more{border-color:#fff;color:#fff;background:rgba(255,255,255,.2);}

/* ============ 关于我们 ============ */
.about-box{display:flex;align-items:center;justify-content:space-between;}
.about-box .text{width:600px;}
.about-box .text p{color:#555;font-size:14px;text-indent:2em;margin-bottom:14px;line-height:2;}
.about-box .pic{width:480px;}
.about-box .pic img{width:100%;}

/* MORE 按钮 */
.btn-more{display:inline-block;margin-top:22px;padding:9px 40px;border:1px solid #ccc;color:#888;font-size:14px;transition:.3s;}
.btn-more:hover{background:#ff9900;border-color:#ff9900;color:#fff;}

/* ============ 我们的优势 ============ */
.advantage-grid{display:flex;justify-content:space-between;}
.adv-item{width:270px;text-align:center;padding:26px 0;transition:.3s;}
.adv-item .ic{width:100px;height:100px;margin:0 auto 18px;border-radius:50%;background:#f8f8f8;display:flex;align-items:center;justify-content:center;transition:.3s;}
.adv-item:hover .ic{background:#ff9900;}
.adv-item .ic svg{width:44px;height:44px;fill:#ff9900;transition:.3s;}
.adv-item:hover .ic svg{fill:#fff;}
.adv-item .t{font-size:18px;color:#333;margin-bottom:10px;}
.adv-item .d{font-size:13px;color:#777;line-height:1.9;}

/* ============ 产品展示（图墙） ============ */
.prod-wall{display:flex;flex-wrap:wrap;justify-content:space-between;}
.prod-wall .cell{width:380px;margin-bottom:24px;position:relative;overflow:hidden;background:#f8f8f8;}
.prod-wall .cell img{width:100%;height:270px;object-fit:cover;transition:transform .5s;}
.prod-wall .cell:hover img{transform:scale(1.06);}
.prod-wall .cell .cap{position:absolute;left:0;right:0;bottom:0;background:rgba(51,51,51,.75);color:#fff;text-align:center;padding:12px 0;font-size:15px;opacity:0;transition:.35s;}
.prod-wall .cell:hover .cap{opacity:1;}

/* ============ 客户案例 ============ */
.case-box{background:#f8f8f8;text-align:center;padding:50px;border-top:4px solid #ff9900;}
.case-box .big{font-size:26px;color:#333;margin-bottom:8px;letter-spacing:2px;}
.case-box .big em{color:#ff9900;font-style:normal;}
.case-box .desc{color:#666;font-size:14px;margin-bottom:28px;line-height:2;}
.case-logos{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;}
.case-logos .lg{padding:14px 30px;background:#fff;border:1px solid #eee;font-size:17px;color:#333;font-weight:700;letter-spacing:1px;transition:.3s;}
.case-logos .lg:hover{border-color:#ff9900;color:#ff9900;transform:translateY(-4px);}

/* ============ 新闻资讯 ============ */
.news-list{display:flex;justify-content:space-between;}
.news-item{width:380px;background:#fafafa;border:1px solid #f0f0f0;padding:26px 24px;transition:.3s;}
.news-item:hover{border-color:#ff9900;box-shadow:0 6px 18px rgba(0,0,0,.08);}
.news-item .date{font-size:13px;color:#999;}
.news-item .date b{color:#ff9900;font-size:22px;margin-right:4px;}
.news-item .t{font-size:16px;color:#333;margin:10px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.news-item .t a:hover{color:#ff9900;}
.news-item .d{font-size:13px;color:#888;line-height:1.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}

/* ============ 页脚 ============ */
#footer{background:#333333;color:#aaa;font-size:13px;}
#footer .foot-top{padding:44px 0 30px;border-bottom:1px solid #444;}
#footer .foot-nav{display:flex;justify-content:center;gap:0;}
#footer .foot-nav a{padding:0 18px;border-right:1px solid #555;color:#ccc;}
#footer .foot-nav a:last-child{border-right:none;}
#footer .foot-nav a:hover{color:#ff9900;}
#footer .foot-bot{padding:26px 0;text-align:center;color:#888;line-height:2;}

/* ============ 右侧浮动客服 ============ */
.float-bar{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:999;}
.float-bar a{display:block;width:60px;height:60px;background:#333;color:#fff;font-size:12px;text-align:center;padding-top:10px;border-top:1px solid #444;position:relative;transition:.3s;}
.float-bar a:first-child{border-top:none;}
.float-bar a:hover{background:#ff9900;}
.float-bar a svg{width:24px;height:24px;fill:#fff;margin:0 auto 2px;}
.float-bar a .qrcode{display:none;position:absolute;left:-140px;top:0;width:130px;background:#fff;border:1px solid #eee;padding:8px;}
.float-bar a:hover .qrcode{display:block;}
.float-bar a .qrcode img{width:100%;}

/* ============ v5 新增组件 ============ */
/* 小轮播（关于我们工厂图等） */
.mini-slider{position:relative;width:100%;overflow:hidden;background:#f2f2f2;}
.mini-slider .ms-list{position:relative;width:100%;}
.mini-slider .ms-item{position:absolute;top:0;left:0;width:100%;opacity:0;transition:opacity .7s;}
.mini-slider .ms-item.active{opacity:1;position:relative;}
.mini-slider .ms-item img{width:100%;height:auto;display:block;}
.mini-slider .ms-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:8px;z-index:2;}
.mini-slider .ms-dots span{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer;transition:.3s;box-shadow:0 1px 3px rgba(0,0,0,.3);}
.mini-slider .ms-dots span.active{background:#ff9900;}

/* 数据统计组件（数字动态播放） */
.stats-bar{display:flex;justify-content:space-between;margin-top:36px;background:#fff;border:1px solid #eee;padding:30px 20px;}
.stats-bar .stat-item{flex:1;text-align:center;border-right:1px dashed #e5e5e5;}
.stats-bar .stat-item:last-child{border-right:none;}
.stats-bar .num{font-size:44px;color:#ff9900;font-weight:700;line-height:1.1;}
.stats-bar .num b{font-family:Georgia,serif;}
.stats-bar .num span{font-size:20px;margin-left:4px;}
.stats-bar .lab{font-size:14px;color:#666;margin-top:8px;letter-spacing:1px;}
