/* ==========================================================
   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;
    --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;
}

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 {
    background: var(--bg-gray);
    border-bottom: 1px solid var(--border-gray);
    padding: 8px 0;
    font-size: 12px;
    color: var(--text-gray);
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.top-bar-left {
    flex: 1;
}
.top-bar-tag {
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 500;
}
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.top-search {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 22px;
    padding: 0 4px 0 12px;
    height: 36px;
    width: 260px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.top-search:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.12);
}
.top-search-icon {
    color: var(--gray-500);
    font-size: 13px;
    margin-right: 8px;
    flex-shrink: 0;
}
.top-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 12px;
    background: transparent;
    color: var(--gray-900);
    height: 100%;
    min-width: 0;
}
.top-search-input::placeholder {
    color: var(--gray-500);
}
.top-search-btn {
    background: var(--primary-blue);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.top-search-btn:hover {
    background: var(--blue-hover);
}
.top-search-btn i {
    font-size: 12px;
    margin: 0;
}
.top-bar-lang {
    display: flex;
    align-items: center;
}

/* 主导航栏：蓝底sticky吸顶，滚动时（.scrolled）压缩高度+加深阴影，提升沉浸感 */
.header {
    background-color: var(--dark-blue);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    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;
}
.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}
.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: 30px;
    list-style: none;
    flex-wrap: wrap;
}
.main-menu li { position: relative; }
.main-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 8px;
    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::after {
    content: "";
    display: inline-block;
    width: 0;
}
.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; }
}

.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 ---------- */
.nav-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 998;
}

/* 内页页面Hero：深蓝渐变，居中标题+副标题，所有列表页/内容页顶部通用 */
.page-hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
}
.page-hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.page-hero p {
    font-size: 16px;
    opacity: 0.92;
    max-width: 700px;
    margin: 0 auto;
}
/* 面包屑导航：灰色背景条，Home / 一级 / 二级 */
.breadcrumb {
    background: var(--bg-gray);
    padding: 10px 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全屏背景视频：绝对定位居中cover铺满，z-index:0在底层 */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 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-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-cta.primary {
    background: var(--accent-red);
    color: var(--white);
}
.hero-cta.primary:hover { background: var(--red-hover); color: var(--white); }
.hero-cta.outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--white);
}
.hero-cta.outline:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.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.gray { background-color: var(--white); }
.section.white { background-color: var(--white); }
.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 .eyebrow {
    letter-spacing: 2px;
}
.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;
}
.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-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;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.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;
}
.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-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: 12px 28px; font-size: 14px; }
.btn-block { display: block; width: 100%; }

/* 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 {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
}
.form-checkbox input { width: auto; margin-top: 3px; }
.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-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.6);
    margin-bottom: 6px;
    line-height: 1.6;
}
.footer-contact-info a { color: rgba(255,255,255,0.6); 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;
    justify-content: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.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 a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 12px;
}
.footer-legal-links a:hover { color: var(--gold); }

/* ---------- Generic content blocks ---------- */
.content-block { max-width: 900px; margin: 0 auto; padding: 30px 20px; }
.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);
}

/* ---------- 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;
}
.col-card h3 {
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 12px;
}

/* ---------- 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 .eyebrow { margin-bottom: 6px; }
.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 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; }
.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;
    }
    .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）：4列等宽grid，用于团队/服务/能力等内容信息展示 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
/* 信息单卡片：白底圆角边框卡，hover蓝边+阴影 */
.info-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    padding: 22px;
    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 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; }
.info-card ul { list-style: none; padding-left: 0; }
.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(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.stat {
    text-align: center;
    padding: 20px;
}
.stat .num {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}
.stat .label { font-size: 13px; color: var(--text-gray); }

/* ---------- 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-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; }
.eyebrow {
    text-align: center;
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

/* 响应式：1100px小桌面，网格降列（产品/信任3列、菜单间距压缩） */
@media (max-width: 1100px) {
    .header-content { flex-wrap: wrap; 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: 0 0 0 5%;
        max-width: 90%;
    }
    .trust-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}
/* 响应式：1024px平板端，steps/stats/card-grid统一降为2列 */
@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(2, 1fr); }
}
/* 响应式：768px移动端主断点，汉堡菜单显示、导航展开下拉、所有双列改单列 */
@media (max-width: 768px) {
    .top-bar { padding: 6px 0; }
    .top-bar-inner { gap: 8px; }
    .top-search { width: 140px; height: 32px; padding: 0 4px 0 10px; }
    .top-search-btn { width: 24px; height: 24px; }
    .top-search-input { font-size: 11px; }
    .top-search-icon { display: none; }
    .top-bar-tag { display: none; }
    .header-content { flex-direction: row; align-items: center; flex-wrap: wrap; overflow: visible; }
    .logo-img { max-height: 36px; }
    .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; }
    .logo { order: 2; margin: 0 8px; }
    .nav-wrap {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        order: 4;
        flex: 1 0 100%;
        flex-basis: 100%;
        width: 100%;
        background: var(--white);
        border-radius: 4px;
        margin-top: 8px;
        padding: 8px 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }
    .nav-wrap.open { display: flex; }
    .main-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .main-menu li { width: 100%; }
    .main-menu > li > a {
        color: var(--text-dark);
        font-size: 14px;
        padding: 10px 16px;
        border-bottom: 1px solid var(--light-gray);
        display: flex;
        align-items: center;
    }
    .main-menu > li > a .nav-arrow {
        font-size: 11px;
        color: var(--text-muted);
        margin-left: auto;
        transition: transform 0.2s ease;
    }
    .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%;
        background: var(--bg-gray);
        transition: opacity 0.2s ease, visibility 0.2s ease, max-height 0.2s ease;
        max-height: 0;
        overflow: hidden;
    }
    .has-dropdown.open > a .nav-arrow { transform: rotate(90deg); }
    .has-dropdown.open .dropdown {
        opacity: 1;
        visibility: visible;
        max-height: 800px;
    }
    .dropdown a {
        padding: 8px 24px;
        font-size: 13px;
    }
    .dropdown > .has-submenu > a .nav-arrow {
        color: var(--text-muted);
    }
    .dropdown a:hover { padding-left: 28px; }
    .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; }
    .action-buttons {
        gap: 4px;
        padding: 0;
        border-top: none;
        margin-top: 0;
    }
    .header-right .search-trigger { display: inline-flex; }
    .header-right .search-box { display: flex; }
    .action-btn { padding: 5px 10px; font-size: 11px; }
    .hero-section { padding: 40px 0; }
    .hero-section .container {
        margin-left: 5%;
        margin-right: 5%;
        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-nav { flex-wrap: wrap; gap: 10px; }
    .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: repeat(2, 1fr); }
    .footer-brand-bar { flex-direction: column; text-align: center; }
    .two-col, .contact-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; }
    .portal-layout { grid-template-columns: 1fr; }
    .page-hero h1 { font-size: 24px; }
    .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); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .search-box.open input { width: 100px; }
    .action-btn { padding: 4px 8px; font-size: 10px; }
    .action-btn.cart span { display: none; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 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); }
    .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; }
    .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: fixed;
        top: 0;
        left: 0;
        min-width: 220px;
        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 .eyebrow {
    margin-bottom: 8px;
}
.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);
}
.card-img-wrap {
    position: relative;
    overflow: hidden;
}
.card-img {
    width: 100%;
    aspect-ratio: 1 / 0.9;
    object-fit: cover;
    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: 72%;
    aspect-ratio: 16/9;
    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 1fr;
    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 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 .eyebrow {
    margin-bottom: 12px;
}
.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;
    }
    .card-img {
        aspect-ratio: 1 / 0.8;
    }
    .hover-info {
        display: none;
    }
    .hover-info h4 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    .hover-info ul {
        font-size: 12px;
        line-height: 1.45;
        margin-bottom: 10px;
    }
    .hover-info ul li {
        margin-bottom: 2px;
    }
    .learn-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
    .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;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .card-img {
        aspect-ratio: 1 / 0.85;
    }
    .hover-info {
        display: none;
    }
    .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%;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-title {
        font-size: 26px;
    }
}

/* ========== 企业实力双端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;
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
    animation: fadeTab 0.35s ease forwards;
}
@keyframes fadeTab {
    from {opacity:0;transform:translateY(8px);}
    to {opacity:1;transform:translateY(0);}
}
.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: 90%;
    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: 30px;
    }
    /* 侧边栏取消固定，平铺在卡片上方 */
    .tabs-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px;
    }
    .tab-nav {
        padding: 10px 14px;
        border-radius: 6px;
        border-left: none;
        background: var(--blue-tint);
        flex: 1;
        min-width: 110px;
    }
    .tab-nav.active {
        background: var(--primary-blue);
    }
    .tab-nav.active .tab-label,
    .tab-nav.active .tab-num {
        color: var(--white);
    }
    .tab-num {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }
    .tab-label {
        font-size: 13px;
    }
    .content-card {
        padding: 22px;
    }
    .content-card h3 {
        font-size: 22px;
    }
    .content-card img {
        width: 100%;
    }
}

/* ========== 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: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-tint-hover) 0%, var(--blue-tint-hover) 100%);
}
.article-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    background: var(--blue-tint);
}
.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 {
    background: var(--blue-tint-hover);
    color: var(--primary-blue);
}
.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 80px;
}
.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);
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}

/* FAQ cards - list style, different from article grid */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.faq-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: var(--primary-blue);
    transform: translateY(-1px);
}
.faq-card .faq-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--blue-tint-hover), var(--blue-tint-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-blue);
}
.faq-card .faq-body {
    flex: 1;
    min-width: 0;
}
.faq-card .faq-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}
.faq-card .faq-body h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}
.faq-card .faq-body h3 a:hover {
    color: var(--primary-blue);
}
.faq-card .faq-body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.55;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.faq-card .card-read {
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.faq-card .card-read:hover {
    text-decoration: underline;
}

/* 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 faq-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;
    background: var(--blue-tint);
}
.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/factory-photo.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;
}
.pd-two-col.left-wide {
    grid-template-columns: 1fr 1fr;
}

/* Gallery */
.pd-gallery {
    max-width: 500px;
}
.pd-main-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--bg-gray);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.pd-main-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 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);
}

/* 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;
}

@media (max-width: 768px) {
    .pd-two-col,
    .pd-two-col.left-wide {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pd-gallery {
        max-width: 100%;
    }
    .pd-main-img {
        aspect-ratio: 4 / 3;
    }
    .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;
    }
}

/* ========== 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;
    }
}
