:root {
    --primary: #158BDA;
    --primary-dark: #0F6FAF;
    --primary-light: #4FABE9;
    --accent: #007AFF;
    --orange: #FFB129;
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg: #F8F8F8;
    --white: #FFFFFF;
    --border: #E8E8E8;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

/* 全局重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* ========== 顶部通栏 ========== */
.top-bar {
    background: #f5f5f5;
    font-size: 0.9rem;
    height: 44px;
    line-height: 44px;
    border-bottom: 1px solid var(--border);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-bar .phone {
    color: var(--orange);
    font-weight: bold;
    font-size: 1rem;
}

.top-bar .search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    height: 34px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.top-bar .search-box:hover {
    border-color: var(--primary-light);
    box-shadow: 0 2px 8px rgba(21,139,218,0.12);
}

.top-bar .search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21,139,218,0.12);
}

.top-bar .search-box input {
    border: none;
    padding: 0 12px 0 16px;
    font-size: 0.9rem;
    outline: none;
    height: 100%;
    width: 200px;
    background: transparent;
    color: var(--text);
    transition: var(--transition);
}

.top-bar .search-box input::placeholder {
    color: var(--text-lighter);
}

.top-bar .search-box button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 0 16px;
    height: 100%;
    cursor: pointer;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.top-bar .search-box button svg {
    width: 16px;
    height: 16px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.top-bar .search-box button:hover {
    background: var(--primary-dark);
}

/* ========== 导航栏 ========== */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 var(--border);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: var(--shadow);
    background: rgba(255,255,255,0.97);
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo .logo-main {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo .logo-sub {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 3px;
    margin-top: -2px;
}
.logo img{
    max-width: 60%;
    max-height: 70px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.nav-menu li {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    font-size: 0.95rem;
    color: var(--text);
    position: relative;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Page Banner ========== */
.page-banner {
    background: var(--primary-dark);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* 背景图由各页面 HTML 中的 <img class="page-banner-img"> 引入，cover 自适应裁切 */
.page-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

/* 图片上方的蓝色遮罩层 + 装饰圆 */
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle 200px at 92% 0%, rgba(255,255,255,0.06), rgba(255,255,255,0) 100%),
        radial-gradient(circle 150px at 5% 100%, rgba(255,255,255,0.05), rgba(255,255,255,0) 100%),
        linear-gradient(115deg, rgba(8,58,99,0.88) 0%, rgba(15,111,175,0.80) 50%, rgba(19,126,200,0.74) 100%);
}

.page-banner > .container,
.page-banner h1 {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 4px;
}

/* 面包屑 */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.breadcrumb .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.breadcrumb .container > * {
    min-width: 0;
    overflow-wrap: break-word;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    color: var(--text-lighter);
}

.breadcrumb .current {
    color: var(--primary);
}

/* ========== Section Title ========== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text);
    letter-spacing: 2px;
}

.section-title .subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.section-title .divider {
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ========== 按钮 ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21,139,218,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ========== 卡片 ========== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

/* ========== 产品卡片 ========== */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.product-card .product-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card .product-img .product-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.4;
}

.product-card .product-img .product-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    text-align: center;
    padding: 0 10px;
}

.product-card .product-info {
    padding: 16px;
}

.product-card .product-info h3 {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 6px;
}

.product-card .product-info .product-code {
    font-size: 0.8rem;
    color: var(--text-lighter);
}

.product-card .product-info .product-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary);
    background: rgba(21,139,218,0.08);
    padding: 2px 10px;
    border-radius: 20px;
    margin-top: 8px;
}

/* ========== 新闻卡片 ========== */
.news-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}



.news-card .news-img {
    height: 180px;
    background: linear-gradient(135deg, #E8F4FD, #D0E8F8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.9;
}

.news-card .news-body {
    padding: 20px;
}

.news-card .news-date {
    font-size: 0.8rem;
    color: var(--text-lighter);
    margin-bottom: 8px;
}

.news-card .news-title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-excerpt {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 荣誉证书卡片 ========== */
.honor-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.honor-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.honor-card .honor-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.honor-card .honor-icon svg {
    width: 60px;
    height: 60px;
}

.honor-card .honor-name {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.5;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination .disabled {
    color: var(--text-lighter);
    cursor: not-allowed;
}

/* ========== 手风琴 ========== */
.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.accordion-header {
    padding: 16px 20px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--bg);
}

.accordion-header .arrow {
    font-size: 0.7rem;
    transition: var(--transition);
    color: var(--text-light);
}

.accordion-item.active .accordion-header .arrow {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-body {
    max-height: 500px;
}

.accordion-body .accordion-content {
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.8;
    border-top: 1px solid var(--border);
}

/* ========== 模态框 ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: fadeInScale 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    background: none;
    border: none;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-content .honor-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 20px;
    text-align: center;
}

.modal-content .honor-preview {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

/* ========== Footer ========== */
.site-footer {
    background: #1a1a2e;
    color: #cccccc;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 2;
    margin-bottom: 6px;
}

.footer-col ul li {
    margin-bottom: 10px;
    height: 30px;line-height: 30px;overflow: hidden;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: #cccccc;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-col .footer-phone {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--orange);
    margin: 10px 0;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8rem;
    color: #888;
}

.footer-bottom a {
    color: #888;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ========== 滚动入场动画 ==========
   仅在 JS 正常加载（html.anim-ready）时隐藏元素，
   避免脚本缺失导致内容永久不可见 */
html.anim-ready .anim-fadeInUp {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

html.anim-ready .anim-fadeInUp.visible {
    opacity: 1;
    transform: translateY(0);
}

html.anim-ready .anim-fadeInLeft {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

html.anim-ready .anim-fadeInLeft.visible {
    opacity: 1;
    transform: translateX(0);
}

html.anim-ready .anim-fadeInRight {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

html.anim-ready .anim-fadeInRight.visible {
    opacity: 1;
    transform: translateX(0);
}

html.anim-ready .anim-fadeInScale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

html.anim-ready .anim-fadeInScale.visible {
    opacity: 1;
    transform: scale(1);
}

/* 交错延迟 */
html.anim-ready .stagger-1 { transition-delay: 0s; }
html.anim-ready .stagger-2 { transition-delay: 0.1s; }
html.anim-ready .stagger-3 { transition-delay: 0.2s; }
html.anim-ready .stagger-4 { transition-delay: 0.3s; }
html.anim-ready .stagger-5 { transition-delay: 0.4s; }
html.anim-ready .stagger-6 { transition-delay: 0.5s; }
html.anim-ready .stagger-7 { transition-delay: 0.6s; }
html.anim-ready .stagger-8 { transition-delay: 0.7s; }

/* ========== 关键帧 ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes counterUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========== 回到顶部 ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(21,139,218,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========== 筛选标签 ========== */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-tab {
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
}

.filter-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-tab.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-padding {
        padding: 50px 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        height: auto;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li a {
        width: 100%;
        padding: 14px 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu li a::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .page-banner {
        padding: 50px 0;
    }

    .page-banner h1 {
        font-size: 1.5rem;
    }

    .top-bar {
        font-size: 0.8rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* ========== 手风琴消息区 ========== */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

/* ========== 联系方式卡片 ========== */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.contact-info-card .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.contact-info-card .info-item .info-icon {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ========== 表单 ========== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-family);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21,139,218,0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========== 占位页面 ========== */
.placeholder-page {
    padding: 80px 0;
    text-align: center;
}

.placeholder-page .placeholder-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.placeholder-page h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.placeholder-page p {
    color: var(--text-lighter);
    font-size: 0.95rem;
}

/* ========== 产品详情页 ========== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0 60px;
}

.product-detail .product-gallery {
    position: sticky;
    top: 90px;
}

.product-detail .product-main-img {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #E8F4FD, #C8E4F8);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 12px;
}

.product-detail .product-thumbs {
    display: flex;
    gap: 10px;
}

.product-detail .product-thumb {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #E8F4FD, #D0E8F8);
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.4;
}

.product-detail .product-thumb:hover,
.product-detail .product-thumb.active {
    border-color: var(--primary);
    opacity: 0.6;
}

.product-detail .product-meta {
    margin-bottom: 20px;
}

.product-detail .product-meta h2 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.product-detail .product-meta .meta-item {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.product-detail .product-meta .meta-label {
    color: var(--text-light);
    min-width: 70px;
}

.product-detail .product-description {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    line-height: 2;
    color: var(--text-light);
}

.product-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

.product-nav a {
    color: var(--text-light);
}

.product-nav a:hover {
    color: var(--primary);
}

.related-products {
    margin-top: 60px;
}

.related-products h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
    }

    /* 详情页上一篇/下一篇改为上下两行 */
    .product-nav,
    .news-detail-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .product-detail .product-gallery {
        position: static;
    }

    .product-detail .product-main-img {
        height: 250px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== 新闻详情页 ========== */
.news-detail-page {
    padding: 40px 0 60px;
}

.news-detail-page .news-detail-title {
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
}

.news-detail-page .news-detail-meta {
    text-align: center;
    color: var(--text-lighter);
    font-size: 0.85rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.news-detail-page .news-detail-body {
    line-height: 2;
    color: var(--text);
    margin: 0 auto;
}

.news-detail-page .news-detail-body p {
    margin-bottom: 16px;
    text-indent: 2em;
}

.news-detail-nav {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

.news-detail-nav a {
    color: var(--text-light);
}

.news-detail-nav a:hover {
    color: var(--primary);
}

/* 数据指标计数器 */
.counter-section {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.counter-item {
    text-align: center;
}

.counter-item .counter-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-light);
}

.counter-item .counter-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 6px;
}

@media (max-width: 768px) {
    .counter-section {
        gap: 30px;
        flex-wrap: wrap;
    }

    .counter-item .counter-number {
        font-size: 2rem;
    }
}
.layui-laypage .layui-laypage-curr .layui-laypage-em{background-color: var(--primary);}
