/* ============================================
   全局样式表
   架构：变量 → 重置 → 基础 → 布局 → 组件 → 页面 → 响应式
   ============================================ */

/* ========== 1. CSS变量 ========== */
:root {
    --color-primary: #0064c8;
    --color-primary-light: #1a7bc7;
    --color-primary-dark: #094a7e;
    --color-primary-rgb: 13, 92, 158;
    --color-primary-dark-rgb: 9, 74, 126;
    --color-accent-rgb: 232, 119, 34;
    --color-accent: #e87722;
    --color-accent-light: #f5903f;
    --color-text: #333;
    --color-text-light: #666;
    --color-text-muted: #999;
    --color-border: #e5e5e5;
    --color-border-light: #f0f0f0;
    --color-bg: #fff;
    --color-bg-gray: #f8f9fa;
    --color-bg-dark: #1a1a2e;
    --color-white: #fff;
    --color-success: #28a745;

    --font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 14px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 28px;
    --font-size-3xl: 36px;

    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-2xl: 50px;
    --spacing-3xl: 80px;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 50%;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --max-width: 1600px;
    --header-height: 80px;
}

/* ========== 2. CSS重置 ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    padding-top: var(--header-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--color-text); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: var(--color-primary); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; color: var(--color-text); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; outline: none; }
table { border-collapse: collapse; width: 100%; }

/* ========== 3. 基础组件 ========== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 80px; }

/* 按钮 */
.btn {
    display: inline-block;
    padding: 10px 28px;
    font-size: var(--font-size-base);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); color: var(--color-white); }
.btn-accent { background: var(--color-accent); color: var(--color-white); }
.product-info .btn-accent {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(var(--color-accent-rgb), 0.3);
    padding: 13px 34px;
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.product-info .btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(var(--color-accent-rgb), 0.42);
    filter: brightness(1.05);
}
.btn-accent:hover { background: var(--color-accent-light); color: var(--color-white); }

/* 区块标题 */
.section-title {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}
.section-title .subtitle {
    display: block;
    font-size: var(--font-size-base);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}
.section-title h2 {
    font-size: var(--font-size-3xl);
    color: var(--color-text);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-md);
}
.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}
.section-title p {
    color: var(--color-text-light);
    margin-top: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.section-more { text-align: center; margin-top: var(--spacing-xl); }

/* 工厂实景轮播容器 */
.carousel-track { display: flex; transition: transform 0.6s ease; }
.carousel-item { flex: 0 0 33.333%; padding: 0 8px; box-sizing: border-box; }
@media (max-width: 1024px) { .carousel-item { flex-basis: 50%; } }
@media (max-width: 640px) { .carousel-item { flex-basis: 100%; } }

/* 列表空数据提示 */
.list-empty { text-align: center; padding: 60px 0; color: var(--color-text-muted); grid-column: 1 / -1; }

/* 左对齐区块标题 */
.title-left { text-align: left; margin-bottom: 20px; }

/* ========== 4. 顶部导航 ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 50px; width: auto; }

/* 主导航 */
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: block;
    padding: 0 18px;
    line-height: var(--header-height);
    font-size: var(--font-size-lg);
    color: var(--color-text);
    position: relative;
    transition: color 0.15s ease;
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: var(--color-primary);
}
.nav-list > li > a.active::after,
.nav-list > li:hover > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* 子导航 */
.sub-nav {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 170px;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: var(--spacing-sm) 0;
    margin: 0;
    list-style: none;
}
.has-sub:hover .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sub-nav li a {
    display: block;
    padding: 10px 20px;
    font-size: var(--font-size-base);
    color: var(--color-text);
    transition: var(--transition-fast);
}
.sub-nav li a:hover {
    background: var(--color-bg);
    color: var(--color-primary);
    padding-left: 24px;
}

/* 移动端菜单内电话（桌面端隐藏） */
.nav-phone { display: none; }

/* 顶部导航电话按钮（桌面端显示） */
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 20px;
    background: #c00;
    color: var(--color-white);
    border-radius: 25px;
    text-decoration: none;
    font-size: var(--font-size-base);
    font-weight: 600;
    transition: var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}
.header-phone em { font-size: 16px; }
.header-phone:hover {
    background: #a93226;
    color: var(--color-white);
}

/* 移动端菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* 导航遮罩 */
.nav-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.nav-mask.active { opacity: 1; visibility: visible; }

/* ========== 5. 首页Banner轮播 ========== */
.banner {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.banner-track {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.banner-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16 / 6;
}
.banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.banner-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
}
.banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.4);
    color: var(--color-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}
.banner:hover .banner-btn { opacity: 1; }
.banner-btn:hover { background: rgba(0,0,0,0.75); }
.banner-btn em { font-size: 20px; line-height: 1; }
.banner-prev { left: 24px; }
.banner-next { right: 24px; }
.banner-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.banner-dots span {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}
.banner-dots span:hover { background: rgba(255,255,255,0.8); }
.banner-dots span.active {
    background: var(--color-white);
    width: 28px;
    border-radius: 5px;
}

/* ========== 6. 内页Banner（面包屑） ========== */
.page-banner {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--color-primary-dark);
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(var(--color-primary-dark-rgb), 0.90) 25%, rgba(var(--color-primary-dark-rgb), 0.60) 75%, rgba(var(--color-primary-dark-rgb), 0.40) 100%),
        url('../images/cy.jpg') right center / cover no-repeat;
    pointer-events: none;
}
.page-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-white);
}
.page-banner-content h1 {
    font-size: var(--font-size-3xl);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}
.breadcrumbs {
    font-size: var(--font-size-base);
    color: rgba(255,255,255,0.8);
}
.breadcrumbs a { color: rgba(255,255,255,0.8); }
.breadcrumbs a:hover { color: var(--color-white); }
.breadcrumbs em { margin-right: 5px; }

/* ========== 7. 首页区块 ========== */
.home-section { padding: var(--spacing-3xl) 0; }
.home-section.alt { background: var(--color-bg-dark); }
.home-section.alt .section-title h2 { color: var(--color-white); }
.home-section.alt .section-title .subtitle { color: var(--color-accent-light); }
.home-section.alt .section-title p { color: rgba(255,255,255,0.7); }
.home-section.alt .section-title h2::after { background: var(--color-accent); }
.home-section.bg-gray { background: var(--color-bg-gray); }
.home-section.bg-gray .section-title h2 { color: var(--color-text); }
.home-section.bg-gray .section-title .subtitle { color: var(--color-primary); }
.home-section.bg-gray .section-title p { color: var(--color-text-light); }
.home-section.bg-gray .section-title h2::after { background: var(--color-primary); }

/* 关于我们 */
.home-about { display: flex; align-items: center; gap: var(--spacing-2xl); }
.home-about-img { flex: 1; position: relative; order: 1; }
.home-about-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.home-about-info { flex: 1; order: 2; }
.home-about-info .section-title { text-align: left; margin-bottom: var(--spacing-lg); }
.home-about-info .section-title h2::after { left: 0; transform: none; }
.home-about-info p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

/* 产品优势 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-top: 80px;
}
.advantage-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 0 var(--spacing-lg) var(--spacing-3xl);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: var(--color-bg);
}
.advantage-card:hover .icon {
    padding: 5px;
    background: var(--color-bg);
}
.advantage-card .icon {
    width: 90px;
    height: 90px;
    padding: 10px;
    background: var(--color-white);
    border-radius: 50%;
    margin-top: -45px;
    transition: var(--transition-fast);
    flex-shrink: 0;
}
.advantage-card .icon em {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    font-size: 30px;
    color: var(--color-white);
    border-radius: 50%;
}
.advantage-card h3 {
    margin-top: var(--spacing-md);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-text);
}
.advantage-card p {
    margin: var(--spacing-sm) 0 0;
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: var(--font-size-base);
}

/* 产品中心 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}
.product-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    min-height: 200px;
}
.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    background: #f0f7fd;
}
.product-card-img {
    flex: 0 0 40%;
    overflow: hidden;
    background: var(--color-bg);
    position: relative;
}
.product-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--color-primary-rgb), 0);
    transition: background 0.3s ease;
    pointer-events: none;
}
.product-card:hover .product-card-img::after { background: rgba(var(--color-primary-rgb), 0.06); }
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-body {
    flex: 1;
    padding: calc(var(--spacing-lg) * 2) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-card-body h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}
.product-card-body h3 a { transition: color 0.25s ease; }
.product-card-body h3 a:hover { color: var(--color-primary); }
.product-card-body p {
    color: var(--color-text-light);
    font-size: var(--font-size-base);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-body .more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-primary);
    font-size: var(--font-size-base);
    font-weight: 500;
    margin-top: auto;
    align-self: flex-start;
    transition: gap 0.25s ease, color 0.25s ease;
}
.product-card-body .more:hover { gap: 10px; color: var(--color-primary-dark); }
.product-card-body .more em { font-size: 12px; transition: transform 0.25s ease; }
.product-card-body .more:hover em { transform: translateX(3px); }

/* 产品列表页卡片（上图下文） */
.product-grid.product-list { grid-template-columns: repeat(4, 1fr); gap: var(--spacing-lg); }
.product-item {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    background: #f0f7fd;
}
.product-item-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
}
.product-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.product-item:hover .product-item-img img { transform: scale(1.06); }

/* 图片放大查看图标（放大镜+加号） */
.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 62px;
    height: 62px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}
.product-item:hover .zoom-icon,
.product-card:hover .zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.zoom-icon .eufont { font-size: 30px; line-height: 1; }
.zoom-plus {
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 19px;
    height: 19px;
    border-radius: 4px;
    background-color: var(--color-accent);
    background-image: linear-gradient(var(--color-white), var(--color-white)),
        linear-gradient(var(--color-white), var(--color-white));
    background-size: 10px 2px, 2px 10px;
    background-position: center, center;
    background-repeat: no-repeat;
}
.product-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-lg);
}
.product-item-body h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--spacing-sm);
}
.product-item-body h3 a { transition: color 0.25s ease; }
.product-item-body h3 a:hover { color: var(--color-primary); }
.product-item-body p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-item-body .more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-top: var(--spacing-sm);
    align-self: flex-start;
    transition: gap 0.25s ease, color 0.25s ease;
}
.product-item-body .more:hover { gap: 8px; color: var(--color-primary-dark); }
.product-item-body .more em { font-size: 12px; transition: transform 0.25s ease; }
.product-item-body .more:hover em { transform: translateX(3px); }
@media (max-width: 1024px) {
    .product-grid.product-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .product-grid.product-list { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-sm); }
    .product-item-body { padding: var(--spacing-md); }
    .product-item-body h3 { font-size: var(--font-size-base); }
    .product-item-body p { -webkit-line-clamp: 2; }
}

/* 工厂实景照片 */
.factory-photos { position: relative; overflow: hidden; }
.factory-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.factory-photo-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 16px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.18) 100%);
    color: #fff;
    transition: padding 0.3s ease, background 0.3s ease;
}
.factory-photo:hover .factory-photo-overlay {
    padding-bottom: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.22) 100%);
}
.factory-photo-overlay h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.factory-photo-overlay p {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.factory-photo:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.factory-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 我们的优势 */
.choose-section {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
}
.choose-img { flex: 1; }
.choose-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.choose-content { flex: 1; }
.choose-content .section-title { text-align: left; margin-bottom: var(--spacing-lg); }
.choose-content .section-title h2::after { left: 0; transform: none; }
.choose-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}
.choose-list .item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-bg);
    border-radius: 20px;
    font-size: var(--font-size-base);
}
.choose-list .item em { color: var(--color-success); }
.choose-content > p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* 新闻动态 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}
/* 列表页（带侧边栏）新闻网格适配（与首页一致，一行4个） */
.page-content .news-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.news-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-img .date {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    text-align: center;
    line-height: 1.3;
}
.news-card-body {
    flex: 1;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
}
.news-card-body .category, .product-card-body .category, .product-item-body .category {
    font-size: var(--font-size-sm);
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}
.news-card-body h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-body p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-body .more {
    color: var(--color-primary);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-sm);
    align-self: flex-start;
}
.news-card-body .more em { margin-left: 5px; }

/* ========== 8. 内页通用布局 ========== */
.page-main { padding: var(--spacing-2xl) 0; }
.page-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: var(--spacing-xl);
}
/* 无侧栏的全宽布局（产品列表/新闻列表） */
.page-layout-full { grid-template-columns: 1fr; }

/* 内页顶部分类栏 */
.cate-bar {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}
.cate-bar a {
    padding: 5px 20px;
    border: 1px dashed var(--color-primary);
    border-radius: 20px;
    color: var(--color-primary);
    font-size: var(--font-size-base);
    text-decoration: none;
    transition: var(--transition-fast);
    white-space: nowrap;
}
.cate-bar a:hover,
.cate-bar a.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* 侧边栏 */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    position: sticky;
    top: calc(var(--header-height) + 20px);
    align-self: start;
}
.side-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.side-card-title {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-primary);
    color: var(--color-white);
    font-size: var(--font-size-lg);
    font-weight: 600;
}
.side-card-body { padding: var(--spacing-md); }

/* 侧边栏热门产品 */
.hot-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border-light);
    transition: var(--transition-fast);
    position: relative;
}
.hot-item:last-child { border-bottom: none; }
.hot-item:hover { padding-left: 4px; }
.hot-item-img-wrap {
    position: relative;
    flex-shrink: 0;
}
.hot-item-index {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 6px 0;
    z-index: 1;
}
.hot-item:nth-child(n+4) .hot-item-index { background: var(--color-text-muted); }
.hot-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    display: block;
}
.hot-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.hot-item-title {
    display: block;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    color: var(--color-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
    transition: var(--transition-fast);
}
.hot-item-title:hover { color: var(--color-primary); }
.hot-item-more {
    font-size: 12px;
    color: var(--color-primary);
    text-decoration: none;
    align-self: flex-start;
    opacity: 0.8;
    transition: var(--transition-fast);
}
.hot-item-more:hover { opacity: 1; }
.hot-item-more em { margin-left: 3px; font-size: 10px; }

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: var(--spacing-2xl);
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text);
    transition: var(--transition-fast);
}
.pagination a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.pagination .current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ========== 9. 产品详情页 ========== */
.product-detail-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}
.product-gallery { position: relative; min-width: 0; }
.product-gallery-main {
    position: relative;
    aspect-ratio: 1;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    margin-bottom: var(--spacing-md);
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}
.product-gallery-slide {
    flex: 0 0 100%;
    height: 100%;
}
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.product-gallery-main:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover { background: var(--color-primary); }
.product-gallery-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--spacing-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    max-width: 100%;
    padding-bottom: 4px;
}
.product-gallery-thumbs-wrap {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background-color: var(--color-bg-gray);
}
.gallery-thumbs-nav {
    flex: 0 0 auto;
    width: 10px;
    height: 70px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}
.gallery-thumbs-nav:hover { background: var(--color-primary); }
.gallery-thumbs-nav:disabled { opacity: 0.3; cursor: default; }
.product-gallery-thumbs-wrap .product-gallery-thumbs { flex: 1; min-width: 0; }

.product-gallery-thumbs::-webkit-scrollbar { display: none; }
.product-gallery-thumbs .thumb { flex: 0 0 auto; }
.product-gallery-thumbs .thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: var(--color-bg);
    border: 2px solid transparent;
    transition: var(--transition-fast);
}
.product-gallery-thumbs .thumb.active { border-color: var(--color-primary); }
.product-gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-info h1 {
    font-size: var(--font-size-2xl);
    line-height: 1.35;
    margin-bottom: var(--spacing-md);
}
.product-info .product-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}
.product-info .product-date em { color: var(--color-primary); }
.product-info .keywords {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}
.product-info .keywords > em { color: var(--color-primary); margin-right: 4px; }
.product-info .kw {
    display: inline-block;
    padding: 3px 12px;
    background: var(--color-bg-gray);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}
.product-info .kw:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}
.product-info .desc {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}
.product-info .meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}
.product-info .meta-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}
.product-info .meta-qr {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-left: var(--spacing-lg);
    border-left: 1px dashed var(--color-border);
}
.product-info .meta-qr img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #fff;
}
.product-info .meta-qr span {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1;
}
.product-info .meta em {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    background: rgba(var(--color-primary-rgb), 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.product-info .meta p { display: flex; align-items: center; gap: var(--spacing-sm); }
.product-info .meta em { color: var(--color-primary); }

/* 产品详情内容 */
.product-detail-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}
.product-detail-content .tabs {
    display: flex;
    border-bottom: 2px solid var(--color-border-light);
    margin-bottom: var(--spacing-xl);
}
.product-detail-content .tab {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition-fast);
}
.product-detail-content .tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}
.product-detail-content .tab-pane { display: none; line-height: 1.8; color: var(--color-text); }
.product-detail-content .tab-pane.active { display: block; }
.product-detail-content .tab-pane h2 {
    font-size: var(--font-size-xl);
    margin: var(--spacing-xl) 0 var(--spacing-md);
    color: var(--color-primary);
}
.product-detail-content h2 {
    margin: var(--spacing-xl) 0 var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-border);
}
.product-detail-content .tab-pane h3 {
    font-size: var(--font-size-lg);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}
.product-detail-content .tab-pane p { margin-bottom: var(--spacing-md); }
.product-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: var(--spacing-md) auto;
    display: block;
}
.product-detail-content .tab-pane table {
    margin: var(--spacing-md) 0;
    font-size: var(--font-size-sm);
}
.product-detail-content .tab-pane th,
.product-detail-content .tab-pane td {
    border: 1px solid var(--color-border);
    padding: 10px 15px;
    text-align: left;
}
.product-detail-content .tab-pane th {
    background: var(--color-bg);
    font-weight: 600;
}

/* 上下篇 */
.page-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}
.page-nav a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}
.page-nav a:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}
.page-nav a:hover { background: var(--color-primary); color: var(--color-white); }
.page-nav .next { justify-content: flex-end; text-align: right; }

/* ========== 12. 新闻详情页 ========== */
.article-detail {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}
.article-detail h1 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    text-align: center;
}
.article-meta {
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: var(--spacing-xl);
}
.article-meta span { margin: 0 var(--spacing-sm); }
.article-content { line-height: 1.8; }
.article-content h2 {
    font-size: var(--font-size-xl);
    margin: var(--spacing-xl) 0 var(--spacing-md);
    color: var(--color-primary);
}
.article-content h3 {
    font-size: var(--font-size-lg);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}
.article-content p { margin-bottom: var(--spacing-md); }
.article-content img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: var(--spacing-md) auto;
    display: block;
}
.article-content table {
    margin: var(--spacing-md) 0;
    font-size: var(--font-size-sm);
}
.article-content th, .article-content td {
    border: 1px solid var(--color-border);
    padding: 10px 15px;
}
.article-content th { background: var(--color-bg); }

/* ========== 13. 联系我们页 ========== */
.contact-section { padding: var(--spacing-2xl) 0; }
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}
.contact-info-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.contact-info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-info-card .icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 30px;
}
.contact-info-card h3 { font-size: var(--font-size-xl); margin-bottom: var(--spacing-sm); }
.contact-info-card p { color: var(--color-text-light); font-size: var(--font-size-base); }
.contact-info-card a { color: var(--color-primary); }

.contact-welcome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    padding: var(--spacing-xl);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
}
.contact-welcome-img { border-radius: var(--radius-lg); overflow: hidden; }
.contact-welcome-img img { width: 100%; height: 100%; object-fit: cover; }
.contact-welcome h2 { font-size: var(--font-size-2xl); margin-bottom: var(--spacing-md); }
.contact-welcome p { color: var(--color-text-light); line-height: 1.8; margin-bottom: var(--spacing-lg); }
.contact-welcome .hotline {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--radius-md);
}
.contact-welcome .hotline .icon {
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 22px;
    flex-shrink: 0;
}
.contact-welcome .hotline .tel { font-size: var(--font-size-2xl); font-weight: 700; color: var(--color-accent); }
.contact-welcome .hotline .txt { font-size: var(--font-size-sm); color: var(--color-text-light); }

/* ========== 14. 页脚 ========== */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.7);
    padding: var(--spacing-2xl) 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-title {
    color: var(--color-white);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}
.footer-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}
.footer-about p {
    font-size: var(--font-size-sm);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}
.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}
.footer-contact em { color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--color-white); }
.footer-links li { margin-bottom: var(--spacing-sm); }
.footer-links a {
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.7);
    transition: var(--transition-fast);
}
.footer-links a:hover { color: var(--color-white); padding-left: 5px; }
.footer-qrcode {
    display: flex;
    flex-direction: column;
}
.footer-qrcode img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin: 0 0 var(--spacing-sm);
    background: var(--color-white);
    padding: 5px;
}
.footer-qrcode p { font-size: var(--font-size-sm); }
/* 底部友情链接 */
.footer-friend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) 0;
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-friend-title { color: rgba(255,255,255,0.7); margin-right: var(--spacing-xs); }
.footer-friend-list { display: flex; flex-wrap: wrap; }
.footer-friend-list a {
    color: rgba(255,255,255,0.55);
    transition: color 0.3s ease;
    padding: 0 10px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.footer-friend-list a:last-child { border-right: none; }
.footer-friend-list a:hover { color: var(--color-primary-light); }
.footer-bottom {
    text-align: center;
    padding: var(--spacing-lg) 0;
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.5);
}
.footer-bottom a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-bottom a:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

/* ========== 14.5 工厂实景页 ========== */
.factory-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
}
.factory-intro-text p {
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}
.factory-intro-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}
.stat-item { text-align: center; }
.stat-num {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}
.stat-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: 4px;
}
.factory-intro-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.factory-section { margin-bottom: var(--spacing-3xl); }
.factory-section.alt {
    background: var(--color-bg);
    padding: var(--spacing-3xl) 0;
    margin-bottom: var(--spacing-3xl);
}
.factory-grid {
    display: grid;
    gap: var(--spacing-lg);
}
.factory-grid-narrow {
    max-width: 1600px;
    margin: 0 auto;
}
.factory-grid-2 { grid-template-columns: repeat(2, 1fr); }
.factory-grid-3 { grid-template-columns: repeat(3, 1fr); }
.factory-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.factory-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.factory-card-img { overflow: hidden; }
.factory-card-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.factory-card:hover .factory-card-img img { transform: scale(1.05); }
.factory-card-body { padding: var(--spacing-lg); }
.factory-card-body h3 {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}
.factory-card-body p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.7;
}

.factory-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3xl);
    text-align: center;
    color: var(--color-white);
    margin-top: var(--spacing-3xl);
}
.factory-cta h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}
.factory-cta p {
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.8;
    opacity: 0.9;
}
.factory-cta-btns {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}
.factory-cta-btns .btn { display: inline-flex; align-items: center; gap: 6px; }
.factory-cta-btns .btn-accent { background: var(--color-white); color: var(--color-primary); }
.factory-cta-btns .btn-accent:hover { background: var(--color-bg); color: var(--color-primary-dark); }

/* ========== 14.6 关于我们页 ========== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    margin-bottom: var(--spacing-3xl);
}
.about-intro-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.about-intro-text p {
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.about-history { margin-bottom: var(--spacing-3xl); }
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border-light);
}
.timeline-item {
    position: relative;
    padding-bottom: var(--spacing-xl);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: "";
    position: absolute;
    left: -34px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 2px var(--color-primary);
}
.timeline-year {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}
.timeline-content h3 {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}
.timeline-content p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* 关于我们 - 扩展板块 */
.about-block { margin-bottom: var(--spacing-3xl); }

.history-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}
.history-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.history-img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.history-img-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 16px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.4) 55%, transparent 100%);
    color: #fff;
    font-size: var(--font-size-lg);
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    transition: padding 0.3s ease, background 0.3s ease;
}
.history-img:hover .history-img-title {
    padding-bottom: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.5) 55%, transparent 100%);
}

.capacity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}
.capacity-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.capacity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.capacity-icon {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}
.capacity-card h3 {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}
.capacity-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.7;
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}
.quality-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-primary);
    transition: var(--transition);
}
.quality-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.quality-num {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--color-primary-light);
    opacity: .5;
    margin-bottom: var(--spacing-sm);
    line-height: 1;
}
.quality-card h3 {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}
.quality-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.8;
}

.pack-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}
.pack-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 26px;
}
.pack-card p {
    font-size: var(--font-size-base);
    color: var(--color-text);
    line-height: 1.8;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}
.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-primary);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.service-icon {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}
.service-card h3 {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}
.service-card p {
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .capacity-grid, .service-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }
    .quality-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .history-imgs { grid-template-columns: 1fr; }
    .pack-card { flex-direction: column; align-items: center; text-align: center; }
}

/* ========== 15. 右侧悬浮工具栏 ========== */
/* PC端：移动端专属小按钮隐藏，微信保留 */
.float-tool-nav:not(.float-tool-wechat) { display: none; }

.float-toolbar {
    position: fixed;
    right: 18px;
    bottom: 86px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}
.float-tool-item { position: relative; }
.float-tool-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(var(--color-primary-rgb),0.3);
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}

/* 四个按钮不同颜色 */
.float-tool-wechat {
    background: #07c160;
    box-shadow: 0 4px 16px rgba(7,193,96,0.3);
}
.float-tool-wechat:hover {
    background: #06ad56;
    box-shadow: 0 8px 24px rgba(7,193,96,0.45);
}
.float-tool-message {
    background: #ff7d00;
    box-shadow: 0 4px 16px rgba(255,125,0,0.3);
}
.float-tool-message:hover {
    background: #f07000;
    box-shadow: 0 8px 24px rgba(255,125,0,0.45);
}
.float-tool-phone {
    background: var(--color-primary);
    box-shadow: 0 4px 16px rgba(var(--color-primary-rgb),0.35);
}
.float-tool-phone:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 8px 24px rgba(var(--color-primary-rgb),0.5);
}
.float-tool-top {
    background: rgba(8, 19, 29, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(var(--color-primary-rgb),0.25);
}
.float-tool-top:hover {
    background: rgba(8, 19, 29, 0.8);
}
.float-tool-btn em { font-size: 24px; line-height: 1; position: relative; z-index: 1; }
.float-tool-btn span {
    font-size: 12px;
    margin-top: 4px;
    color: rgba(255,255,255,0.92);
    line-height: 1;
    position: relative;
    z-index: 1;
    font-weight: 500;
}
.float-tool-btn:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.05);
}

/* 返回顶部按钮 */
.float-tool-top {
    position: fixed;
    right: 18px;
    bottom: 16px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}
.float-tool-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-tool-top em { font-size: 22px; }

/* 悬浮弹出层 */
.float-tool-popup {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 16px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    white-space: nowrap;
    min-width: 200px;
    text-align: center;
}
.float-tool-item:hover .float-tool-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}
.float-tool-popup::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--color-white);
}
.float-tool-popup-title {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.float-tool-popup-tel {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: 6px;
}
.float-tool-popup-desc {
    font-size: 12px;
    color: var(--color-text-muted);
}
.float-tool-popup-qr {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    display: block;
    margin: 12px auto 8px;
}

/* ========== 16. 在线留言弹窗 ========== */
.message-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}
.message-modal.active { display: block; }
.message-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.message-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}
.message-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 20px 14px;
    background: #fff;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 700;
    position: relative;
    border-bottom: 1px solid var(--color-border-light);
}
.message-modal-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    opacity: 1;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}
.message-modal-close:hover { background: var(--color-bg-gray); color: var(--color-text); }
.message-modal-body { padding: 20px 20px 22px; }
.message-modal-company {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: center;
}
.message-modal-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #07c160;
    margin-bottom: 16px;
}
.message-modal-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #07c160;
    box-shadow: 0 0 0 3px rgba(7,193,96,0.15);
}
.message-modal-info {
    background: var(--color-bg-gray);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
}
.message-modal-info p {
    font-size: 14px;
    margin: 6px 0;
    color: var(--color-text-light);
}
.message-modal-tel {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}
.message-modal-tip {
    font-size: 13px;
    color: #ff7d00;
    margin-bottom: 14px;
    line-height: 1.5;
    text-align: center;
}
.message-modal-input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
    font-family: inherit;
    background: var(--color-bg-gray);
}
.message-modal-input:focus {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb),0.1);
}
.message-modal-input::placeholder { color: #aaa; }
.message-modal-submit {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: var(--color-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 1px;
}
.message-modal-submit:hover { background: var(--color-primary-dark); }
.message-modal-submit:active { transform: scale(0.98); }
.message-modal-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.message-modal-msg {
    min-height: 20px;
    margin-top: 12px;
    font-size: 13px;
    text-align: center;
    line-height: 1.5;
}
.message-modal-msg.success { color: #07c160; }
.message-modal-msg.error { color: #dc3545; }

/* ========== 17. 响应式 - 中间断点（1024-1279） ========== */
@media (max-width: 1279px) {
    /* 隐藏导航电话按钮 */
    .header-phone { display: none; }
    /* 热门产品侧栏移到主内容下方，取消吸顶 */
    .sidebar { position: static; }
    .page-layout { grid-template-columns: 1fr; }
    /* 缩小导航文字和间距 */
    .nav-list > li > a {
        padding: 0 12px;
        font-size: var(--font-size-base);
    }
}

/* 侧栏移到下方后，中等屏幕（641-1279）热门产品两列显示 */
@media (min-width: 641px) and (max-width: 1279px) {
    .side-card-body {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 15px;
    }
}

/* ========== 16. 常见问题 ========== */
.faq-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}
.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 18px 24px;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    background: none;
}
.faq-q-text { display: flex; align-items: center; gap: 10px; }
.faq-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-white);
    flex-shrink: 0;
}
.faq-tag.ask { background: var(--color-primary); }
.faq-tag.answer { background: var(--color-accent); }
.faq-q em {
    color: var(--color-primary);
    font-size: var(--font-size-lg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.faq-item.active .faq-q em { transform: rotate(90deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-item.active .faq-a { max-height: 500px; }
.faq-a p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0 24px 20px;
    color: var(--color-text-light);
    line-height: 1.8;
}
.faq-more { text-align: center; margin-top: var(--spacing-2xl); }
/* FAQ 内页 */
.faq-page { max-width: 1280px; margin: 0 auto; }

/* ========== 18. 响应式 - 移动端（<1024） ========== */
@media (max-width: 1023px) {
    :root { --header-height: 70px; --spacing-3xl: 60px; --spacing-2xl: 40px; }
    .container { padding: 0 30px; }

    .nav-toggle { display: flex; }

    /* 移动端菜单内电话 */
    .nav-phone {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 20px 5%;
        padding: 5px 20px;
    }

    /* 常见问题移动端适配 */
    .faq-q { padding: 14px 16px; font-size: var(--font-size-base); }
    .faq-a p { padding: 0 16px 16px; }


    /* 移动端侧边菜单 */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 65%;
        max-width: 240px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: -4px 0 24px rgba(0,0,0,0.12);
        z-index: 1000;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: calc(var(--header-height) + 8px) 0 20px;
        overflow-y: auto;
        overflow-x: hidden;
        display: block;
        align-items: stretch;
    }
    .main-nav.active { right: 0; }
    .nav-mask.active { display: block; }

    /* 移动端菜单列表 */
    .nav-list {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0 5%;
        list-style: none;
    }
    .nav-list > li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0 ;
        text-align: center;
    }
    .nav-list > li > a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 5px 0;
        padding: 10px 20px;
        font-size: 16px;
        line-height: 1.4;
        color: var(--color-text);
        text-align: center;
        text-decoration: none;
        border-radius: 25px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    .nav-list > li > a:hover,
    .nav-list > li > a.active {
        color: var(--color-primary);
        background-color: rgba(var(--color-primary-rgb),0.06);
    }
    /* 隐藏桌面端底部指示条 */
    .nav-list > li > a::after { display: none; }

    /* 移动端子菜单 - 隐藏 */
    .sub-nav { display: none !important; }

    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .page-content .news-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
    .page-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .home-about, .choose-section { flex-direction: column; }
    .home-about-info { order: 1; }
.home-about-img { order: 2; }
    .contact-welcome {
        grid-template-columns: 1fr;
        padding: var(--spacing-lg);
        gap: var(--spacing-lg);
    }
    .contact-welcome-img img { height: 260px; }
    .product-detail-top { grid-template-columns: 1fr; }
    .banner-slide { aspect-ratio: 16 / 8; }

    /* 工厂实景页响应式 */
    .factory-intro { grid-template-columns: 1fr; }
    .factory-intro-stats { grid-template-columns: repeat(2, 1fr); }
    .factory-intro-img img { height: 250px; }
    .factory-grid-2, .factory-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .factory-cta { padding: var(--spacing-xl); }

    /* 关于我们页响应式 */
    .about-intro { grid-template-columns: 1fr; }
    .about-intro-img img { height: 250px; }
    .timeline { padding-left: 30px; }
    .timeline::before { left: 2px; }
}

/* ========== 19. 响应式 - 手机 ========== */
@media (max-width: 640px) {
    :root {
        --header-height: 56px;
        --font-size-3xl: 24px;
        --font-size-2xl: 20px;
        --font-size-xl: 16px;
        --spacing-3xl: 40px;
        --spacing-2xl: 30px;
        --spacing-xl: 20px;
    }
    .container { padding: 0 var(--spacing-md); }
    .logo img { height: 36px; }
    .page-banner { height: 85px; }
    .page-banner-content h1 { font-size: 20px; margin-bottom: 2px; }
    .breadcrumbs { font-size: 12px; }
    .page-main { padding: 15px 0; }
    .cate-bar { gap: 6px; margin-bottom: 6px; }
    .cate-bar a { padding: 3px 12px; font-size: 12px; }
    .advantage-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .contact-welcome { padding: var(--spacing-md); gap: var(--spacing-lg); }
    .contact-welcome-img img { height: 220px; }
    .contact-welcome .hotline { flex-wrap: wrap; gap: var(--spacing-sm); }
    .contact-welcome .hotline .tel { font-size: var(--font-size-xl); }
    .footer-grid { display: none; }
    .site-footer { padding-top: 0; }
    .footer-bottom { padding: 20px 0 80px 0;}
    .news-card { flex-direction: column; }
    .news-card-img { width: 100%; aspect-ratio: 16 / 9; }
    .news-card-body { padding: var(--spacing-md); }
    .page-nav { grid-template-columns: 1fr; }
    .banner-btn { width: 36px; height: 36px; }
    .banner-btn em { font-size: 16px; }
    .banner-prev { left: 10px; }
    .banner-next { right: 10px; }
    .banner-dots { bottom: 12px; }
    .banner-dots span { width: 8px; height: 8px; }
    .banner-dots span.active { width: 20px; }
    .section-title h2 { font-size: var(--font-size-3xl); }
    .article-detail, .product-detail-content { padding: var(--spacing-md); }
    .news-grid { grid-template-columns: 1fr; }
    .page-content .news-grid { grid-template-columns: 1fr; }
    /* 手机端悬浮工具栏：参考图样式 */
    .float-toolbar {
        right: 1%;
        bottom: 5px;
        left: 1%;
        width: 98%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        background: var(--color-border-light);
        border-radius: 8px;
        padding: 5px 8px;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.12);
        box-sizing: border-box;
    }
    .float-toolbar > * { min-width: 0; }
    .float-tool-item { flex: 1; display: flex; min-width: 0; }
    .float-tool-item[data-tool="message"],
    .float-tool-item[data-tool="phone"] { flex: 1.5; }
    .float-toolbar > a.float-tool-nav,
    .float-tool-item[data-tool="wechat"] { flex: 0.6; display: flex; min-width: 0; }
    .float-tool-item[data-tool="wechat"] .float-tool-btn { width: 100%; }
    .float-tool-nav { display: flex; }
    .float-tool-btn {
        width: auto;
        height: auto;
        box-shadow: none;
        padding: 5px 1px;
        min-width: 0;
    }
    /* 小按钮：首页、产品、微信 */
    .float-tool-nav {
        flex: 1;
        flex-direction: column;
        background: transparent;
        color: var(--color-text);
        border-radius: 0;
        justify-content: center;
    }
    .float-tool-nav em { font-size: 20px; color: var(--color-text); line-height: 1; }
    .float-tool-nav span { font-size: 10px; color: var(--color-text); margin-top: 2px; line-height: 1; }
    .float-tool-nav.float-tool-wechat em { color: #07c160; }
    .float-tool-nav:hover { background: transparent; transform: none; box-shadow: none; }
    .float-tool-nav:hover em { color: #000; }
    .float-tool-nav.float-tool-wechat:hover em { color: #06ad56; }
    /* 大按钮：留言咨询、拨打电话 */
    .float-tool-action {
        flex: 1;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #fff;
        border-radius: 8px;
        padding: 10px 4px;
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
    }
    .float-tool-action em { font-size: 17px; color: #fff; line-height: 1; flex-shrink: 0; }
    .float-tool-action span { font-size: 13px; color: #fff; margin-top: 0; line-height: 1; font-weight: 600; white-space: nowrap; }
    .float-tool-message { background: #ff7d00; }
    .float-tool-message:hover { background: #f07000; transform: none; box-shadow: none; }
    .float-tool-phone { background: #07c160; }
    .float-tool-phone:hover { background: #06ad56; transform: none; box-shadow: none; }
    .float-tool-action:hover em, .float-tool-action:hover span { color: #fff; }
    /* 返回顶部：显示在底部工具栏上方 */
    .float-tool-top {
        display: flex !important;
        position: fixed;
        right: 12px;
        bottom: 84px;
        width: 44px;
        height: 44px;
        z-index: 999;
    }
    .float-tool-top em { font-size: 18px; }
    .float-tool-popup { display: none; }
    /* 在线留言弹窗：底部弹出 */
    .message-modal-box {
        top: auto;
        bottom: 0;
        left: 1%;
        width: 98%;
        max-width: none;
        transform: none !important;
        border-radius: 16px 16px 0 0;
        max-height: 88vh;
        overflow-y: auto;
    }
    /* 手机端产品卡片：图片在上，文字在下 */
    .product-card { flex-direction: column; min-height: auto; }
    .product-card-img { flex: none; width: 100%; aspect-ratio: 16 / 9; }
    .product-card-body { padding: calc(var(--spacing-md) * 2) var(--spacing-md); }
    .product-card-body h3 { font-size: var(--font-size-lg); }
    .product-card-body p { -webkit-line-clamp: 3; font-size: var(--font-size-sm); }
    /* 手机端产品优势卡片 */
    .advantage-grid { grid-template-columns: 1fr; gap: 50px; margin-top: 60px; }
    .advantage-card { padding: 0 var(--spacing-lg) calc(var(--spacing-xl) * 2); }
    .advantage-card .icon { width: 70px; height: 70px; margin-top: -35px; }
    .advantage-card .icon em { font-size: 24px; }
    .advantage-card h3 { font-size: var(--font-size-lg); }
    .advantage-card p { font-size: var(--font-size-sm); }

    /* 手机端工厂/关于页 */
    .factory-grid-2, .factory-grid-3 { grid-template-columns: 1fr; }
    .factory-intro-stats { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-sm); }
    .stat-num { font-size: var(--font-size-xl); }
    .factory-cta-btns { flex-direction: column; align-items: center; }
    .factory-cta-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 767px) {
    .gallery-thumbs-nav { display: none; }
}

/* ========== 20. 移动端微信弹窗 ========== */
.wechat-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}
.wechat-modal.active { display: block; }
.wechat-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}
.wechat-modal-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    text-align: center;
}
.wechat-modal-header {
    padding: 18px 20px 14px;
    background: #fff;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--color-border-light);
}
.wechat-modal-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    opacity: 1;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}
.wechat-modal-close:hover { background: var(--color-bg-gray); color: var(--color-text); }
.wechat-modal-body { padding: 20px 20px 22px; }
.wechat-modal-tip {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 14px;
    line-height: 1.5;
}
.wechat-modal-id {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 1px;
    margin-bottom: 16px;
    word-break: break-all;
}
.wechat-modal-copy {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #fff;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.wechat-modal-copy:hover { background: var(--color-primary-dark); }
.wechat-modal-copy.copied { background: #10b981; }
.wechat-modal-msg {
    min-height: 20px;
    margin-top: 12px;
    font-size: 13px;
    color: #07c160;
    line-height: 1.5;
}

/* 微信弹窗：打开微信按钮 + 操作栏 */
.wechat-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}
.wechat-modal-open {
    flex: 1;
    display: inline-block;
    padding: 12px;
    border-radius: 8px;
    background: #07c160;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
}
.wechat-modal-open:hover { background: #06ad56; }
.wechat-modal-open:hover { background: #06ad56; color: #fff; }
.wechat-modal-copy {
    flex: 1;
    width: auto;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
}
.wechat-modal-copy.copied { background: #07c160; }


/* ========== 21. 详情页热门产品栏 ========== */
.sidebar .side-card {
    border: 1px solid var(--color-border-light);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}
.sidebar .side-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* 标题栏 */
.sidebar .side-card-title {
    background: var(--color-white);
    color: var(--color-text);
    font-size: 16px;
    font-weight: 700;
    padding: 14px 16px;
    border-bottom: 2px solid var(--color-primary);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar .side-card-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--color-primary);
    border-radius: 2px;
}
.sidebar .side-card-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--color-primary);
}

/* 内容区域 */
.sidebar .side-card-body {
    padding: 8px 12px 12px;
}

/* 产品项 */
.sidebar .hot-item {
    display: flex;
    gap: 10px;
    padding: 10px 8px;
    border-bottom: 1px dashed var(--color-border-light);
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
}
.sidebar .hot-item:last-child {
    border-bottom: none;
}
.sidebar .hot-item:hover {
    background: rgba(37, 99, 235, 0.05);
    padding-left: 12px;
}

/* 图片容器 */
.sidebar .hot-item-img-wrap {
    position: relative;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border-light);
}
.sidebar .hot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform 0.3s ease;
}
.sidebar .hot-item:hover img {
    transform: scale(1.08);
}

/* 序号角标 */
.sidebar .hot-item-index {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 8px 0;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.sidebar .hot-item:nth-child(n+4) .hot-item-index {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
}

/* 文字信息 */
.sidebar .hot-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.sidebar .hot-item-title {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    font-weight: 500;
    transition: color 0.2s ease;
}
.sidebar .hot-item:hover .hot-item-title {
    color: var(--color-primary);
}
.sidebar .hot-item-more {
    font-size: 11px;
    color: var(--color-primary);
    text-decoration: none;
    align-self: flex-start;
    opacity: 0.7;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.sidebar .hot-item:hover .hot-item-more {
    opacity: 1;
    gap: 4px;
}
.sidebar .hot-item-more em {
    margin-left: 0;
    font-size: 10px;
}

/* 查看更多按钮 */
.sidebar .hot-more-btn {
    display: block;
    text-align: center;
    padding: 10px;
    margin-top: 8px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
}
.sidebar .hot-more-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ========== 编辑器图片块（figure）前台渲染 ========== */
.rte-img-fig {
    text-align: center;
    margin: 20px auto;
    max-width: 100%;
}
.rte-img-fig > img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.rte-img-fig figcaption {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 8px;
    line-height: 1.6;
}
