/* ==========================================================
   DeepTay B2B - Shared Stylesheet
   ========================================================== */

:root {
    /* 蓝色系 */
    --primary-blue: #0072bc;
    --blue-hover: #005a99;
    --dark-blue: #13254b;
    --blue-tint: #f0f6fc;
    --blue-tint-hover: #e8f1fa;

    /* 红色系 */
    --accent-red: #ed1c24;
    --red-hover: #c10f16;

    /* 灰色系 */
    --gray-900: #333;
    --gray-500: #888;
    --gray-200: #d9d9d9;
    --gray-100: #f2f3f5;
    --gray-50: #f7f7f9;
    --light-gray: #ebebeb;
    --bg-gray: #f5f5f5;
    --border-gray: #ddd;

    /* 文字 */
    --text-dark: #13254b;
    --text-gray: #4f606a;

    /* 基础色 */
    --white: #fff;

    /* 语义色 */
    --success-green: #2e8b57;
    --warning-amber: #d97706;

    /* 高亮色 */
    --gold: #ffe08a;

    /* 社交品牌色 */
    --social-linkedin: #0077b5;
    --social-youtube: #ff0000;
    --social-facebook: #1877f2;
    --social-x: #1da1f2;
    --social-ig: #e1306c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, "Helvetica Neue", sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
    /* 显式白色背景：避免深色模式 / 透明画布下 section 外边距缝隙显示为黑色 */
    background-color: #ffffff;
}

a { color: var(--primary-blue); text-decoration: none; }
a:hover { color: var(--dark-blue); }

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
/* 头部内的搜索/语言切换：置于主导航栏右侧，深蓝底上保持白底控件 */
.header .top-bar-right {
    flex-shrink: 0;
    margin-left: 0;
}
/* 移动端头部搜索按钮：默认隐藏，移动端显示（提高优先级避免被 .search-icon-btn 覆盖） */
.header .mobile-search-btn { display: none; }
/* 通栏搜索条：默认隐藏，点击放大镜后展开 */
.search-bar {
    display: none;
    background: var(--dark-blue);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 12px 0;
}
.search-bar.open { display: block; }
.search-bar-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border-radius: 24px;
    padding: 0 6px 0 16px;
    height: 44px;
}
/* 聚焦态：输入框自身不出焦点框，由白色胶囊整体高亮（覆盖全局 input:focus-visible 描边） */
.search-bar-form:focus-within {
    box-shadow: 0 0 0 2px var(--primary-blue);
}
.search-bar-input:focus,
.search-bar-input:focus-visible {
    outline: none;
}
.search-bar-icon {
    color: var(--gray-500);
    font-size: 16px;
    flex-shrink: 0;
}
.search-bar-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: var(--text-dark);
    height: 100%;
    min-width: 0;
}
.search-bar-input::placeholder { color: var(--gray-500); }
.search-bar-submit {
    background: var(--primary-blue);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.search-bar-submit:hover { background: var(--blue-hover); }
.search-bar-close {
    background: transparent;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    flex-shrink: 0;
    transition: color 0.2s;
}
.search-bar-close:hover { color: var(--text-dark); }

/* 导航内语言+报价按钮组：PC端贴右，移动端置于抽屉底部 */
.nav-lang-quote {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-shrink: 0;
}
/* 搜索图标按钮：PC/移动端通用，点击展开搜索框 */
.search-icon-btn {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.search-icon-btn:hover { background: rgba(255,255,255,0.15); }
.search-icon-btn i { font-size: 16px; }
/* 报价CTA按钮：实心按钮 */
.quote-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: var(--accent-red);
    color: var(--white) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}
.quote-btn:hover { background: var(--red-hover); transform: translateY(-1px); }

/* 吸顶容器：内含导航栏 .header 与通栏搜索条 .search-bar，整体 sticky 吸顶，
   保证搜索条展开后始终紧贴导航栏正下方——页面滚动时二者不分离 */
#site-header {
    position: sticky;
    top: 0;
    z-index: 999;
}
/* 主导航栏：深蓝底（吸顶由外层 #site-header 承担），滚动时（.scrolled）压缩高度+加深阴影 */
.header {
    background-color: var(--dark-blue);
    padding: 12px 0;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: padding 0.25s ease, box-shadow 0.25s ease;
}
/* 滚动后状态：JS添加.scrolled，高度缩小+阴影加深 */
.header.scrolled {
    padding: 6px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    overflow: visible;
    position: relative;
}
.header .container {
    overflow: visible;
    max-width: 1400px;
}
.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    /* 只过渡颜色：禁止过渡 flex/width 等布局属性。
       桌面态 logo 为内容宽度，nav-mobile-mode 下 logo 为 flex:1；
       若过渡宽度，窗口放大移除 class 时 logo 会在 0.25s 内缓慢收缩，
       导致 JS 同帧测量菜单换行误判，导航永久卡在移动端布局 */
    transition: color 0.25s ease;
}
.nav-wrap {
    flex: 1;
    justify-content: flex-start;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 998;
}
.logo-img {
    max-height: 44px;
    width: auto;
    display: block;
    transition: max-height 0.25s ease;
}
.logo-desktop { display: block; }
.logo-mobile { display: none; }
.header.scrolled .logo-img { max-height: 34px; }
.logo:hover { color: var(--white); }
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: background 0.2s ease;
}
.header-icon-btn:hover {
    background: rgba(255,255,255,0.15);
}
.header-icon-btn i {
    font-size: 15px;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--accent-red);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 20px;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}
.contact-btn:hover {
    background: var(--red-hover);
    transform: translateY(-1px);
}
/* 头部搜索图标按钮：展开输入框的触发点 */
.search-trigger {
    background: transparent;
    border: none;
    padding: 4px 8px;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    flex-shrink: 0;
    position: relative;
    z-index: 11;
}
.search-trigger-icon {
    width: 20px;
    height: 20px;
    display: block;
    pointer-events: none;
}
/* 可展开搜索框：默认宽度0透明，.open展开为150px宽（过渡动画） */
.search-box input {
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    padding: 8px 0;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 13px;
    background-color: var(--white);
    transition: width 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
    overflow: hidden;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.search-box.open input {
    width: 150px;
    opacity: 1;
    padding: 8px 14px;
    pointer-events: auto;
}
.search-box input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(64,150,255,0.2);
}
.main-menu {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    flex-wrap: wrap;
}
.main-menu li { position: relative; }
.main-menu > li.has-dropdown { display: inline-flex; align-items: center; }
.main-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 5px;
    display: block;
    position: relative;
    transition: color 0.2s;
}
.main-menu a:hover { color: var(--gold); }
.main-menu > li.active > a { color: var(--gold); }
.main-menu > li.active > a::before {
    content: '';
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

/* dropdown - shared base styles */
.main-menu .has-dropdown > a.menu-link { padding-right: 4px; }
.main-menu .nav-caret {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    font-size: 12px;
    margin-left: 2px;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    user-select: none;
}
.main-menu .has-dropdown:hover > .nav-caret { color: var(--gold); }
.dropdown a {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 14px;
    border-bottom: 1px solid var(--light-gray);
    transition: background 0.15s, padding-left 0.15s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown-group-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--primary-blue);
    padding: 14px 14px 6px;
    background: var(--bg-gray);
    border-bottom: 1px solid var(--light-gray);
    cursor: default;
    user-select: none;
}
.dropdown-group-title:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.dropdown-group-title + a {
    border-top: none;
}
.dropdown a.dropdown-group-title { pointer-events: none; }
.has-submenu > a {
    display: flex;
    align-items: center;
    border-bottom: none;
    cursor: default;
}
.has-submenu > a .nav-arrow {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: auto;
    transition: transform 0.18s, color 0.18s;
}

/* Desktop dropdown (hover + absolute positioning) */
@media (min-width: 769px) {
    .main-menu .has-dropdown > a .nav-arrow {
        color: var(--white);
        margin-left: 4px;
        transition: transform 0.2s ease, color 0.2s ease;
    }
    .main-menu .has-dropdown:hover > a .nav-arrow {
        transform: rotate(90deg);
        color: var(--gold);
    }
    .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--white);
        min-width: 280px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border-radius: 0 0 4px 4px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
        z-index: 1000;
        max-height: 420px;
        overflow-y: auto;
    }
    .dropdown:has(.has-submenu) {
        overflow: visible;
        max-height: none;
    }
    .main-menu li:hover > .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .dropdown a:hover { background: var(--bg-gray); color: var(--primary-blue); padding-left: 18px; }
    .has-submenu {
        position: relative;
        border-bottom: 1px solid var(--light-gray);
    }
    .has-submenu:last-child { border-bottom: none; }
    .has-submenu:hover > a {
        background: var(--bg-gray);
        color: var(--primary-blue);
    }
    .has-submenu:hover > a .nav-arrow {
        color: var(--primary-blue);
        transform: translateX(2px);
    }
    .has-submenu .dropdown.submenu {
        top: 0 !important;
        left: 100% !important;
        min-width: 230px;
        max-height: none;
        overflow: visible;
        opacity: 0;
        visibility: hidden;
        transform: translateX(8px);
        transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
        border-radius: 0 6px 6px 0;
        z-index: 1100;
        box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    }
    .has-submenu:hover > .dropdown.submenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    .has-submenu .dropdown.submenu a:first-child { border-top: none; }
    .has-submenu .dropdown.submenu a:last-child { border-bottom: none; }
    .has-submenu .dropdown.submenu a { white-space: nowrap; }
    /* Mega dropdown：Products 三列分组布局 */
    .dropdown.mega-dropdown {
        display: flex;
        flex-direction: row;
        min-width: 720px;
        max-height: none;
        overflow: visible;
        padding: 8px 0;
    }
    .dropdown.mega-dropdown .mega-col {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
    .dropdown.mega-dropdown .mega-col + .mega-col {
        border-left: 1px solid var(--light-gray);
    }
    .dropdown.mega-dropdown .dropdown-group-title {
        background: transparent;
        border-bottom: none;
        padding: 10px 16px 6px;
    }
    .dropdown.mega-dropdown .mega-col a {
        border-bottom: none;
    }
}

.action-buttons { display: flex; gap: 0; flex-shrink: 0; }
.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    margin-left: 8px;
}
.action-btn.bulk {
    background-color: rgba(255,255,255,0.2);
    color: var(--white);
    border: 1px solid var(--white);
}
.action-btn.bulk:hover { background-color: rgba(255,255,255,0.3); color: var(--white); }
.action-btn.cart {
    background-color: rgba(255,255,255,0.9);
    color: var(--primary-blue);
}
.action-btn.cart:hover { background-color: var(--white); color: var(--primary-blue); }

/* 移动端汉堡菜单按钮：默认桌面端隐藏，768px以下显示，3条横线→X变形 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    cursor: pointer;
    padding: 0 8px;
    flex-shrink: 0;
}
/* 汉堡三条线：2px高白边，+变形动画（第一条旋转45，第二条消失，第三条反旋-45） */
.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
/* 打开状态变X：1线右下移+45度，2线消失，3线右上移+-45度 */
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Nav wrapper (moved up, see .nav-wrap near header-content) ---------- */

/* 视觉隐藏但保留给屏幕阅读器 / SEO 的页面标题：内页原深蓝 page-hero 横幅已全站移除，
   每页仍保留唯一 h1，避免出现「无 h1」的语义缺失 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* 面包屑导航：灰色背景条，Home / 一级 / 二级 */
.breadcrumb {
    background: var(--bg-gray);
    padding: 14px 20px;
    font-size: 12px;
    border-bottom: 1px solid var(--border-gray);
}
.breadcrumb a { color: var(--text-gray); }
.breadcrumb a:hover { color: var(--primary-blue); }
.breadcrumb span { color: var(--text-gray); margin: 0 6px; }

/* 首页Hero：全屏500px+高度，背景图/视频层 + 内容卡片z-index覆盖 */
.hero-section {
    position: relative;
    padding: 0;
    color: var(--white);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}
/* Hero 背景视频/海报：铺满容器后由 object-fit:cover 取景；
   object-position 控制裁切焦点（偏上），避免宽屏下把人物头部裁掉 */
.hero-video,
.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 22%;
    z-index: 0;
}
.hero-video {
    background: #2a3a47;
}
/* 显式 poster 层：位于 video 上方（同 z-index 0 但 DOM 在后），z-index 在遮罩层 1 之下，
   视频 playing 后加 .fade-out 平滑淡出；视频加载失败时 poster 保持可见 */
.hero-poster {
    pointer-events: none;
    transition: opacity 0.6s ease-out;
    opacity: 1;
}
.hero-poster.fade-out { opacity: 0; }
/* Hero内容区：透明背景，工厂图完整露出，左对齐不居中 */
.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 620px;
    margin-left: 6%;
    margin-right: auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: var(--white);
    box-shadow: none;
    text-align: left;
}
.hero-section .container h1 {
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-section .container p {
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    max-width: 400px;
    margin: 0 0 16px;
    line-height: 1.55;
    text-align: left;
}
.hero-section h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero-section h1 strong { font-weight: 700; }
.hero-section p {
    font-size: 15px;
    color: var(--white);
    max-width: 540px;
    opacity: 1;
    margin-bottom: 20px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero-subtitle {
    font-size: 17px;
    line-height: 1.6;
    max-width: 620px;
    margin-bottom: 26px;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: nowrap; margin-top: 0; margin-bottom: 0; justify-content: flex-start; }
.hero-cta {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
}
/* Hero 行动按钮：窄屏或长文案（如德语）下换行，避免第二个按钮被 hero 的 overflow:hidden 裁掉 */
.hero-section .hero-cta { flex-wrap: wrap; max-width: 100%; }
.hero-cta.primary {
    background: var(--primary-blue);
    color: var(--white);
}
.hero-cta.primary:hover { background: var(--blue-hover); color: var(--white); }
.hero-cta.outline {
    background: var(--primary-blue);
    color: var(--white);
    border: 1.5px solid var(--primary-blue);
}
.hero-cta.outline:hover { background: var(--blue-hover); color: var(--white); border-color: var(--blue-hover); }

/* Hero 数据型标签行 */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 20px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 520px;
}
.hero-stat {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.hero-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    line-height: 1.2;
    white-space: nowrap;
}
.hero-stat-label {
    font-size: 11px;
    font-weight: 400;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    line-height: 1.2;
    white-space: nowrap;
}
.hero-stat-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

/* ========== 数据证明 Band：DeepTay by the Numbers ========== */
.numbers-section {
    background: var(--dark-blue);
    padding: 64px 20px;
}
.numbers-title {
    text-align: center;
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}
/* 标题下方蓝色短装饰条 */
.numbers-title::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    margin: 14px auto 0;
}
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto 0;
}
.number-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.number-value {
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.5px;
    white-space: nowrap;
}
.number-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.4;
}
.numbers-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12.5px;
    line-height: 1.6;
    margin-top: 30px;
}
@media screen and (max-width: 768px) {
    .numbers-section { padding: 44px 20px; }
    .numbers-title { font-size: 22px; }
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 16px;
        margin-top: 28px;
    }
    .number-value { font-size: 25px; }
    .number-label { font-size: 13px; }
}

.hero-nav {
    display: flex;
    gap: 16px;
    font-size: 13px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.1);
    flex-wrap: wrap;
    justify-content: center;
}
.hero-nav-item { cursor: pointer; font-weight: 600; color: var(--gray-900); }
.hero-nav-item:hover { color: var(--accent-red); }
.hero-nav-divider { color: var(--gray-500); }

/* ---------- Section spacing ---------- */
.section { margin: 50px 0; padding: 40px 20px; }
.section-compact { margin: 15px 0; padding: 5px 20px; }
.section.gray { background-color: var(--bg-gray); }  /* 浅灰底 #f5f5f5 */
.section.white { background-color: var(--white); }   /* 纯白底 #ffffff */
.section-title {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: center;
    font-weight: 700;
}
.section-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 业务渠道区块（service-alt）：白蓝渐变背景，B2B/B2C等双卡片服务展示 */
.channel-section {
    background: linear-gradient(180deg, var(--blue-tint) 0%, var(--white) 100%);
    padding: 60px 0;
}
.channel-header {
    text-align: center;
    margin-bottom: 36px;
}
.channel-header .section-title {
    color: var(--text-dark);
}
.channel-cards {
    display: flex;
    gap: 32px;
    justify-content: center;
}
.channel-card {
    flex: 1;
    max-width: 500px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.channel-card:hover {
    box-shadow: 0 8px 28px rgba(0, 114, 188, 0.12);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}
.channel-card-media {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}
.channel-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.channel-card:hover .channel-card-media img {
    transform: scale(1.03);
}
.channel-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 114, 188, 0.08) 0%, rgba(0, 114, 188, 0.02) 40%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}
.channel-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 2;
}
.channel-badge--alt {
    background: var(--dark-blue);
}
.channel-card-body {
    padding: 24px 26px 26px;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.channel-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}
.channel-icon {
    margin-right: 4px;
}
.channel-card-body > p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 14px;
    line-height: 1.65;
}
.channel-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.channel-bullets li {
    position: relative;
    padding-left: 20px;
    font-size: 12.5px;
    color: var(--text-gray);
    line-height: 1.8;
}
.channel-bullets li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 12px;
}
.channel-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.25s ease;
    margin-top: auto;
}
.channel-btn:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 21, 75, 0.25);
}

/* ---------- Trust grid ---------- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    max-width: 1150px;
    margin: 0 auto;
}
.trust-card {
    text-align: center;
    padding: 22px 14px;
    background: var(--white);
    border-radius: 4px;
    border: 1px solid var(--border-gray);
}
.trust-card i {
    font-size: 34px;
    margin-bottom: 10px;
    color: var(--primary-blue);
}
.trust-card h3 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}
.trust-card p {
    font-size: 12px;
    color: var(--text-gray);
}

/* 产品网格：4列等宽grid，产品列表页/首页产品区块通用 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1150px;
    margin: 0 auto;
}
/* 产品卡片：垂直flex布局（图片区+信息区），hover上浮2px+蓝边阴影 */
.product-card {
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
}
/* 卡片悬停态：微上浮 + 投影 + 蓝色边框高亮 */
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--primary-blue);
}
.product-card-compact .product-image {
    height: 160px;
    min-height: 160px;
}
.product-card-compact .product-info {
    padding: 12px;
    text-align: center;
}
.product-card-compact .product-info h3 {
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
    color: var(--text-dark);
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-compact .product-price {
    font-size: 15px;
    margin-bottom: 0;
    margin-top: 6px;
}
.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.product-card-link:hover .product-card-compact {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--primary-blue);
}
.product-image {
    height: 180px;
    min-height: 180px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-image i {
    font-size: 56px;
    color: var(--primary-blue);
    opacity: 0.5;
}
.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.lazy-image {
    background: #f5f5f5;
    transition: opacity 0.3s ease-in-out;
    opacity: 0.6;
}
.lazy-image.lazy-loaded {
    opacity: 1;
    background: transparent;
}
.lazy-image:not(.lazy-loaded) {
    animation: lazy-loading 1.5s infinite ease-in-out;
}
@keyframes lazy-loading {
    0% { background-color: #f5f5f5; }
    50% { background-color: #e8e8e8; }
    100% { background-color: #f5f5f5; }
}
/* 异常宽高比图片（窄条/超长图）统一以占位图居中展示，避免卡片被拉伸 */
.product-card-img.img-aspect-invalid,
.lazy-image.img-aspect-invalid {
    object-fit: contain;
    background: #f6f8fb;
    padding: 12px;
    opacity: 1;
}
.product-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}
.badge {
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 2px;
    color: var(--white);
    font-weight: 600;
    white-space: nowrap;
}
.badge.flagship, .badge.safety, .badge.fall { background-color: var(--accent-red); }
.badge.high-demand, .badge.balance, .badge.recovery,
.badge.multi, .badge.necessity { background-color: var(--primary-blue); }
.badge.nfc { background-color: var(--dark-blue); }

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-info h3 {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
    min-height: 36px;
}
.product-price {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 10px;
}
.product-params {
    background-color: var(--bg-gray);
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}
.param-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 5px;
}
.param-row:last-child { margin-bottom: 0; }
.param-row label { color: var(--gray-500); }
.param-row span { color: var(--text-dark); font-weight: 600; }

.product-features { margin-bottom: 12px; flex: 1; }
.product-features ul { list-style: none; padding-left: 0; }
.product-features li {
    font-size: 12px;
    color: var(--text-gray);
    padding: 4px 0;
    padding-left: 14px;
    position: relative;
}
.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 10px;
}
.product-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.btn {
    display: inline-block;
    padding: 8px 14px;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
}
.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}
.btn-primary:hover { background-color: var(--dark-blue); color: var(--white); }
.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}
.btn-outline:hover { background: var(--primary-blue); color: var(--white); }
.btn-red {
    background-color: var(--accent-red);
    color: var(--white);
}
.btn-red:hover { background: var(--red-hover); color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 16px; min-height: 48px; }
.btn-block { display: block; width: 100%; }
.btn i { margin-right: 6px; }

/* NFC特色区块（service-alt样式）：深蓝渐变背景，突出产品特色卖点 */
.nfc-section {
    margin: 50px 0;
    padding: 50px 20px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
}
.nfc-section h2 { font-size: 28px; margin-bottom: 12px; }
.nfc-section .subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 35px;
}
.nfc-benefits {
    display: flex;
    gap: 25px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.nfc-benefit {
    flex: 1;
    max-width: 320px;
    padding: 25px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
}
.nfc-benefit i {
    font-size: 40px;
    margin-bottom: 12px;
    color: var(--white);
}
.nfc-benefit h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}
.nfc-benefit p { font-size: 13px; opacity: 0.95; }

/* ---------- Resource cards ---------- */
.resource-cards {
    display: flex;
    gap: 25px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}
.resource-card {
    flex: 1;
    max-width: 320px;
    padding: 25px;
    background-color: var(--white);
    border-radius: 4px;
    text-align: center;
    transition: all 0.2s;
    border: 1px solid var(--border-gray);
}
.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--primary-blue);
}
.resource-card i {
    font-size: 40px;
    margin-bottom: 12px;
    color: var(--primary-blue);
}
.resource-card h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}
.resource-card p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

/* 表单容器：640px限宽白底圆角，联系表单/询价表单通用（前台主表单区） */
.form-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 30px;
    background: var(--white);
    border-radius: 4px;
    border: 1px solid var(--border-gray);
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}
/* 必填标记：用after伪元素自动加红星，无需在HTML里写* */
.form-wrap label.required::after {
    content: ' *';
    color: var(--accent-red);
    font-weight: 400;
}
.required-star {
    color: var(--accent-red);
    font-weight: bold;
    margin-left: 2px;
}
.form-group .hint { font-weight: 400; color: var(--gray-500); font-size: 12px; }
.form-hint { font-size: 12px; color: var(--gray-500); margin-top: 6px; margin-bottom: 0; }

/* 标签多选选择器（dealer-tag-select）：下拉多选Chip组件，用于经销商标签筛选 */
.tag-select { position: relative; }
.tag-input-box {
    width: 100%;
    min-height: 42px;
    padding: 6px 30px 6px 8px;
    border: 1px solid var(--border-gray);
    border-radius: 3px;
    font-size: 14px;
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    position: relative;
}
.tag-input-box::after {
    content: '\f0d7';
    font-family: FontAwesome;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: 14px;
    pointer-events: none;
}
.tag-input-box.open::after { content: '\f0d8'; }
.tag-placeholder { color: var(--gray-500); font-size: 14px; }
.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--blue-tint-hover);
    color: var(--primary-blue);
    border-radius: 3px;
    padding: 3px 8px;
    font-size: 13px;
    line-height: 1.4;
}
.tag-chip .tag-remove {
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    opacity: 0.6;
    margin-left: 2px;
}
.tag-chip .tag-remove:hover { opacity: 1; }
.tag-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-top: none;
    border-radius: 0 0 3px 3px;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.tag-dropdown.open { display: block; }
.tag-option {
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-dark);
}
.tag-option:hover { background: var(--blue-tint); }
.tag-option.selected {
    background: var(--blue-tint-hover);
    color: var(--primary-blue);
}
.tag-option.selected::after {
    content: ' \f00c';
    font-family: FontAwesome;
    font-size: 12px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-gray);
    border-radius: 3px;
    font-size: 14px;
    background-color: var(--white);
    font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}
.form-group textarea { height: 90px; resize: vertical; }
.form-row { display: flex; gap: 14px; }
.form-row .form-group { flex: 1; }
.form-checkbox {
    /* 勾选框尺寸与行高集中定义：上下留白由两者差值推导，保证与首行文字垂直居中 */
    --dt-checkbox-size: 16px;
    --dt-checkbox-line: 20px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: var(--dt-checkbox-line);
}
.form-checkbox input[type="checkbox"] {
    width: var(--dt-checkbox-size);
    height: var(--dt-checkbox-size);
    margin: calc((var(--dt-checkbox-line) - var(--dt-checkbox-size)) / 2) 0 0;
    flex-shrink: 0;
    accent-color: var(--primary-blue);
    cursor: pointer;
}
.form-checkbox label {
    display: block;
    flex: 1;
    min-width: 0;
    margin: 0;
    font-weight: 400;
    font-size: 13px;
    color: var(--text-gray);
    line-height: var(--dt-checkbox-line);
    cursor: pointer;
}
/* 焦点态：保留原生键盘可达性，给勾选框清晰的焦点轮廓 */
.form-checkbox input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}
/* 禁用态：勾选框与文字同步弱化，并提示不可点击 */
.form-checkbox input[type="checkbox"]:disabled,
.form-checkbox input[type="checkbox"]:disabled + label {
    cursor: not-allowed;
    opacity: 0.6;
}
.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.submit-btn:hover { background-color: var(--dark-blue); }

/* ---------- Form feedback (success / error) ---------- */
.form-feedback {
    display: none;
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid transparent;
}
.form-feedback.form-feedback-success {
    background-color: var(--blue-tint);
    border-color: var(--border-gray);
    color: var(--success-green);
}
.form-feedback.form-feedback-error {
    background-color: var(--blue-tint);
    border-color: var(--border-gray);
    color: var(--red-hover);
}
.submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ---------- Footer ---------- */
.footer {
    background-color: var(--dark-blue);
    padding: 50px 20px 25px;
    color: var(--white);
}
/* footer 紧贴上一个 section，消除中间白色空隙 */
.section + .footer {
    margin-top: -50px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-column h3 {
    font-size: 15px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-blue);
    font-weight: 600;
}
.footer-column ul { list-style: none; padding-left: 0; }
.footer-column li { margin-bottom: 8px; }
.footer-column a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 13px;
}
.footer-column a:hover { color: var(--gold); }
.footer-column p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
}
.footer-contact-info {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 15px;
    margin-top: 15px;
}
.footer-contact-info p {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 8px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.footer-contact-info p i {
    color: var(--primary-blue);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
    font-size: 12px;
    margin-top: 1px;
}
.footer-contact-info .footer-label {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    flex-shrink: 0;
}
.footer-contact-info a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-contact-info a:hover { color: var(--gold); }
.footer-social {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
/* 页脚品牌栏：slogan左侧 + 社交图标右侧的两栏flex，分隔页脚内容与版权 */
.footer-brand-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.footer-slogan {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    margin: 0;
}
.social-icons {
    display: flex;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.social-icons li { list-style: none; }
.social-icons a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background 0.2s, transform 0.2s;
}
.social-icons a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.18);
}
.social-icons a {
    font-size: 22px;
    text-decoration: none;
}
/* Social brand colors */
.social-linkedin { color: var(--social-linkedin); }
.social-linkedin:hover { color: var(--social-linkedin); }
.social-youtube { color: var(--social-youtube); }
.social-youtube:hover { color: var(--social-youtube); }
.social-facebook { color: var(--social-facebook); }
.social-facebook:hover { color: var(--social-facebook); }
.social-x { color: var(--social-x); }
.social-x:hover { color: var(--social-x); }
.social-ig { color: var(--social-ig); }
.social-ig:hover { color: var(--social-ig); }
.footer-bottom { text-align: center; margin-top: 20px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.footer-legal-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 12px;
}
.footer-legal-links a:hover { color: var(--gold); }
.footer-sep { color: rgba(255,255,255,0.25); font-size: 11px; }

/* ---------- Generic content blocks ---------- */
.content-block { max-width: 900px; margin: 0 auto; padding: var(--space-6) var(--space-4); }
/* 政策页语言提示：正文锁定英文，不随语言切换 */
.policy-lang-note {
    margin: var(--space-4) 0 0;
    padding: var(--space-2) var(--space-3);
    border-left: 3px solid var(--primary-blue);
    background: #f4f8fb;
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.6;
}
@media (max-width: 640px) {
    .policy-lang-note {
        margin-top: var(--space-3);
        font-size: 12px;
    }
}
.content-block h2 {
    color: var(--text-dark);
    font-size: 22px;
    margin: 26px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--primary-blue);
}
.content-block h2:first-child { margin-top: 0; }
.content-block h3 {
    color: var(--text-dark);
    font-size: 17px;
    margin: 18px 0 8px;
}
.content-block p { margin-bottom: 12px; font-size: 14px; line-height: 1.75; }
.content-block ul, .content-block ol { margin: 0 0 14px 22px; }
.content-block li { margin-bottom: 6px; font-size: 14px; line-height: 1.7; }
.content-block strong { color: var(--text-dark); }
.content-block .callout {
    background: var(--blue-tint);
    border-left: 4px solid var(--primary-blue);
    padding: 14px 18px;
    margin: 16px 0;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
}
.content-block .callout.warn {
    background: var(--blue-tint);
    border-left-color: var(--warning-amber);
}
.content-block .callout.danger {
    background: var(--blue-tint);
    border-left-color: var(--accent-red);
}

/* ---------- Policy Table ---------- */
.policy-table {
    width: 64%;
    min-width: 480px;
    max-width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}
.policy-table th,
.policy-table td {
    padding: 12px 16px;
    border: 1px solid #bfbfbf;
    text-align: left;
    vertical-align: middle;
}
.policy-table th {
    background: #ffffff;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
}
.policy-table tr:nth-child(even) {
    background: var(--gray-50);
}
@media (max-width: 600px) {
    .policy-table {
        width: 100%;
        min-width: 0;
        /* 固定表格布局 + 允许长单词断行：避免 375 下四列表格撑出横向滚动 */
        table-layout: fixed;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .policy-table th,
    .policy-table td {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* ---------- Policy Page Shared ---------- */
.policy-page .breadcrumb {
    background: #ffffff;
    border-bottom: none;
}
.policy-page .section.white {
    background: #ffffff;
    padding: 0;
    text-align: left;
}
.policy-page .section.white h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.policy-page .section.white h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 8px;
    color: var(--text-dark);
}
.policy-page .section.white p,
.policy-page .section.white li {
    font-size: 14px;
    line-height: 1.75;
    color: #333;
}
.policy-page .section.white a {
    font-weight: 700;
    text-decoration: underline;
    color: var(--primary-blue);
}
.policy-page .section.white a:hover {
    color: var(--accent-red);
}
.policy-page hr {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 16px 0;
}
.policy-page .content-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}
.policy-page ul {
    padding-left: 22px;
    margin: 8px 0 14px;
}
.policy-page ul li {
    margin-bottom: 6px;
}

/* ---------- MAP Policy page ---------- */
.policy-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background: var(--bg-gray);
    border-radius: 8px;
    padding: 18px 24px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-blue);
}
.policy-info-item {
    font-size: 14px;
    line-height: 1.6;
}
.policy-info-item strong {
    color: var(--text-dark);
    margin-right: 6px;
}
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}
.map-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.map-table thead th {
    background: var(--primary-blue);
    color: var(--white);
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}
.map-table tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-gray);
    color: var(--text-dark);
}
.map-table tbody tr:hover {
    background-color: var(--blue-tint);
}
.map-table tbody tr:last-child td {
    border-bottom: none;
}
.map-table td:nth-child(2),
.map-table td:nth-child(3) {
    white-space: nowrap;
    font-weight: 600;
    color: var(--primary-blue);
}
.penalty-table {
    margin-top: 12px;
}
.penalty-table thead th:first-child {
    width: 45%;
}
@media (max-width: 768px) {
    .policy-info-bar {
        flex-direction: column;
        gap: 10px;
        padding: 14px 16px;
    }
    .map-table thead th,
    .map-table tbody td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* ---------- Two column layout ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.two-col.left-wide { grid-template-columns: 2fr 1fr; }
.col-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.col-card img {
    max-height: 280px;
    object-fit: contain;
    margin: auto;
}
.col-card h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 12px;
}
/* Facility & Capability 两卡的统一图片框：固定 4:3，cover 裁切，保证两卡图片框等高、
   标题起点一致（不使用 contain，避免不同原图比例在框内产生留白） */
.col-card-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    margin: 0 0 16px;
    flex: 0 0 auto;
}
.col-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

/* ---------- Spec table ---------- */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 13px;
    background: var(--white);
}
.spec-table th, .spec-table td {
    border: 1px solid var(--border-gray);
    padding: 10px 12px;
    text-align: left;
}
.spec-table th {
    background: var(--bg-gray);
    color: var(--text-dark);
    font-weight: 600;
    width: 35%;
}
.spec-table td { color: var(--text-gray); }

/* ---------- Compliance badge row ---------- */
.compliance-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 16px;
}
.compliance-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--blue-tint);
    color: var(--primary-blue);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}
.compliance-tag i { font-size: 12px; }
.compliance-tag.sgs { background: var(--blue-tint); color: var(--warning-amber); }
.compliance-tag.nfc { background: var(--light-gray); color: var(--dark-blue); }

/* ---------- Steps / process ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.step {
    text-align: center;
    padding: 20px;
}
.step .num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 16px;
}
.step h4 {
    color: var(--text-dark);
    font-size: 15px;
    margin-bottom: 6px;
}
.step p { font-size: 12px; color: var(--text-gray); }

/* ---------- Filter bar ---------- */
.filter-bar {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}
.filter-group { flex: 1; min-width: 140px; }
.filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.filter-group select, .filter-group input {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--border-gray);
    border-radius: 3px;
    font-size: 13px;
}

/* B2B产品页双栏布局：PC端左侧筛选sidebar（sticky） + 右侧产品目录；移动端筛选置顶 */
.b2b-filter-header {
    text-align: center;
    margin-bottom: 32px;
}
.b2b-filter-header .section-title { margin: 0; }

.b2b-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.filter-sidebar {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    padding: 24px;
    position: sticky;
    top: 90px;
}
.filter-sidebar .filter-group {
    flex: none;
    min-width: 0;
    margin-bottom: 20px;
}
.filter-sidebar .filter-group:last-of-type { margin-bottom: 0; }
.filter-sidebar .filter-group label {
    font-size: 13px;
    margin-bottom: 8px;
}
.filter-sidebar .filter-group select,
.filter-sidebar .filter-group input {
    padding: 10px 12px;
    font-size: 14px;
}
.filter-tags {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.filter-tag {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.3;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.filter-tag:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(22, 84, 143, 0.04);
}
.filter-tag.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
}

/* ---------- Filter Section Title (PC Sidebar) ---------- */
.filter-section-title {
    display: block;
    width: 100%;
    padding: 12px 14px 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
    border: none;
    cursor: default;
    margin-top: 8px;
}
.filter-section-title:first-child {
    margin-top: 0;
}

/* ---------- Filter Section Title (Mobile Drawer) ---------- */
.drawer-section-title {
    display: block;
    padding: 14px 16px 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
    border: none;
    cursor: default;
    margin-top: 8px;
}
.drawer-section-title:first-child {
    margin-top: 0;
}

/* ---------- Filter Collapse Group (PC Sidebar) ---------- */
.filter-collapse-group {
    border-top: 1px solid var(--border-gray);
    padding-top: 20px;
    margin-top: 20px;
}
.filter-collapse-group:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}
.filter-collapse-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: inherit;
}
.filter-collapse-toggle:hover {
    color: var(--primary-blue);
}
.filter-collapse-arrow {
    font-size: 12px;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}
.filter-collapse-group.collapsed .filter-collapse-arrow {
    transform: rotate(-90deg);
}
.filter-collapse-content {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.filter-collapse-group.collapsed .filter-collapse-content {
    max-height: 0;
}

/* Price Range Inputs */
.filter-collapse-content .dual-range-wrapper {
    padding: 4px 0 0;
}
.filter-collapse-content .price-filter-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.filter-collapse-content .price-apply-btn,
.filter-collapse-content .price-clear-btn {
    flex: 1;
    display: block;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    margin-bottom: 0;
}
.filter-collapse-content .price-apply-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
}
.filter-collapse-content .price-apply-btn:hover {
    background: var(--blue-hover);
}
.filter-collapse-content .price-clear-btn {
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-gray);
}
.filter-collapse-content .price-clear-btn:hover {
    border-color: var(--text-gray);
    background: var(--bg-gray);
}

/* ---------- Mobile Toolbar & Filter Drawer ---------- */
.mobile-toolbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.mobile-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 24px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.mobile-filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}
.mobile-filter-btn i {
    font-size: 14px;
}
.mobile-product-count {
    font-size: 14px;
    color: var(--text-gray);
}
.mobile-product-count #product-count-num {
    font-weight: 700;
    color: var(--text-dark);
}

/* Filter Drawer Overlay */
.filter-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.filter-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Filter Drawer */
.filter-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 360px;
    background: var(--white);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}
.filter-drawer.active {
    transform: translateX(0);
}

/* Drawer Header */
.filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-gray);
    flex-shrink: 0;
}
.filter-drawer-header h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0;
}
.filter-drawer-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.filter-drawer-close:hover {
    background: var(--bg-gray);
    color: var(--text-dark);
}

/* Drawer Body */
.filter-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.drawer-filter-group {
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-gray);
}
.drawer-filter-group:last-child {
    border-bottom: none;
}
.drawer-filter-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

/* Drawer Collapse Toggle */
.drawer-collapse-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: inherit;
    text-align: left;
}
.drawer-collapse-toggle:hover {
    color: var(--primary-blue);
}
.drawer-collapse-arrow {
    font-size: 12px;
    color: var(--text-gray);
    transition: transform 0.3s ease;
}
.drawer-collapse-group.collapsed .drawer-collapse-arrow {
    transform: rotate(-90deg);
}
.drawer-collapse-content {
    max-height: 800px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-bottom: 12px;
}
.drawer-collapse-group.collapsed .drawer-collapse-content {
    max-height: 0;
    padding-bottom: 0;
}

/* Checkbox List */
.drawer-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.drawer-checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: var(--text-dark);
}
.drawer-checkbox-item:hover {
    border-color: var(--primary-blue);
    background: rgba(22, 84, 143, 0.04);
}
.drawer-checkbox-item input[type="checkbox"],
.drawer-checkbox-item input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-blue);
    cursor: pointer;
    flex-shrink: 0;
}
.drawer-checkbox-item input[type="checkbox"]:checked + span,
.drawer-checkbox-item input[type="radio"]:checked + span {
    color: var(--primary-blue);
    font-weight: 500;
}

/* Drawer Footer */
.filter-drawer-footer {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-gray);
    flex-shrink: 0;
    background: var(--white);
}
.drawer-clear-btn {
    flex: 1;
    padding: 14px 20px;
    background: var(--white);
    color: var(--text-dark);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.drawer-clear-btn:hover {
    border-color: var(--text-gray);
    background: var(--bg-gray);
}
.drawer-apply-btn {
    flex: 2;
    padding: 14px 20px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.drawer-apply-btn:hover {
    background: var(--blue-hover);
}

/* ---------- Dual Range Price Slider ---------- */
.dual-range-wrapper {
    padding: 8px 0 4px;
}
.dual-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.dual-range-input-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dual-range-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
}
.dual-range-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.dual-range-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 114, 188, 0.1);
}
.dual-range-separator {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 14px;
    margin-top: 18px;
}

/* Dual range slider container */
.dual-range-slider {
    position: relative;
    height: 32px;
    margin: 0 6px 4px;
}

/* Background track */
.dual-range-track-bg {
    position: absolute;
    top: 50%;
    left: 6px;
    right: 6px;
    height: 4px;
    background: #d9d9d9;
    border-radius: 2px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Active fill between two handles */
.dual-range-fill {
    position: absolute;
    top: 50%;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
    transform: translateY(-50%);
    pointer-events: none;
    left: 6px;
    right: 6px;
}

/* Shared styles for both range inputs */
.dual-range-input-min,
.dual-range-input-max {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    margin: 0;
    padding: 0;
    /* Track is transparent; only thumbs are clickable */
    pointer-events: none;
}

/* Hide the native track on both browsers */
.dual-range-input-min::-webkit-slider-runnable-track,
.dual-range-input-max::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
    border: none;
    border-radius: 2px;
}
.dual-range-input-min::-moz-range-track,
.dual-range-input-max::-moz-range-track {
    height: 4px;
    background: transparent;
    border: none;
    border-radius: 2px;
}
.dual-range-input-min::-moz-range-progress,
.dual-range-input-max::-moz-range-progress {
    height: 4px;
    background: transparent;
    border: none;
}

/* Custom thumb - WebKit (MUST have pointer-events:auto) */
.dual-range-input-min::-webkit-slider-thumb,
.dual-range-input-max::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    margin-top: -9px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    pointer-events: auto;
}
.dual-range-input-min::-webkit-slider-thumb:hover,
.dual-range-input-max::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 114, 188, 0.3);
}
.dual-range-input-min:active::-webkit-slider-thumb,
.dual-range-input-max:active::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(0, 114, 188, 0.15);
}

/* Custom thumb - Firefox */
.dual-range-input-min::-moz-range-thumb,
.dual-range-input-max::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    pointer-events: auto;
}
.dual-range-input-min::-moz-range-thumb:hover,
.dual-range-input-max::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 114, 188, 0.3);
}

/* z-index: max thumb on top, min thumb below — but since only thumbs are clickable, both work */
.dual-range-input-min {
    z-index: 2;
}
.dual-range-input-max {
    z-index: 3;
}

/* Scale labels */
.dual-range-scale {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-gray);
    padding: 0 12px;
    margin-top: 4px;
}

.filter-submit {
    display: block;
    width: 100%;
    margin: 4px 0 24px;
}
.filter-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}
.filter-action-buttons .btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    font-size: 13px;
}

.product-list-wrap { min-width: 0; }
/* 产品列表由接口异步渲染：预留首屏高度，避免内容插入时把页脚/侧栏顶下去造成 CLS */
.product-list-wrap #catalog-root { min-height: 1000px; }
.product-list-wrap #catalog-root > .section {
    margin-top: 0;
    padding-top: 0;
}
.product-list-wrap .products-grid {
    max-width: none;
    margin: 0;
    grid-template-columns: repeat(4, 1fr);
}

/* ---------- Tablet 769-1024px ---------- */
@media (max-width: 1024px) {
    .b2b-container {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }
    .filter-sidebar {
        position: static;
        padding: 20px;
    }
    .product-list-wrap .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Mobile <=768px filter on top, products below ---------- */
@media (max-width: 768px) {
    /* 显示移动端工具栏 */
    .mobile-toolbar {
        display: flex;
    }
    /* 隐藏原筛选侧栏 */
    .filter-sidebar {
        display: none;
    }
    .b2b-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .filter-sidebar .filter-group { margin-bottom: 0; }

    /* 修复：嵌套在 product-list-wrap 内的 section/container 额外 padding 导致卡片被挤压 */
    .product-list-wrap #catalog-root > .section {
        margin: 0 !important;
        padding: 0 !important;
    }
    .product-list-wrap #catalog-root > .section > .container {
        padding: 0 !important;
    }

    .product-list-wrap .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-list-wrap .product-card {
        width: 100%;
        box-sizing: border-box;
    }
    .product-list-wrap .product-card .product-image {
        height: 140px;
        min-height: 140px;
    }
    .product-list-wrap .product-card .product-card-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .product-list-wrap .product-card-compact .product-info {
        padding: 8px 6px;
    }
    .product-list-wrap .product-card-compact .product-info h3 {
        font-size: 12px;
        line-height: 1.3;
        min-height: 32px;
        -webkit-line-clamp: 2;
    }
}

/* 分页组件：flex居中排布，上一页/页码/下一页 + 省略号 + 当前页高亮蓝底白字 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}
/* 分页按钮：36x36方按钮，hover蓝边蓝底，.active蓝底白字，.disabled半透明禁用 */
.pagination .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border-gray);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pagination .page-btn:hover:not(:disabled) {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}
/* 当前页按钮：蓝底白字强对比，表示当前页 */
.pagination .page-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}
.pagination .page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.pagination .page-ellipsis {
    min-width: 24px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 14px;
}
@media (max-width: 480px) {
    .pagination { gap: 4px; margin-top: 20px; }
    .pagination .page-btn { min-width: 30px; height: 30px; padding: 0 8px; font-size: 12px; }
    .pagination .page-ellipsis { min-width: 16px; height: 30px; }
}

/* ---------- Bulk select bar ---------- */
.bulk-bar {
    background: var(--dark-blue);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.bulk-bar .selected-count { font-size: 14px; font-weight: 600; }
.bulk-bar .bulk-actions { display: flex; gap: 8px; }
.bulk-bar .btn { background: var(--white); color: var(--dark-blue); }
.bulk-bar .btn:hover { background: var(--bg-gray); }
.product-card .select-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* FAQ手风琴：单条问题+答案，.open类控制展开动画（max-height过渡） */
.faq-item {
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    margin-bottom: 10px;
    background: var(--white);
    overflow: hidden;
}
/* 问题行：左侧文字 + 右侧箭头图标，点击切换.open */
.faq-q {
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.faq-q .arrow { color: var(--primary-blue); }
/* 答案区：默认max-height=0隐藏，.open时展开到500px + padding过渡 */
.faq-a {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 13px;
    color: var(--text-gray);
}
.faq-item.open .faq-a { padding: 0 18px 14px; max-height: 500px; }
/* 箭头翻转：.open时180度旋转指示已展开 */
.faq-item.open .arrow { transform: rotate(180deg); }

/* ---------- Article (blog) ---------- */
.article {
    max-width: 760px;
    margin: 0 auto;
    padding: 30px 20px;
}
.article h1 {
    color: var(--text-dark);
    font-size: 28px;
    margin-bottom: 10px;
    line-height: 1.3;
}
.article h2 {
    color: var(--text-dark);
    font-size: 20px;
    margin: 24px 0 10px;
}
.article h3 {
    color: var(--text-dark);
    font-size: 16px;
    margin: 18px 0 8px;
}
.article p { margin-bottom: 14px; font-size: 15px; line-height: 1.8; }
.article ul, .article ol { margin: 0 0 14px 22px; }
.article li { margin-bottom: 6px; font-size: 14px; line-height: 1.7; }
.article .article-cta {
    background: var(--bg-gray);
    border-left: 4px solid var(--primary-blue);
    padding: 18px;
    margin: 24px 0;
    border-radius: 0 4px 4px 0;
}
.article-list {
    max-width: 900px;
    margin: 0 auto;
}
.article-list-item {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    margin-bottom: 14px;
    transition: all 0.2s;
}
.article-list-item:hover { border-color: var(--primary-blue); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.article-list-item .thumb {
    width: 140px;
    height: 100px;
    background: var(--bg-gray);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.article-list-item .thumb i { font-size: 38px; color: var(--primary-blue); opacity: 0.5; }
.article-list-item .meta { flex: 1; }
.article-list-item h3 { color: var(--text-dark); font-size: 17px; margin-bottom: 6px; }
.article-list-item h3 a { color: inherit; }
.article-list-item p { font-size: 13px; color: var(--text-gray); margin-bottom: 8px; }

/* 信息卡片网格（info-grid）：3列等宽grid，用于团队/服务/能力等内容信息展示 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
/* Private Label 区仅 4 张卡片：PC 端单独一行 4 个（其他 section 仍保持全局 3 列） */
#private-label .card-grid { grid-template-columns: repeat(4, 1fr); }
/* Pricing section 有正好 4 张卡片 → PC 端一行 4 个 */
#pricing-section .card-grid { grid-template-columns: repeat(4, 1fr); }
/* Dealer Obligations 有正好 4 张卡片 → PC 端一行 4 个 */
#obligations-section .card-grid { grid-template-columns: repeat(4, 1fr); }
/* Shipping 区正好 4 张卡 → PC 端一行 4 个 */
#shipping-section .card-grid { grid-template-columns: repeat(4, 1fr); }
/* Certifications 页 QC 流程 4 张卡 → PC 端一行 4 个 */
#qc-process .card-grid { grid-template-columns: repeat(4, 1fr); }
/* Certifications 页 CE Marking 4 张卡 → PC 端一行 4 个 */
#ce-section .card-grid { grid-template-columns: repeat(4, 1fr); }
/* Certifications 页 RoHS & Regulatory Compliance 4 张卡 → PC 端一行 4 个 */
#rohs-section .card-grid { grid-template-columns: repeat(4, 1fr); }
/* OEM 定制服务 8 张卡 → PC 端一行 4 个 */
#oem-service-content .card-grid { grid-template-columns: repeat(4, 1fr); }
/* Why Choose DeepTay OEM/ODM 8 张卡 → PC 端一行 4 个 */
#why-choose-deeptay .card-grid { grid-template-columns: repeat(4, 1fr); }
/* Download Center categories → PC 端一行 4 个 */
#download-categories .card-grid { grid-template-columns: repeat(4, 1fr); }
/* Certifications Product Testing 4 张卡 → PC 端一行 4 个 */
#product-testing .card-grid { grid-template-columns: repeat(4, 1fr); }
/* Distributor Who We Work With → PC 端一行 4 个 */
#who-we-work-with .card-grid { grid-template-columns: repeat(4, 1fr); }
/* OEM Quality Control 4 张卡 → PC 端一行 4 个 */
#oem-qc .card-grid { grid-template-columns: repeat(4, 1fr); }
/* OEM Packaging Development 4 张卡 → PC 端一行 4 个 */
#packaging-development .card-grid { grid-template-columns: repeat(4, 1fr); }
/* OEM / Private Label Resources — datasheets 区块仅 2 张卡 → PC 端 2 列居中 */
#oem-resources .card-grid {
    grid-template-columns: repeat(2, minmax(320px, 420px));
    justify-content: center;
    gap: 28px 32px;
}
/* Manufacturing Product Testing — 正好 4 张卡 → PC 端一行 4 个 */
#product-testing .card-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
/* Manufacturing at a Glance — 7 张卡 PC 一行 */
#mfg-at-glance .stats-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}
#mfg-at-glance .stats-grid .stat-tile {
    max-width: none;
    padding: 18px 10px;
}
#mfg-at-glance .stats-grid .stat-tile .stat-num { font-size: 20px; }
#mfg-at-glance .stats-grid .stat-tile .stat-label { font-size: 11px; }
@media (max-width: 1200px) {
    #mfg-at-glance .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
    #mfg-at-glance .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Manufacturing Integrated Production Process — 8 张卡 4 列，最后一行 0 张无问题 */
#production-process .card-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
/* Manufacturing Equipment / Sample Dev / Packaging / Traceability — 单卡居中 760px */
#equipment-infrastructure .card-grid,
#sample-development .card-grid,
#packaging-capability .card-grid,
#traceability .card-grid {
    grid-template-columns: repeat(1, minmax(0, 760px));
    max-width: 760px;
    margin: 0 auto;
}
/* Manufacturing OEM & ODM Manufacturing Capability — 正好 4 张卡 → PC 端一行 4 个 */
#oem-mfg-capability .card-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
/* Quality Control — FQC 4 卡 → PC 端一行 4 个 */
#qc-fqc .card-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
/* Markets — Product Showcase by Application 4 卡 → PC 端一行 4 个 */
#market-showcase .card-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
/* Quality Control — Performance Testing 5 卡 → PC 端一行 5 个 */
#qc-performance-testing .card-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
/* Quality Control — IPQC 5 卡 → PC 端一行 5 个 */
#qc-ipqc .card-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
/* Quality Control — 两类产品 2 卡 + 治理与记录 3×2 */
#qc-product-types .card-grid { grid-template-columns: repeat(2, 1fr); max-width: 1000px; margin: 0 auto; gap: 28px; }
#qc-governance-records .card-grid { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }
@media (max-width: 768px) {
    #qc-product-types .card-grid { grid-template-columns: 1fr; max-width: 100%; }
    #qc-governance-records .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    #qc-governance-records .card-grid { grid-template-columns: 1fr; }
}
/* Quality Control — Pre-Shipment 2 卡 → PC 端 2 列居中限宽 */
#qc-pre-shipment .card-grid { grid-template-columns: repeat(2, 1fr); max-width: 1000px; justify-content: center; gap: 28px; }
/* Quality Control — IQC 2 卡 → PC 端 2 列居中限宽 */
#qc-iqc .card-grid { grid-template-columns: repeat(2, 1fr); max-width: 1000px; justify-content: center; gap: 28px; }
/* About 页面 Our Product Range 正好 5 张卡 → PC 端一行 5 个 */
#product-range .card-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
/* 所有单卡区块的 info-card 内 ul 列表居中（ul 默认 block 全宽且左对齐 → 改成 inline-block + text-align:left 让列表块整体在卡内居中） */
#equipment-infrastructure .info-card ul,
#sample-development .info-card ul,
#packaging-capability .info-card ul,
#traceability .info-card ul {
    display: inline-block;
    text-align: left;
    padding-left: 20px;
}
@media (max-width: 1024px) {
    #product-range .card-grid { grid-template-columns: repeat(3, 1fr); }
    #qc-ipqc .card-grid { grid-template-columns: repeat(3, 1fr); }
    #market-showcase .card-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    #product-range .card-grid { grid-template-columns: repeat(2, 1fr); }
    #qc-ipqc .card-grid { grid-template-columns: repeat(2, 1fr); }
    #market-showcase .card-grid { grid-template-columns: repeat(2, 1fr); }
}
/* 通用工具类：只有 2 张卡片的 card-grid → PC 端 2 列居中，避免 3 列布局右空列 */
.card-grid.card-grid-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 780px;
    margin: 0 auto;
}
/* 板块大图预览：用于 section 标题下方的整宽横幅图 */
.preview-img-wrap {
    width: 100%;
    max-width: 1200px;
    border-radius: 6px;
    overflow: hidden;
    margin: 0 auto 28px;
}
.preview-img-wrap img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
@media(max-width:768px){
    .preview-img-wrap img { height: auto; object-fit: cover; }
}
/* 信息单卡片：白底圆角边框卡，hover蓝边+阴影 */
.info-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    padding: 22px;
    text-align: center;
    transition: all 0.2s;
}
.info-card:hover { border-color: var(--primary-blue); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.info-card.nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    height: 100%;
}
.info-card.nav-card .value-icon { margin-bottom: 14px; }
.info-card.nav-card .value-icon i { color: var(--primary-blue); }
.info-card.nav-card h3 { margin-bottom: 8px; }
.info-card.nav-card p { flex: 1; }
.info-card.nav-card .learn-btn {
    margin-top: 14px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}
.info-card.nav-card .learn-btn i { margin-left: 4px; color: var(--white); }
.info-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin: 0 0 14px;
    border-radius: 4px;
}
/* OEM 服务内容卡片图片：已由 .info-card img 统一为 4:3 */
.info-card i.icon-main {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.info-card h3 {
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 8px;
}
.info-card p { font-size: 13px; color: var(--text-gray); margin-bottom: 8px; text-align: center; }
.info-card ul { list-style: none; padding-left: 0; text-align: left; display: inline-block; }
.info-card ul li {
    font-size: 12px;
    color: var(--text-gray);
    padding: 3px 0 3px 14px;
    position: relative;
}
.info-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-blue); }

/* ---------- Stats row ---------- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    max-width: 1150px;
    margin: 0 auto;
}
.stat {
    text-align: center;
    padding: 18px 10px;
}
.stat .num {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
    white-space: nowrap;
}
.stat .label { font-size: 13px; color: var(--text-gray); white-space: nowrap; }

/* ---------- Partner chips（OEM 客户类型，3 列标签） ---------- */
.partner-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1150px;
    margin: 0 auto;
}
.partner-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 999px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-dark);
    white-space: normal;
    overflow-wrap: anywhere;
}

/* ---------- Case study metrics (inside article-card) ---------- */
.case-metrics {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--light-gray);
}
.case-metrics .metric-item {
    flex: 1;
    text-align: center;
}
.case-metrics .metric-num {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
}
.case-metrics .metric-label {
    display: block;
    font-size: 11px;
    color: var(--text-gray);
    margin-top: 2px;
    line-height: 1.3;
}

/* ---------- Dealer portal layout ---------- */
.portal-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}
.portal-sidebar {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    padding: 18px 0;
    height: fit-content;
}
.portal-sidebar h4 {
    color: var(--text-dark);
    font-size: 13px;
    padding: 0 18px 10px;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.portal-sidebar a {
    display: block;
    padding: 10px 18px;
    color: var(--text-gray);
    font-size: 13px;
    text-decoration: none;
    border-left: 3px solid transparent;
}
.portal-sidebar a:hover, .portal-sidebar a.active {
    background: var(--bg-gray);
    color: var(--primary-blue);
    border-left-color: var(--primary-blue);
}
.portal-main h2 {
    color: var(--text-dark);
    font-size: 20px;
    margin-bottom: 16px;
}
.portal-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    padding: 18px;
    margin-bottom: 16px;
}
.portal-card h3 {
    color: var(--text-dark);
    font-size: 15px;
    margin-bottom: 10px;
}

/* ---------- 404 ---------- */
.not-found {
    text-align: center;
    padding: 80px 20px;
}
.not-found .big {
    font-size: 96px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}
.not-found h1 {
    color: var(--text-dark);
    font-size: 26px;
    margin: 16px 0 10px;
}
.not-found p { font-size: 15px; margin-bottom: 24px; }
.not-found .search-box {
    float: none;
    max-width: 420px;
    margin: 0 auto 24px;
}
.not-found .search-box input {
    width: 100%;
    opacity: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-gray);
    margin-left: 0;
}
.not-found-quick { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Login ---------- */
.login-card {
    max-width: 420px;
    margin: 40px auto;
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
}
.login-card h2 {
    color: var(--text-dark);
    font-size: 22px;
    margin-bottom: 6px;
    text-align: center;
}
.login-card .sub {
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 22px;
}
.login-divider {
    text-align: center;
    margin: 18px 0;
    font-size: 12px;
    color: var(--gray-500);
    position: relative;
}
.login-divider::before, .login-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-gray);
}
.login-divider::before { left: 0; }
.login-divider::after { right: 0; }

/* ---------- Contact info block ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-grid-single {
    grid-template-columns: auto;
    justify-content: center;
}
.contact-block {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    padding: 22px;
    margin-bottom: 16px;
}
.contact-block h3 {
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-block h3 i { color: var(--primary-blue); }
.contact-block p { font-size: 13px; margin-bottom: 6px; }
.contact-block a { font-size: 13px; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

/* 响应式：1100px小桌面，网格降列（产品/信任3列、菜单间距压缩） */
@media (max-width: 1100px) {
    .header-content { flex-wrap: nowrap; gap: 10px; }
    .logo { font-size: 18px; }
    .header-right { order: 3; margin: 0; }
    .main-menu { gap: 12px; }
    .main-menu a { font-size: 13px; padding: 4px; }
    .action-buttons { gap: 6px; }
    .action-btn { padding: 5px 10px; font-size: 11px; }
    .contact-btn { padding: 6px 14px; font-size: 12px; }
    .top-search { width: 160px; }
    .hero-section h1 { font-size: 30px; }
    .hero-section p { font-size: 15px; }
    .hero-cta { padding: 8px 18px; font-size: 12px; }
    .hero-section .container {
        margin-left: 5%;
        margin-right: auto;
        max-width: 720px;
    }
    .trust-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}
/* 响应式：1024px平板端，steps/stats降为2列，card-grid保持3列 */
@media (max-width: 1024px) {
    .trust-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: repeat(3, 1fr); }
    #private-label .card-grid { grid-template-columns: repeat(1, 1fr); }
    #oem-capabilities .card-grid { grid-template-columns: repeat(1, 1fr); }
    #custom-packaging .card-grid { grid-template-columns: repeat(1, 1fr); }
    #why-choose-us .card-grid { grid-template-columns: repeat(1, 1fr); }
    #why-choose-deeptay .card-grid { grid-template-columns: repeat(3, 1fr); }
    /* Download Center categories — 平板端一行 3 个 */
    #download-categories .card-grid { grid-template-columns: repeat(3, 1fr); }
    /* Product Testing — 平板端一行 3 个 */
    #product-testing .card-grid { grid-template-columns: repeat(3, 1fr); }
    #who-we-work-with .card-grid { grid-template-columns: repeat(3, 1fr); }
    /* OEM Quality Control — 平板端一行 3 个 */
    #oem-qc .card-grid { grid-template-columns: repeat(3, 1fr); }
    /* OEM Packaging Development — 平板端一行 3 个 */
    #packaging-development .card-grid { grid-template-columns: repeat(3, 1fr); }
    #doc-library .card-grid { grid-template-columns: repeat(1, 1fr); }
    #compliance-library .card-grid { grid-template-columns: repeat(1, 1fr); }
    #moq-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #returns-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #pricing-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #obligations-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #shipping-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #qc-process .card-grid { grid-template-columns: repeat(1, 1fr); }
    #ce-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #rohs-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    /* OEM Service Content — 平板端一行 3 个 */
    #oem-service-content .card-grid { grid-template-columns: repeat(3, 1fr); }
    /* Manufacturing Product Testing — 平板端一行 3 个 */
    #product-testing .card-grid { grid-template-columns: repeat(3, 1fr); }
    /* Manufacturing OEM & ODM — 平板端一行 2 个 */
    #oem-mfg-capability .card-grid { grid-template-columns: repeat(2, 1fr); }
    /* Manufacturing Production Process — 平板端一行 4 个 */
    #production-process .card-grid { grid-template-columns: repeat(4, 1fr); }
    .card-grid.card-grid-2col { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}
/* JS 测量菜单是否换行期间临时挂载：禁用头部全部过渡，
   确保 body.nav-mobile-mode 增删后同帧读到的是布局终态而非动画中间态 */
body.nav-measuring .header,
body.nav-measuring .header * {
    transition: none !important;
}
/* 桌面端菜单换行时切换为汉堡+侧边抽屉（与移动端一致） */
body.nav-mobile-mode .menu-toggle { display: flex; order: 1; margin-right: 0; }
body.nav-mobile-mode .logo { order: 2; flex: 1; text-align: center; justify-content: center; display: flex; }
body.nav-mobile-mode .header .mobile-search-btn { display: inline-flex; order: 3; flex-shrink: 0; }
body.nav-mobile-mode .nav-wrap .top-bar-right { display: none; width: 100%; padding: 12px 16px; gap: 8px; border-bottom: 1px solid var(--light-gray); order: 0; margin-left: 0; }
body.nav-mobile-mode .nav-wrap .top-bar-right.search-open { display: flex; }
body.nav-mobile-mode .nav-wrap .search-icon-btn { display: none; }
body.nav-mobile-mode .top-bar-lang .lang-btn .lang-name { display: none; }
body.nav-mobile-mode .nav-wrap {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 280px; max-width: 85vw; background: var(--white);
    box-shadow: 2px 0 16px rgba(0,0,0,0.2); z-index: 10001;
    overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease;
    margin: 0; padding: 0; border-radius: 0;
}
body.nav-mobile-mode .nav-wrap.open { transform: translateX(0); }
body.nav-mobile-mode .nav-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 10000;
}
body.nav-mobile-mode .nav-wrap.open ~ .nav-overlay { display: block; }
body.nav-mobile-mode .main-menu { flex-direction: column; gap: 0; width: 100%; padding: 0; margin: 0; }
body.nav-mobile-mode .main-menu li { width: 100%; }
/* 移动端 li 整体加底边分隔线（替代 a 与 span 各自的 border-bottom） */
body.nav-mobile-mode .main-menu > li { border-bottom: 1px solid var(--light-gray); }
/* has-dropdown：a + 箭头 span 作为整体按钮，hover/open/active 反馈一致 */
body.nav-mobile-mode .main-menu > li.has-dropdown {
    display: flex; align-items: center; flex-wrap: wrap;
    transition: background-color 0.15s ease;
}
body.nav-mobile-mode .main-menu > li.has-dropdown.open,
body.nav-mobile-mode .main-menu > li.has-dropdown:active { background-color: var(--bg-gray); }
body.nav-mobile-mode .main-menu > li > a {
    color: var(--text-dark); font-size: 15px; padding: 14px 16px;
    border-bottom: none; display: flex; align-items: center; flex: 1;
}
/* has-dropdown 主链接：右侧收紧到 4px，让文字与箭头紧凑衔接，整体观感为一个按钮 */
body.nav-mobile-mode .main-menu > li.has-dropdown > a.menu-link { padding-right: 4px; }
body.nav-mobile-mode .main-menu .nav-caret {
    color: var(--text-muted); font-size: 14px; padding: 14px 16px 14px 4px;
    border-bottom: none; transition: transform 0.2s ease;
}
body.nav-mobile-mode .main-menu .has-dropdown.open > .nav-caret { transform: rotate(180deg); }
body.nav-mobile-mode .main-menu > li.active > a { color: var(--primary-blue); }
body.nav-mobile-mode .dropdown {
    position: static; opacity: 0; visibility: hidden; transform: none;
    box-shadow: none; border-radius: 0; min-width: 100%; width: 100%;
    background: var(--bg-gray); max-height: 0; overflow: hidden;
    transition: opacity 0.2s, visibility 0.2s, max-height 0.2s; order: 3; flex-basis: 100%;
}
body.nav-mobile-mode .has-dropdown.open .dropdown { opacity: 1; visibility: visible; max-height: 1000px; }
body.nav-mobile-mode .dropdown.mega-dropdown { flex-direction: column; min-width: 100%; padding: 0; }
body.nav-mobile-mode .dropdown.mega-dropdown .mega-col + .mega-col { border-left: none; border-top: 1px solid var(--light-gray); }
body.nav-mobile-mode .dropdown a { padding: 10px 24px 10px 44px; font-size: 14px; }
/* 移动端：二级分类标题向右缩进 24px；三级产品列表继续缩进至 44px，体现层级 */
body.nav-mobile-mode .dropdown .dropdown-group-title { padding: 12px 16px 6px 24px; background: transparent; border-bottom: none; font-weight: 600; color: var(--text-dark); }
body.nav-mobile-mode .nav-lang-quote {
    flex-direction: column; align-items: stretch; gap: 12px; margin: 0;
    padding: 16px; border-top: 1px solid var(--light-gray); margin-top: auto;
}
body.nav-mobile-mode .nav-lang-quote .lang-switcher { justify-content: center; }
body.nav-mobile-mode .nav-lang-quote .quote-btn { justify-content: center; width: 100%; }
/* 移动端：语言切换器迁移至 .header-content 中 mobile-search-btn 右侧（紧凑圆角按钮） */
body.nav-mobile-mode .header-content > .lang-switcher.top-bar-lang {
    order: 4;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
}
body.nav-mobile-mode .header-content > .lang-switcher.top-bar-lang .lang-btn {
    padding: 0;
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: 50%;
    gap: 0;
}
body.nav-mobile-mode .header-content > .lang-switcher.top-bar-lang .lang-btn .lang-name {
    display: none;
}
body.nav-mobile-mode .header-content > .lang-switcher.top-bar-lang .lang-btn .fa-chevron-down {
    display: none !important;
}
body.nav-mobile-mode .header-content > .lang-switcher.top-bar-lang .lang-btn .flag-img {
    height: 18px;
    width: 26px;
}
body.nav-mobile-mode .header-content > .lang-switcher.top-bar-lang .lang-dropdown {
    right: 0 !important;
    left: auto !important;
    min-width: 180px;
}
/* 响应式：768px移动端主断点，汉堡菜单显示、导航展开下拉、所有双列改单列 */
@media (max-width: 768px) {
    /* 抽屉内搜索区：默认隐藏，点击头部搜索按钮时展开 */
    .nav-wrap .top-bar-right { display: none; width: 100%; padding: 12px 16px; gap: 8px; border-bottom: 1px solid var(--light-gray); order: 0; margin-left: 0; }
    .nav-wrap .top-bar-right.search-open { display: flex; }
    .top-search { width: 100%; height: 38px; padding: 0 4px 0 12px; flex-shrink: 0; position: static; transform: none; }
    .top-search-btn { width: 28px; height: 28px; }
    .top-search-input { font-size: 13px; }
    .top-search-icon { display: none; }
    .header-content { flex-direction: row; align-items: center; flex-wrap: nowrap; overflow: visible; gap: 8px; }
    .logo-img { max-height: 32px; }
    .logo-desktop { display: none; }
    .logo-mobile { display: block; }
    .header-right { order: 3; margin: 0; flex-wrap: nowrap; overflow: visible; }
    .contact-btn { padding: 5px 12px; font-size: 11px; }
    .menu-toggle { display: flex; order: 1; flex-shrink: 0; margin-right: 0; }
    .logo { order: 2; margin: 0; flex-shrink: 0; flex: 1; text-align: center; display: flex; justify-content: center; }
    /* 移动端头部：显示搜索按钮（抽屉内的搜索图标隐藏，避免重复） */
    .header .mobile-search-btn { display: inline-flex; order: 3; flex-shrink: 0; }
    .nav-wrap .search-icon-btn { display: none; }
    .top-bar-lang .lang-btn .lang-name { display: none; }
    /* 移动端侧边抽屉：固定左侧，滑入式 */
    .nav-wrap {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        max-width: 85vw;
        background: var(--white);
        margin: 0;
        padding: 0;
        box-shadow: 2px 0 16px rgba(0,0,0,0.2);
        z-index: 10001;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-radius: 0;
    }
    .nav-wrap.open { transform: translateX(0); }
    /* 抽屉遮罩 */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 10000;
    }
    .nav-wrap.open ~ .nav-overlay,
    .nav-wrap.open .nav-overlay { display: block; }
    .main-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .main-menu li { width: 100%; }
    /* 移动端 li 整体加底边分隔线（替代 a 与 span 各自的 border-bottom） */
    .main-menu > li { border-bottom: 1px solid var(--light-gray); }
    /* has-dropdown：a + 箭头 span 作为整体按钮，hover/open/active 反馈一致 */
    .main-menu > li.has-dropdown {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        transition: background-color 0.15s ease;
    }
    .main-menu > li.has-dropdown.open,
    .main-menu > li.has-dropdown:active { background-color: var(--bg-gray); }
    .main-menu > li > a {
        color: var(--text-dark);
        font-size: 15px;
        padding: 14px 16px;
        border-bottom: none;
        display: flex;
        align-items: center;
        flex: 1;
    }
    /* has-dropdown 主链接：右侧收紧到 4px，让文字与箭头紧凑衔接，整体观感为一个按钮 */
    .main-menu > li.has-dropdown > a.menu-link { flex: 1; padding-right: 4px; border-bottom: none; }
    .main-menu .nav-caret {
        color: var(--text-muted);
        font-size: 14px;
        padding: 14px 16px 14px 4px;
        border-bottom: none;
        transition: transform 0.2s ease;
    }
    .main-menu .has-dropdown.open > .nav-caret { transform: rotate(180deg); }
    .main-menu > li.active > a { color: var(--primary-blue); }
    .dropdown {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
        width: 100%;
        background: var(--bg-gray);
        transition: opacity 0.2s ease, visibility 0.2s ease, max-height 0.2s ease;
        max-height: 0;
        overflow: hidden;
        order: 3;
        flex-basis: 100%;
    }
    .has-dropdown.open .dropdown {
        opacity: 1;
        visibility: visible;
        max-height: 1000px;
    }
    /* 移动端 mega-dropdown 改为单列堆叠 */
    .dropdown.mega-dropdown {
        flex-direction: column;
        min-width: 100%;
        padding: 0;
    }
    .dropdown.mega-dropdown .mega-col { border-left: none; }
    .dropdown.mega-dropdown .mega-col + .mega-col { border-left: none; border-top: 1px solid var(--light-gray); }
    /* 移动端：三级产品列表继续向右缩进，体现层级（二级标题 24px，三级 44px） */
    .dropdown a {
        padding: 10px 24px 10px 44px;
        font-size: 14px;
    }
    .dropdown .dropdown-group-title {
        padding: 12px 16px 6px 24px;
        background: transparent;
        border-bottom: none;
        font-weight: 600;
        color: var(--text-dark);
    }
    .dropdown a:hover { padding-left: 48px; }
    .has-submenu .dropdown.submenu {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        min-width: 100%;
        background: var(--bg-gray);
        transition: opacity 0.2s ease, visibility 0.2s ease, max-height 0.2s ease;
        max-height: 0;
        overflow: hidden;
        padding-left: 16px;
        z-index: auto;
    }
    .has-submenu.open .dropdown.submenu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
    }
    .has-submenu.open > a .nav-arrow { transform: rotate(90deg); }
    .has-submenu { border-bottom: 1px solid var(--light-gray); }
    .has-submenu:last-child { border-bottom: none; }
    .has-submenu > a { border-bottom: none; }
    /* 移动端抽屉底部：语言切换 + 报价按钮 */
    .nav-lang-quote {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin: 0;
        padding: 16px;
        border-top: 1px solid var(--light-gray);
        margin-top: auto;
    }
    .nav-lang-quote .lang-switcher { justify-content: center; }
    .nav-lang-quote .quote-btn { justify-content: center; width: 100%; }
    .action-buttons {
        gap: 4px;
        padding: 0;
        border-top: none;
        margin-top: 0;
    }
    .action-btn { padding: 5px 10px; font-size: 11px; }
    .hero-section { padding: 40px 0; }
    .hero-section .container {
        margin-left: 5%;
        margin-right: auto;
        max-width: 90%;
        text-align: left;
    }
    .hero-section .container p {
        margin-left: 0;
        margin-right: 0;
    }
    .hero-cta-row { justify-content: flex-start; }
    .hero-cta-secondary { display: none; }
    .hero-nav { justify-content: center; }
    .hero-section h1 { font-size: 26px; }
    .hero-section p { font-size: 14px; }
    .hero-section .hero-cta .btn-lg { font-size: 13px; padding: 10px 12px; min-height: 40px; white-space: nowrap; }
    .hero-nav { flex-wrap: wrap; gap: 10px; }
    .hero-stats {
        flex-wrap: wrap;
        gap: 10px 14px;
        padding: 8px 12px;
        margin-top: 16px;
        max-width: 100%;
    }
    .hero-stat { flex: 1 1 calc(50% - 7px); }
    .hero-stat-value { font-size: 13px; }
    .hero-stat-label { font-size: 11px; }
    .hero-stat-divider { display: none; }
    .channel-cards { flex-direction: column; gap: 20px; }
    .channel-card { max-width: 100%; flex: 1 1 100%; min-width: 0; }
    .channel-card-media { height: 180px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .nfc-benefits { flex-direction: column; align-items: center; }
    .nfc-benefit { max-width: 100%; }
    .resource-cards { flex-direction: column; align-items: center; }
    .resource-card { max-width: 100%; width: 100%; }
    .footer-content { grid-template-columns: 1fr; gap: 0; }
    .footer-brand-bar { flex-direction: column; text-align: center; }
    /* 移动端页脚手风琴：大标题可点击展开/收起子链接 */
    .footer-column {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2px 0;
    }
    .footer-column:last-child { border-bottom: none; }
    .footer-column > h3 {
        position: relative;
        margin: 0;
        padding: 14px 28px 14px 0;
        border-bottom: none;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.08);
    }
    .footer-column > h3::after {
        content: '+';
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 22px;
        font-weight: 400;
        line-height: 1;
        color: rgba(255, 255, 255, 0.7);
        transition: transform 0.25s ease;
    }
    .footer-column.open > h3::after { content: '\2212'; }
    .footer-column > ul,
    .footer-column > .footer-contact-info {
        display: none;
        margin: 0;
        padding-bottom: 14px;
    }
    .footer-column.open > ul,
    .footer-column.open > .footer-contact-info {
        display: block;
    }
    .two-col, .contact-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .portal-layout { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .article-list-item { flex-direction: column; }
    .article-list-item .thumb { width: 100%; height: 80px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    #private-label .card-grid { grid-template-columns: repeat(1, 1fr); }
    #oem-capabilities .card-grid { grid-template-columns: repeat(1, 1fr); }
    #custom-packaging .card-grid { grid-template-columns: repeat(1, 1fr); }
    #why-choose-us .card-grid { grid-template-columns: repeat(1, 1fr); }
    #why-choose-deeptay .card-grid { grid-template-columns: repeat(2, 1fr); }
    #download-categories .card-grid { grid-template-columns: repeat(2, 1fr); }
    #product-testing .card-grid { grid-template-columns: repeat(2, 1fr); }
    #who-we-work-with .card-grid { grid-template-columns: repeat(2, 1fr); }
    #oem-qc .card-grid { grid-template-columns: repeat(2, 1fr); }
    #packaging-development .card-grid { grid-template-columns: repeat(2, 1fr); }
    #doc-library .card-grid { grid-template-columns: repeat(1, 1fr); }
    #compliance-library .card-grid { grid-template-columns: repeat(1, 1fr); }
    #moq-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #returns-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #pricing-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #obligations-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #shipping-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #qc-process .card-grid { grid-template-columns: repeat(1, 1fr); }
    #ce-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #rohs-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    /* OEM Service Content — 移动端一行 2 个 */
    #oem-service-content .card-grid { grid-template-columns: repeat(2, 1fr); }
    /* Manufacturing Product Testing — 移动端一行 2 个 */
    #product-testing .card-grid { grid-template-columns: repeat(2, 1fr); }
    /* Manufacturing OEM & ODM — 移动端一行 2 个 */
    #oem-mfg-capability .card-grid { grid-template-columns: repeat(2, 1fr); }
    /* 移动端降列：PC 端 4/5 列区块（id 特异度高，且 1024 块在后又设了 4 列，必须在其后的本块显式覆盖） */
    #production-process .card-grid { grid-template-columns: repeat(2, 1fr); }
    #qc-fqc .card-grid { grid-template-columns: repeat(2, 1fr); }
    #qc-performance-testing .card-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid.card-grid-2col { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
    /* stats 移动端 2 列：允许收缩与标签换行，避免 nowrap 标签撑破网格轨道产生横向溢出 */
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stat { min-width: 0; }
    .stat .label { white-space: normal; }
}
@media (max-width: 480px) {
    .search-box.open input { width: 100px; }
    .action-btn { padding: 4px 8px; font-size: 10px; }
    .action-btn.cart span { display: none; }
    /* 480px 小屏：搜索框进一步缩短 */
    .top-search { width: 90px; }
    .top-search:focus-within { width: 150px; }
    .top-search-btn { width: 20px; height: 20px; }
    .top-search-btn i { font-size: 11px; }
    .top-bar-right { gap: 4px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; }
    .hero-section h1 { font-size: 22px; }
    .hero-cta-secondary { display: none; }
    .form-wrap, .login-card { padding: 20px; }
    .card-grid, .stats-row { grid-template-columns: repeat(2, 1fr); }
    #private-label .card-grid { grid-template-columns: repeat(1, 1fr); }
    #oem-capabilities .card-grid { grid-template-columns: repeat(1, 1fr); }
    #custom-packaging .card-grid { grid-template-columns: repeat(1, 1fr); }
    #why-choose-us .card-grid { grid-template-columns: repeat(1, 1fr); }
    #why-choose-deeptay .card-grid { grid-template-columns: repeat(2, 1fr); }
    #download-categories .card-grid { grid-template-columns: repeat(2, 1fr); }
    #product-testing .card-grid { grid-template-columns: repeat(2, 1fr); }
    #who-we-work-with .card-grid { grid-template-columns: repeat(2, 1fr); }
    #oem-qc .card-grid { grid-template-columns: repeat(2, 1fr); }
    #packaging-development .card-grid { grid-template-columns: repeat(2, 1fr); }
    #doc-library .card-grid { grid-template-columns: repeat(1, 1fr); }
    #compliance-library .card-grid { grid-template-columns: repeat(1, 1fr); }
    #moq-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #returns-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #pricing-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #obligations-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #shipping-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #qc-process .card-grid { grid-template-columns: repeat(1, 1fr); }
    #ce-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    #rohs-section .card-grid { grid-template-columns: repeat(1, 1fr); }
    /* OEM Service Content — 480px 小屏仍保持一行 2 个 */
    #oem-service-content .card-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid.card-grid-2col { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .channel-cards { flex-direction: column; gap: 16px; }
    .channel-card { flex: 1 1 100%; min-width: 0; }
    .channel-card-media { height: 140px; }
    .channel-card-body { padding: 16px 18px 18px; }
    .channel-card-body h3 { font-size: 15px; }
    .channel-card-body > p { font-size: 12px; margin-bottom: 10px; }
    .channel-bullets li { font-size: 11.5px; line-height: 1.7; }
    .channel-btn { padding: 10px 16px; font-size: 12px; }
    .product-card .product-info h3 { font-size: 13px; min-height: 32px; }
    .product-card .product-image { height: 140px; min-height: 140px; }
    .product-features li { font-size: 11px; padding: 3px 0 3px 12px; }
    .product-params { padding: 8px; }
    .param-row { font-size: 10px; }
    .product-actions { flex-direction: column; }
    .product-actions .btn { width: 100%; }
    .trust-card { padding: 16px 10px; }
    .trust-card h3 { font-size: 12px; }
    .trust-card p { font-size: 11px; }
    .trust-card i { font-size: 28px; }
    .card-grid .info-card { padding: 16px; }
    .card-grid .info-card h3 { font-size: 14px; }
    .card-grid .info-card p { font-size: 12px; }
    .resource-card { padding: 18px; }
    .resource-card h3 { font-size: 14px; }
    .resource-card p { font-size: 12px; }
}

/* ---------- Language Switcher ---------- */
.lang-switcher {
    position: relative;
    display: inline-block;
}
.lang-btn {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    font-family: inherit;
}
.lang-btn:hover {
    background: rgba(255,255,255,0.15);
    color: var(--gold);
}
.lang-btn .flag-img {
    height: 14px;
    width: 20px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    object-fit: cover;
    display: block;
}
.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    min-width: 220px;
    z-index: 9999;
    margin-top: 6px;
    overflow: hidden;
}
.lang-dropdown.show { display: block; }
.lang-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    width: 100%;
    box-sizing: border-box;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.15s;
}
.lang-item:hover {
    background: var(--bg-gray);
    color: var(--primary-blue);
}
.lang-item .flag-img {
    height: 22px;
    width: 30px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}
.lang-item .lang-code {
    font-size: 15px;
    font-weight: 700;
    width: 34px;
    color: var(--primary-blue);
    flex-shrink: 0;
}
.lang-item .lang-name {
    font-size: 14px;
    flex: 1;
}

/* Pre-header language switcher positioning (removed) */

/* Top-bar language switcher override (light background) */
.top-bar-lang .lang-btn {
    color: var(--gray-900);
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 20px;
    padding: 5px 14px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}
.top-bar-lang .lang-btn .flag-img {
    height: 18px;
    width: 26px;
}
.top-bar-lang .lang-btn .lang-name {
    font-size: 12px;
    color: var(--gray-900);
}
.top-bar-lang .lang-btn:hover {
    background: var(--bg-gray);
    color: var(--primary-blue);
}
.top-bar-lang .lang-btn:hover .lang-name {
    color: var(--primary-blue);
}
.top-bar-lang .lang-dropdown {
    min-width: 0;
    width: max-content;
}
.top-bar-lang .lang-dropdown .lang-item {
    padding: 10px 14px;
    gap: 10px;
}
.top-bar-lang .lang-dropdown .lang-item .lang-name {
    font-size: 13px;
}

/* Mobile: language switcher styles */
@media (max-width: 768px) {
    .lang-switcher { position: relative; }
    .lang-dropdown {
        position: absolute !important;
        top: 100% !important;
        right: 0 !important;
        min-width: 180px;
        z-index: 99999;
        max-height: 70vh;
        overflow-y: auto;
        box-shadow: 0 4px 20px rgba(0,0,0,0.25);
        display: none;
    }
    .lang-dropdown.show {
        display: block;
    }
    .lang-btn {
        padding: 3px 6px;
        font-size: 11px;
    }
    .lang-btn .flag-img {
        height: 12px;
        width: 18px;
    }
    .lang-item {
        padding: 10px 14px;
        gap: 12px;
    }
    .lang-item .flag-img {
        height: 20px;
        width: 26px;
    }
    .lang-item .lang-code {
        font-size: 13px;
        width: 30px;
    }
    .lang-item .lang-name {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .lang-btn {
        padding: 3px 5px;
        font-size: 11px;
        gap: 4px;
    }
    .lang-btn .flag-img {
        height: 12px;
        width: 16px;
    }
    .lang-dropdown {
        min-width: 180px;
    }
    .lang-item {
        padding: 10px 12px;
        gap: 10px;
    }
    .lang-item .flag-img {
        height: 18px;
        width: 24px;
    }
    .lang-item .lang-code {
        font-size: 12px;
        width: 28px;
    }
    .lang-item .lang-name {
        font-size: 11px;
    }
}

/* ==========================================================
   New Homepage Layout Styles
   ========================================================== */

/* ---------- Section Header ---------- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header .section-title {
    margin-bottom: 12px;
}
.section-header .section-subtitle {
    color: var(--text-gray);
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- Hero Content Enhancement ---------- */
.hero-content {
    padding: 0;
}
/* ---------- Category Section ---------- */
.category-section {
    padding: 60px 20px;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.category-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid var(--light-gray);
    aspect-ratio: 4 / 3;
}
.card-img-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}
.category-card:hover .card-img {
    transform: scale(1.05);
}
.hover-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.82);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 -4px 14px rgba(0, 102, 204, 0.12);
    pointer-events: none;
    z-index: 3;
}
.card-img-wrap:hover .hover-info {
    transform: translateY(0);
    pointer-events: auto;
}
.hover-info h4 {
    color: var(--primary-blue);
    font-size: 18px;
    margin: 0 0 10px;
    font-weight: 700;
}
.hover-info ul {
    list-style: none;
    color: var(--gray-900);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px;
    padding: 0;
}
.hover-info ul li {
    margin: 0;
    padding: 0;
}
.learn-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.learn-btn:hover {
    background: var(--blue-hover);
}

/* ---------- Value Proposition Section ---------- */
.value-section {
    padding: 80px 20px;
    background-color: var(--bg-gray);
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.value-card {
    text-align: center;
}
.value-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.value-icon i {
    font-size: 40px;
    color: var(--gray-900);
}
.value-card h3 {
    font-size: 20px;
    color: var(--gray-900);
    margin: 0 0 16px;
    font-weight: 600;
}
.value-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* ---------- Feature Series Section ---------- */
.feature-section {
    padding: 60px 20px;
}
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 60px;
    align-items: center;
}
.feature-row:last-child {
    margin-bottom: 0;
}
/* 特色行反转（service-alt交替样式）：通过direction:rtl交换左右列，实现奇偶行图文交替 */
.feature-row--reverse {
    direction: rtl;
}
.feature-row--reverse > * {
    direction: ltr;
}
.feature-row-img {
    background: linear-gradient(135deg, var(--blue-tint) 0%, var(--blue-tint) 100%);
    border-radius: 12px;
    overflow: hidden;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}
.feature-row-img img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}
.feature-row-content {
    padding: 20px 0;
}
.feature-badge {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}
.feature-badge--blue {
    background: var(--primary-blue);
}
.feature-badge--green {
    background: var(--success-green);
}
.feature-row-content h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.feature-row-content > p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}
.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
    padding: 8px 0;
}
.feature-list li i {
    color: var(--primary-blue);
    font-size: 16px;
}

/* ---------- Trust Section ---------- */
.trust-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--blue-tint) 0%, var(--blue-tint) 100%);
}
.trust-container {
    max-width: 1200px;
    margin: 0 auto;
}
.trust-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.trust-story-img {
    height: 100%;
    min-height: 350px;
    background: linear-gradient(135deg, var(--blue-tint-hover) 0%, var(--blue-tint-hover) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.trust-story-img img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}
.trust-story-content {
    padding: 40px;
}
.trust-story-content h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}
.trust-story-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}
.trust-certs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.trust-cert-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.trust-cert-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.trust-cert-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.trust-cert-icon i {
    font-size: 24px;
    color: var(--white);
}
.trust-cert-item h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 600;
}
.trust-cert-item p {
    font-size: 13px;
    color: var(--text-gray);
}

/* ---------- Tabs Section ---------- */
.tabs-section {
    padding: 80px 20px;
    background: var(--white);
}
.tabs-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.tabs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-right: 1px solid var(--light-gray);
    padding-right: 30px;
}
.tab-nav {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}
.tab-nav:hover {
    background: var(--bg-gray);
}
.tab-nav.active {
    background: var(--blue-tint);
    border-left-color: var(--primary-blue);
}
.tab-num {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    min-width: 24px;
    transition: color 0.25s ease;
}
.tab-nav.active .tab-num {
    color: var(--primary-blue);
}
.tab-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-900);
    line-height: 1.4;
    transition: color 0.25s ease;
}
.tab-nav.active .tab-label {
    color: var(--primary-blue);
    font-weight: 600;
}
.tabs-content {
    position: relative;
    min-height: 400px;
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
    animation: fadeInTab 0.4s ease;
}
/* Tab切换动画：fadeInTab淡入+10px向上位移，让内容切换更顺滑有层次 */
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.tab-panel h3 {
    font-size: 28px;
    color: var(--gray-900);
    margin: 0 0 16px;
    font-weight: 700;
    line-height: 1.3;
}
.tab-panel p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0 0 24px;
}
.tab-panel img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

/* ---------- Contact Section ---------- */
.contact-section {
    padding: 80px 20px;
    background: var(--white);
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}
.contact-title {
    font-size: 32px;
    color: var(--gray-900);
    margin: 0 0 24px;
    font-weight: 700;
}
.contact-form .form-group {
    margin-bottom: 18px;
}
.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.contact-form label.required::after {
    content: ' *';
    color: var(--accent-red);
    font-weight: 400;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 14px;
    color: var(--gray-900);
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    font-family: inherit;
    background: var(--white);
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}
.checkbox-group,
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.checkbox-label,
.radio-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400 !important;
    color: var(--text-gray) !important;
    cursor: pointer;
    margin-bottom: 0 !important;
}
.checkbox-label input,
.radio-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-blue);
}
.contact-form .contact-btn {
    width: 100%;
    margin-top: 10px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border: none;
}
.contact-form .contact-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}
.contact-image {
    width: 100%;
}
.contact-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* ---------- Guarantee Section ---------- */
.guarantee-section {
    padding: 80px 20px;
    background: var(--bg-gray);
}
.guarantee-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}
.guarantee-intro .section-title {
    margin-bottom: 16px;
}
.guarantee-desc {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}
.table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.guarantee-table {
    width: 100%;
    border-collapse: collapse;
}
.guarantee-table thead {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}
.guarantee-table thead th {
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    text-align: left;
    white-space: nowrap;
}
.guarantee-table tbody td {
    padding: 18px 24px;
    font-size: 14px;
    color: var(--gray-900);
    line-height: 1.6;
    border-bottom: 1px solid var(--light-gray);
}
.guarantee-table tbody td strong {
    color: var(--primary-blue);
    font-weight: 600;
}
.guarantee-table tbody tr:last-child td {
    border-bottom: none;
}
.guarantee-table tbody tr:hover {
    background-color: var(--blue-tint);
}

/* ---------- CTA Section ---------- */
.cta-section {
    margin-top: 60px;
    padding: 50px 40px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue) 100%);
    border-radius: 12px;
    text-align: center;
    color: var(--white);
}
.cta-section h2 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 700;
}
.cta-section > p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-buttons .btn-primary {
    background: var(--accent-red);
    border: 2px solid var(--accent-red);
}
.cta-buttons .btn-primary:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
}
.cta-buttons .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.cta-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--dark-blue);
}

/* ---------- Responsive for New Layout ---------- */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .card-img {
        aspect-ratio: 1 / 0.85;
    }
    .hover-info {
        padding: 16px;
    }
    .hover-info h4 {
        font-size: 16px;
    }
    .hover-info ul {
        font-size: 13px;
        line-height: 1.5;
    }
    .learn-btn {
        padding: 7px 14px;
        font-size: 13px;
    }
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .value-card h3 {
        font-size: 18px;
    }
    .value-card p {
        font-size: 14px;
    }
    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    .value-icon i {
        font-size: 32px;
    }
    .trust-certs {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-row {
        gap: 40px;
    }
    .feature-row-content h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    /* 移动端：标题改为图片下方常显，仅隐藏描述与 Learn More */
    .category-card {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
    }
    .card-img-wrap {
        height: auto;
        aspect-ratio: auto;
        overflow: visible;
        flex: 0 0 auto;
    }
    .card-img {
        height: auto;
        aspect-ratio: 1 / 0.8;
    }
    .category-card:hover .card-img {
        transform: none;
    }
    .hover-info {
        position: static;
        transform: none;
        background: var(--white);
        box-shadow: none;
        pointer-events: auto;
        padding: 10px 8px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .hover-info h4 {
        font-size: 15px;
        margin: 0;
        line-height: 1.3;
    }
    .hover-info p,
    .hover-info .learn-btn {
        display: none;
    }
    .value-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .value-card h3 {
        font-size: 17px;
    }
    .value-card p {
        font-size: 14px;
    }
    .feature-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }
    .feature-row--reverse {
        direction: ltr;
    }
    .feature-row-img {
        min-height: 220px;
        padding: 20px;
    }
    .feature-row-content h3 {
        font-size: 22px;
    }
    .trust-story {
        grid-template-columns: 1fr;
    }
    .trust-story-img {
        min-height: 220px;
    }
    .trust-certs {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .guarantee-table thead th,
    .guarantee-table tbody td {
        padding: 14px 16px;
        font-size: 13px;
    }
    .cta-section {
        padding: 30px 20px;
    }
    .cta-section h2 {
        font-size: 22px;
    }
    .cta-section > p {
        font-size: 14px;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .cta-buttons .btn {
        width: 100%;
    }
    .hero-category-row {
        flex-direction: column;
        gap: 8px;
    }
    .hero-cat-divider {
        display: none;
    }
    .section-subtitle {
        font-size: 14px;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-title {
        font-size: 26px;
    }
    .partner-chips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .partner-chip {
        padding: 12px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .card-img {
        aspect-ratio: 1 / 0.85;
    }
    .hover-info {
        min-height: 44px;
        padding: 8px 6px;
    }
    .hover-info h4 {
        font-size: 13px;
    }
    .partner-chips {
        grid-template-columns: 1fr;
    }
    .value-grid {
        grid-template-columns: 1fr;
    }
    .trust-certs {
        grid-template-columns: 1fr;
    }
    .guarantee-table thead th,
    .guarantee-table tbody td {
        padding: 12px 14px;
        font-size: 12px;
    }
    .guarantee-intro {
        margin-bottom: 36px;
    }
    .feature-row-content h3 {
        font-size: 20px;
    }
    .trust-story-content {
        padding: 24px 20px;
    }
    .trust-story-content h3 {
        font-size: 20px;
    }
    .tabs-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .tabs-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--light-gray);
        padding-right: 0;
        padding-bottom: 20px;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .tab-nav {
        flex: 0 0 auto;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 10px 8px;
    }
    .tab-nav.active {
        border-left: none;
        border-bottom-color: var(--primary-blue);
        background: transparent;
    }
    .tab-num {
        display: none;
    }
    .tab-label {
        font-size: 13px;
    }
    .tab-panel h3 {
        font-size: 22px;
    }
    .tab-panel img {
        width: 90%;
    }
}

/* ========== 企业实力双端Tab布局优化（适配PC左侧固定菜单+移动端流式） ========== */
.tabs-section {
    padding: 70px 0;
}
.tabs-container {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 50px;
    align-items: start;
}
/* PC左侧固定序号侧边栏 */
.tabs-sidebar {
    position: sticky;
    top: 100px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    padding: 24px 0;
    overflow: hidden;
}
.tab-nav {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 24px;
    cursor: pointer;
    transition: all 0.24s ease;
    border-left: 3px solid transparent;
}
.tab-nav:hover {
    background: var(--blue-tint);
}
.tab-nav.active {
    background: var(--blue-tint);
    border-left-color: var(--primary-blue);
}
.tab-num {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue-tint);
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 600;
    transition: 0.24s;
}
.tab-nav.active .tab-num {
    background: var(--primary-blue);
    color: var(--white);
}
.tab-label {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    transition: 0.24s;
}
.tab-nav.active .tab-label {
    color: var(--primary-blue);
    font-weight: 600;
}
/* 右侧独立图文卡片 */
.tabs-content {
    min-height: 420px;
}
.content-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.06);
    padding: 36px;
}
.content-card h3 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}
.content-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 26px;
}
.content-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* ========== 移动端适配 ≤768px ========== */
@media screen and (max-width:768px) {
    .tabs-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .tabs-sidebar {
        border-right: none;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .tab-nav {
        padding: 16px 14px;
        border-radius: 8px 8px 0 0;
        border-left: none;
        border-bottom: 1px solid var(--light-gray);
        background: var(--white);
        flex: none;
        width: 100%;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 12px;
        position: relative;
    }
    .tab-nav:last-child {
        border-bottom: none;
    }
    .tab-nav.active {
        background: var(--blue-tint);
        border-left: none;
        border-bottom-color: var(--primary-blue);
        border-radius: 8px 8px 0 0;
    }
    .tab-nav.active + .tab-panel {
        display: block;
    }
    .tab-num {
        width: 26px;
        height: 26px;
        font-size: 13px;
        flex-shrink: 0;
        background: var(--blue-tint);
        color: var(--primary-blue);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }
    .tab-nav.active .tab-num {
        background: var(--blue-tint);
        color: var(--primary-blue);
    }
    .tab-label {
        font-size: 14px;
        font-weight: 600;
        color: var(--gray-900);
        flex: 1;
    }
    .tab-nav.active .tab-label {
        color: var(--primary-blue);
    }
    .tab-nav::after {
        content: '▾';
        font-size: 18px;
        color: var(--gray-500);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    .tab-nav.active::after {
        content: '▴';
        color: var(--primary-blue);
    }
    .tab-panel .content-card {
        padding: 20px 16px;
        border: 1px solid var(--light-gray);
        border-radius: 10px;
    }
    /* 移动端 7 个区块上下堆叠：左侧步骤条不再吸顶，避免 7 项列表遮挡内容 */
    .tabs-container .tabs-steps {
        position: static;
        top: auto;
        margin-bottom: 24px;
    }
    .content-card h3 {
        font-size: 20px;
    }
    .content-card img {
        width: 100%;
    }
}

/* ========== 首页企业实力：左侧 01–07 吸顶列表 + 右侧 7 个区块常显堆叠（滚动联动） ========== */
.tabs-section {
    padding: 70px 0;
}
.tabs-container {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}
.tabs-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
    padding-right: 24px;
    border-right: 1px solid var(--light-gray);
    position: sticky;
    top: 96px;
}
/* 移动端紧凑进度条触发器：>1024 隐藏，直接展示下方完整列表 */
.tabs-step-toggle {
    display: none;
}
.tabs-step-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tabs-steps .tab-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font: inherit;
    transition: border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}
.tabs-steps .tab-nav::after {
    content: none;
}
.tabs-steps .tab-nav:hover {
    background: var(--bg-gray);
    border-color: var(--light-gray);
}
.tabs-steps .tab-nav:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}
.tabs-steps .tab-nav.active {
    background: var(--blue-tint);
    border-color: var(--blue-tint);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
}
.tabs-steps .tab-num {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue-tint);
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 600;
    transition: 0.24s;
}
.tabs-steps .tab-nav.active .tab-num {
    background: var(--primary-blue);
    color: var(--white);
}
.tabs-steps .tab-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    line-height: 1.45;
    transition: 0.24s;
}
.tabs-steps .tab-nav.active .tab-label {
    color: var(--primary-blue);
    font-weight: 600;
}
.tabs-content {
    min-height: 0;
    /* 7 个区块自上而下常显堆叠，与左侧步骤条滚动联动（不再用 display 切换） */
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.tab-panel {
    display: block;
}
.content-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.06);
    padding: 36px;
}
.content-card h3 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}
.content-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 26px;
}
.content-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
@media screen and (max-width: 1024px) {
    /* 单列：进度条与 7 个区块在同一个块级容器内，sticky 才能贯穿整个区块 */
    .tabs-container {
        display: block;
    }
    .tabs-container .tabs-steps {
        display: block;
        position: sticky;
        top: var(--dt-header-h, 0px);
        z-index: 60;
        margin: 0 0 20px;
        padding: 0;
        border: 1px solid var(--light-gray);
        border-radius: 10px;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }
    .tabs-step-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 9px 14px;
        background: transparent;
        border: none;
        border-radius: 10px;
        font: inherit;
        cursor: pointer;
        text-align: left;
    }
    .tabs-step-toggle-num {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--primary-blue);
        color: var(--white);
        font-size: 12px;
        font-weight: 600;
    }
    .tabs-step-toggle-label {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 14px;
        font-weight: 600;
        color: var(--primary-blue);
    }
    .tabs-step-progress {
        flex-shrink: 0;
        font-size: 12px;
        color: var(--text-gray);
    }
    .tabs-step-toggle .fa {
        flex-shrink: 0;
        color: var(--gray-500);
        font-size: 15px;
        transition: transform 0.24s ease;
    }
    .tabs-steps.open .tabs-step-toggle .fa {
        transform: rotate(180deg);
    }
    /* 展开面板：绝对定位覆盖在正文之上，收起后不占位 */
    .tabs-steps .tabs-step-list {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        z-index: 61;
        max-height: 60vh;
        overflow-y: auto;
        padding: 8px;
        background: var(--white);
        border: 1px solid var(--light-gray);
        border-radius: 10px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    }
    .tabs-steps.open .tabs-step-list {
        display: flex;
    }
    .tabs-steps .tabs-step-list .tab-nav {
        border-color: transparent;
        background: transparent;
    }
    .tabs-steps .tabs-step-list .tab-nav.active {
        background: var(--blue-tint);
        border-color: var(--blue-tint);
        box-shadow: none;
    }
    .tabs-content {
        gap: 24px;
    }
}
@media screen and (max-width: 768px) {
    .tabs-section {
        padding: 36px 0 48px;
    }
    .tabs-steps .tab-nav {
        padding: 10px 12px;
        border-radius: 8px;
        gap: 9px;
    }
    .tabs-steps .tab-num {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    .tabs-steps .tab-label {
        font-size: 13px;
    }
    .content-card {
        padding: 20px 16px;
    }
    .content-card h3 {
        font-size: 20px;
    }
    .content-card img {
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
    .tabs-steps .tab-nav {
        padding: 11px 12px;
        gap: 10px;
    }
    .tabs-steps .tab-num {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    .tabs-steps .tab-label {
        font-size: 13px;
    }
}

/* ========== Article Cards Section ========== */
.articles-section {
    padding: 70px 0;
    background: var(--bg-gray);
}
.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 16px;
}
.articles-header .section-title {
    margin: 0;
}
.view-all-btn {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.view-all-btn:hover {
    color: var(--blue-hover);
}
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.article-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}
.article-card .card-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--white);
}
.article-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.article-card:hover .card-thumb img {
    transform: scale(1.05);
}
.article-card .card-thumb .placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: var(--blue-tint-hover);
}
.article-card .card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.article-card .card-title {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card .card-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card .card-read {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.article-card .card-read:hover {
    gap: 10px;
    color: var(--blue-hover);
}

.article-card .card-type-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    align-self: flex-start;
}
.article-card .blog-badge {
    display: none;
}
.article-card .faq-badge {
    background: var(--blue-tint);
    color: #e67e22;
}

.article-card.faq-home-card {
    flex-direction: row;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
}
.article-card.faq-home-card .faq-home-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
}
.article-card.faq-home-card .card-body {
    padding: 0;
}
.article-card.faq-home-card .card-title {
    -webkit-line-clamp: 2;
}
.article-card.faq-home-card .card-excerpt {
    -webkit-line-clamp: 2;
}

/* Blog & FAQ page with tabs */
.blog-faq-page {
    padding: 60px 0 30px;
}
/* 博客/FAQ 列表与下方 Cross-links section 紧贴，消除白色空隙 */
.blog-faq-page ~ .section {
    margin-top: 0;
}
.section-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--light-gray);
    margin-bottom: 40px;
}
.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover {
    color: var(--primary-blue);
}
.tab-btn.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}
.tab-btn i {
    font-size: 15px;
}
.tab-count {
    display: inline-block;
    background: var(--bg-gray);
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 11px;
    padding: 0 7px;
}
.tab-btn.active .tab-count {
    background: var(--primary-blue);
    color: var(--white);
}

/* FAQ 结构化问答：分类筛选 + 手风琴折叠 */
.faq-accordion-page {
    padding: 56px 0 64px;
    background: var(--white);
}
.faq-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.faq-filter {
    appearance: none;
    border: 1px solid var(--light-gray);
    background: var(--white);
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.faq-filter:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}
.faq-filter.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item:hover {
    border-color: var(--primary-blue);
}
.faq-item.open {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 26px;
    background: none;
    border: 0;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    min-height: 56px;
}
.faq-question:hover {
    color: var(--primary-blue);
}
.faq-q-text {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}
/* Q / A 标记：轻量、与正文首行基线对齐；作为独立弹性列，换行后自然悬挂缩进 */
.faq-marker {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-gray);
    opacity: 0.55;
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
}
.faq-q-text .faq-marker {
    line-height: 24px;
}
.faq-q-body {
    flex: 1;
    min-width: 0;
}
.faq-q-icon {
    flex-shrink: 0;
    color: var(--primary-blue);
    font-size: 14px;
    transition: transform 0.25s;
}
.faq-item.open .faq-q-icon {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0 26px 22px;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 500;
    color: #3f4f5b;
}
/* 答案标记与 15px/1.75 的正文行高保持一致，保证首行对齐 */
.faq-answer-inner .faq-marker {
    line-height: 26px;
}
.faq-answer-body {
    flex: 1;
    min-width: 0;
}
.faq-answer-inner p { margin: 0 0 10px; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner ul,
.faq-answer-inner ol { margin: 0 0 10px; padding-left: 22px; }
.faq-answer-inner a {
    color: var(--primary-blue);
    text-decoration: underline;
}
.faq-empty {
    padding: 48px 20px;
    text-align: center;
    color: var(--text-gray);
}

/* Pagination controls */
.pagination-wrap {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pagination .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pagination .page-btn:hover:not(:disabled):not(.active) {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}
.pagination .page-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--white);
}
.pagination .page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.pagination .page-ellipsis {
    color: var(--text-gray);
    padding: 0 4px;
    user-select: none;
}

/* Article cards on blog page */
.articles-list-page {
    padding: 70px 0;
}
.articles-list-page .articles-grid {
    gap: 28px;
}

/* Single article view */
.article-single {
    padding: 70px 0;
}
.article-single .article-container {
    max-width: 820px;
    margin: 0 auto;
}
.article-single h1 {
    font-size: 32px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}
.article-single .article-author {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.article-single .article-author i {
    font-size: 16px;
    color: var(--primary-blue);
}
.article-single .article-meta {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.article-single .article-cover {
    width: 100%;
    max-height: 500px;
    border-radius: 10px;
    margin-bottom: 32px;
    object-fit: contain;
}
.article-single .article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}
.article-single .article-content h2 {
    font-size: 22px;
    color: var(--text-dark);
    margin: 28px 0 14px;
    font-weight: 700;
}
.article-single .article-content p {
    margin-bottom: 16px;
}
.article-single .article-content ul,
.article-single .article-content ol {
    padding-left: 22px;
    margin-bottom: 16px;
}
.article-single .article-content li {
    margin-bottom: 8px;
}

/* ========== Articles Section Responsive ========== */
@media screen and (max-width: 900px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 600px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .articles-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .article-single h1 {
        font-size: 24px;
    }
}

/* Article tags on single article page */
.article-tags {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}
.tag-item {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    background: var(--blue-tint);
    color: var(--primary-blue);
    border-radius: 12px;
}

/* ========== Factory Banner Section ========== */
.factory-banner {
    width: 100%;
    height: 600px;
    position: relative;
    background: url('../images/manufacturing/factory-showroom.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}
.factory-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
.banner-content {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
}
.banner-left .main-title {
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--white);
}
.title-line {
    width: 100px;
    height: 3px;
    background: var(--primary-blue);
    margin-bottom: 40px;
}
.data-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.data-item .num {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 6px;
}
.data-item .desc {
    font-size: 16px;
    opacity: 0.9;
}
.banner-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.advantage-card {
    text-align: center;
    color: var(--white);
    transition: none;
}
.advantage-card * {
    transition: none !important;
}
.advantage-card .card-icon {
    fill: var(--white) !important;
    transition: none !important;
}
.advantage-card .card-title {
    color: var(--white) !important;
    transition: none !important;
}
.advantage-card .card-text {
    color: var(--white) !important;
    transition: none !important;
}
.advantage-card:hover,
.advantage-card:active,
.advantage-card:focus {
    color: var(--white) !important;
    background: transparent !important;
    transform: none !important;
    transition: none !important;
}
.advantage-card:hover .card-icon {
    fill: var(--white) !important;
}
.advantage-card:hover .card-title,
.advantage-card:hover .card-text {
    color: var(--white) !important;
}
.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    fill: var(--white);
}
.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}
.card-text {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.88;
}

/* Factory Banner Responsive */
@media (max-width: 1024px) {
    .banner-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }
    .banner-right {
        grid-template-columns: repeat(2, 1fr);
    }
    .factory-banner {
        height: auto;
        padding: 80px 0;
    }
}
@media (max-width: 640px) {
    .banner-right {
        grid-template-columns: 1fr;
    }
    .banner-left .main-title {
        font-size: 28px;
    }
    .data-item .num {
        font-size: 32px;
    }
    .card-title {
        font-size: 18px;
    }
}

/* ========== Product Detail Page Styles ========== */
.pd-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
/* 原版视觉：左右约 5:6 分栏（左图集 / 右信息） */
.pd-two-col.left-wide {
    grid-template-columns: 5fr 6fr;
}
.pd-two-col > * {
    min-width: 0;
}

/* Gallery */
.pd-gallery {
    max-width: 500px;
}
/* 详情由接口异步渲染：预留桌面/移动端最终高度，避免加载占位被替换时产生大幅 CLS */
#product-detail-root { min-height: 721px; }
.pd-main-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    touch-action: pan-y;
}
.pd-main-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
}
/* 主图轮播左右箭头 */
.pd-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, color 0.2s;
}
.pd-nav:hover {
    background: var(--primary-blue);
    color: #fff;
}
.pd-nav-prev { left: 10px; }
.pd-nav-next { right: 10px; }
/* 图片序号 */
.pd-counter {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 2px 9px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 12px;
    line-height: 1.6;
    z-index: 2;
    font-variant-numeric: tabular-nums;
}

/* Thumbnails */
.pd-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.pd-thumb {
    aspect-ratio: 1 / 1;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-gray);
    transition: border-color 0.2s;
}
.pd-thumb:hover {
    border-color: var(--primary-blue);
}
.pd-thumb.active {
    border-color: var(--primary-blue);
}
.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Color thumbs */
.pd-color-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.pd-color-thumb {
    width: 60px;
    height: 60px;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-color-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Product info sections */
.pd-two-col h1 {
    color: var(--text-dark);
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 6px;
}
.pd-two-col .product-actions {
    display: flex;
    flex-direction: column;
    margin-top: 18px;
    gap: 8px;
    align-items: stretch;
}
.pd-two-col .product-actions > div:last-child {
    display: flex;
    gap: 8px;
}

/* Spec table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.spec-table th,
.spec-table td {
    padding: 12px 16px;
    border: 1px solid var(--border-gray);
    text-align: left;
}
.spec-table th {
    background: var(--bg-gray);
    color: var(--text-dark);
    font-weight: 600;
    width: 40%;
}
.spec-table td {
    color: var(--text-gray);
}

/* Product detail: selling points / key specs / tabs / content blocks */
.pd-points {
    margin: 16px 0;
}
.pd-points h3 {
    font-size: 15px;
    color: var(--text-dark);
    margin: 0 0 8px;
    font-weight: 600;
}
.pd-points ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}
.pd-points li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
}
.pd-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-blue);
}
.pd-points li strong {
    color: var(--text-dark);
    margin-right: 4px;
}
.pd-key-specs {
    margin: 16px 0;
    font-size: 13px;
}
.pd-key-specs th {
    width: 42%;
    padding: 8px 12px;
    background: var(--bg-gray);
}
.pd-key-specs td {
    padding: 8px 12px;
}
.pd-tabs {
    display: flex;
    gap: 6px;
    border-bottom: none;
    margin-bottom: 28px;
    flex-wrap: nowrap;
    width: 100%;
}
.pd-tab-btn {
    appearance: none;
    background: #eef1f5;
    border: none;
    border-radius: 4px 4px 0 0;
    padding: 12px 18px;
    font-size: 15px;
    font-family: inherit;
    color: #5a6472;
    cursor: pointer;
    font-weight: 500;
    flex: 1 1 50%;
    text-align: center;
}
.pd-tab-btn:hover { color: var(--text-dark); }
.pd-tab-btn.active {
    background: var(--primary-blue);
    color: #fff;
    font-weight: 600;
}
.pd-warranty {
    max-width: 900px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
}
.pd-blocks .pd-block {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}
.pd-blocks .pd-block:last-child { margin-bottom: 0; }
.pd-blocks .pd-block.img-right .pd-block-media { order: 2; }
.pd-blocks .pd-block.no-media { grid-template-columns: 1fr; }
.pd-block-media img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}
.pd-block-body .section-title {
    text-align: left;
    margin-bottom: 14px;
}
.pd-block-body p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
    margin: 0 0 12px;
}

/* Responsive */
/* Product description content */
.pd-description {
    max-width: 900px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
}
.pd-description h2 {
    font-size: 20px;
    color: var(--text-dark);
    margin: 0 0 12px;
    font-weight: 600;
}
.pd-description h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin: 20px 0 10px;
    font-weight: 600;
}
.pd-description p {
    margin: 0 0 12px;
}
.pd-description ul,
.pd-description ol {
    margin: 0 0 12px 20px;
    padding: 0;
}
.pd-description li {
    margin-bottom: 6px;
}
.pd-description p {
    margin: 0 auto 12px;
}
.pd-description img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

/* 原版详情页：标题 / 价格 / 商品参数列表 / 数量 + 询盘 / 完整规格表 */
.pd-title {
    color: var(--text-dark);
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 8px;
}
.pd-price {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 700;
    margin: 0 0 18px;
}
.pd-params-html {
    font-size: 14px;
    line-height: 1.85;
    color: var(--text-gray);
}
.pd-params-html div,
.pd-params-html p {
    line-height: 1.85;
    margin: 0 0 2px;
}
.pd-two-col .pd-buy-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
}
.pd-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-gray);
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
    flex: 0 0 auto;
}
.pd-qty-btn {
    width: 30px;
    height: 38px;
    border: none;
    background: #fff;
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}
.pd-qty-btn:hover { background: var(--bg-gray); }
.pd-qty-input {
    width: 46px;
    height: 38px;
    border: none;
    border-left: 1px solid var(--border-gray);
    border-right: 1px solid var(--border-gray);
    text-align: center;
    font-size: 14px;
    color: var(--text-dark);
    background: #fff;
    outline: none;
}
.pd-buy-row .btn-inquiry {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 3px;
}
.pd-empty-img {
    position: relative;
    height: 380px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d5dde6;
    font-size: 140px;
}
.pd-complete-section .section-title { margin-bottom: 26px; }
.pd-complete-specs-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border-gray);
}
.pd-complete-specs {
    width: 100%;
    border-collapse: collapse;
}
.pd-complete-specs th,
.pd-complete-specs td {
    background: #fff;
    border: 1px solid var(--border-gray);
    padding: 11px 16px;
    font-size: 13px;
    text-align: left;
}
.pd-complete-specs th {
    width: 50%;
    color: var(--text-dark);
    font-weight: 600;
}
.pd-complete-specs td { color: var(--text-dark); }

@media (max-width: 768px) {
    .pd-buy-row { flex-wrap: wrap; }
    .pd-buy-row .btn-inquiry { flex: 1 1 100%; }
    .pd-two-col,
    .pd-two-col.left-wide {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pd-gallery {
        max-width: 100%;
    }
    #product-detail-root {
        min-height: 1080px;
    }
    .pd-main-img {
        aspect-ratio: 4 / 3;
    }
    .pd-nav {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
    .pd-nav-prev { left: 6px; }
    .pd-nav-next { right: 6px; }
    .pd-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
    .spec-table th,
    .spec-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    .pd-description img {
        margin: 16px auto;
    }
    .pd-tab-btn {
        flex: 1 1 auto;
        padding: 10px 8px;
        font-size: 14px;
    }
    .pd-blocks .pd-block {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 36px;
    }
    .pd-blocks .pd-block.img-right .pd-block-media { order: 0; }
}

/* ========== Service Page Styles ========== */
.service-alt {
    padding: 60px 0;
}
.service-alt.gray {
    background-color: var(--bg-gray);
}
.service-alt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.service-alt-row.reverse {
    direction: rtl;
}
.service-alt-row.reverse > * {
    direction: ltr;
}
.service-alt-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}
.service-alt-text h2 {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}
.service-alt-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Service info cards */
.service-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}
.service-info-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    overflow: hidden;
}
.service-info-card.full-width {
    grid-column: 1 / -1;
}
.service-info-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 14px 20px;
    font-weight: 600;
    font-size: 15px;
}
.service-info-body {
    padding: 18px 20px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Customers table */
.service-customers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.service-customers-table th,
.service-customers-table td {
    padding: 10px 16px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}
.service-customers-table th {
    background: var(--bg-gray);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 13px;
}
.service-customers-table td {
    color: var(--text-gray);
}

/* Service gallery */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.service-gallery-item {
    text-align: center;
}
.service-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-gray);
    margin-bottom: 14px;
}
.service-gallery-item p {
    color: var(--primary-blue);
    font-size: 15px;
    font-weight: 600;
}

/* Service page responsive */
@media (max-width: 768px) {
    .service-alt {
        padding: 40px 0;
    }
    .service-alt-row,
    .service-alt-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr;
    }
    .service-alt-text h2 {
        font-size: 22px;
    }
    .service-info-grid {
        grid-template-columns: 1fr;
    }
    .service-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .service-gallery-item img {
        height: 150px;
    }
}
@media (max-width: 480px) {
    .service-gallery {
        grid-template-columns: 1fr;
    }
    .service-customers-table th,
    .service-customers-table td {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* ==========================================================
   Cookie Consent Banner (GDPR)
   ========================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(96, 96, 96, 0.85);
    color: #ffffff;
    padding: 24px 32px;
    display: flex;
    gap: 24px;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}
.cookie-banner.collapsed {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}
.cookie-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: #ffffff;
}
.cookie-text a {
    color: #42a5ff;
    text-decoration: underline;
}
.cookie-text a:hover {
    color: #7bb8ff;
}
.cookie-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}
.btn-manage {
    border: 2px solid #42a5ff;
    background: transparent;
    color: #42a5ff;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s, color 0.2s;
    font-family: inherit;
}
.btn-manage:hover {
    background-color: #42a5ff;
    color: #ffffff;
}
.btn-accept {
    background-color: #2185f5;
    border: 2px solid #2185f5;
    color: white;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s, border-color 0.2s;
    font-family: inherit;
}
.btn-accept:hover {
    background-color: #1a6fd1;
    border-color: #1a6fd1;
}

/* Cookie Management Panel */
.cookie-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}
.cookie-panel-overlay.active {
    display: flex;
}
.cookie-panel {
    background-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #333;
    border-radius: 8px;
    max-width: 520px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.cookie-panel h2 {
    font-size: 22px;
    color: #13254b;
    margin-bottom: 16px;
}
.cookie-panel p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 16px;
}
.cookie-category {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 12px;
}
.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.cookie-category-title {
    font-weight: 600;
    font-size: 15px;
    color: #13254b;
}
.cookie-category-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}
.cookie-switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}
.cookie-switch input:checked + .cookie-switch-slider {
    background-color: #2185f5;
}
.cookie-switch input:checked + .cookie-switch-slider:before {
    transform: translateX(20px);
}
.cookie-switch input:disabled + .cookie-switch-slider {
    opacity: 0.5;
    cursor: not-allowed;
}
.cookie-panel-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}
.cookie-panel-close {
    background-color: #f0f0f0;
    border: none;
    color: #333;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    font-family: inherit;
}
.cookie-panel-close:hover {
    background-color: #e0e0e0;
}
.cookie-panel-save {
    background-color: #2185f5;
    border: none;
    color: white;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    font-family: inherit;
}
.cookie-panel-save:hover {
    background-color: #1a6fd1;
}

/* Cookie banner responsive */
@media (max-width: 900px) {
    .cookie-banner {
        flex-direction: column;
        padding: 16px 20px;
        gap: 16px;
    }
    .cookie-text {
        font-size: 14px;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    .btn-manage,
    .btn-accept {
        padding: 10px 20px;
        font-size: 13px;
    }
}
@media (max-width: 480px) {
    .cookie-banner {
        padding: 14px 16px;
    }
    .cookie-text {
        font-size: 13px;
    }
    .cookie-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .btn-manage,
    .btn-accept {
        width: 100%;
        padding: 10px 16px;
    }
    .cookie-panel {
        padding: 24px 20px;
    }
}

/* =====================================================================
   B2B Upgrade (2026-09-18) — new classes for certifications /
   manufacturing / quality-control / markets / distributor pages,
   about.html Company at a Glance, oem.html process, datasheets
   download center, contact B2B form, articles B2B blog.
   Reuses existing variables and design language.
   ===================================================================== */

/* ---------- Stats grid (Company at a Glance, Manufacturing capacity) ---------- */
/* 3-col on desktop, wraps to 2-col on tablet / mobile */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1100px;
    margin: 28px auto 0;
}
/* Markets 页 Quick Stats 正好 5 张 → 一行 5 个 */
#markets-quick-stats .stats-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: 1200px;
    gap: 14px;
}
#markets-quick-stats .stat-tile { padding: 18px 12px; }
.stats-grid .stat-tile {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    padding: 22px 16px;
    text-align: center;
    transition: all 0.2s;
}
.stats-grid .stat-tile:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.stats-grid .stat-tile .stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 6px;
    display: block;
}
.stats-grid .stat-tile .stat-label {
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 600;
    line-height: 1.3;
    display: block;
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Markets: product range comparison table ---------- */
.range-title {
    margin: 40px 0 10px;
    font-size: 22px;
    color: var(--text-dark);
    text-align: center;
}
.range-sub {
    max-width: 820px;
    margin: 0 auto 22px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    text-align: center;
}
.range-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
}
.range-table th {
    background: var(--blue-tint);
    color: var(--text-dark);
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 18px;
}
.range-table td {
    padding: 12px 18px;
    border-top: 1px solid var(--gray-100);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
    vertical-align: top;
}
.range-table td:first-child {
    width: 32%;
    font-weight: 700;
    color: var(--text-dark);
}
@media (max-width: 640px) {
    .range-table { border: none; background: transparent; }
    .range-table thead { display: none; }
    .range-table tbody,
    .range-table tr,
    .range-table td { display: block; width: 100%; }
    .range-table tr {
        background: var(--white);
        border: 1px solid var(--border-gray);
        border-radius: 8px;
        margin-bottom: 12px;
        padding: 4px 0;
    }
    .range-table td {
        border-top: none;
        padding: 7px 16px;
    }
    .range-table td:first-child {
        padding-top: 13px;
        font-size: 15px;
    }
    .range-table td:last-child { padding-bottom: 14px; }
}

/* ---------- Facility gallery (about.html) ---------- */
.facility-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 1100px;
    margin: 28px auto 0;
}
.facility-gallery .facility-thumb {
    aspect-ratio: 4/3;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-gray);
    border: 1px solid var(--border-gray);
    position: relative;
}
.facility-gallery .facility-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.facility-gallery .facility-thumb:hover img { transform: scale(1.05); }
.facility-gallery .facility-thumb .facility-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 18px 12px 8px;
    text-align: left;
}
@media (max-width: 768px) {
    .facility-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .facility-gallery { grid-template-columns: 1fr; }
}

/* ---------- Process flow (manufacturing & OEM process) ---------- */
/* Horizontal arrow chain: card → arrow → card → arrow ... */
.process-flow {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 4px;
    justify-content: center;
    margin: 32px auto 0;
    max-width: 100%;
}
.process-flow .step {
    flex: 1 1 0;
    min-width: 0;
    max-width: 140px;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-top: 3px solid var(--primary-blue);
    border-radius: 6px;
    padding: 12px 8px;
    text-align: center;
    position: relative;
}
.process-flow .step .step-num {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    line-height: 22px;
    margin-bottom: 6px;
}
.process-flow .step .step-name {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.25;
    display: block;
}
.process-flow .step-arrow {
    flex: 0 0 auto;
    align-self: center;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 700;
    padding: 0 2px;
}
@media (max-width: 1200px) {
    .process-flow .step { max-width: 120px; padding: 10px 6px; }
    .process-flow .step .step-name { font-size: 10.5px; }
    .process-flow .step-arrow { font-size: 12px; padding: 0 1px; }
}
@media (max-width: 768px) {
    .process-flow { flex-wrap: wrap; }
    .process-flow .step { max-width: 140px; flex: 1 1 40%; }
    .process-flow .step-arrow { display: none; }
}

/* ---------- OEM 3-stage process ---------- */
.process-stages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 32px auto 0;
}
.process-stage {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-top: 3px solid var(--primary-blue);
    border-radius: 8px;
    padding: 24px 22px;
}
.process-stage .stage-num {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.process-stage h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0 0 8px;
}
.process-stage .stage-time {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    background: var(--blue-tint);
    border-radius: 12px;
    padding: 3px 12px;
    margin-bottom: 14px;
}
.process-stage ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.process-stage li {
    position: relative;
    padding: 6px 0 6px 18px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-gray);
}
.process-stage li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-blue);
}
.process-stage p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0;
}
@media (max-width: 900px) {
    .process-stages { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- B2B CTA bar (bottom of detail-style pages) ---------- */
.b2b-cta-bar {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    color: var(--white);
    padding: 36px 20px;
    text-align: center;
    margin: 40px 0 0;
}
/* CTA Bar 紧贴上一个 section，消除中间白色空白间隙 */
.section + .b2b-cta-bar {
    margin-top: -50px;
}
.b2b-cta-bar h3 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 8px;
}
.b2b-cta-bar p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    max-width: 720px;
    margin: 0 auto 20px;
}
.b2b-cta-bar .b2b-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.b2b-cta-bar .btn { padding: 12px 24px; font-size: 14px; }

/* ---------- Generic .b2b-cta-buttons: equal-width & equal-height buttons ---------- */
.b2b-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: stretch;
}
.b2b-cta-buttons .btn {
    flex: 0 0 auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 12px 18px;
    font-size: 14px;
}
/* 多按钮场景：2 个及以上按钮时仍保持等宽并排 */
@media (min-width: 769px) {
    .b2b-cta-buttons .btn:first-child:nth-last-child(2),
    .b2b-cta-buttons .btn:first-child:nth-last-child(2) ~ .btn,
    .b2b-cta-buttons .btn:first-child:nth-last-child(3),
    .b2b-cta-buttons .btn:first-child:nth-last-child(3) ~ .btn,
    .b2b-cta-buttons .btn:first-child:nth-last-child(4),
    .b2b-cta-buttons .btn:first-child:nth-last-child(4) ~ .btn {
        flex: 1 1 0;
    }
}
@media (max-width: 768px) {
    .b2b-cta-buttons .btn {
        flex: 1 1 100%;
        width: 100%;
    }
}
.b2b-cta-bar .btn-primary { background: var(--accent-red); color: var(--white); }
.b2b-cta-bar .btn-primary:hover { background: var(--red-hover); }
.b2b-cta-bar .btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}
.b2b-cta-bar .btn-outline:hover { background: var(--white); color: var(--dark-blue); }

/* ---------- Cert two-column layout (content-block + cert-image-card side by side) ---------- */
.cert-side-by-side {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 36px;
    align-items: start;
    margin-top: 24px;
}
.cert-side-by-side .cert-col-left {
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
}
.cert-side-by-side .cert-col-right { min-width: 0; }
.cert-side-by-side .card-grid { max-width: 100%; margin: 0; }
.cert-side-by-side .cert-image-card { margin: 0 auto; }

@media (max-width: 900px) {
    .cert-side-by-side {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .cert-side-by-side .cert-col-right {
        display: flex;
        justify-content: center;
    }
    .cert-side-by-side .cert-image-card {
        max-width: 480px;
        width: 100%;
    }
}

/* ---------- Certification card — B Variant (horizontal layout: image left + info right) ---------- */
.cert-card {
    background: #ffffff;
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}
.cert-card .cert-image {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/4;
}
.cert-card .cert-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.cert-card .cert-info {
    display: flex;
    flex-direction: column;
}
.cert-card .cert-info h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-blue);
}
.cert-card .cert-meta {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px 14px;
    margin-bottom: 24px;
}
.cert-card .cert-meta .label {
    font-weight: 700;
    color: #666;
    font-size: 14px;
}
.cert-card .cert-meta .value {
    font-size: 14px;
    color: #222;
    line-height: 1.55;
}
.cert-card .btn {
    align-self: flex-start;
}
@media (max-width: 960px) {
    .cert-card {
        grid-template-columns: 1fr;
    }
    .cert-card .cert-image {
        max-width: 320px;
        margin: 0 auto;
    }
    .cert-card .cert-meta {
        grid-template-columns: 1fr;
        gap: 4px 0 10px 0;
    }
    .cert-card .cert-meta .label {
        color: var(--primary-blue);
    }
}

/* ---------- Certification image card (legacy: vertical, kept for datasheets bottom) ---------- */
.cert-image-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
}
.cert-image-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.cert-image-card .cert-image-wrap {
    background: var(--bg-gray);
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 14px;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 380px;
}
.cert-image-card .cert-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.cert-image-card h3 {
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 8px;
}
.cert-image-card p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.5;
}
.cert-image-card .cert-meta {
    font-size: 11px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

/* ---------- Certification summary table + simplified cert modules ---------- */
.cert-summary-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
    border-radius: 10px;
    border: 1px solid var(--border-gray);
    background: var(--white);
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}
.cert-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 760px;
}
.cert-summary-table thead th {
    background: var(--primary-blue);
    color: #fff;
    padding: 14px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255,255,255,0.18);
}
.cert-summary-table thead th:last-child { border-right: none; }
.cert-summary-table tbody td {
    padding: 16px 14px;
    vertical-align: top;
    color: #222;
    line-height: 1.55;
    border-top: 1px solid var(--border-gray);
    border-right: 1px solid var(--border-gray);
}
.cert-summary-table tbody td:last-child { border-right: none; }
.cert-summary-table tbody tr:nth-child(odd) { background: #fff; }
.cert-summary-table tbody tr:nth-child(even) { background: var(--blue-tint); }
.cert-summary-table tbody tr:hover { background: rgba(var(--primary-blue-rgb, 0,90,170), 0.06); }
.cert-summary-table tbody td:first-child {
    font-weight: 700;
    color: var(--primary-blue);
    white-space: nowrap;
}
.cert-action-link {
    display: inline-block;
    padding: 7px 14px;
    background: var(--primary-blue);
    color: #fff !important;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.cert-action-link:hover { background: var(--dark-blue); }

/* Cert module card (H2 + description + button) */
.cert-module .cert-module-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    padding: 36px 36px 32px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.cert-module .cert-module-card p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Request button (≥44px tap target, mobile-friendly) */
.cert-request-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px !important;
    font-size: 15px !important;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    line-height: 1.3;
}

/* In-card FDA disclaimer — embedded inside cert-module-card */
.cert-module-card .cert-disclaimer-in-card {
    margin: 24px 0 0;
    max-width: 100%;
    text-align: left;
    font-size: 13px;
}

@media (max-width: 768px) {
    .cert-module .cert-module-card {
        padding: 26px 18px 22px;
    }
    .cert-module .cert-module-card p {
        font-size: 14px;
    }
    .cert-request-btn {
        width: 100%;
        max-width: 360px;
        padding: 14px 18px !important;
        font-size: 14px !important;
    }
    .cert-summary-table {
        font-size: 12px;
    }
    .cert-summary-table thead th,
    .cert-summary-table tbody td {
        padding: 10px 10px;
    }
}

/* ---------- Market / partner / application cards (extend info-card) ---------- */
.market-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s;
}
.market-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.market-card .market-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--blue-tint);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.market-card h3 {
    color: var(--text-dark);
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 700;
}
.market-card p {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

/* Application scenario card (with product list) */
.application-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    padding: 22px;
    transition: all 0.2s;
}
.application-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(0,0,0,0.07);
}
.application-card .app-icon {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    display: inline-block;
}
.application-card h3 {
    color: var(--text-dark);
    font-size: 17px;
    margin-bottom: 8px;
    font-weight: 700;
}
.application-card p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 12px;
}
.application-card .app-products {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.application-card .app-products li {
    font-size: 11px;
    color: var(--primary-blue);
    background: var(--blue-tint);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

/* Partner support card (distributor.html) */
.partner-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    padding: 22px;
    transition: all 0.2s;
    height: 100%;
}
.partner-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.partner-card .partner-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--blue-tint);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}
.partner-card h3 {
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 700;
}
.partner-card p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Distributor page — two-column bullet groups (replaces title-only card grids)
   ========================================================================== */
.bullet-columns {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1080px;
    columns: 2;
    column-gap: 48px;
}
.bullet-columns li {
    position: relative;
    break-inside: avoid;
    padding: 7px 0 7px 22px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}
.bullet-columns li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 15px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-blue);
}
.bullet-columns li small {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-gray);
}
@media screen and (max-width: 768px) {
    .bullet-columns {
        columns: 1;
        column-gap: 0;
        max-width: none;
    }
    .bullet-columns li {
        font-size: 14px;
    }
}

/* ==========================================================================
   Download Center — Full Catalog hero, category cards, modal lead form
   ========================================================================== */
.catalog-hero {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: center;
    margin-top: 24px;
    padding: 28px;
    background: linear-gradient(135deg, #f7f9fc 0%, #eef3f9 100%);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
}
.catalog-cover {
    text-align: center;
}
.catalog-cover img {
    max-width: 100%;
    max-height: 360px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.catalog-info h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin: 0 0 14px;
}
.catalog-include-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 18px;
}
.catalog-include-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--text-dark);
}
.catalog-include-list li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    font-size: 13px;
}
@media (max-width: 900px) {
    .catalog-hero { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
    .catalog-cover img { max-height: 280px; }
    .catalog-include-list { grid-template-columns: 1fr; }
}

/* OEM resource cards — list of features */
.oem-resource-card .oem-guide-list,
.oem-resource-card .oem-form-fields {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 14px;
    font-size: 13px;
}
.oem-resource-card .oem-guide-list li,
.oem-resource-card .oem-form-fields li {
    position: relative;
    padding-left: 18px;
    color: var(--text-dark);
}
.oem-resource-card .oem-guide-list li::before,
.oem-resource-card .oem-form-fields li::before {
    content: '\f105';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
}

/* ---------- B2B blog card (slight variant of article-card) ---------- */
/* Reuses .article-card base; this just adds badge color for B2B sourcing */
.article-card.b2b-card .card-type-badge {
    background: var(--blue-tint);
    color: var(--primary-blue);
    display: inline-block;
}

/* ---------- OEM customization grid item ---------- */
.oem-custom-item {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.2s;
}
.oem-custom-item:hover {
    border-color: var(--primary-blue);
    background: var(--blue-tint);
    transform: translateY(-2px);
}
.oem-custom-item .oem-custom-icon {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 8px;
    display: block;
}
.oem-custom-item .oem-custom-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
}

/* ---------- B2B contact form (extended fields) ---------- */
.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 768px) {
    .form-row-two { grid-template-columns: 1fr; }
}
.form-field-required::after {
    content: ' *';
    color: var(--accent-red);
}

/* ---------- Certificate / compliance inline note ---------- */
.compliance-note {
    background: var(--blue-tint);
    border-left: 3px solid var(--primary-blue);
    padding: 14px 18px;
    border-radius: 0 6px 6px 0;
    margin: 20px auto;
    max-width: 900px;
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.7;
}
.compliance-note strong { color: var(--text-dark); }

/* ---------- Regulatory & Quality Compliance cards (Tab 07) ---------- */
.regulatory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 20px 0;
}
.regulatory-item {
    padding: 18px 14px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    background: #fafafa;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.regulatory-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
    transform: translateY(-2px);
}
.regulatory-item-title {
    font-size: 22px;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: .5px;
}
.regulatory-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.regulatory-item-list li {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    padding: 6px 0;
    border-bottom: 1px dashed #e8e8e8;
}
.regulatory-item-list li:last-child { border-bottom: none; }
@media (max-width: 768px) {
    .regulatory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .regulatory-grid { grid-template-columns: 1fr; }
}

/* ---------- Highlight bullets (product highlight list on detail pages) ---------- */
.highlight-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 900px;
}
.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.5;
}
.highlight-list li i {
    color: var(--primary-blue);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .highlight-list { grid-template-columns: 1fr; }
}

/* ---------- Responsive tweaks for new card grids ---------- */
@media (max-width: 992px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .card-grid { grid-template-columns: 1fr; }
}

/* ---------- 首页采购价值卡（4 列，左对齐） ---------- */
.value-grid.value-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.value-grid.value-grid-4 .value-card { text-align: left; }
.value-grid.value-grid-4 .value-icon {
    width: 56px;
    height: 56px;
    margin: 0 0 20px;
    background: #f2f6ff;
    border-radius: 12px;
}
.value-grid.value-grid-4 .value-icon i {
    font-size: 26px;
    color: var(--primary-blue);
}
@media (max-width: 1024px) {
    .value-grid.value-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 768px) {
    .value-grid.value-grid-4 { gap: 24px; }
    .value-grid.value-grid-4 .value-card { text-align: center; }
    .value-grid.value-grid-4 .value-icon { margin: 0 auto 16px; }
}
@media (max-width: 480px) {
    .value-grid.value-grid-4 { grid-template-columns: 1fr; }
}

/* ---------- 意向产品多选组 ---------- */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 18px;
    margin-top: 6px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    font-size: 14px;
    font-weight: 400 !important;
    color: var(--text-gray) !important;
    cursor: pointer;
}
.checkbox-item input {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    accent-color: var(--primary-blue);
}
@media (max-width: 768px) {
    .checkbox-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .checkbox-grid { grid-template-columns: 1fr; }
}

/* ---------- 使命 / 愿景两列卡片 ---------- */
.value-grid.value-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 768px) {
    .value-grid.value-grid-2 { grid-template-columns: 1fr; }
}

/* ---------- 首页 Hero 次要按钮（深色背景上的白色描边） ---------- */
.hero-content .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}
.hero-content .btn-outline:hover {
    background: #fff;
    border-color: #fff;
    color: var(--primary-blue);
}

/* ---------- 表单附件上传 ---------- */
.form-hint {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #7a869a;
}
.form-wrap input[type="file"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px dashed #c9d4e5;
    border-radius: 8px;
    background: #f8faff;
    font-size: 13px;
    color: var(--text-gray);
    cursor: pointer;
}
.form-wrap input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 7px 14px;
    border: 0;
    border-radius: 6px;
    background: var(--primary-blue);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

/* ---------- 页脚地址行 ---------- */
.footer-address-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 6px;
}
.footer-address-row i { margin-top: 4px; }
.footer-address-value { line-height: 1.6; }

/* =====================================================================
   Design System v2 — 视觉规范统一层（2026-10-22）
   目标：统一字体 / 间距 / 色彩 / 圆角 / 阴影 / 触控尺寸，修正多断点
   下的溢出、错位与重叠。仅覆盖视觉属性，不改动 DOM 结构、类名与 JS
   依赖状态（.scrolled / .open / .active / .mobile / .nav-measuring 等）。
   ===================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
    /* 字体栈：系统 UI 字体优先，兼顾中英文与 Windows / macOS */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
                 Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;

    /* 字号阶梯 */
    --fs-2xs: 12px;
    --fs-xs: 13px;
    --fs-sm: 14px;
    --fs-base: 16px;
    --fs-md: 18px;
    --fs-lg: 20px;
    --fs-h3: 22px;
    --fs-h2: 30px;
    --fs-h1: 40px;

    /* 行高 */
    --lh-tight: 1.28;
    --lh-body: 1.72;

    /* 间距阶梯 */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;

    /* 版式 */
    --container-max: 1240px;
    --section-y: clamp(48px, 6vw, 80px);

    /* 圆角 / 阴影 / 描边 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgba(19, 37, 75, 0.05);
    --shadow-md: 0 8px 24px rgba(19, 37, 75, 0.08);
    --border-soft: #e3e8ef;
    --text-muted: #6b7785;
    --ring: 0 0 0 3px rgba(0, 114, 188, 0.14);

    /* 最小触控尺寸（WCAG 2.5.5 建议 44px） */
    --tap-min: 44px;
}

/* ---------- 2. 基础排版 ---------- */
html {
    -webkit-text-size-adjust: 100%;
    /* 锚点跳转避开吸顶导航 */
    scroll-padding-top: 96px;
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: var(--lh-body);
    color: var(--text-gray);
    background-color: #fff;
    letter-spacing: 0.002em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* clip 不产生滚动容器，不会破坏 #site-header 的 sticky 吸顶 */
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    /* 继承容器色：深底 Hero / 页脚 / CTA 保持白字，不会被全局深蓝色覆盖 */
    color: inherit;
    line-height: var(--lh-tight);
    letter-spacing: -0.012em;
    font-weight: 700;
}

/* 浅底内容区内的标题统一为品牌深蓝 */
.section h1, .section h2, .section h3,
.section h4, .section h5, .section h6 {
    color: var(--text-dark);
}

h1 { font-size: clamp(30px, 2.6vw + 18px, var(--fs-h1)); }
h2 { font-size: clamp(24px, 1.8vw + 16px, var(--fs-h2)); }
h3 { font-size: clamp(18px, 0.8vw + 15px, var(--fs-h3)); }

p { line-height: var(--lh-body); }

/* 正文可读性：过小的 12px 说明文字统一抬到 13px */
.section-subtitle,
.section-header .section-subtitle {
    font-size: var(--fs-base);
    line-height: 1.7;
    max-width: 760px;
}

/* 焦点可见性：键盘可达，鼠标点击不显示 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

::selection { background: rgba(0, 114, 188, 0.16); color: var(--text-dark); }

/* 图片与媒体：永不撑破容器 */
img { max-width: 100%; }
video, iframe { max-width: 100%; }

/* ---------- 3. 版心与区块节奏 ---------- */
.container {
    max-width: var(--container-max);
    padding-left: clamp(16px, 4vw, 24px);
    padding-right: clamp(16px, 4vw, 24px);
}

.section {
    margin: 0;
    padding: var(--section-y) clamp(16px, 4vw, 24px);
}
.section-compact {
    margin: 0;
    padding: var(--space-6) clamp(16px, 4vw, 24px);
}
/* 页面局部节距：统一由全局间距变量驱动，替代页面内联 padding */
.section-pad-sm { padding: var(--space-6) 0; }
.section-pad-xs { padding: var(--space-5) 0 var(--space-2); }
.section-pad-summary { padding: var(--space-7) 0 var(--space-5); }
.section-pad-md { padding: var(--space-7) 0; }
.section-pad-note { padding: var(--space-4) 0 var(--space-6); }
.content-block-flush { padding: 0; }
.plain-list { list-style: none; margin: var(--space-4) 0 0; padding: 0; text-align: left; }
.empty-state {
    grid-column: 1 / -1;
    padding: var(--space-6);
    text-align: center;
    color: var(--gray-500);
}
/* 产品详情参数分组（替代 catalog.js 内联 padding） */
.spec-param-group {
    margin-top: var(--space-4);
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-sm);
}
.spec-param-group h3 {
    color: var(--text-dark);
    font-size: 15px;
    margin-bottom: var(--space-2);
}
.spec-param-group h4 {
    color: var(--text-dark);
    font-size: 14px;
    margin: var(--space-3) 0 var(--space-2);
    padding-bottom: var(--space-1);
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}
.spec-param-group table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.spec-param-group th,
.spec-param-group td {
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--border-gray);
    text-align: left;
}
.spec-param-group th {
    background: var(--white);
    width: 40%;
    color: var(--text-dark);
    font-weight: 600;
}
.spec-param-group td { color: var(--text-gray); }
.product-actions .btn-inquiry { padding: var(--space-2) var(--space-3); }
.packaging-specs-list {
    font-size: 13px;
    line-height: 1.9;
    padding-left: var(--space-5);
    color: var(--text-gray);
}
/* 旧版用 -50px 抵消 .section 的上下 margin，现 margin 归零，取消补偿 */
.section + .footer { margin-top: 0; }

.section-title {
    font-size: clamp(22px, 1.4vw + 16px, 32px);
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-bottom: var(--space-3);
}

.section-header { margin-bottom: clamp(28px, 4vw, 44px); }
.section-header .section-title { margin-bottom: var(--space-3); }
.section-header .section-subtitle { margin-bottom: 0; }

/* 区块之间的标题/正文间距统一 */
.section-title + .section-subtitle { margin-top: 0; }

/* ---------- 4. 按钮与链接 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
}
.btn.btn-block { display: flex; width: 100%; }
.btn-lg {
    min-height: 48px;
    padding: 13px 30px;
    font-size: 15px;
    border-radius: var(--radius-md);
}
.btn i { margin-right: 0; }

/* 文章/卡片内的文字型入口：扩大可点击范围 */
.article-card .card-read,
.view-all-btn,
.contact-block a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 6px 2px;
}

/* ---------- 5. 卡片与网格对齐 ---------- */
.card-grid { gap: clamp(16px, 2vw, 24px); }
.stats-grid { gap: var(--space-4); }
.articles-grid { gap: clamp(20px, 2.4vw, 28px); }

/* 卡片等高：网格项拉伸，内部纵向排列，避免参差不齐 */
.card-grid > *,
.articles-grid > * {
    min-width: 0;
}

/* 卡片图片统一裁切，避免不同比例图片造成高度跳动 */
.card-grid .card-img,
.card-grid .card-img-wrap img,
.articles-grid .card-thumb img {
    object-fit: cover;
}

/* ---------- 6. 表单规范 ---------- */
.form-wrap {
    border-radius: var(--radius-md);
    border-color: var(--border-soft);
    box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: var(--space-5); }

.form-group label {
    font-size: var(--fs-sm);
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
    min-height: 46px;
    padding: 11px 14px;
    border-color: var(--border-soft);
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-group select { padding-right: 36px; }

.form-group textarea {
    min-height: 132px;
    height: auto;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: var(--ring);
}

.form-checkbox { font-size: var(--fs-sm); line-height: var(--dt-checkbox-line); }
.form-checkbox label { font-size: var(--fs-sm); line-height: var(--dt-checkbox-line); }

.submit-btn {
    min-height: 48px;
    border-radius: 6px;
    font-size: 15px;
    letter-spacing: 0.01em;
    transition: background-color 0.18s ease, transform 0.18s ease;
}
.submit-btn:hover { transform: translateY(-1px); }

/* ---------- 7. 页脚排版 ---------- */
.footer { padding: clamp(44px, 6vw, 64px) clamp(16px, 4vw, 24px) 28px; }
.footer-content { gap: clamp(24px, 3vw, 40px); }
.footer-column h3 {
    font-size: 15px;
    letter-spacing: 0.01em;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
}
.footer-column li { margin-bottom: var(--space-1); }
.footer-column a,
.footer-column p { font-size: var(--fs-sm); line-height: 1.6; }
/* 页脚链接纵向内边距，命中高度 ≥32px，兼顾鼠标与触屏 */
.footer-column a,
.footer-legal-links a,
.footer-contact-info a { display: inline-flex; align-items: center; padding: 6px 0; }
.footer-contact-info p { font-size: var(--fs-xs); }
/* 邮箱行是联系信息里唯一的 <a> 元素：不能被页尾链接的触控内边距（display:inline-flex + padding:6px 0）
   撑高，否则文字比标签低约 6px，并与冒号之间多出一段空隙；此处恢复普通行内对齐 */
.footer-contact-info .footer-email-row a {
    display: inline;
    padding: 0;
    min-height: 0;
}
.footer-legal-links { gap: var(--space-2); }

/* ---------- 8. 统计数字：防止长词撑破网格轨道 ---------- */
.stats-grid .stat-tile,
.stats-row .stat { min-width: 0; }

.stats-grid .stat-tile .stat-num,
.stats-row .stat .num {
    font-size: clamp(20px, 1.4vw + 14px, 28px);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.stats-grid .stat-tile .stat-label,
.stats-row .stat .label {
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* Markets 页 5 项统计：ID 选择器优先级高于通用 .stats-grid 媒体查询，
   必须在同等（ID）层级降列，否则移动端仍按 5 列渲染并横向溢出 */
@media (max-width: 1024px) {
    #markets-quick-stats .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 100%;
    }
    /* distributor.html 的 .stats-row 带内联 5/4 列样式，需 !important 才能降列 */
    .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .stats-row .stat .num { white-space: normal; }
    /* 奇数个统计项时最后一项占满整行，避免单边留白 */
    .stats-row > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    #markets-quick-stats .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #markets-quick-stats .stat-tile { padding: 16px 10px; }
    .stats-grid { gap: var(--space-3); }
    .stats-grid .stat-tile { padding: 18px 12px; }
}

/* ---------- 9. 触控尺寸（平板 ≤1024 / 移动 ≤768） ---------- */
@media (max-width: 1024px) {
    .footer-column a,
    .footer-legal-links a,
    .footer-contact-info a {
        min-height: 40px;
        padding: 2px 0;
    }
    .footer-column li { margin-bottom: 0; }
}

@media (max-width: 768px) {
    .article-card .card-read,
    .view-all-btn {
        min-height: var(--tap-min);
        padding: 10px 4px;
    }

    /* FAQ 手风琴：移动端收紧内边距与字号 */
    .faq-accordion-page { padding: 36px 0 44px; }
    .faq-question {
        padding: 16px 18px;
        font-size: 15px;
        gap: 12px;
    }
    .faq-q-text { gap: 10px; }
    .faq-q-text .faq-marker { line-height: 23px; }
    .faq-answer-inner {
        padding: 0 18px 18px;
        font-size: 14px;
        gap: 10px;
    }
    .faq-answer-inner .faq-marker { line-height: 25px; }
    .faq-filter {
        padding: 7px 14px;
        font-size: 13px;
    }

    .pagination .page-btn {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: var(--fs-xs);
    }
    .pagination .page-ellipsis { height: 40px; }

    .header-icon-btn { width: 40px; height: 40px; }
    .contact-btn { min-height: 36px; }

    /* 移动端按钮统一 44px 高，避免误触 */
    .btn { min-height: 44px; padding: 11px 18px; }

    /* 表单在小屏改为单列，避免两列输入框过窄 */
    .form-row { flex-direction: column; gap: 0; }
}

@media (max-width: 480px) {
    .form-wrap { padding: 20px 16px; }
    .footer { padding-bottom: 24px; }
    /* Cookie 面板在小屏压缩，避免遮挡首屏内容 */
    .cookie-panel { padding: 20px 16px; border-radius: var(--radius-md); }
    .cookie-panel h2 { font-size: 18px; margin-bottom: 10px; }
    .cookie-panel p { font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
    .cookie-panel-actions .btn,
    .cookie-panel-actions button { min-height: 44px; }
}

/* ---------- 10. 移动导航层级修正 ----------
   抽屉原 z-index 10001 会盖住头部汉堡按钮，导致 .menu-toggle.open 的
   “X” 动画被遮挡、无法用同一按钮关闭菜单。改为：遮罩 800 < 抽屉 900
   < 吸顶头部 999，抽屉顶部留出 60px 头部高度，菜单项不被头部压住。 */
body.nav-mobile-mode .nav-wrap {
    z-index: 900;
    padding-top: 60px;
    /* 抽屉顶部 60px 与头部同色，白色汉堡图标保持可见并切换为 X */
    background-image: linear-gradient(var(--dark-blue), var(--dark-blue));
    background-size: 100% 60px;
    background-repeat: no-repeat;
    background-position: top;
}
body.nav-mobile-mode .nav-overlay { z-index: 800; }
/* 汉堡按钮与抽屉同处 header 的层叠上下文，需高于抽屉才能保持可点（切换为 X） */
body.nav-mobile-mode .menu-toggle {
    position: relative;
    z-index: 950;
}

@media (max-width: 768px) {
    .menu-toggle { width: 44px; height: 44px; }
    .mobile-search-btn { width: 40px; height: 40px; }
}

/* ---------- 11. 首页 Hero 可读性 ----------
   背景为明亮车间实拍，原 35% 纯黑蒙层下白色正文对比不足；
   改为左侧深、右侧浅的渐变蒙层，文字区域对比更稳定。 */
.hero-section::after {
    background: linear-gradient(90deg,
        rgba(6, 18, 38, 0.74) 0%,
        rgba(6, 18, 38, 0.52) 48%,
        rgba(6, 18, 38, 0.22) 100%);
}
@media (max-width: 768px) {
    .hero-section p,
    .hero-subtitle { font-size: 15px; }
}

/* ---------- 12. 面包屑 ---------- */
/* 内页 page-hero 横幅移除后，面包屑直接位于导航栏下方，上下留白略微放宽避免贴边 */
.breadcrumb {
    padding: 14px clamp(16px, 4vw, 24px);
    font-size: var(--fs-xs);
    border-bottom-color: var(--border-soft);
}
.breadcrumb a { color: var(--text-gray); }
.breadcrumb a:hover { color: var(--primary-blue); }

/* 移动端面包屑与文字型链接：扩大可点击范围 */
@media (max-width: 768px) {
    .breadcrumb a {
        display: inline-flex;
        align-items: center;
        min-height: 32px;
        padding: 0 2px;
    }
    .articles-grid .card-title a,
    .article-card .card-title a { display: block; padding: 4px 0; }
    .contact-block a { display: inline-flex; align-items: center; min-height: 40px; }
    .cookie-text a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 2px; }
}

/* Markets 5 项统计在双列下：最后一项占满整行，避免单边留白 */
@media (max-width: 768px) {
    #markets-quick-stats .stats-grid .stat-tile:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* ---------- 13. 表格横向可滚动，避免窄屏溢出 ---------- */
.article-body table,
.info-card table,
.prose table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

/* ---------- 14. 活动列表 / 详情（Events，简洁图文结构） ---------- */
.events-narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
.events-list { border-top: 1px solid #e8edf2; }
.event-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #e8edf2;
    text-decoration: none;
    color: inherit;
}
.event-row:hover .event-row-title { color: #2f6fb2; }
.event-row.is-past { opacity: .55; }
.event-row-thumb {
    flex: 0 0 168px;
    width: 168px;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 26px;
}
.event-row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-row-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.event-row-title { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--text-dark, #1f2a36); }
.event-row-meta { font-size: 13px; color: #6b7280; line-height: 1.5; }
.event-row.is-past .event-row-title { color: #6b7280; }
.event-row-arrow { margin-left: auto; padding-left: 12px; color: #b6c2cf; font-size: 18px; }
.events-empty { text-align: center; padding: 40px 0; color: #888; }

.event-detail-title {
    font-size: 30px;
    line-height: 1.28;
    font-weight: 700;
    color: var(--text-dark, #1f2a36);
    margin: 0 0 8px;
}
.event-detail-date { font-size: 15px; color: #6b7280; margin: 0 0 22px; }
.event-cover {
    margin: 0 0 26px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f4f6;
}
.event-cover img { display: block; width: 100%; height: auto; }
.event-content { margin-bottom: 28px; }
.event-facts { border-top: 1px solid #e8edf2; padding-top: 18px; margin-top: 6px; }
.event-fact { display: flex; gap: 16px; padding: 7px 0; font-size: 14px; line-height: 1.5; }
.event-fact span { flex: 0 0 96px; color: #94a3b8; }
.event-fact strong { font-weight: 500; color: #374151; }
.event-external { margin: 18px 0 0; font-size: 14px; }
.event-external a { color: #2f6fb2; font-weight: 600; text-decoration: none; }
.event-external a:hover { text-decoration: underline; }
.event-back { margin-top: 28px; font-size: 14px; }
.event-back a { color: #6b7280; text-decoration: none; }
.event-back a:hover { color: #2f6fb2; }

@media (max-width: 768px) {
    .event-row { gap: 12px; padding: 14px 0; }
    .event-row-thumb { flex-basis: 104px; width: 104px; }
    .event-row-title { font-size: 16px; }
    .event-detail-title { font-size: 23px; }
    .event-fact span { flex-basis: 76px; }
}

/* ---------- 15. 详情页上下篇导航（博客 / 活动共用，轻量样式） ---------- */
.post-nav {
    display: flex;
    gap: 24px;
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid #e8edf2;
}
.post-nav-card {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}
.post-nav-next { justify-content: flex-end; }
.post-nav-thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 42px;
    border-radius: 4px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 18px;
}
.post-nav-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-nav-text { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.post-nav-label {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #94a3b8;
}
.post-nav-title {
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.post-nav-card:hover .post-nav-title { color: #2f6fb2; text-decoration: underline; }

@media (max-width: 768px) {
    .post-nav { flex-direction: column; gap: 12px; margin-top: 28px; padding-top: 14px; }
    .post-nav-card { width: 100%; }
    .post-nav-next { justify-content: flex-start; }
    .post-nav-thumb { flex-basis: 48px; width: 48px; height: 36px; }
}

/* ==========================================================================
   16. 联系页产品询盘信息块（产品详情 Inquiry 跳转时显示）
   ========================================================================== */
.product-inquiry {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    margin-bottom: 22px;
    background: var(--blue-tint);
    border: 1px solid #cfe2f3;
    border-radius: 6px;
}
.product-inquiry[hidden] { display: none; }
.product-inquiry-thumb {
    width: 84px;
    height: 84px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid #dbe8f4;
    border-radius: 4px;
    overflow: hidden;
}
.product-inquiry-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
/* 作者样式 display 会覆盖 hidden 属性，显式补齐 */
.product-inquiry-thumb img[hidden] { display: none; }
.product-inquiry-thumb i[hidden] { display: none; }
.product-inquiry-thumb i { font-size: 30px; color: var(--gray-500); }
.product-inquiry-body { min-width: 0; }
.product-inquiry-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 4px;
}
.product-inquiry-name {
    display: block;
    font-size: 16px;
    line-height: 1.35;
    color: var(--text-dark);
    word-break: break-word;
}
.product-inquiry-sku {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .product-inquiry { gap: 12px; padding: 12px; }
    .product-inquiry-thumb { width: 64px; height: 64px; }
    .product-inquiry-name { font-size: 15px; }
}

/* ==========================================================================
   产品详情页扩展模块（品牌/型号、副标题、角标、卖点图标、规格分组、保修条款、
   下载资料、主图视频、颜色变体）
   ========================================================================== */
.pd-brandline {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-gray);
    margin-bottom: 10px;
}
.pd-badge {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 10px;
    border-radius: 3px;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.pd-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0 0 14px;
}
/* 首屏规格速览：保留原版 Product Specifications 紧凑列表观感 */
.pd-spec-quick {
    margin: 0 0 16px;
}
.pd-spec-quick h3 {
    font-size: 15px;
    color: var(--text-dark);
    margin: 0 0 8px;
}
.pd-spec-quick ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}
.pd-spec-quick li {
    font-size: 14px;
    line-height: 1.85;
    color: var(--text-gray);
    overflow-wrap: anywhere;
}
.pd-spec-quick li strong {
    color: var(--text-dark);
    font-weight: 600;
}
.pd-points li.pd-point-has-icon { padding-left: 0; }
.pd-points li.pd-point-has-icon::before { display: none; }
.pd-points li i { color: var(--primary-blue); margin-right: 6px; }

/* 颜色变体：色块或缩略图按钮 */
button.pd-color-thumb { padding: 0; font-family: inherit; }
.pd-color-dot {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 2px;
}

/* 图库下方主图视频 */
.pd-hero-video {
    margin-top: 14px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.pd-hero-video video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
}

/* 信息区下载资料 */
.pd-downloads { margin: 16px 0; }
.pd-downloads h3 {
    font-size: 15px;
    color: var(--text-dark);
    margin: 0 0 8px;
    font-weight: 600;
}
.pd-downloads ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.pd-downloads li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-blue);
    text-decoration: none;
}
.pd-downloads li a:hover { text-decoration: underline; }

/* 规格分组（完整规格） */
.pd-spec-groups { max-width: 980px; margin: 0 auto; display: grid; gap: 28px; }
.pd-spec-group-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 10px;
}
.pd-spec-group.multi-col th { width: auto; }
.pd-spec-group th.pd-spec-empty,
.pd-spec-group td.pd-spec-empty {
    border: none;
    background: transparent;
}

/* 结构化保修条款 */
.pd-warranty-terms { display: grid; gap: 18px; }
.pd-warranty-term h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 6px;
}
.pd-warranty-term p { margin: 0; }

/* 移动端：主图与图集纵向排布、规格纵向堆叠、图文块图在上 */
@media (max-width: 768px) {
    /* 产品图集：主图在上，缩略图横向排列（图集内可滑动切换，页面不出现横向滚动条） */
    .pd-thumbs {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        overflow: visible;
    }
    .pd-thumbs .pd-thumb {
        flex: none;
        width: 100%;
        aspect-ratio: 1 / 1;
        scroll-snap-align: none;
    }
    .pd-color-thumbs {
        overflow: visible;
        flex-wrap: wrap;
    }
    .pd-color-thumb { flex: 0 0 60px; }

    /* 规格表：每行标签在上、数值在下，禁止横向滚动 */
    .spec-table,
    .spec-table tbody,
    .spec-table tr,
    .spec-table th,
    .spec-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .spec-table tr {
        border: 1px solid var(--border-gray);
        border-radius: 6px;
        margin-bottom: 10px;
        overflow: hidden;
        background: var(--white);
    }
    .spec-table th,
    .spec-table td {
        border: none;
        padding: 8px 12px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .spec-table th {
        background: var(--bg-gray);
        padding-bottom: 6px;
    }
    .spec-table td { padding-top: 6px; padding-bottom: 10px; }
    .spec-table th.pd-spec-empty,
    .spec-table td.pd-spec-empty { display: none; }

    /* 页签：两个页签横向并排，内容在下方展开，不做横向滚动/吸顶 */
    .pd-tabs {
        position: static;
        overflow: visible;
        flex-wrap: nowrap;
        gap: 0;
    }
    .pd-tab-btn {
        flex: 1 1 50%;
        text-align: center;
        padding: 10px 4px;
        font-size: 14px;
        border-bottom: 2px solid transparent;
    }

    .pd-blocks .pd-block { grid-template-columns: 1fr; gap: 20px; }
    .pd-blocks .pd-block.img-right .pd-block-media { order: 0; }
    .pd-hero-video video { max-height: 260px; }
}

/* ========== 详情页对标增强：图集条 / 规格速览 / Model-Brand / 页签 ========== */
/* 左右分栏：对标页约 49% / 49%，图集与信息区等宽 */
.pd-two-col.left-wide {
    grid-template-columns: 1fr 1fr;
}
.pd-gallery {
    max-width: 100%;
}

/* 图集缩略图条：横向单行，数量多时仅在图集内部滚动，不撑破页面 */
.pd-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.pd-thumbs .pd-thumb {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    aspect-ratio: auto;
}
.pd-thumbs::-webkit-scrollbar { height: 6px; }
.pd-thumbs::-webkit-scrollbar-thumb {
    background: #cfd6dd;
    border-radius: 3px;
}
.pd-thumbs::-webkit-scrollbar-track { background: transparent; }

/* 首屏规格：与后台「商品参数」逐行一致、不限行数的轻量列表
   参数行「名称: 值」单行文本，卖点/无冒号行显示为 • 项目符号行 */
.pd-specs-heading {
    margin: 22px 0 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}
.pd-spec-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-gray);
}
.pd-spec-list li {
    position: relative;
    padding-left: 16px;
    overflow-wrap: break-word;
}
.pd-spec-list li::before {
    content: '•';
    position: absolute;
    left: 2px;
    top: 0;
    color: var(--text-gray);
}
/* 参数行「参数名: 值」：与卖点行区分，不加项目符号 */
.pd-spec-list li.pd-spec-param { padding-left: 0; }
.pd-spec-list li.pd-spec-param::before { content: none; }

/* Model / Brand：有数据才渲染，整行置于首屏下方 */
.pd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 48px;
    list-style: none;
    margin: 28px 0 0;
    padding: 14px 0;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
    font-size: 14px;
    color: var(--text-gray);
}
.pd-meta li {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.pd-meta-label {
    color: var(--text-dark);
    font-weight: 600;
}

/* 页签：仅两个，紧挨成一组；选中蓝实底白字，未选中白底灰字细边框 */
.pd-detail-tabs-section { padding: 46px 0 24px; }
.pd-detail-tabs-section .pd-tabs {
    display: inline-flex;
    gap: 0;
    width: auto;
    margin-bottom: 12px;
}
.pd-detail-tabs-section .pd-tab-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border: 1px solid #dfe3e8;
    border-radius: 0;
    background: #fff;
    color: #5a6472;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.pd-detail-tabs-section .pd-tab-btn + .pd-tab-btn { border-left: none; }
.pd-detail-tabs-section .pd-tab-btn:first-child { border-radius: 8px 0 0 8px; }
.pd-detail-tabs-section .pd-tab-btn:last-child { border-radius: 0 8px 8px 0; }
.pd-detail-tabs-section .pd-tab-btn:hover { color: var(--text-dark); }
.pd-detail-tabs-section .pd-tab-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}
/* 面板：同一时刻只显示一个；卡片式白底细边框圆角 */
.pd-tab-content { background: none; border: none; padding: 0; }
.pd-tab-panel { display: none; }
.pd-tab-panel.active { display: block; }
.pd-tab-panel,
.pd-card {
    background: #fff;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    padding: 28px 30px;
}
.pd-card-title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
}
.pd-tab-panel .pd-spec-list { margin-bottom: 0; }
.pd-tab-panel .pd-spec-list + .pd-description { margin-top: 18px; }
.pd-tab-content .pd-description {
    max-width: 100%;
    margin: 0;
}
.pd-tab-content .pd-complete-specs-wrap {
    max-width: 100%;
    margin: 0;
    /* 页签面板本身已是卡片外框，包裹层不再叠一层边框/白底，避免"框中框" */
    border: none;
    background: transparent;
}
/* 规格表：只保留卡片一层外框；表格自身不再画外框，仅保留行分隔线 */
.pd-tab-panel .pd-complete-specs { margin: 0; }
.pd-tab-panel .pd-complete-specs th,
.pd-tab-panel .pd-complete-specs td {
    border: none;
    border-bottom: 1px solid var(--border-gray);
}
.pd-tab-panel .pd-complete-specs tr:last-child th,
.pd-tab-panel .pd-complete-specs tr:last-child td { border-bottom: none; }
/* 相关产品：页签卡片下方独立区块，白底无外层卡片；内部复用分类页 .product-card */
.pd-related-section { padding: 36px 0 48px; background: #fff; }
.pd-related-card {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.pd-related-card .pd-card-title { margin: 0 0 28px; }
/* 列数/间距/卡片样式沿用分类页 .products-grid + .product-card，仅去掉网格最大宽度限制 */
.pd-related-grid { max-width: none; margin: 0; }
/* 商品参数里的小标题/卖点整行：加浅灰底与加粗，和键值行区分 */
.pd-complete-specs tr.pd-spec-heading td {
    background: var(--bg-gray);
    color: var(--text-dark);
    font-weight: 700;
}
.pd-complete-specs td.pd-spec-full { color: var(--text-dark); }

/* 中等宽度起由 .products-grid 的响应式列数接管（4 → 3 → 2） */

@media (max-width: 768px) {
    .pd-two-col.left-wide { grid-template-columns: 1fr; }
    .pd-thumbs .pd-thumb {
        flex: 0 0 72px;
        width: 72px;
        height: 72px;
    }
    .pd-specs-heading {
        margin: 18px 0 8px;
        font-size: 17px;
    }
    .pd-spec-list {
        margin-bottom: 16px;
        font-size: 13px;
        line-height: 1.7;
    }
    .pd-meta {
        margin-top: 20px;
        gap: 8px 24px;
    }
    .pd-detail-tabs-section { padding: 26px 0 18px; }
    .pd-detail-tabs-section .pd-tabs {
        display: flex;
        width: 100%;
        margin-bottom: 10px;
    }
    .pd-detail-tabs-section .pd-tab-btn {
        flex: 0 0 auto;
        min-width: 0;
        height: 44px;
        padding: 0 14px;
        font-size: 13px;
        white-space: nowrap;
    }
    .pd-tab-panel,
    .pd-card { padding: 16px 14px; }
    /* 规格表移动端：不再给每行套圆角边框，只保留行分隔线，避免"框中框/框贴框" */
    .pd-tab-panel .spec-table tr {
        border: none;
        border-radius: 0;
        margin-bottom: 0;
        border-bottom: 1px solid var(--border-gray);
        overflow: visible;
    }
    .pd-tab-panel .spec-table tr:last-child { border-bottom: none; }
    .pd-tab-panel .spec-table th,
    .pd-tab-panel .spec-table td { border: none; }
    .pd-card-title {
        margin-bottom: 12px;
        font-size: 16px;
    }
    .pd-related-section { padding: 24px 0 32px; }
    .pd-related-card { padding: 0; }
    .pd-related-card .pd-card-title { margin-bottom: 24px; }
    /* 与分类页移动端网格间距一致 */
    .pd-related-grid { gap: 12px; }
}

/* ==========================================================================
   返回顶部按钮（全站，layout.js 注入 #back-to-top）
   滚动超过一屏后淡入；位置由 JS 计算（Cookie 横幅可见时自动上移避让）
   ========================================================================== */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(19, 37, 75, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
    z-index: 9990;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.back-to-top:hover {
    background-color: var(--blue-hover);
}
.back-to-top:focus-visible {
    outline: 3px solid rgba(0, 114, 188, 0.35);
    outline-offset: 3px;
}
@media (max-width: 768px) {
    .back-to-top {
        right: 14px;
        bottom: 16px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}
@media print {
    .back-to-top { display: none; }
}
