/* ========================================
   Winmaxtek - 全局样式 (整合版)
   版本: 2026.07.20
   说明: 通过 body 类名 (.index, .list_product 等) 隔离样式
======================================== */

/* ===== 全局重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #1a2c3e; line-height: 1.5; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
.container { max-width: 1380px; margin: 0 auto; padding: 0 32px; }

/* ===== 颜色变量 蓝色===== */
/* :root {
    --primary: #0088cc;
    --primary-dark: #005f99;
    --primary-light: #b3e0ff;
    --dark-bg: #0b1a2e;
    --dark-card: #152b45;
    --gray-light: #f4f8fc;
    --text-dark: #0b1a2e;
    --text-muted: #4a6078;
    --border-light: #dce6ee;
    --table-header-bg: #5a7d9a;
    --table-header-text: #ffffff;
    --table-stripe: #f9fafc;
    --checkbox-accent: #0088cc;
    --card-shadow: 0 4px 16px rgba(0,0,0,0.05);
    --card-hover-shadow: 0 12px 32px rgba(0,0,0,0.10);
    --gradient-dark: linear-gradient(135deg, #0b1a2e 0%, #152b45 100%);
} */


:root {
    --primary: #ed0012;          /* 主色：深红 */
    --primary-dark: #b71c1c;      /* 主色深色：深暗红 */
    --primary-light: #ffcdd2;     /* 主色浅色：淡粉红 */
    --dark-bg: #1a1a1a;           /* 深色背景：深灰黑 */
    --dark-card: #2d2d2d;
    --gray-light: #f5f5f5;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --border-light: #e0e0e0;
    --table-header-bg: #d32f2f;   /* 表格头：红色 */
    --table-header-text: #ffffff;
    --table-stripe: #fafafa;
    --checkbox-accent: #d32f2f;
    --card-shadow: 0 4px 16px rgba(211, 47, 47, 0.08);
    --card-hover-shadow: 0 12px 32px rgba(211, 47, 47, 0.12);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #d32f2f 100%);
}



/* ========================================================================== */
/* 1. 通用组件 (所有页面共用) */
/* ========================================================================== */

/* 按钮 */
.btn-learn {
    background: var(--primary); color: white; border: none; padding: 14px 42px;
    font-size: 1rem; font-weight: 600; border-radius: 60px; cursor: pointer;
    transition: 0.25s; display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
}
.btn-learn:hover {
    background: var(--primary-dark); transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 136, 204, 0.4);
}

/* 分页器 (通用) */
.pagination-wrapper {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px; padding: 8px 0 20px;
}
.pagination-info { font-size: 0.9rem; color: var(--text-muted); }
.pagination-info strong { color: var(--text-dark); }
.pagination { display: flex; gap: 6px; align-items: center; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 6px; border-radius: 10px;
    font-size: 0.9rem; font-weight: 500; background: white;
    border: 1px solid var(--border-light); color: var(--text-dark);
    transition: 0.2s; cursor: pointer;
}
.pagination a:hover { background: var(--primary); border-color: var(--primary); color: white; }
.pagination .active { background: var(--primary); border-color: var(--primary); color: white; }
.pagination .disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* 标题 */
.section-title {
    text-align: center; font-size: 2rem; font-weight: 700; margin-bottom: 56px;
    color: #0b1a2e;
}
.section-title span {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    background-clip: text; -webkit-background-clip: text; color: transparent;
}

/* ========================================================================== */
/* 2. 导航栏 & 搜索 (所有页面共用) */
/* ========================================================================== */

.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    transition: 0.3s; background: transparent;
}
.header.scrolled {
    background: #fff;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header.scrolled  .search-icon { background: var(--primary); }


.navbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo img { height: 44px;}
.nav-center { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; gap: 36px; }
.nav-menu li a {
    font-weight: 500; font-size: 0.95rem; color: #333; padding: 8px 0;
    transition: 0.2s; display: inline-block;
}
.nav-menu li>a:hover ,.nav-menu li.on>a{
    background: var(--primary);color: #fff; padding: 8px 16px; border-radius: 32px; margin: -0 -16px;
}
.dropdown-menu {
    position: absolute; top: 48px; left: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
    min-width: 260px; border-radius: 20px; box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
    opacity: 0; visibility: hidden; transition: 0.25s; padding: 12px 0;
    border: 1px solid rgba(0,136,204,0.2);
}
.nav-menu li:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(4px); }
.dropdown-menu li a { color: #1e293b; padding: 10px 24px; display: block; font-size: 0.9rem; }
.dropdown-menu li a:hover { background: #f1f5f9; color: var(--primary); }
.dropdown-submenu { position: relative; }
.sub-dropdown {
    position: absolute; top: -8px; left: 100%; background: white;
    min-width: 240px; border-radius: 16px; box-shadow: 0 20px 35px -8px rgba(0,0,0,0.15);
    opacity: 0; visibility: hidden; transition: 0.2s; padding: 10px 0;
    border: 1px solid #dce6ee;
}
.dropdown-submenu:hover > .sub-dropdown { opacity: 1; visibility: visible; }
.search-icon {
    color: white; font-size: 1.25rem; cursor: pointer;
    /* background: rgba(255,255,255,0.1); */
    background: var(--primary);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center; border-radius: 40px;
}
.search-icon:hover { background: var(--primary); }
.menu-toggle { display: none; color: white; font-size: 1.8rem; cursor: pointer; }

/* 搜索浮层 (首页) */
.search-overlay {
    position: fixed; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(12px);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    visibility: hidden; opacity: 0; transition: 0.2s;
}
.search-overlay.active { visibility: visible; opacity: 1; }
.search-box {
    width: 60%; max-width: 800px; background: white; border-radius: 80px;
    display: flex; align-items: center; padding: 8px 8px 8px 28px;
    box-shadow: 0 30px 50px rgba(0,0,0,0.3);
}
.search-box input { flex:1; border:none; outline:none; font-size:1.2rem; padding:18px 0; }
.search-box button { background: var(--primary); border:none; padding:12px 32px; border-radius:60px; color:white; font-weight:600; cursor:pointer; }
.close-search { position:absolute; top:40px; right:40px; color:white; font-size:2rem; cursor:pointer; }

/* ========================================================================== */
/* 3. 页头 Banner (所有页面共用) */
/* ========================================================================== */

.page-banner {
    background: var(--gradient-dark); padding: 140px 0 60px; color: #666;
    margin-bottom: 40px; background-size: cover; background-position: center;
}
.page-banner h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 12px; }
.page-banner p { font-size: 1.1rem; opacity: 0.85; }

/* ========================================================================== */
/* 4. 页脚 (所有页面共用) */
/* ========================================================================== */

.footer { background: linear-gradient(180deg, #292f37, #282b3d); color:#cbd5e1; padding:70px 0 32px; margin-top:60px; }
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px,1fr)); gap:48px; margin-bottom:48px; }
.footer-col h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px; /* 文字和下划线间距 */
}
.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;    /* 下划线长度，自行修改 */
    height: 2px;    /* 线条粗细 */
    background: var(--primary); /* 线条颜色 */
}
.footer-col a { opacity:0.7; transition:0.2s; }
.footer-col a:hover { opacity:1; color:var(--primary); padding-left:6px; }
.social-links { display:flex; gap:18px; margin-top:20px; }
.social-links a { background:rgba(255,255,255,0.1); width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; border-radius:40px; }
.social-links a:hover { background:var(--primary); color:#0b1a2e; }
.copyright { text-align:center; padding-top:28px; border-top:1px solid rgba(255,255,255,0.1); }

/* ========================================================================== */
/* 5. 各页面独立样式 (通过 body 类名隔离) */
/* ========================================================================== */


/* ---------- 5.1 首页 (body.index) ---------- */
body.index { background: #ffffff; scroll-behavior: smooth; }
body.index .hero-swiper { width:100%; /* height:90vh; min-height:600px;  */}
body.index .hero-slide {}
body.index .hero-slide img{width: 100%;}
body.index .hero-content { position:relative; z-index:2; max-width:760px; text-align:center; color:white; padding:0 24px; }
body.index .hero-content h1 { font-size:3.5rem; font-weight:700; margin-bottom:20px; letter-spacing:-1px; }
body.index .hero-content p { font-size:1.3rem; margin-bottom:32px; opacity:0.92; }

body.index .swiper-pagination-bullet { width:32px; height:4px; border-radius:4px; background:rgba(0,0,0,0.5); opacity:0.7; transition:0.2s; margin:0 6px; }
body.index .swiper-pagination-bullet-active { background:var(--primary); width:48px; opacity:1; }

body.index .section { padding: 50px 0; }
body.index .product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap:40px 30px; }
body.index .product-card {
    background: #f1f5f9; border-radius: 32px; overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08);
    transition: 0.35s; border: 1px solid #eef2ff;
}
body.index .product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 35px -12px rgba(0,0,0,0.15); border-color: var(--primary); }
body.index .product-img { /* height:250px;  */background:#fff; background-size:cover; background-position:center;aspect-ratio: 1 / 1; }
body.index .product-info { padding:20px; }
body.index .product-info h3 { font-size:1.2rem; font-weight:700; margin-bottom:12px; }
body.index .product-info p { color:var(--text-muted); margin-bottom:20px; }
body.index .product-link { color:var(--primary); font-weight:600; }

body.index .news-wrapper { display:flex; gap:48px; flex-wrap:wrap; }
body.index .news-carousel { flex:1.3; border-radius:32px; overflow:hidden; box-shadow:0 10px 30px -10px rgba(0,0,0,0.08); }
body.index .news-list { flex:1; background:white; border-radius:32px; box-shadow:0 10px 30px -10px rgba(0,0,0,0.08); }
body.index .news-item { padding:24px 28px; border-bottom:1px solid #eef2ff; transition:0.2s; }
body.index .news-item:hover { background:#f8fafc; }
body.index .news-date { font-size:0.75rem; color:var(--primary); font-weight:500; margin-bottom:10px; letter-spacing:0.5px; }
body.index .news-title { font-weight:700; font-size:1.1rem; margin-bottom:8px; }
body.index .news-slide { background:linear-gradient(125deg, #ffffff, #f4f8fc); padding:28px; border-radius:24px; }
body.index .news-slide img { width:100%; height:400px; object-fit:cover; border-radius:20px; margin-bottom:20px; transition:0.3s; }
body.index .news-slide:hover img { transform:scale(1.02); }
body.index .news-slide h4 { font-size:1.4rem; font-weight:700; margin:20px 0 12px; }
body.index .news-slide p { color:#4a6078; line-height:1.5; margin-bottom:16px; }

body.index .about-section {
    background: linear-gradient(rgba(0,20,40,0.07), rgba(0,20,40,0.07)), url('../images/optical-1.jpg') center/cover no-repeat;
    color: #555; border-radius: 40px; margin:40px 0; padding:64px 48px; display:flex; flex-wrap:wrap; align-items:center; gap:48px;
}
body.index .about-text { flex:1.2; }
body.index .about-text h2 { font-size:2.3rem; margin-bottom:20px; }
body.index .stat-item { background:rgba(255,255,255,0.08); backdrop-filter:blur(5px); border-radius:32px; padding:24px 20px; text-align:center; }
body.index .stat-number { font-size:2.6rem; font-weight:800; color:var(--primary); }
body.index .about-text .btn-learn{margin-top:24px;}


/* ---------- 5.2 产品列表页 (body.list_product) ---------- */
body.list_product { background: #f8fafc; }
body.list_product .search-bar-wrapper {
    background: white; padding: 20px 24px; border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04); border: 1px solid var(--border-light);
    margin-bottom: 30px; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 16px;
}
body.list_product .search-input-group { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 240px; }
body.list_product .search-input-group i { color: var(--text-muted); font-size: 1.1rem; }
body.list_product .search-input-group input {
    flex: 1; padding: 12px 16px; border: 1px solid var(--border-light);
    border-radius: 12px; font-size: 0.95rem; background: #f8fafc;
    outline: none; transition: 0.2s; font-family: 'Inter', sans-serif;
}
body.list_product .search-input-group input:focus {
    border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}
body.list_product .search-btn {
    background: var(--primary); color: white; border: none; padding: 12px 28px;
    border-radius: 12px; font-weight: 600; cursor: pointer; transition: 0.2s; font-size: 0.95rem;
}
body.list_product .search-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
body.list_product .filter-select {
    padding: 12px 16px; border: 1px solid var(--border-light); border-radius: 12px;
    background: white; font-size: 0.95rem; color: var(--text-dark); outline: none;
    cursor: pointer; min-width: 150px;
}
body.list_product .filter-select:focus { border-color: var(--primary); }
body.list_product .result-count { font-size: 0.9rem; color: var(--text-muted); white-space: nowrap; }

body.list_product .table-wrapper {
    background: white; border-radius: 16px; border: 1px solid var(--border-light);
    overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.04); margin-bottom: 30px; overflow-x: auto;
}
body.list_product .product-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
body.list_product .product-table th {
    background: var(--table-header-bg); color: var(--table-header-text); font-weight: 600;
    padding: 16px 18px; text-align: left; white-space: nowrap; border-right: 1px solid rgba(255,255,255,0.15);
}
body.list_product .product-table th:last-child { border-right: none; }
body.list_product .product-table th i { font-size: 0.75rem; margin-left: 6px; cursor: pointer; opacity: 0.7; transition: 0.2s; }
body.list_product .product-table th i:hover { opacity: 1; }
body.list_product .product-table td { padding: 14px 18px; border-bottom: 1px solid #eef2f6; vertical-align: middle; color: var(--text-dark); }
body.list_product .product-table tbody tr:nth-child(even) { background: var(--table-stripe); }
body.list_product .product-table tbody tr:hover { background: #f0f6fe; transition: 0.15s; }
body.list_product .product-table tbody tr:last-child td { border-bottom: none; }

body.list_product .checkbox-col { width: 40px; text-align: center; }
body.list_product .checkbox-col {display:none;}
body.list_product .checkbox-col input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--checkbox-accent); cursor: pointer; }

body.list_product .product-info-cell { display: flex; align-items: center; gap: 16px; }
body.list_product .product-thumb { width: 60px; height: 60px; border-radius: 10px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--border-light); padding: 4px; }
body.list_product .product-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
body.list_product .product-meta { display: flex; flex-direction: column; gap: 4px; }
body.list_product .product-meta .part-number { font-weight: 700; font-size: 1rem; color: var(--text-dark); }
body.list_product .product-meta .part-number:hover { color: var(--primary); cursor: pointer; }
body.list_product .product-meta .desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }
body.list_product .download-icon { color: var(--primary); font-size: 1.1rem; cursor: pointer; transition: 0.2s; }
body.list_product .download-icon:hover { color: var(--primary-dark); transform: scale(1.1); }


/* ---------- 5.3 产品详情页 (body.show_product) ---------- */
body.show_product .product-detail-wrapper { display: flex; gap: 60px; margin-bottom: 40px; flex-wrap: wrap; }
body.show_product .product-gallery { flex: 1; min-width: 320px; max-width: 600px; }
body.show_product .main-image { width: 100%; aspect-ratio: 1/1; background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
body.show_product .main-image img { width: 100%; height: 100%; object-fit: contain; }
body.show_product .thumb-list { display: flex; gap: 12px; flex-wrap: wrap; }
body.show_product .thumb-item { width: 80px; height: 80px; border-radius: 16px; overflow: hidden; cursor: pointer; border: 2px solid transparent; background: #f1f5f9; transition: 0.2s; }
body.show_product .thumb-item:hover { border-color: var(--primary); }
body.show_product .thumb-item img { width: 100%; height: 100%; object-fit: cover; }

body.show_product .product-info-detail { flex: 1.2; min-width: 340px; }
body.show_product .product-info-detail h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
body.show_product .product-model { font-size: 1rem; color: var(--primary); font-weight: 600; margin-bottom: 16px; }
body.show_product .product-short-desc { font-size: 1rem; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }
body.show_product .key-features { background: var(--gray-light); border-radius: 20px; padding: 24px 28px; margin-bottom: 28px; border: 1px solid var(--border-light); }
body.show_product .key-features h4 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
body.show_product .key-features ul { list-style: disc; padding-left: 20px; }
body.show_product .key-features ul li { margin-bottom: 8px; color: var(--text-muted); font-size: 0.95rem; }
body.show_product .specs-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; border: 1px solid var(--border-light); border-radius: 16px; overflow: hidden; }
body.show_product .specs-table th, body.show_product .specs-table td { padding: 14px 20px; border-bottom: 1px solid var(--border-light); text-align: left; }
body.show_product .specs-table th { background: var(--gray-light); font-weight: 600; color: var(--text-dark); width: 35%; }
body.show_product .specs-table td { color: var(--text-muted); }
body.show_product .specs-table tr:last-child td, body.show_product .specs-table tr:last-child th { border-bottom: none; }
body.show_product .action-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
body.show_product .btn-primary { background: var(--primary); color: white; border: none; padding: 14px 40px; border-radius: 50px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center; gap: 10px; }
body.show_product .btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 136, 204, 0.3); }
body.show_product .btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 14px 40px; border-radius: 50px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: 0.3s; }
body.show_product .btn-outline:hover { background: var(--primary); color: white; }

body.show_product .tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--border-light); margin: 40px 0 30px; flex-wrap: wrap; }
body.show_product .tab-btn { padding: 14px 32px; font-size: 1rem; font-weight: 600; color: var(--text-muted); background: transparent; border: none; cursor: pointer; transition: 0.3s; position: relative; border-bottom: 3px solid transparent; margin-bottom: -2px; }
body.show_product .tab-btn:hover { color: var(--text-dark); }
body.show_product .tab-btn.active { color: #ff3333; border-bottom-color: #ff3333; }
body.show_product .tab-btn.active:hover { color: #cc0000; }

body.show_product .tab-content { display: none; animation: fadeIn 0.4s ease; }
body.show_product .tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

body.show_product .ordering-toolbar { display: flex; justify-content: flex-end; margin-bottom: 20px; }
body.show_product .search-input { padding: 10px 16px; border: 1px solid var(--border-light); border-radius: 8px; font-size: 0.9rem; width: 280px; background: #f5f7fa; outline: none; }
body.show_product .search-input:focus { border-color: var(--primary); background: white; }
body.show_product .ordering-table-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid #ddd; }
body.show_product .ordering-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
body.show_product .ordering-table th { background: #555555; color: white; font-weight: 600; padding: 16px 20px; text-align: left; white-space: nowrap; position: sticky; top: 0; }
body.show_product .ordering-table th i { font-size: 0.75rem; margin-left: 6px; cursor: pointer; opacity: 0.7; }
body.show_product .ordering-table th i:hover { opacity: 1; }
body.show_product .ordering-table td { padding: 16px 20px; border-bottom: 1px solid #eee; color: #333; }
body.show_product .ordering-table tbody tr:nth-child(even) { background: #f9f9f9; }
body.show_product .ordering-table tbody tr:hover { background: #f0f4f8; }
body.show_product .ordering-table tbody tr:last-child td { border-bottom: none; }
body.show_product .pdf-icon { color: #e74c3c; font-size: 1.1rem; cursor: pointer; transition: 0.2s; }
body.show_product .pdf-icon:hover { color: #c0392b; transform: scale(1.1); }

body.show_product .desc-content h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 20px; color: var(--text-dark); }
body.show_product .desc-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
body.show_product .desc-content ul { list-style: disc; padding-left: 24px; color: var(--text-muted); line-height: 1.8; }
body.show_product .desc-content ul li { margin-bottom: 8px; }

body.show_product .related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 20px; }
body.show_product .related-card { background: #f1f5f9; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.08); transition: 0.3s; border: 1px solid var(--border-light); cursor: pointer; }
body.show_product .related-card:hover { transform: translateY(-6px); border-color: var(--primary); }
body.show_product .related-img { width: 100%; aspect-ratio: 1/1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 20px; }
body.show_product .related-img img { max-width: 80%; height: auto; }
body.show_product .related-info { padding: 16px 20px 20px; text-align: center; }
body.show_product .related-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; color: var(--text-dark); }
body.show_product .related-info p { font-size: 0.85rem; color: var(--text-muted); }

body.show_product .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
body.show_product .modal-overlay.active { display: flex; }
body.show_product .modal-box { background: white; border-radius: 24px; max-width: 600px; width: 100%; padding: 40px 44px 44px; position: relative; box-shadow: 0 40px 60px rgba(0,0,0,0.3); animation: modalFadeIn 0.3s ease; max-height: 90vh; overflow-y: auto; }
@keyframes modalFadeIn { from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
body.show_product .modal-close { position: absolute; top: 16px; right: 20px; font-size: 1.8rem; color: var(--text-muted); cursor: pointer; transition: 0.2s; background: none; border: none; line-height: 1; }
body.show_product .modal-close:hover { color: var(--text-dark); transform: rotate(90deg); }
body.show_product .modal-box h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
body.show_product .modal-box .modal-sub { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 24px; }
body.show_product .modal-box .modal-product { background: var(--gray-light); border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; font-size: 0.95rem; color: var(--text-dark); border: 1px solid var(--border-light); }
body.show_product .modal-box .modal-product strong { color: var(--primary); }
body.show_product .modal-form .form-group { margin-bottom: 18px; }
body.show_product .modal-form .form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--text-dark); }
body.show_product .modal-form .form-group label .required { color: #e74c3c; }
body.show_product .modal-form .form-group input, body.show_product .modal-form .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border-light); border-radius: 12px; font-size: 0.95rem; font-family: 'Inter', sans-serif; background: #f8fafc; outline: none; transition: 0.2s; }
body.show_product .modal-form .form-group input:focus, body.show_product .modal-form .form-group textarea:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1); }
body.show_product .modal-form .form-group textarea { min-height: 100px; resize: vertical; }
body.show_product .modal-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.show_product .modal-form .btn-submit { width: 100%; background: var(--primary); color: white; border: none; padding: 14px; border-radius: 50px; font-weight: 600; font-size: 1rem; cursor: pointer; transition: 0.3s; margin-top: 8px; }
body.show_product .modal-form .btn-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 136, 204, 0.3); }


/* ---------- 5.4 新闻列表页 (body.list_news) ---------- */
body.list_news { background: #f8fafc; }
body.list_news .news-layout { display: flex; gap: 40px; margin-bottom: 60px; flex-wrap: wrap; }
body.list_news .news-main { flex: 3; min-width: 0; }
body.list_news .news-sidebar { flex: 1; min-width: 320px; }

body.list_news .featured-news { background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--card-shadow); border: 1px solid var(--border-light); margin-bottom: 40px; transition: 0.3s; }
body.list_news .featured-news:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-4px); }
body.list_news .featured-image { width: 100%; height: 380px; background-size: cover; background-position: center; position: relative; }
body.list_news .featured-image .tag { position: absolute; top: 20px; left: 20px; background: var(--primary); color: white; padding: 6px 16px; border-radius: 30px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
body.list_news .featured-content { padding: 32px 36px 36px; }
body.list_news .featured-content .date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; display: block; }
body.list_news .featured-content h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); line-height: 1.3; }
body.list_news .featured-content h2:hover { color: var(--primary); cursor: pointer; }
body.list_news .featured-content p { color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
body.list_news .read-more { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; }
body.list_news .read-more:hover { gap: 14px; color: var(--primary-dark); }

body.list_news .news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 40px; }
body.list_news .news-card a{ background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--card-shadow); border: 1px solid var(--border-light); transition: 0.3s; display: flex; flex-direction: column; }
body.list_news .news-card:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-4px); }
body.list_news .news-card-image { width: 100%; height: 200px; background-size: cover; background-position: center; flex-shrink: 0; }
body.list_news .news-card-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
body.list_news .news-card-body .date { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; display: block; }
body.list_news .news-card-body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); line-height: 1.4; }
body.list_news .news-card-body h3:hover { color: var(--primary); cursor: pointer; }
body.list_news .news-card-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin-bottom: 16px; flex: 1; }

body.list_news .sidebar-box { background: white; border-radius: 16px; padding: 28px 24px; border: 1px solid var(--border-light); box-shadow: var(--card-shadow); margin-bottom: 30px; }
body.list_news .sidebar-box h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: var(--text-dark); border-bottom: 2px solid var(--border-light); padding-bottom: 12px; }
body.list_news .sidebar-category li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
body.list_news .sidebar-category li:last-child { border-bottom: none; }
body.list_news .sidebar-category a { display: flex; justify-content: space-between; color: var(--text-muted); transition: 0.2s; font-size: 0.9rem; }
body.list_news .sidebar-category a:hover { color: var(--primary); padding-left: 6px; }
body.list_news .sidebar-category .count { background: var(--gray-light); padding: 2px 10px; border-radius: 30px; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
body.list_news .sidebar-archive li { padding: 6px 0; }
body.list_news .sidebar-archive a { color: var(--text-muted); font-size: 0.9rem; transition: 0.2s; }
body.list_news .sidebar-archive a:hover { color: var(--primary); padding-left: 6px; }


/* ---------- 5.5 新闻详情页 (body.show_news) ---------- */
body.show_news .breadcrumb { margin-bottom: 30px; font-size: 0.85rem; color: var(--text-muted); }
body.show_news .breadcrumb a { color: var(--primary); transition: 0.2s; }
body.show_news .breadcrumb a:hover { color: var(--primary-dark); }
body.show_news .breadcrumb span { margin: 0 8px; color: var(--text-muted); }

body.show_news .article-layout { display: flex; gap: 40px; margin-bottom: 60px; flex-wrap: wrap; }
body.show_news .article-main { flex: 3; min-width: 0; }
body.show_news .news-sidebar { flex: 1; min-width: 320px; }

body.show_news .article-card { background: white; border-radius: 20px; padding: 40px 44px 48px; box-shadow: var(--card-shadow); border: 1px solid var(--border-light); }
body.show_news .article-header { margin-bottom: 28px; border-bottom: 1px solid var(--border-light); padding-bottom: 24px; }
body.show_news .article-header .category-tag { display: inline-block; background: var(--primary); color: white; padding: 4px 14px; border-radius: 30px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
body.show_news .article-header h1 { font-size: 2.2rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; margin-bottom: 16px; }
body.show_news .article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.85rem; color: var(--text-muted); }
body.show_news .article-meta i { margin-right: 6px; color: var(--primary); }
body.show_news .article-meta .author { font-weight: 500; color: var(--text-dark); }

body.show_news .article-featured-image { width: 100%; height: 420px; background-size: cover; background-position: center; border-radius: 16px; margin-bottom: 30px; }

body.show_news .article-body h2 { font-size: 1.6rem; font-weight: 700; margin-top: 32px; margin-bottom: 16px; color: var(--text-dark); }
body.show_news .article-body h3 { font-size: 1.2rem; font-weight: 600; margin-top: 24px; margin-bottom: 12px; color: var(--text-dark); }
body.show_news .article-body p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
body.show_news .article-body ul, body.show_news .article-body ol { padding-left: 24px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
body.show_news .article-body ul li, body.show_news .article-body ol li { margin-bottom: 8px; }
body.show_news .article-body h3 { border-left: 4px solid var(--primary); padding: 16px 24px; margin: 24px 0; background: var(--gray-light); border-radius: 0 12px 12px 0; color: var(--text-dark); font-style: italic; font-weight: 500; }
body.show_news .article-body h3 cite { display: block; margin-top: 8px; font-size: 0.85rem; font-style: normal; color: var(--text-muted); }

body.show_news .article-share { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-light); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
body.show_news .article-share span { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
body.show_news .article-share a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gray-light); color: var(--text-muted); transition: 0.2s; border: 1px solid var(--border-light); }
body.show_news .article-share a:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); }

body.show_news .related-articles { margin-top: 48px; }
body.show_news .related-articles h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; color: var(--text-dark); }
body.show_news .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.show_news .related-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--card-shadow); border: 1px solid var(--border-light); transition: 0.3s; }
body.show_news .related-card:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-4px); }
body.show_news .related-card-image { width: 100%;  background-size: cover; background-position: center; }
body.show_news .related-card-body { padding: 20px 20px 24px; }
body.show_news .related-card-body .date { font-size: 0.75rem; color: var(--text-muted); display: block; margin-bottom: 6px; }
body.show_news .related-card-body h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); line-height: 1.4; margin-bottom: 8px; }
body.show_news .related-card-body h4:hover { color: var(--primary); cursor: pointer; }
body.show_news .related-card-body .read-more { font-size: 0.8rem; color: var(--primary); font-weight: 600; }
body.show_news .related-card-body .read-more:hover { color: var(--primary-dark); }

body.show_news .sidebar-box { background: white; border-radius: 16px; padding: 28px 24px; border: 1px solid var(--border-light); box-shadow: var(--card-shadow); margin-bottom: 30px; }
body.show_news .sidebar-box h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: var(--text-dark); border-bottom: 2px solid var(--border-light); padding-bottom: 12px; }
body.show_news .sidebar-category li { padding: 8px 0; border-bottom: 1px solid #f1f5f9; }
body.show_news .sidebar-category li:last-child { border-bottom: none; }
body.show_news .sidebar-category a { display: flex; justify-content: space-between; color: var(--text-muted); transition: 0.2s; font-size: 0.9rem; }
body.show_news .sidebar-category a:hover { color: var(--primary); padding-left: 6px; }
body.show_news .sidebar-category .count { background: var(--gray-light); padding: 2px 10px; border-radius: 30px; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
body.show_news .sidebar-archive li { padding: 6px 0; }
body.show_news .sidebar-archive a { color: var(--text-muted); font-size: 0.9rem; transition: 0.2s; }
body.show_news .sidebar-archive a:hover { color: var(--primary); padding-left: 6px; }


/* ---------- 5.6 公司介绍页 (body.company) ---------- */
body.company { background: #f8fafc; }
body.company .about-hero { background: white; border-radius: 24px; padding: 60px 56px; margin-bottom: 48px; box-shadow: var(--card-shadow); border: 1px solid var(--border-light); display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
body.company .about-hero-text { flex: 1.4; min-width: 280px; }
body.company .about-hero-text h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 16px; color: var(--text-dark); }
body.company .about-hero-text h2 span { color: var(--primary); }
body.company .about-hero-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
body.company .about-hero-image { flex: 1; min-width: 260px; height: 280px; border-radius: 20px; background-size: cover; background-position: center; box-shadow: var(--card-shadow); }

body.company .stats-section { background: var(--gradient-dark); border-radius: 24px; padding: 48px 40px; margin-bottom: 48px; color: white; box-shadow: var(--card-shadow); }
body.company .stats-section{background: linear-gradient(rgba(0,20,40,0.7), rgba(0,20,40,0.7)), url('../images/optical-communication-bg.jpg') center/cover no-repeat;}
body.company .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
body.company .stat-item { border-right: 1px solid rgba(255,255,255,0.15); padding: 0 16px; }
body.company .stat-item:last-child { border-right: none; }
body.company .stat-number { font-size: 2.8rem; font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 8px; }
body.company .stat-label { font-size: 0.9rem; opacity: 0.85; }
body.company .stat-sub { font-size: 0.7rem; opacity: 0.6; margin-top: 4px; }

body.company .about-content { display: flex; gap: 48px; margin-bottom: 48px; flex-wrap: wrap; }
body.company .about-content-left { flex: 1.2; min-width: 280px; }
body.company .about-content-left h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; color: var(--text-dark); }
body.company .about-content-left p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
body.company .about-content-right { flex: 1; min-width: 280px; background: white; border-radius: 20px; padding: 32px 28px; border: 1px solid var(--border-light); box-shadow: var(--card-shadow); }
body.company .about-content-right h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: var(--text-dark); }
body.company .about-content-right ul li { padding: 8px 0; border-bottom: 1px solid var(--border-light); color: var(--text-muted); display: flex; gap: 12px; }
body.company .about-content-right ul li:last-child { border-bottom: none; }
body.company .about-content-right ul li i { color: var(--primary); font-size: 1rem; margin-top: 2px; }

body.company .timeline-section { margin-bottom: 48px; }
body.company .timeline-section h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 32px; color: var(--text-dark); text-align: center; }
body.company .timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 0 20px; }
body.company .timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--primary); transform: translateX(-50%); opacity: 0.3; }
body.company .timeline-item { display: flex; justify-content: flex-end; padding-right: 50%; position: relative; margin-bottom: 40px; }
body.company .timeline-item:nth-child(even) { justify-content: flex-start; padding-right: 0; padding-left: 50%; }
body.company .timeline-item .dot { position: absolute; right: -6px; top: 20px; width: 14px; height: 14px; background: var(--primary); border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 3px var(--primary); }
body.company .timeline-item:nth-child(even) .dot { right: auto; left: -6px; }
body.company .timeline-content { background: white; padding: 20px 28px; border-radius: 16px; box-shadow: var(--card-shadow); border: 1px solid var(--border-light); max-width: 420px; transition: 0.3s; }
body.company .timeline-content:hover { transform: translateY(-4px); border-color: var(--primary); }
body.company .timeline-content .year { font-weight: 700; font-size: 1.2rem; color: var(--primary); margin-bottom: 4px; }
body.company .timeline-content h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; color: var(--text-dark); }
body.company .timeline-content p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

body.company .cert-section { margin-bottom: 48px; }
body.company .cert-section h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 32px; color: var(--text-dark); text-align: center; }
body.company .cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
body.company .cert-card { background: white; border-radius: 16px; padding: 28px 20px; text-align: center; border: 1px solid var(--border-light); box-shadow: var(--card-shadow); transition: 0.3s; }
body.company .cert-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: var(--card-hover-shadow); }
body.company .cert-card i { font-size: 2.8rem; color: var(--primary); margin-bottom: 12px; display: block; }
body.company .cert-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--text-dark); }
body.company .cert-card p { font-size: 0.8rem; color: var(--text-muted); }

body.company .global-section { background: white; border-radius: 24px; padding: 48px 40px; margin-bottom: 48px; border: 1px solid var(--border-light); box-shadow: var(--card-shadow); display: flex; flex-wrap: wrap; gap: 40px; }
body.company .global-text { flex: 1.2; min-width: 260px; }
body.company .global-text h3 { font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; color: var(--text-dark); }
body.company .global-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
body.company .global-stats { flex: 1; min-width: 200px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
body.company .global-stat-card { background: var(--gray-light); border-radius: 16px; padding: 20px 16px; text-align: center; border: 1px solid var(--border-light); }
body.company .global-stat-card .number { font-size: 2rem; font-weight: 800; color: var(--primary); }
body.company .global-stat-card .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }


/* ---------- 5.7 下载中心 (body.download) ---------- */
body.download { background: #f8fafc; }
body.download .search-bar-wrapper { background: white; padding: 24px 28px; border-radius: 20px; box-shadow: var(--card-shadow); border: 1px solid var(--border-light); margin-bottom: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
body.download .search-input-group { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 240px; }
body.download .search-input-group i { color: var(--text-muted); font-size: 1.1rem; }
body.download .search-input-group input { flex: 1; padding: 12px 16px; border: 1px solid var(--border-light); border-radius: 12px; font-size: 0.95rem; background: #f8fafc; outline: none; transition: 0.2s; font-family: 'Inter', sans-serif; }
body.download .search-input-group input:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1); }
body.download .search-btn { background: var(--primary); color: white; border: none; padding: 12px 28px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: 0.2s; font-size: 0.95rem; }
body.download .search-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
body.download .result-count { font-size: 0.9rem; color: var(--text-muted); white-space: nowrap; }

body.download .filter-tabs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
body.download .filter-tab { padding: 10px 24px; border-radius: 40px; background: white; border: 1px solid var(--border-light); font-weight: 500; font-size: 0.9rem; cursor: pointer; transition: 0.2s; color: var(--text-muted); }
body.download .filter-tab:hover { border-color: var(--primary); color: var(--primary); }
body.download .filter-tab.active { background: var(--primary); border-color: var(--primary); color: white; }

body.download .download-list-wrapper { background: white; border-radius: 20px; border: 1px solid var(--border-light); box-shadow: var(--card-shadow); overflow: hidden; margin-bottom: 30px; }
body.download .download-item { display: flex; align-items: center; padding: 20px 28px; border-bottom: 1px solid var(--border-light); transition: 0.2s; gap: 20px; flex-wrap: wrap; }
body.download .download-item:last-child { border-bottom: none; }
body.download .download-item:hover { background: #f0f6fe; }
body.download .download-icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: var(--gray-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.4rem; color: var(--primary); }
body.download .download-info { flex: 3; min-width: 200px; }
body.download .download-info h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
body.download .download-info h4:hover { color: var(--primary); cursor: pointer; }
body.download .download-info .desc { font-size: 0.85rem; color: var(--text-muted); }
body.download .download-meta { display: flex; gap: 24px; flex-wrap: wrap; flex: 1; min-width: 140px; }
body.download .download-meta .meta-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); }
body.download .download-meta .meta-item i { color: var(--primary); font-size: 0.75rem; }
body.download .download-action { flex-shrink: 0; }
body.download .download-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: white; padding: 10px 24px; border-radius: 40px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: 0.2s; border: none; }
body.download .download-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 136, 204, 0.3); }
body.download .download-btn i { font-size: 0.9rem; }


/* ========================================================================== */
/* 6. 响应式 (所有页面共用) */
/* ========================================================================== */

@media (max-width: 1024px) {
    .nav-center { display:none; }
    .menu-toggle { display:block; margin-left:auto; margin-right:20px; }
    
    body.index .product-grid { grid-template-columns:repeat(2,1fr); }
    body.index .news-wrapper { display:block; }
    
    body.show_product .related-grid { grid-template-columns: repeat(3, 1fr); }
    body.show_product .product-detail-wrapper { flex-direction: column; }
    body.show_product .product-gallery { max-width: 100%; }

    body.list_news .news-grid { grid-template-columns: 1fr; }
    body.list_news .news-layout { flex-direction: column; }
    body.list_news .featured-image { height: 260px; }
    body.list_news .featured-content { padding: 24px; }
    body.list_news .featured-content h2 { font-size: 1.5rem; }

    body.show_news .article-layout { flex-direction: column; }
    body.show_news .related-grid { grid-template-columns: repeat(2, 1fr); }
    body.show_news .article-card { padding: 28px 24px 32px; }
    body.show_news .article-featured-image { height: 280px; }

    body.company .stats-grid { grid-template-columns: repeat(2, 1fr); }
    body.company .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
    body.company .stat-item:last-child { border-bottom: none; }
    body.company .cert-grid { grid-template-columns: repeat(2, 1fr); }
    body.company .timeline::before { left: 30px; }
    body.company .timeline-item { padding-right: 0; padding-left: 60px; justify-content: flex-start; }
    body.company .timeline-item:nth-child(even) { padding-left: 60px; }
    body.company .timeline-item .dot { right: auto; left: -6px; }
    body.company .timeline-item:nth-child(even) .dot { left: -6px; }
}


/* ---------- 5.8 联系我们页 (body.contact) ---------- */
body.contact { background: #f8fafc; }

body.contact .contact-wrapper {
    display: flex;
    gap: 48px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
body.contact .contact-info {
    flex: 1;
    min-width: 280px;
}
body.contact .contact-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}
body.contact .contact-info p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}
body.contact .contact-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}
body.contact .contact-item:last-child {
    border-bottom: none;
}
body.contact .contact-item i {
    width: 24px;
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}
body.contact .contact-item .label {
    font-weight: 600;
    color: var(--text-dark);
}
body.contact .contact-item .value {
    color: var(--text-muted);
}

body.contact .contact-form-wrap {
    flex: 1.2;
    min-width: 300px;
    background: white;
    border-radius: 20px;
    padding: 40px 44px 44px;
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
}
body.contact .contact-form-wrap h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}
body.contact .contact-form-wrap .sub {
    color: var(--text-muted);
    margin-bottom: 24px;
}
body.contact .form-group {
    margin-bottom: 18px;
}
body.contact .form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}
body.contact .form-group label .required {
    color: #e74c3c;
}
body.contact .form-group input,
body.contact .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    outline: none;
    transition: 0.2s;
}
body.contact .form-group input:focus,
body.contact .form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
}
body.contact .form-group textarea {
    min-height: 120px;
    resize: vertical;
}
body.contact .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
body.contact .btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 8px;
}
body.contact .btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.3);
}

/* 地图占位 */
body.contact .map-placeholder {
    width: 100%;
    height: 280px;
    border-radius: 16px;
    background: var(--gray-light);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 24px;
}
body.contact .map-placeholder i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-right: 12px;
}

/* 联系页响应式 */
@media (max-width: 768px) {
    body.contact .contact-wrapper { flex-direction: column; }
    body.contact .form-row { grid-template-columns: 1fr; }
    body.contact .contact-form-wrap { padding: 28px 20px 32px; }
}

@media (max-width: 768px) {
    .page-banner h1 { font-size: 2rem; }
    .container { padding: 0 20px; }

    body.index .hero-content h1 { font-size:2.2rem; }
    body.index .product-grid { grid-template-columns:1fr; }
    body.index .about-section { flex-direction:column; padding:40px 24px; }

    body.list_product .search-bar-wrapper { flex-direction: column; align-items: stretch; }
    body.list_product .search-input-group { flex-wrap: wrap; }
    body.list_product .filter-select { width: 100%; }
    body.list_product .product-table th, body.list_product .product-table td { padding: 12px 14px; font-size: 0.8rem; }
    body.list_product .product-thumb { width: 40px; height: 40px; }
    body.list_product .product-meta .part-number { font-size: 0.9rem; }
    body.list_product .pagination-wrapper { flex-direction: column; align-items: center; text-align: center; }
    body.list_product .product-info-cell { gap: 10px; }

    body.show_product .page-banner h1 { font-size: 2rem; }
    body.show_product .related-grid { grid-template-columns: repeat(2, 1fr); }
    body.show_product .tab-btn { padding: 12px 20px; font-size: 0.9rem; }
    body.show_product .search-input { width: 100%; }
    body.show_product .ordering-table th, body.show_product .ordering-table td { padding: 12px 14px; font-size: 0.8rem; }
    body.show_product .modal-box { padding: 28px 20px 32px; }
    body.show_product .modal-form .form-row { grid-template-columns: 1fr; }

    body.list_news .page-banner h1 { font-size: 2rem; }
    body.list_news .news-grid { grid-template-columns: 1fr; }
    body.list_news .featured-image { height: 200px; }
    body.list_news .featured-content { padding: 20px; }
    body.list_news .featured-content h2 { font-size: 1.3rem; }
    body.list_news .news-card-image { height: 160px; }
    body.list_news .sidebar-box { padding: 20px; }

    body.show_news .page-banner h1 { font-size: 1.8rem; }
    body.show_news .article-header h1 { font-size: 1.6rem; }
    body.show_news .article-card { padding: 20px 16px 24px; }
    body.show_news .article-featured-image { height: 200px; }
    body.show_news .related-grid { grid-template-columns: 1fr; }
    body.show_news .sidebar-box { padding: 20px; }
    body.show_news .article-meta { flex-direction: column; gap: 8px; }

    body.company .page-banner h1 { font-size: 2rem; }
    body.company .about-hero { padding: 32px 24px; flex-direction: column; }
    body.company .about-hero-image { width: 100%; height: 200px; }
    body.company .stats-grid { grid-template-columns: 1fr; }
    body.company .stat-item { border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 16px; }
    body.company .cert-grid { grid-template-columns: 1fr; }
    body.company .global-section { flex-direction: column; padding: 32px 24px; }
    body.company .global-stats { grid-template-columns: 1fr; }
    body.company .timeline-content { max-width: 100%; }

    body.download .page-banner h1 { font-size: 2rem; }
    body.download .search-bar-wrapper { flex-direction: column; align-items: stretch; }
    body.download .search-input-group { flex-wrap: wrap; }
    body.download .download-item { flex-direction: column; align-items: flex-start; }
    body.download .download-meta { width: 100%; justify-content: flex-start; gap: 16px; }
    body.download .download-action { width: 100%; }
    body.download .download-btn { width: 100%; justify-content: center; }
    body.download .pagination-wrapper { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
    body.list_product .product-table th:nth-child(5), body.list_product .product-table td:nth-child(5) { display: none; }
    body.list_product .product-table th:nth-child(6), body.list_product .product-table td:nth-child(6) { display: none; }
    
    body.show_product .related-grid { grid-template-columns: 1fr; }
    body.show_product .action-buttons { flex-direction: column; }
    body.show_product .btn-primary, body.show_product .btn-outline { width: 100%; justify-content: center; }

    body.show_news .article-share { flex-direction: column; align-items: flex-start; }

    body.list_news .pagination-wrapper { flex-direction: column; gap: 12px; }
}



