*{margin:0;padding:0;font-family:"Microsoft YaHei",Arial,sans-serif}
:root{--primary:#165DFF;--secondary:#0A8E8A;--light:#F5F7FA;--dark:#333333;--gray:#666666;--border:#E5E7EB;--red:#F53F3F;--green:#00B42A}
body{background-color:#f9fafc;color:var(--dark);line-height:1.6}
a{text-decoration:none;color:inherit;transition:0.3s}
a:hover{color:var(--primary)}
.container{width:100%;max-width:1220px;margin:0 auto;padding:0px}
.top-bar{background-color:var(--light);border-bottom:1px solid var(--border);padding:8px 0;font-size:13px;color:var(--gray)}
.top-bar .container{display:flex;justify-content:space-between;align-items:center}
.top-bar-left span{margin-right:20px}
.top-bar-right a{margin-left:15px}
.header-new{background:white;padding:20px 0;box-shadow:0 2px 5px rgba(0,0,0,0.05);position:sticky;top:0;z-index:99}
.header-new .container{display:flex;align-items:center;justify-content:space-between}
.logo-new{font-size:26px;font-weight:bold;color:var(--primary);display:flex;align-items:center;gap:8px}
.logo-new i{font-size:30px}
.search-box-new{width:500px;display:flex;border:2px solid var(--primary);border-radius:4px;overflow:hidden}
.search-box-new input{flex:1;padding:12px 15px;border:none;outline:none;font-size:14px}
.search-btn-new{background:var(--primary);color:white;padding:0 25px;border:none;cursor:pointer;font-size:15px}
.service-tel{color:var(--primary);font-weight:bold;font-size:16px}
.nav-new{background:var(--primary)}
.nav-list{display:flex;list-style:none}
.nav-list li a{color:white;padding:15px 25px;display:inline-block;font-size:15px}
.nav-list li a:hover,.nav-list li.active a{background:#0E4BD5}
.banner{height:360px;background:#fff;padding:15px 0}
.banner-slider{flex:1;height:100%;border-radius:8px;overflow:hidden}
.banner-slider .swiper-slide img{width:100%;height:100%;object-fit:cover;display:block}
.banner-slider .swiper-button-prev,.banner-slider .swiper-button-next{color:#fff;width:40px;height:40px;background:rgba(0,0,0,0.2);border-radius:50%}
.banner-slider .swiper-button-prev:after,.banner-slider .swiper-button-next:after{font-size:16px}
.banner-container{display:flex;gap:15px;height:100%}
.banner-category{width:220px;background:#f8f9fa;border-radius:8px;padding:15px}
.category-title{font-size:16px;margin-bottom:12px;color:#165DFF;border-left:3px solid #165DFF;padding-left:8px}
.category-list{list-style:none;padding:0;margin:0}
.category-list li{padding:10px 10px;font-size:14px;cursor:pointer;border-radius:4px;margin-bottom:2px;color:#333}
.category-list li:hover{background:#e9ecef;color:#165DFF}
.banner-slider{flex:1;background:linear-gradient(to right,#165DFF,#0A8E8A);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#fff;position:relative;overflow:hidden;text-align:center;_padding:20px}
.banner-slider h1{font-size:26px;margin-bottom:10px}
.banner-slider p{font-size:16px;opacity:0.9}
.banner-login{width:240px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:20px;display:flex;flex-direction:column;justify-content:center}
#login-box{text-align:center}
#login-box h4{margin-bottom:15px;font-size:16px;color:#333}
.btn-login,.btn-register{width:100%;padding:10px;border-radius:4px;cursor:pointer;margin-bottom:10px;font-size:14px}
.btn-login{background:#165DFF;color:#fff;border:none}
.btn-register{background:#fff;color:#165DFF;border:1px solid #165DFF}
.login-tips{margin-top:15px;font-size:13px;color:#666}
.user-box{text-align:center;padding:20px 0}
.user-box h4{color:#333}
.user-avatar{width:50px;height:50px;color:#fff;border-radius:50%;margin:0 auto;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:bold;margin-bottom:18px}
#user-box h4{margin:18px 0 25px 0;font-size:16px;color:#333}
.user-link{display:block;padding:8px;background:#f5f7fa;border-radius:4px;font-size:13px;color:#666;margin-top:10px;margin-bottom:12px;text-decoration:none}
.banner{height:400px;background:linear-gradient(to right,#165DFF,#0A8E8A);color:white;display:flex;align-items:center;position:relative;overflow:hidden}
.banner-content{width:100%;text-align:center}
.banner h1{font-size:42px;margin-bottom:15px}
.banner p{font-size:18px;opacity:0.9}
.section-title{display:flex;justify-content:space-between;align-items:center;margin:15px 0 20px;padding-bottom:10px;border-bottom:2px solid var(--primary)}
.section-title h2{font-size:20px;color:var(--primary);display:flex;align-items:center;gap:8px}
.section-title h2 i{font-size:18px}
.more{color:var(--gray);font-size:14px}
.main-wrap{display:flex;gap:20px;margin-bottom:30px}
.news-section{flex:3;background:white;padding:0px 20px 0px 20px;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,0.05)}
.news-tabs{display:flex;gap:15px;margin-bottom:10px;border-bottom:1px solid var(--border);padding-bottom:10px}
.news-tabs span{padding:5px 10px;cursor:pointer;font-weight:500}
.news-tabs span.active{color:var(--primary);border-bottom:2px solid var(--primary)}
.news-list{list-style:none}
.news-item{padding:12px 0;border-bottom:1px dashed var(--border);display:flex;gap:15px;align-items:center}
.news-item:last-child{border-bottom:none}
.news-tag{background:var(--primary);color:white;font-size:12px;padding:2px 6px;border-radius:3px;white-space:nowrap}
.news-tag.hot{background:var(--red)}
.news-title{flex:1;font-size:15px}
.news-date{color:var(--gray);font-size:13px;white-space:nowrap}
.news-top{margin-bottom:20px}
.news-top-item{display:flex;gap:20px;align-items:center}
.news-top-img{width:220px;height:150px;object-fit:cover;border-radius:6px}
.news-top-info h3{font-size:18px;margin-bottom:10px;color:var(--dark)}
.news-top-info p{color:var(--gray);font-size:14px;line-height:1.7;margin-bottom:10px}
.sidebar{flex:1;display:flex;flex-direction:column;gap:20px}
.side-box-new{background:white;padding:0px 20px 20px 20px;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,0.05)}
.market-item{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px dashed var(--border)}
.market-item:last-child{border-bottom:none}
.market-name{font-size:14px}
.market-price{font-weight:bold}
.up{color:var(--red)}
.down{color:var(--green)}
.product-list{display:grid;grid-template-columns:1fr;gap:15px}
.product-item{display:flex;align-items:center;gap:10px}
.product-img{width:60px;height:60px;object-fit:cover;border-radius:4px;background:var(--light)}
.product-info h4{font-size:14px;margin-bottom:4px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
.product-price{color:var(--red);font-size:13px;font-weight:bold}
.product-section{background:white;padding:1px 20px 20px 20px;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,0.05);margin-bottom:30px}
.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.product-card{border:1px solid var(--border);border-radius:6px;overflow:hidden;transition:0.3s}
.product-card:hover{transform:translateY(-5px);box-shadow:0 5px 15px rgba(0,0,0,0.1)}
.product-card-img{width:100%;height:140px;object-fit:cover;background:var(--light)}
.product-card-info{padding:12px}
.product-card-name{font-size:14px;margin-bottom:6px;height:40px;overflow:hidden}
.product-card-price{color:var(--red);font-weight:bold;font-size:15px}
.footer{background:#2A3A4D;color:#fff;padding:40px 0 20px;margin-top:40px}
.footer-top{display:flex;justify-content:space-between;margin-bottom:30px}
.footer-col h3{font-size:16px;margin-bottom:15px;padding-bottom:8px;border-bottom:1px solid #445264}
.footer-col ul{list-style:none}
.footer-col ul li{margin-bottom:8px;font-size:14px;color:#b0c4de}
.footer-col ul li a{color:#fff;}
.footer-bottom{text-align:center;padding-top:20px;border-top:1px solid #445264;font-size:13px;color:#8899A6}
@media (max-width:992px){.main-wrap{flex-direction:column}
.product-grid{grid-template-columns:repeat(3,1fr)}
.search-box{width:350px}
}
@media (max-width:768px){.header .container{flex-wrap:wrap;gap:15px}
.search-box{width:100%;order:3}
.product-grid{grid-template-columns:repeat(2,1fr)}
.banner h1{font-size:30px}
.banner{height:300px}
}
