/* 产品页面样式（products-style.css）*/
body{font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,Helvetica,sans-serif;color:#222;margin:0;background:#fff}
.site-header{background:#fff;border-bottom:1px solid #eee}
.header-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:18px}
.logo img{height:36px}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:22px}
.main-nav a{color:#333;text-decoration:none;font-weight:500}
.main-nav a.active{color:#d32f2f}
.product-hero{position:relative;background:#f7f7f7}
.product-hero .hero-bg img{width:100%;height:360px;object-fit:cover;display:block}
.tab-nav{max-width:1200px;margin:-36px auto 0;display:flex;gap:12px;padding:12px}
.tab-item{background:#fff;padding:10px 14px;border-radius:6px;border:1px solid #e6e6e6;color:#333;text-decoration:none}
.tab-item.active{border-color:#d32f2f;color:#d32f2f}
.breadcrumb{max-width:1200px;margin:12px auto;padding:0 18px;color:#666;font-size:14px}
.section-inner{max-width:1200px;margin:36px auto;padding:0 18px}
.section-title{font-size:22px;color:#111;margin:0 0 18px}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px}
.product-card{background:#fff;border:1px solid #eee;border-radius:8px;padding:12px;text-align:center}
.product-card .card-img{height:120px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.product-card img{max-width:100%;height:auto}
.product-card h4{margin:10px 0 6px;font-size:16px;color:#222}
.product-card p{margin:0;color:#666;font-size:13px}
.site-footer{background:#f6f6f6;padding:28px 0;margin-top:40px;border-top:1px solid #eee}
.footer-inner{max-width:1200px;margin:0 auto;display:flex;gap:24px;padding:0 18px}
.footer-col h5{margin:0 0 8px}
.footer-bottom{text-align:center;color:#888;padding:14px 0;margin-top:18px}
/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 顶部导航栏 */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 99;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo img {
    height: 36px;
}

.main-nav ul {
    display: flex;
    gap: 48px;
}

.main-nav a {
    font-size: 16px;
    color: #333;
    transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #d81e06;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.lang-switch a {
    margin: 0 8px;
}

.lang-switch a.active {
    color: #d81e06;
    font-weight: 600;
}

.search-icon {
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%23333"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 0 0 9.5 3 6.5 6.5 0 0 0 3 9.5 6.5 6.5 0 0 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>') no-repeat center;
    background-size: contain;
    cursor: pointer;
}

/* 产品顶部大图区域 */
.product-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #eaeaea;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tab-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255,255,255,0.9);
    display: flex;
    justify-content: center;
    padding: 0 24px;
}

.tab-item {
    display: inline-block;
    padding: 16px 32px;
    font-size: 15px;
    color: #666;
    transition: all 0.25s ease;
    border-bottom: 2px solid transparent;
}

.tab-item.active {
    color: #d81e06;
    border-bottom-color: #d81e06;
    font-weight: 600;
}

.breadcrumb {
    position: absolute;
    bottom: 24px;
    right: 40px;
    font-size: 14px;
    color: #333;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb span {
    margin: 0 6px;
}

/* 产品列表区域 */
.product-list-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 24px;
}

.section-inner {
    width: 100%;
}

.section-title {
    font-size: 28px;
    color: #222;
    font-weight: 600;
    margin-bottom: 24px;
    padding-left: 8px;
    border-left: 4px solid #d81e06;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #fafafa;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img img {
    transform: scale(1.05);
}

.product-card h4 {
    font-size: 18px;
    color: #222;
    font-weight: 600;
    padding: 16px 16px 8px;
    text-align: center;
}

.product-card p {
    font-size: 14px;
    color: #666;
    padding: 0 16px 20px;
    text-align: center;
}

/* 页脚 */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 40px 20px 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h5 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 13px;
    color: #999;
}

/* 响应式适配 */
@media (max-width: 900px) {
    .main-nav ul {
        gap: 24px;
        font-size: 14px;
    }
    .product-hero {
        height: 320px;
    }
    .tab-item {
        padding: 12px 16px;
        font-size: 14px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}