/*
Theme Name: 大策环保专业版
Theme URI: https://dc.binguo.wang
Description: 厦门大策环保设备有限公司官方网站主题 - 专业全局设计重构版(参照 www.dacepce.com 结构)
Version: 2.0.0
Author: Global Designer
Text Domain: dace
*/

/* =============================================================
   1. 设计系统 / Design Tokens
   ============================================================= */
:root {
    /* 主色 — 工业红(主品牌) */
    --brand-50:  #fff1f1;
    --brand-100: #ffdede;
    --brand-200: #ffc1c1;
    --brand-300: #ff9494;
    --brand-400: #ff5757;
    --brand-500: #f01f1f;
    --brand-600: #d40d0d;   /* 主品牌色 */
    --brand-700: #a80808;
    --brand-800: #7d0606;
    --brand-900: #560303;

    /* 中性色 */
    --ink-0:   #ffffff;
    --ink-50:  #fafbfc;
    --ink-100: #f4f6f8;
    --ink-200: #e6ebf0;
    --ink-300: #cfd6df;
    --ink-400: #98a3b0;
    --ink-500: #6b7785;
    --ink-600: #4a5563;
    --ink-700: #2f3742;
    --ink-800: #1c222b;
    --ink-900: #0e1218;

    /* 强调色 */
    --accent-blue:   #1e6dff;
    --accent-gold:   #c89b3c;

    /* 语义 */
    --bg-page:    var(--ink-50);
    --bg-card:    var(--ink-0);
    --bg-soft:    var(--ink-100);
    --text-main:  var(--ink-700);
    --text-soft:  var(--ink-500);
    --text-mute:  var(--ink-400);
    --line:       var(--ink-200);

    /* 字体 */
    --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
                 "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-num:  "DIN Pro", "Helvetica Neue", Arial, sans-serif;

    /* 间距与圆角 */
    --radius-sm: 4px;
    --radius:    8px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
    --shadow-sm: 0 2px 6px rgba(15,23,42,.06);
    --shadow:    0 8px 24px rgba(15,23,42,.08);
    --shadow-lg: 0 20px 50px rgba(15,23,42,.12);

    --container: 1280px;
    --header-h:  92px;

    /* 过渡 */
    --ease: cubic-bezier(.2,.7,.2,1);
}

/* =============================================================
   2. 基础重置
   ============================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-main);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-width: 1200px;
}

img, video, svg { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--ink-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-600); }

h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; color: var(--ink-800); font-weight: 600; line-height: 1.4; }

p { margin: 0 0 1em; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font-family: inherit; cursor: pointer; border: 0; background: none; }

input, textarea, select { font-family: inherit; font-size: inherit; }

/* 滚动条优化 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-100); }
::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-600); }

/* 通用容器 */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* =============================================================
   3. 顶部 Header(主导航)
   ============================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ink-0);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}

.header-top {
    background: var(--ink-100);
    color: var(--text-soft);
    font-size: 12px;
    border-bottom: 1px solid var(--line);
}
.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}
.header-top .greeting { color: var(--text-soft); }
.header-top .meta-links a { margin-left: 18px; color: var(--text-soft); }
.header-top .meta-links a:hover { color: var(--brand-600); }
.header-top .meta-links i { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

.header-main {
    display: flex;
    align-items: center;
    height: var(--header-h);
    gap: 40px;
}

.site-logo { flex-shrink: 0; display: flex; align-items: center; }
.site-logo a { display: block; }
.site-logo img { max-height: 64px; width: auto; }
.site-logo .logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-600);
    letter-spacing: 1px;
}
.site-logo .logo-sub {
    display: block;
    font-size: 11px;
    color: var(--text-soft);
    letter-spacing: 4px;
    margin-top: 2px;
    text-transform: uppercase;
}

.primary-nav { flex: 1; }
.primary-nav > ul { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
    display: block;
    padding: 0 22px;
    height: var(--header-h);
    line-height: var(--header-h);
    font-size: 16px;
    font-weight: 500;
    color: var(--ink-700);
    position: relative;
    transition: color .2s var(--ease);
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.current-menu-item > a {
    color: var(--brand-600);
}
.primary-nav > ul > li.current-menu-item > a::after,
.primary-nav > ul > li > a:hover::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    height: 2px;
    background: var(--brand-600);
}
.primary-nav .has-sub > a::before {
    content: "";
    display: inline-block;
    width: 0; height: 0;
    margin-left: 6px;
    border: 4px solid transparent;
    border-top-color: currentColor;
    vertical-align: middle;
    transform: translateY(-2px);
    opacity: .55;
}

/* 下拉菜单 */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--ink-0);
    box-shadow: var(--shadow);
    border-top: 2px solid var(--brand-600);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s var(--ease);
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sub-menu li a {
    display: block;
    padding: 10px 22px;
    font-size: 14px;
    color: var(--ink-700);
    white-space: nowrap;
    border-left: 2px solid transparent;
    transition: all .2s var(--ease);
}
.sub-menu li a:hover,
.sub-menu li.current-menu-item a {
    color: var(--brand-600);
    background: var(--brand-50);
    border-left-color: var(--brand-600);
}

/* 二级菜单(子产品的子分类) */
.sub-menu .has-sub > a::after {
    content: "›";
    float: right;
    color: var(--text-mute);
    transform: scale(1.4);
}
.sub-menu .sub-menu {
    top: -8px;
    left: 100%;
}

/* 顶部联系电话(右侧) */
.header-phone {
    flex-shrink: 0;
    text-align: right;
    border-left: 1px solid var(--line);
    padding-left: 28px;
}
.header-phone .label { font-size: 12px; color: var(--text-soft); letter-spacing: 2px; }
.header-phone .number {
    font-family: var(--font-num);
    font-size: 26px;
    font-weight: 700;
    color: var(--brand-600);
    line-height: 1.2;
    letter-spacing: 1px;
}
.header-phone .number i {
    display: inline-block;
    width: 16px; height: 16px;
    background: var(--brand-600);
    border-radius: 50%;
    vertical-align: 2px;
    margin-right: 6px;
    position: relative;
}
.header-phone .number i::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #fff;
}

/* 顶部信息条更紧凑版(可选) */
.header-info-bar {
    background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
    color: #fff;
    font-size: 13px;
}
.header-info-bar .container { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.header-info-bar strong { font-size: 18px; letter-spacing: 1px; }
.header-info-bar a { color: #fff; opacity: .9; }

/* =============================================================
   4. 通用按钮 / Sections
   ============================================================= */
.section {
    padding: 70px 0;
    position: relative;
}
.section--tight { padding: 50px 0; }
.section--gray { background: var(--bg-soft); }
.section--dark { background: var(--ink-800); color: rgba(255,255,255,.85); }

.section-head {
    text-align: center;
    margin-bottom: 48px;
}
.section-head .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-600);
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 12px;
}
.section-head .eyebrow::before,
.section-head .eyebrow::after {
    content: "";
    display: inline-block;
    width: 28px; height: 1px;
    background: var(--brand-600);
    vertical-align: middle;
    margin: 0 12px;
    opacity: .5;
}
.section-head .title {
    font-size: 30px;
    font-weight: 700;
    color: var(--ink-800);
    letter-spacing: 2px;
}
.section-head .title .accent { color: var(--brand-600); }
.section-head .desc {
    color: var(--text-soft);
    margin: 14px auto 0;
    max-width: 720px;
    font-size: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    transition: all .25s var(--ease);
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    border: 1px solid transparent;
}
.btn--primary {
    background: var(--brand-600);
    color: #fff;
}
.btn--primary:hover {
    background: var(--brand-700);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(212,13,13,.25);
}
.btn--ghost {
    background: transparent;
    border-color: var(--brand-600);
    color: var(--brand-600);
}
.btn--ghost:hover {
    background: var(--brand-600);
    color: #fff;
}
.btn--white {
    background: #fff;
    color: var(--brand-600);
}
.btn--white:hover {
    background: var(--ink-100);
    color: var(--brand-700);
}
.btn--lg { padding: 16px 38px; font-size: 15px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* =============================================================
   5. 首页 — Hero Banner
   ============================================================= */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    background: linear-gradient(120deg, #1c222b 0%, #2f3742 60%, #4a5563 100%);
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 80% 30%, rgba(212,13,13,.35), transparent 50%),
      radial-gradient(circle at 10% 80%, rgba(30,109,255,.18), transparent 50%);
}
.hero .container { position: relative; z-index: 2; min-height: 560px; display: flex; align-items: center; }

.hero-content { max-width: 640px; padding: 60px 0; }
.hero .eyebrow {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 6px;
    color: rgba(255,255,255,.65);
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-left: 36px;
    position: relative;
}
.hero .eyebrow::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 28px; height: 1px;
    background: var(--brand-500);
}
.hero .hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 18px;
}
.hero .hero-title .accent { color: var(--brand-400); }
.hero .hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,.75);
    margin-bottom: 32px;
    line-height: 1.8;
}
.hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stats .stat .num {
    font-family: var(--font-num);
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1;
}
.hero-stats .stat .num small { font-size: 16px; color: var(--brand-400); margin-left: 4px; }
.hero-stats .stat .label { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 8px; letter-spacing: 1px; }

/* =============================================================
   6. 首页 — 产品展示
   ============================================================= */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.product-tabs a {
    padding: 8px 22px;
    border: 1px solid var(--line);
    border-radius: 30px;
    color: var(--ink-700);
    font-size: 14px;
    transition: all .2s var(--ease);
}
.product-tabs a:hover,
.product-tabs a.active {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all .3s var(--ease);
    position: relative;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.product-card .thumb {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-soft);
    position: relative;
}
.product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .thumb .badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 3px 10px;
    background: var(--brand-600);
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
    letter-spacing: 1px;
}
.product-card .body { padding: 18px 18px 22px; }
.product-card .body h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}
.product-card .body h3 a { color: var(--ink-800); }
.product-card .body h3 a:hover { color: var(--brand-600); }
.product-card .body .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
    font-size: 12px;
    color: var(--text-mute);
}
.product-card .body .more {
    color: var(--brand-600);
    font-weight: 500;
}

.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* =============================================================
   7. 首页 — 技术文章 / About
   ============================================================= */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.tech-grid .media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 5/4;
    box-shadow: var(--shadow-lg);
}
.tech-grid .media img { width: 100%; height: 100%; object-fit: cover; }
.tech-grid .media .floating-tag {
    position: absolute;
    bottom: 24px; left: 24px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.tech-grid .media .floating-tag .year {
    font-family: var(--font-num);
    font-size: 28px;
    color: var(--brand-600);
    font-weight: 700;
    line-height: 1;
}
.tech-grid .media .floating-tag .desc { font-size: 12px; color: var(--text-soft); margin-top: 4px; }

.tech-grid .content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--ink-800);
    line-height: 1.3;
    margin-bottom: 14px;
}
.tech-grid .content .lead {
    font-size: 17px;
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 28px;
}
.tech-grid .content .feat-list { margin-bottom: 28px; }
.tech-grid .content .feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--ink-700);
}
.tech-grid .content .feat-list li::before {
    content: "";
    flex-shrink: 0;
    width: 22px; height: 22px;
    background: var(--brand-50);
    border: 1px solid var(--brand-200);
    border-radius: 50%;
    margin-top: 2px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23d40d0d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3 8l3.5 3.5L13 5'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

/* =============================================================
   8. 首页 — 优势 / 特性区
   ============================================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    padding: 36px 28px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--line);
    transition: all .3s var(--ease);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
    opacity: 0;
    transition: opacity .3s var(--ease);
    z-index: 0;
}
.feature-card > * { position: relative; z-index: 1; }
.feature-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.feature-card:hover::before { opacity: 1; }
.feature-card:hover { color: #fff; }
.feature-card:hover h4 { color: #fff; }
.feature-card:hover .icon-wrap { background: rgba(255,255,255,.15); color: #fff; }

.feature-card .icon-wrap {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    background: var(--brand-50);
    color: var(--brand-600);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    transition: all .3s var(--ease);
    font-size: 28px;
}
.feature-card h4 { font-size: 17px; margin-bottom: 8px; transition: color .3s var(--ease); }
.feature-card p { font-size: 13px; color: var(--text-soft); margin: 0; line-height: 1.7; }
.feature-card:hover p { color: rgba(255,255,255,.85); }

/* =============================================================
   9. 首页 — 技术文章列表(2栏)
   ============================================================= */
.article-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.article-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all .3s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card .thumb {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-soft);
    position: relative;
}
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.article-card:hover .thumb img { transform: scale(1.05); }
.article-card .thumb .date-tag {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(6px);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-num);
    font-size: 12px;
    color: var(--brand-600);
    font-weight: 600;
}
.article-card .body { padding: 22px; }
.article-card h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}
.article-card h3 a { color: var(--ink-800); }
.article-card h3 a:hover { color: var(--brand-600); }
.article-card .excerpt {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
    min-height: 44px;
}
.article-card .meta {
    font-size: 12px;
    color: var(--text-mute);
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
}
.article-card .meta .cat {
    color: var(--brand-600);
    font-weight: 500;
}

/* =============================================================
   10. 首页 — 联系我们 CTA 区
   ============================================================= */
.cta-band {
    background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
    color: #fff;
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='20' cy='20' r='1' fill='%23ffffff' opacity='.08'/></svg>");
    opacity: .5;
}
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h3 { font-size: 28px; color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band .phone-big {
    font-family: var(--font-num);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
}
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =============================================================
   11. 面包屑
   ============================================================= */
.breadcrumb {
    background: var(--bg-soft);
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-soft);
}
.breadcrumb-inner a { color: var(--text-soft); }
.breadcrumb-inner a:hover { color: var(--brand-600); }
.breadcrumb-inner .sep { color: var(--text-mute); }
.breadcrumb-inner .current { color: var(--ink-700); font-weight: 500; }

/* =============================================================
   12. 通用页面 — 侧栏 + 内容
   ============================================================= */
.page-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding: 50px 0 80px;
    align-items: start;
}
.page-wrap--full { grid-template-columns: 1fr; }

/* 让 sidebar 一直 sticky (长 sidebar 滚动友好) */
.sidebar-col {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 4px;
}
.sidebar-col::-webkit-scrollbar { width: 4px; }
.sidebar-col::-webkit-scrollbar-thumb { background: var(--ink-200, #e6ebf0); border-radius: 2px; }
.sidebar-col::-webkit-scrollbar-thumb:hover { background: var(--brand-300, #ff9494); }

.main-col { min-width: 0; }

/* 侧栏卡片 */
.widget {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    margin-bottom: 24px;
    overflow: hidden;
}
.widget-title {
    background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
    color: #fff;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-title::before {
    content: "";
    width: 4px; height: 18px;
    background: rgba(255,255,255,.5);
    border-radius: 2px;
}
.widget-body { padding: 18px 20px; }

/* 产品分类树 */
.cat-tree { padding: 8px 0; }
.cat-tree > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--ink-700);
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all .2s var(--ease);
}
.cat-tree > li > a:hover,
.cat-tree > li.current-cat > a {
    background: var(--brand-50);
    color: var(--brand-600);
    border-left-color: var(--brand-600);
}
.cat-tree > li > a .count {
    font-size: 12px;
    color: var(--text-mute);
}

/* 二级(子)分类 — 默认折叠;仅当前激活的 li 才显示 */
.cat-tree .children {
    display: none;
    padding: 4px 0 4px 12px;
    border-left: 2px solid var(--brand-100, #ffdede);
    margin-left: 20px;
}
.cat-tree > li.current-cat > .children { display: block; }
.cat-tree .children li > a {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--text-soft);
    transition: color .2s, background .2s;
    line-height: 1.45;
    border-radius: 4px;
}
.cat-tree .children li > a:hover,
.cat-tree .children li.current-cat > a {
    color: var(--brand-600);
    background: var(--brand-50);
}
.cat-tree .children li > a::before {
    content: "›";
    color: var(--brand-300);
    margin-right: 4px;
    font-size: 11px;
    display: inline-block;
    transition: transform .2s;
}
.cat-tree .children li.current-cat > a::before { transform: translateX(2px); }

/* 联系侧栏 */
.contact-widget { padding: 24px 20px; text-align: center; }
.contact-widget .phone {
    font-family: var(--font-num);
    font-size: 26px;
    font-weight: 700;
    color: var(--brand-600);
    margin: 8px 0;
    letter-spacing: 1px;
}
.contact-widget .qr {
    margin: 12px auto 0;
    width: 140px; height: 140px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mute);
    font-size: 12px;
}
.contact-widget p { color: var(--text-soft); font-size: 13px; margin: 6px 0; }

/* =============================================================
   13. 产品列表(archive-product.php)
   ============================================================= */
.products-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.products-toolbar {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 24px;
}
.products-toolbar .total strong {
    font-family: var(--font-num);
    color: var(--brand-600);
    font-weight: 700;
}
.products-toolbar .sort a {
    margin-left: 16px;
    color: var(--text-soft);
}
.products-toolbar .sort a.active,
.products-toolbar .sort a:hover { color: var(--brand-600); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (min-width: 1100px) and (max-width: 1280px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   14. 产品详情页
   ============================================================= */
.product-detail-wrap { background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.product-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}
.product-head .gallery .main-img {
    aspect-ratio: 4/3;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
}
.product-head .gallery .main-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-head .gallery .thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}
.product-head .gallery .thumbs .thumb {
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s;
}
.product-head .gallery .thumbs .thumb:hover,
.product-head .gallery .thumbs .thumb.active { border-color: var(--brand-600); }
.product-head .gallery .thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; padding: 4px; }

.product-head .summary .cat {
    display: inline-block;
    font-size: 12px;
    color: var(--brand-600);
    padding: 3px 10px;
    background: var(--brand-50);
    border-radius: 3px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.product-head .summary h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--ink-800);
    line-height: 1.4;
    margin-bottom: 14px;
}
.product-head .summary .short-desc {
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 22px;
    padding: 14px 16px;
    background: #fff;
    border-left: 3px solid var(--brand-600);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 14px;
}
.product-head .summary .attrs {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-bottom: 24px;
}
.product-head .summary .attrs dt {
    font-size: 13px;
    color: var(--text-soft);
    margin-bottom: 8px;
}
.product-head .summary .attrs dd { margin: 0 0 14px; color: var(--ink-700); font-size: 14px; }
.product-head .summary .actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 详情 Tabs */
.product-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--line);
    padding: 0 40px;
    background: #fff;
}
.product-tabs-nav a {
    padding: 18px 32px;
    color: var(--ink-700);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color .2s;
}
.product-tabs-nav a:hover,
.product-tabs-nav a.active {
    color: var(--brand-600);
}
.product-tabs-nav a.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--brand-600);
}
.product-tab-panel { padding: 40px; }
.product-tab-panel h2, .product-tab-panel h3 { color: var(--ink-800); margin: 1.6em 0 .8em; }
.product-tab-panel p { line-height: 1.9; color: var(--text-main); }
.product-tab-panel ul, .product-tab-panel ol { padding-left: 1.4em; margin: 1em 0; }
.product-tab-panel li { margin-bottom: .4em; line-height: 1.8; }
.product-tab-panel img { margin: 1em auto; border-radius: var(--radius); }
.product-tab-panel table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}
.product-tab-panel table th, .product-tab-panel table td {
    padding: 12px 16px;
    border: 1px solid var(--line);
    text-align: left;
}
.product-tab-panel table th {
    background: var(--brand-50);
    color: var(--brand-700);
    font-weight: 600;
}

/* =============================================================
   15. 文章列表 / 文章详情
   ============================================================= */
.articles-list-wrap { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px; }
.article-row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}
.article-row:last-child { border-bottom: 0; }
.article-row .thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-soft);
}
.article-row .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.article-row:hover .thumb img { transform: scale(1.04); }
.article-row .info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}
.article-row .info h3 a { color: var(--ink-800); }
.article-row .info h3 a:hover { color: var(--brand-600); }
.article-row .info .meta {
    font-size: 13px;
    color: var(--text-mute);
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    align-items: center;
}
.article-row .info .meta .cat {
    color: var(--brand-600);
    padding: 2px 10px;
    background: var(--brand-50);
    border-radius: 3px;
    font-size: 12px;
}
.article-row .info .excerpt {
    color: var(--text-soft);
    line-height: 1.85;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}
.article-row .info .more-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--brand-600);
    font-size: 14px;
    font-weight: 500;
}

/* 文章详情 */
.article-detail {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 50px 60px;
}
.article-detail .detail-head { text-align: center; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.article-detail h1.detail-title {
    font-size: 30px;
    color: var(--ink-800);
    line-height: 1.4;
    margin-bottom: 18px;
    font-weight: 700;
}
.article-detail .detail-meta {
    font-size: 13px;
    color: var(--text-mute);
    display: flex;
    justify-content: center;
    gap: 24px;
}
.article-detail .detail-meta .cat {
    color: var(--brand-600);
    padding: 2px 10px;
    background: var(--brand-50);
    border-radius: 3px;
}
.article-detail .detail-cover {
    margin-bottom: 30px;
    border-radius: var(--radius);
    overflow: hidden;
}
.article-detail .detail-cover img { width: 100%; }
.article-detail .detail-content {
    font-size: 15px;
    line-height: 1.95;
    color: var(--text-main);
}
.article-detail .detail-content h2 { font-size: 22px; margin: 2em 0 .8em; padding-left: 14px; border-left: 4px solid var(--brand-600); }
.article-detail .detail-content h3 { font-size: 18px; margin: 1.6em 0 .6em; color: var(--ink-800); }
.article-detail .detail-content p { margin: 1em 0; }
.article-detail .detail-content img { margin: 1.2em auto; border-radius: var(--radius); }
.article-detail .detail-content blockquote {
    background: var(--brand-50);
    border-left: 4px solid var(--brand-600);
    margin: 1.5em 0;
    padding: 16px 20px;
    color: var(--ink-700);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.article-detail .detail-content ul, .article-detail .detail-content ol { padding-left: 1.6em; margin: 1em 0; }
.article-detail .detail-content li { margin-bottom: .4em; }
.article-detail .detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4em 0;
    font-size: 14px;
}
.article-detail .detail-content table th, .article-detail .detail-content table td {
    padding: 12px 16px;
    border: 1px solid var(--line);
}
.article-detail .detail-content table th {
    background: var(--brand-50);
    color: var(--brand-700);
    font-weight: 600;
}

/* 上下篇 */
.detail-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.detail-pager .pager-cell {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 18px 22px;
    transition: background .2s;
}
.detail-pager .pager-cell:hover { background: var(--brand-50); }
.detail-pager .pager-cell .label { font-size: 12px; color: var(--text-mute); margin-bottom: 6px; letter-spacing: 1px; }
.detail-pager .pager-cell .title {
    color: var(--ink-800);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.detail-pager .pager-cell.next { text-align: right; }

/* =============================================================
   16. 关于我们页
   ============================================================= */
.about-hero {
    background: var(--ink-800);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(212,13,13,.3), transparent 50%);
}
.about-hero .container { position: relative; z-index: 1; }
.about-hero .eyebrow {
    color: var(--brand-400);
    font-size: 13px;
    letter-spacing: 6px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.about-hero h1 {
    font-size: 48px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
.about-hero p {
    font-size: 17px;
    color: rgba(255,255,255,.7);
    max-width: 720px;
    line-height: 1.9;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 70px 0;
}
.about-intro .media {
    aspect-ratio: 5/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-intro .media img { width: 100%; height: 100%; object-fit: cover; }
.about-intro .content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--ink-800);
    margin-bottom: 12px;
    line-height: 1.3;
}
.about-intro .content .lead {
    font-size: 15px;
    color: var(--brand-600);
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.about-intro .content p {
    color: var(--text-main);
    line-height: 1.95;
    margin-bottom: 16px;
}

/* 数据看板 */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 60px 0;
}
.kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all .3s var(--ease);
}
.kpi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.kpi-card .num {
    font-family: var(--font-num);
    font-size: 44px;
    font-weight: 700;
    color: var(--brand-600);
    line-height: 1;
    letter-spacing: 1px;
}
.kpi-card .num small { font-size: 18px; color: var(--brand-400); margin-left: 4px; }
.kpi-card .label {
    font-size: 13px;
    color: var(--text-soft);
    margin-top: 12px;
    letter-spacing: 2px;
}

/* 文化理念 */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.value-card {
    background: var(--bg-card);
    padding: 36px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    text-align: center;
    transition: all .3s var(--ease);
}
.value-card:hover { box-shadow: var(--shadow); border-color: var(--brand-200); }
.value-card .num {
    font-family: var(--font-num);
    font-size: 36px;
    color: var(--brand-100);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
}
.value-card h4 { font-size: 18px; color: var(--ink-800); margin-bottom: 12px; }
.value-card p { color: var(--text-soft); line-height: 1.85; margin: 0; }

/* 时间线 */
.timeline {
    position: relative;
    margin: 60px auto 0;
    max-width: 900px;
    padding-left: 0;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 90px;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--line);
}
.timeline li {
    position: relative;
    padding: 0 0 36px 130px;
}
.timeline li .year {
    position: absolute;
    left: 0;
    top: 0;
    width: 90px;
    text-align: center;
    font-family: var(--font-num);
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-600);
}
.timeline li .year::after {
    content: "";
    position: absolute;
    right: -8px; top: 8px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--brand-600);
    box-shadow: 0 0 0 4px var(--brand-50);
}
.timeline li .body { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.timeline li .body h4 { font-size: 16px; margin-bottom: 6px; }
.timeline li .body p { color: var(--text-soft); font-size: 14px; margin: 0; }

/* =============================================================
   17. 联系页
   ============================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    padding: 50px 0 80px;
}
.contact-info-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 50px 56px;
}
.contact-info-card h2 {
    font-size: 28px;
    color: var(--ink-800);
    margin-bottom: 8px;
}
.contact-info-card .lead {
    color: var(--text-soft);
    margin-bottom: 40px;
}
.contact-info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.contact-info-item .icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--brand-50);
    color: var(--brand-600);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
}
.contact-info-item .body .label { font-size: 13px; color: var(--text-soft); margin-bottom: 4px; }
.contact-info-item .body .value { font-size: 16px; color: var(--ink-800); font-weight: 500; }
.contact-info-item .body .value.phone {
    font-family: var(--font-num);
    font-size: 24px;
    color: var(--brand-600);
    font-weight: 700;
}

.contact-map {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
}
.contact-map iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

/* 留言表单 */
.message-form {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 50px 56px;
}
.message-form h2 { font-size: 24px; margin-bottom: 8px; }
.message-form .lead { color: var(--text-soft); margin-bottom: 28px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-field label { display: block; font-size: 13px; color: var(--ink-700); margin-bottom: 8px; font-weight: 500; }
.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    color: var(--ink-800);
    transition: all .2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--brand-600);
    background: #fff;
    box-shadow: 0 0 0 3px var(--brand-50);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-actions { text-align: center; margin-top: 24px; }

/* =============================================================
   18. Footer
   ============================================================= */
.site-footer {
    background: var(--ink-800);
    color: rgba(255,255,255,.6);
    padding-top: 64px;
    margin-top: 60px;
    position: relative;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-600) 0%, var(--brand-400) 50%, var(--brand-600) 100%);
}
.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 24px; height: 2px;
    background: var(--brand-500);
    transition: width .25s var(--ease);
}
.footer-col:hover h4::after { width: 48px; }

.footer-col p { font-size: 13px; line-height: 1.85; margin-bottom: 14px; color: rgba(255,255,255,.6); }
.footer-col .footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.footer-col .footer-logo .accent { color: var(--brand-400); }
.footer-col .footer-sub { font-size: 11px; letter-spacing: 4px; color: rgba(255,255,255,.4); text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 13px; }
.footer-col ul li a {
    color: rgba(255,255,255,.6);
    transition: color .2s, transform .2s;
    display: inline-block;
}
.footer-col ul li a::before {
    content: "›";
    color: var(--brand-500);
    margin-right: 6px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s;
    display: inline-block;
}
.footer-col ul li a:hover { color: #fff; transform: translateX(4px); }
.footer-col ul li a:hover::before { opacity: 1; transform: translateX(0); }

/* logo+desc 列专属增强 */
.footer-col .footer-tagline {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,.55);
    margin: 12px 0 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer-col .footer-cert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    font-size: 11.5px;
    color: rgba(255,255,255,.55);
    letter-spacing: .5px;
}
.footer-col .footer-cert svg { color: var(--brand-400); }

/* 联系方式项 hover / 链接化 */
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    margin-bottom: 12px;
    font-size: 13.5px;
    color: rgba(255,255,255,.7);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.55;
}
.footer-contact li .ico {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--brand-400);
    margin-top: 1px;
}
.footer-contact a {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: color .15s;
}
.footer-contact a:hover { color: var(--brand-400); }
.footer-contact .footer-phone {
    font-family: var(--font-num);
    font-size: 22px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    display: block;
    margin: 2px 0 4px;
}
.footer-contact .footer-phone:hover { color: var(--brand-400); }

/* QR 块 */
.footer-qr {
    width: 110px; height: 140px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    margin: 16px 0 0;
    padding: 8px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 6px;
    color: rgba(255,255,255,.4);
    font-size: 12px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
    position: relative;
    overflow: hidden;
}
.footer-qr::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(212, 13, 13, .14));
    opacity: 0;
    transition: opacity .25s;
}
.footer-qr:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    border-color: var(--brand-500);
}
.footer-qr:hover::after { opacity: 1; }
.footer-qr img {
    width: 94px; height: 94px;
    display: block;
    border-radius: 6px;
    object-fit: cover;
    background: #fff;
    padding: 4px;
    position: relative;
    z-index: 1;
}
.footer-qr-label {
    color: rgba(255,255,255,.55);
    font-size: 11.5px;
    line-height: 1.3;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 22px 0;
    font-size: 12px;
    color: rgba(255,255,255,.45);
    background: rgba(0, 0, 0, .15);
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .icp-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(255,255,255,.04);
    border-radius: 4px;
    transition: background .2s;
}
.footer-bottom .icp-link:hover { background: rgba(255,255,255,.08); color: #fff; }

/* 友情链接 */
.friendly-links {
    background: var(--ink-900);
    padding: 18px 0;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,.05);
}
.friendly-links .container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    align-items: center;
}
.friendly-links .label { color: rgba(255,255,255,.5); margin-right: 6px; }
.friendly-links a {
    color: rgba(255,255,255,.4);
    transition: color .2s;
    position: relative;
}
.friendly-links a:not(:last-child)::after {
    content: "|";
    color: rgba(255,255,255,.15);
    margin-left: 22px;
    position: absolute;
    right: -16px;
}
.friendly-links a:hover { color: rgba(255,255,255,.85); }

/* =============================================================
   19. 404 / 分页 / 空状态
   ============================================================= */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}
.empty-state .code {
    font-family: var(--font-num);
    font-size: 120px;
    font-weight: 700;
    color: var(--brand-100);
    line-height: 1;
    letter-spacing: 4px;
}
.empty-state h2 { font-size: 22px; margin: 24px 0 8px; color: var(--ink-800); }
.empty-state p { color: var(--text-soft); margin-bottom: 24px; }

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 40px 0 0;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink-700);
    font-size: 14px;
    transition: all .2s;
}
.pagination .page-numbers:hover {
    border-color: var(--brand-600);
    color: var(--brand-600);
}
.pagination .page-numbers.current {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
}
.pagination .page-numbers.dots { border: 0; background: transparent; }

/* =============================================================
   20. 响应式
   ============================================================= */
@media (max-width: 1280px) {
    body { min-width: 0; }
    .product-grid, .article-list, .feature-grid, .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-main { grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
}
@media (max-width: 1024px) {
    .product-grid, .article-list, .feature-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1.4fr 1fr; gap: 32px; }
    .header-phone { display: none; }
    .hero .hero-title { font-size: 38px; }
    .page-wrap { grid-template-columns: 1fr; }
    .about-intro, .tech-grid { grid-template-columns: 1fr; }
    .product-head { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .product-grid, .article-list, .feature-grid, .products-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .hero .hero-title { font-size: 30px; }
    .hero-stats { gap: 28px; flex-wrap: wrap; }
    .section-head .title { font-size: 24px; }
    .article-row { grid-template-columns: 1fr; }
    .article-detail { padding: 30px 22px; }
    .form-row { grid-template-columns: 1fr; }
    .cta-band .container { flex-direction: column; text-align: center; }
}
/* =============================================================
   资讯归档 — 资讯风格专用样式
   ============================================================= */
.news-archive-wrap {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding: 40px 0 80px;
}

.news-archive-head {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ink-200);
}
.news-archive-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--ink-900);
    margin: 0 0 6px;
}
.news-archive-desc {
    color: var(--ink-700, #6b7280);
    font-size: 14px;
    margin: 0;
}

/* 资讯卡片列表 */
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.news-item {
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    overflow: hidden;
}
.news-item:hover {
    border-color: var(--brand-300);
    box-shadow: 0 6px 24px rgba(212, 13, 13, .08);
    transform: translateY(-2px);
}

.news-item-link {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 20px;
    color: inherit;
    text-decoration: none;
}

.news-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background: var(--ink-100);
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.news-item:hover .news-thumb img {
    transform: scale(1.04);
}
.news-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
    color: var(--brand-700);
    font-size: 44px;
    font-weight: 700;
}
.news-cat-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.news-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.news-title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ink-900);
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .15s ease;
}
.news-item:hover .news-title {
    color: var(--brand-600);
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #5a6573;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #8a94a3;
    flex-wrap: wrap;
}
.news-meta-time,
.news-meta-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.news-meta-arrow {
    margin-left: auto;
    font-size: 13px;
    color: var(--brand-600);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s ease, transform .2s ease;
}
.news-item:hover .news-meta-arrow {
    opacity: 1;
    transform: translateX(0);
}

.news-empty {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed var(--ink-200);
    border-radius: 10px;
    color: #8a94a3;
}

/* 资讯分页美化 */
.news-main .nav-links,
.news-main .pagination {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.news-main .page-numbers {
    display: inline-block;
    min-width: 36px;
    padding: 8px 14px;
    text-align: center;
    border: 1px solid var(--ink-200);
    border-radius: 6px;
    background: #fff;
    color: var(--ink-900);
    text-decoration: none;
    font-size: 14px;
    transition: all .15s ease;
}
.news-main .page-numbers:hover {
    border-color: var(--brand-500);
    color: var(--brand-600);
}
.news-main .page-numbers.current {
    background: var(--brand-600);
    border-color: var(--brand-600);
    color: #fff;
}
.news-main .page-numbers.dots { border: none; background: transparent; }

/* 资讯归档 - 移动端 */
@media (max-width: 960px) {
    .news-archive-wrap { grid-template-columns: 1fr; gap: 20px; padding: 24px 0 60px; }
    .news-item-link { grid-template-columns: 140px 1fr; gap: 14px; padding: 14px; }
    .news-title { font-size: 16px; }
    .news-excerpt { -webkit-line-clamp: 2; }
    .news-meta-arrow { display: none; }
}
@media (max-width: 560px) {
    .news-item-link { grid-template-columns: 1fr; }
    .news-thumb { aspect-ratio: 16 / 9; }
}

/* =============================================================
   首页 — 资讯卡片统一风格
   ============================================================= */
.article-card {
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.article-card:hover {
    border-color: var(--brand-300);
    box-shadow: 0 6px 24px rgba(212, 13, 13, .08);
    transform: translateY(-2px);
}
.article-card .thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.article-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.article-card:hover .thumb img { transform: scale(1.04); }
.article-card .date-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, .65);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.1;
    backdrop-filter: blur(4px);
}
.article-card .body { padding: 16px; }
.article-card .body h3 {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card .body h3 a { color: var(--ink-900); text-decoration: none; transition: color .15s; }
.article-card .body h3 a:hover { color: var(--brand-600); }
.article-card .body .excerpt {
    font-size: 13px;
    color: #5a6573;
    line-height: 1.6;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card .body .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #8a94a3;
}
.article-card .body .meta .cat {
    display: inline-block;
    padding: 2px 10px;
    background: var(--brand-50);
    color: var(--brand-700);
    border-radius: 999px;
    font-weight: 500;
}

/* =============================================================
   导航菜单——7 项防 2 行优化

/* =============================================================
   关于我们 hero (page-aboutus.php) — 复用首页 hero 视觉
   ============================================================= */
.hero--about {
    background-position: center;
}
.hero--about .hero-title {
    text-transform: none;
}

.aboutus-content {
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 60px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--ink-200);
}
.aboutus-content > * { margin-bottom: 18px; }
.aboutus-content h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--ink-900);
    margin: 20px 0 12px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--brand-600);
    display: inline-block;
}
.aboutus-content h2 { font-size: 22px; font-weight: 600; color: var(--brand-700); margin: 30px 0 12px; }
.aboutus-content h3 { font-size: 18px; font-weight: 600; color: var(--ink-900); margin: 20px 0 8px; }
.aboutus-content p { font-size: 16px; line-height: 2; color: var(--ink-700); }
.aboutus-content strong { color: var(--brand-700); }
.aboutus-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
.aboutus-content .wp-block-button__link {
    display: inline-block;
    padding: 12px 28px;
    background: var(--brand-600);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background .15s ease;
}
.aboutus-content .wp-block-button__link:hover { background: var(--brand-700); color: #fff; }
.aboutus-content figure.wp-block-image { margin: 20px 0; }

@media (max-width: 768px) {
    .aboutus-content { padding: 30px 22px; }
    .aboutus-content h1 { font-size: 24px; }
    .aboutus-content h2 { font-size: 19px; }
    .aboutus-content p { font-size: 15px; line-height: 1.85; }
}

/* =============================================================
   导航 — 7 项强制一行 (replace 之前的多层兜底)
   - 主菜单 7 个 li, 全部 flex-shrink: 0 + ul flex-wrap: nowrap
   - padding/字号一律 14.5 / 12px,不会超 width
   - 紧凑的 font + 移除右侧 phone,腾出 180px+ 空间
   ============================================================= */
.header-main {
    gap: 20px;                      /* 原 40 */
}
.primary-nav {
    flex: 1 1 auto;
    min-width: 0;                   /* 允许 flex 子项收缩 */
}
.primary-nav > ul {
    display: flex;
    flex-wrap: nowrap;              /* 禁止换行 */
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    white-space: nowrap;
}
.primary-nav > ul > li {
    position: relative;
    flex-shrink: 0;                 /* 防止被压缩换行 */
}
.primary-nav > ul > li > a {
    display: block;
    padding: 0 12px;
    height: var(--header-h);
    line-height: var(--header-h);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-700);
    white-space: nowrap;
    position: relative;
    transition: color .2s var(--ease);
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.current-menu-item > a {
    color: var(--brand-600);
}
.primary-nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 18px;
    height: 2px;
    background: transparent;
    transition: background .2s;
}
.primary-nav > ul > li.current-menu-item > a::after,
.primary-nav > ul > li > a:hover::after {
    background: var(--brand-600);
}

/* 子菜单(保留原 fallback) — 不变 */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--ink-0);
    box-shadow: var(--shadow);
    border-top: 2px solid var(--brand-600);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s var(--ease);
    z-index: 99;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sub-menu li a {
    display: block;
    padding: 10px 22px;
    font-size: 14px;
    color: var(--ink-700);
    white-space: nowrap;
    border-left: 2px solid transparent;
    transition: all .2s var(--ease);
}
.sub-menu li a:hover {
    color: var(--brand-600);
    background: var(--brand-50);
    border-left-color: var(--brand-600);
}

/* 响应式:窄屏进一步压 */
@media (max-width: 1280px) {
    .site-header .container { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 1100px) {
    .primary-nav > ul > li > a { padding: 0 9px; font-size: 13.5px; }
    .primary-nav > ul > li > a::after { left: 9px; right: 9px; }
}
@media (max-width: 920px) {
    .primary-nav > ul > li > a { padding: 0 6px; font-size: 13px; }
}
@media (max-width: 780px) {
    /* mobile: 隐藏主导航,这里假设你之后会接 hamburger */
    .primary-nav { display: none; }
}

/* =============================================================
   HEADER-PHONE (历史遗留, header.php 已删除,这里只兜底不报错)
   ============================================================= */
.header-phone { display: none; }

/* =============================================================

/* =============================================================
   /contact/ - 自定义模板专用 CSS
   ============================================================= */

/* ----- 在线咨询表单 ----- */
.contact-form {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 14px;
    padding: 38px 44px;
    box-shadow: var(--shadow);
}
.contact-form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 20px;
}
.contact-form .row.single { grid-template-columns: 1fr; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-900, #1f2937);
}
.contact-form label .req { color: var(--brand-600, #d40d0d); margin-left: 2px; }
.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    font-size: 14.5px;
    color: var(--ink-900, #1f2937);
    background: #fff;
    border: 1px solid var(--ink-200, #e6ebf0);
    border-radius: 8px;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px rgba(212, 13, 13, .12);
}
.contact-form textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.contact-form .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-700, #5a6573);
    cursor: pointer;
    font-weight: 400;
}
.contact-form .checkbox input { margin-top: 4px; flex-shrink: 0; }
.contact-form .checkbox .link { color: var(--brand-600); text-decoration: none; }
.contact-form .checkbox .link:hover { text-decoration: underline; }
.contact-form .submit-row {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 6px;
}
.contact-form .response {
    margin: 0;
    font-size: 14px;
    color: var(--ink-700);
}
.contact-form .response.ok { color: #27ae60; }
.contact-form .response.err { color: var(--brand-600); }
.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
    border-color: var(--brand-500);
}

/* ----- 联系方式 3 卡片 ----- */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ci-card {
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 12px;
    padding: 32px 28px;
    text-align: center;
    transition: all .25s ease;
}
.ci-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .08);
    border-color: var(--brand-300);
}
.ci-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
}
.ci-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink-900, #1f2937);
    margin: 0 0 10px;
}
.ci-strong {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink-900, #1f2937);
    margin: 0 0 6px;
    word-break: break-all;
}
.ci-note {
    font-size: 13px;
    color: var(--ink-700, #5a6573);
    margin: 0 0 16px;
}
.ci-link {
    display: inline-block;
    padding: 7px 18px;
    background: var(--brand-50, #fff1f1);
    color: var(--brand-700, #a80808);
    border-radius: 999px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all .2s ease;
}
.ci-link:hover { background: var(--brand-600, #d40d0d); color: #fff; }

/* ----- 公司环境 + QR ----- */
.company-line {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 36px;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--ink-200);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-xs, 0 1px 2px rgba(0,0,0,.05));
}
.company-line__left {
    position: relative;
}
.company-line__left img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}
.line-meta {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    font-size: 13.5px;
}
.line-meta__item b {
    color: var(--brand-300, #ff9494);
    font-size: 16px;
    font-weight: 700;
    margin-right: 4px;
}
.company-line__right {
    padding: 36px 36px 36px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.qr-card {
    width: 108px;
    text-align: center;
    flex-shrink: 0;
}
.qr-card img {
    width: 108px;
    height: 108px;
    border: 1px solid var(--ink-200);
    border-radius: 8px;
    padding: 6px;
    background: #fff;
}
.qr-card span {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--ink-700, #5a6573);
}

/* ----- 地图区 ----- */
.section--map {
    padding-bottom: 60px;
}
.map-wrap {
    position: relative;
    box-shadow: var(--shadow);
    border-radius: 12px;
    overflow: hidden;
}
.map-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 30px;
    margin-top: 22px;
    padding: 18px 24px;
    background: var(--brand-50, #fff1f1);
    border-radius: 10px;
    border-left: 4px solid var(--brand-600, #d40d0d);
    font-size: 14px;
    color: var(--ink-700, #5a6573);
}
.map-note b {
    color: var(--ink-900, #1f2937);
    margin-right: 4px;
}

/* ----- 响应式 ----- */
@media (max-width: 900px) {
    .contact-form { padding: 26px 22px; }
    .contact-form .row { grid-template-columns: 1fr; gap: 16px; }
    .contact-cards { grid-template-columns: 1fr; gap: 16px; }
    .company-line { grid-template-columns: 1fr; }
    .company-line__right { padding: 28px 22px; }
    .line-meta { font-size: 12.5px; padding: 10px 14px; }
}

/* =============================================================
   移动端汉堡按钮 + 抽屉式菜单
   ============================================================= */
.nav-toggle {
    display: none;  /* 默认桌面隐藏 */
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background .2s;
}
.nav-toggle:hover { background: var(--brand-50); }
.nav-toggle__bar {
    display: block;
    width: 22px; height: 2px;
    background: var(--ink-800, #1f2937);
    border-radius: 1px;
    transition: transform .25s ease, opacity .25s ease, background .2s;
}
.nav-toggle.is-active .nav-toggle__bar { background: var(--brand-600); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 抽屉/遮罩 默认隐藏 */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 998;
}
.mobile-nav-backdrop.is-show {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 85vw);
    background: #fff;
    box-shadow: -8px 0 24px rgba(0, 0, 0, .15);
    z-index: 999;
    transform: translateX(100%);
    transition: transform .3s var(--ease, ease);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.mobile-nav-drawer.is-open {
    transform: translateX(0);
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--ink-200);
    background: linear-gradient(180deg, #fff, var(--brand-50));
}
.mobile-nav-logo {
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-700);
    text-decoration: none;
    letter-spacing: .5px;
}
.mobile-nav-close {
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--ink-700);
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
}
.mobile-nav-close:hover { background: var(--brand-50); color: var(--brand-600); }

.mobile-nav-list { flex: 1; padding: 12px 0; }
.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-menu > li {
    border-bottom: 1px solid var(--ink-100, #f4f6f8);
}
.mobile-menu > li > a {
    display: block;
    padding: 16px 22px;
    color: var(--ink-800, #1f2937);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, padding-left .2s;
    position: relative;
}
.mobile-menu > li > a:hover,
.mobile-menu > li > a.current-menu-item {
    background: var(--brand-50);
    color: var(--brand-600);
    padding-left: 28px;
}
.mobile-menu > li > a::before {
    content: "›";
    position: absolute;
    left: 22px;
    color: var(--brand-300);
    opacity: 0;
    transition: opacity .2s, transform .2s;
}
.mobile-menu > li > a:hover::before,
.mobile-menu > li > a.current-menu-item::before {
    opacity: 1;
    transform: translateX(-4px);
}
/* 子菜单 */
.mobile-menu > li .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--ink-50, #fafbfc);
}
.mobile-menu > li .sub-menu a {
    display: block;
    padding: 12px 22px 12px 32px;
    color: var(--ink-700);
    font-size: 13.5px;
    text-decoration: none;
}
.mobile-menu > li .sub-menu a:hover { background: var(--brand-50); color: var(--brand-600); }

.mobile-nav-foot {
    padding: 20px 22px;
    border-top: 1px solid var(--ink-200);
    background: var(--ink-50, #fafbfc);
}
.mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--brand-600);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    transition: background .2s, transform .2s;
}
.mobile-nav-cta:hover {
    background: var(--brand-700);
    color: #fff;
    transform: translateY(-1px);
}

/* 当 drawer 打开,body 锁滚动 */
body.nav-open { overflow: hidden; }

/* ============== responsive 断点 ============== */
@media (max-width: 880px) {
    /* 显示汉堡按钮 */
    .nav-toggle { display: flex; }
    /* desktop nav 隐藏 */
    #desktop-nav { display: none; }
    /* 主 menu 留 logo + 按钮 */
    .header-main {
        gap: 12px;
        justify-content: space-between;
    }
    .site-logo { flex-shrink: 0; }
}
@media (min-width: 881px) {
    /* 大屏下 drawer / backdrop / button 不显示逻辑 */
    .nav-toggle { display: none !important; }
    .mobile-nav-backdrop, .mobile-nav-drawer { display: none; }
}

/* 在 880-1100 之间 desktop nav 容易挤 — 让 button 一直可见,不影响 */
@media (max-width: 1100px) and (min-width: 881px) {
    .nav-toggle { display: flex !important; }
}

/* =============================================================
   Mobile-responsive 关键页面 — single-product / page-contact
   ============================================================= */

/* ---- 通用 mobile container padding 收紧 ---- */
@media (max-width: 560px) {
    .container { padding-left: 14px; padding-right: 14px; }
    .section { padding: 36px 0; }
    .page-wrap { padding: 28px 0 60px !important; }
    .hero .hero-title { font-size: 26px !important; }
    .hero .hero-sub { font-size: 14px; }
    .section-head .title { font-size: 22px; }
    .section-head .desc { font-size: 13.5px; }
    .btn { padding: 11px 22px; font-size: 14px; }
    .btn--lg { padding: 13px 22px; font-size: 15px; }

    /* breadcrumb 紧凑 */
    .breadcrumb-inner { font-size: 12.5px; flex-wrap: wrap; gap: 4px; }

    /* CTA 横幅堆叠 */
    .cta-band { text-align: left; }
    .cta-band h3 { font-size: 22px; }
    .cta-band .container { flex-direction: column; align-items: stretch; gap: 18px; }
    .cta-band .phone-big { font-size: 26px; text-align: center; }
    .cta-band .actions { justify-content: center; gap: 10px; }
}

/* =============================================================
   single-product 移动端优化
   ============================================================= */
@media (max-width: 768px) {
    /* 产品 head: 1fr → 单列堆叠 (默认 1fr 1fr 在 mobile 挤) */
    .product-head {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* gallery 占满 */
    .product-head .gallery { width: 100%; }
    .product-head .gallery .main-img {
        aspect-ratio: 4 / 3;
        max-height: 360px;
    }

    /* thumbs: 4 列 → 5 列横排更紧凑 */
    .product-head .gallery .thumbs {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 6px !important;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .product-head .gallery .thumbs::-webkit-scrollbar { display: none; }

    /* summary 排版 */
    .product-head .summary h1 { font-size: 22px; line-height: 1.4; }
    .product-head .summary .cat { font-size: 12px; padding: 4px 10px; }
    .product-head .summary .short-desc {
        font-size: 14px; line-height: 1.65;
        padding: 12px 14px;
        margin: 16px 0;
    }
    /* attrs 表格单列化 + 紧凑 */
    .product-head .summary .attrs {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        background: #fff;
        border-radius: 10px;
        box-shadow: var(--shadow-xs, 0 1px 2px rgba(0,0,0,.05));
        padding: 4px 0;
    }
    .product-head .summary .attrs dt,
    .product-head .summary .attrs dd {
        display: block;
        width: 100%;
        padding: 10px 16px;
        border-bottom: 1px solid var(--line, #f0f0f0);
        font-size: 13.5px;
    }
    .product-head .summary .attrs dt {
        color: var(--ink-700);
        font-weight: 600;
        font-size: 12.5px;
        text-transform: uppercase;
        letter-spacing: .5px;
        background: var(--bg-soft, #fafbfc);
        padding-bottom: 4px;
    }
    .product-head .summary .attrs dd {
        padding-top: 4px;
        padding-bottom: 12px;
        color: var(--ink-900);
        border-bottom: 2px solid var(--line, #f0f0f0);
    }
    .product-head .summary .attrs dt:last-of-type,
    .product-head .summary .attrs dd:last-of-type { border-bottom: 0; }

    /* actions: 主CTA 满宽 */
    .product-head .summary .actions {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .product-head .summary .actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* tabs nav: 横滑 sticky top */
    .product-tabs-nav, .product-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        justify-content: flex-start;
        position: sticky;
        top: var(--header-h, 64px);
        z-index: 50;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 0 16px;
        margin: 0 -14px 24px;
    }
    .product-tabs-nav::-webkit-scrollbar, .product-tabs::-webkit-scrollbar { display: none; }
    .product-tabs-nav a, .product-tabs a {
        flex-shrink: 0;
        padding: 12px 16px;
        font-size: 14px;
    }

    /* 详情内容图在手机 */
    .article-detail img,
    .product-tabs + div img {
        max-width: 100%;
        height: auto !important;
    }
}

/* 480-560 极窄机型 */
@media (max-width: 480px) {
    .product-head .gallery .main-img { max-height: 280px; }
    .product-head .summary h1 { font-size: 20px; }
    .product-head .summary .cat { font-size: 11.5px; padding: 3px 8px; }
}

/* =============================================================
   page-contact 移动端优化
   ============================================================= */
@media (max-width: 768px) {
    /* 在线表单每行单列, button 满宽 */
    .contact-form .row { grid-template-columns: 1fr; gap: 14px; }
    .contact-form .row.single { gap: 0; }
    .contact-form { padding: 22px 18px; }
    .contact-form input, .contact-form select, .contact-form textarea {
        font-size: 16px;  /* iOS auto-zoom 防 */
        padding: 12px 14px;
    }
    .contact-form .submit-row { flex-direction: column; align-items: stretch; gap: 12px; }
    .contact-form .submit-row .btn { width: 100%; justify-content: center; }
    .contact-form .submit-row .response { text-align: center; }

    /* 联系方式 3 卡: 单列堆叠 */
    .contact-cards { grid-template-columns: 1fr; gap: 12px; }
    .ci-card { padding: 24px 18px; }
    .ci-icon { width: 56px; height: 56px; margin-bottom: 14px; }
    .ci-strong { font-size: 18px; }

    /* 公司环境 + QR: 单列 */
    .company-line { grid-template-columns: 1fr !important; }
    .company-line__right { padding: 24px 22px !important; }
    .company-line__left img { min-height: 220px !important; }
    .line-meta { font-size: 12.5px; padding: 10px 14px; gap: 10px 18px; }

    /* QR 卡片紧凑 */
    .qr-card { width: 88px; }
    .qr-card img { width: 88px; height: 88px; }

    /* 地图区 */
    .section--map { padding-bottom: 40px; }
    .map-wrap iframe { height: 280px !important; }
    .map-note {
        flex-direction: column;
        gap: 10px !important;
        padding: 14px 16px;
        font-size: 13px;
        text-align: left;
    }
    .map-note span { padding: 4px 0; }
}

/* hero "联系我们" 顶部 简化 */
@media (max-width: 560px) {
    .hero--about .hero-title { font-size: 30px !important; }
    .hero--about .hero-cta {
        flex-direction: column;
        gap: 10px;
    }
    .hero--about .hero-cta .btn { width: 100%; justify-content: center; }
}

/* =============================================================
   iOS / Android 安全区适配
   ============================================================= */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .site-header { padding-left: max(0px, env(safe-area-inset-left)); }
        .mobile-nav-drawer { padding-left: max(0px, env(safe-area-inset-left)); }
    }
}

/* =============================================================
   Mobile Sticky 底部 CTA Bar (只在 mobile + 特定页面显示)
   ============================================================= */
.mobile-sticky-cta {
    display: none;  /* 默认隐藏 */
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, .12);
    border-top: 1px solid var(--ink-200);
    z-index: 100;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    align-items: center;
}

/* 这两个 class 应用到 single-product / page-contact body class - 仅 mobile 显示 */
@media (max-width: 768px) {
    body.page-template-single-product .mobile-sticky-cta,
    body.single-product .mobile-sticky-cta,
    body.page-template-contact .mobile-sticky-cta,
    body.page-contact .mobile-sticky-cta {
        display: flex;
    }

    /* mobile 状态给 body 加底部 padding 避免遮挡内容 */
    body.page-template-single-product,
    body.single-product,
    body.page-template-contact,
    body.page-contact {
        padding-bottom: 76px !important;
    }
}

.mobile-sticky-cta a,
.mobile-sticky-cta button {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    cursor: pointer;
}
.mobile-sticky-cta .cta-primary {
    background: var(--brand-600);
    color: #fff;
}
.mobile-sticky-cta .cta-primary:hover {
    background: var(--brand-700);
    color: #fff;
}
.mobile-sticky-cta .cta-ghost {
    background: transparent;
    color: var(--brand-700);
    border: 1px solid var(--brand-600);
}
.mobile-sticky-cta .cta-ghost:hover {
    background: var(--brand-50);
}

/* 在 mobile drawer 开着时, bar 隐性隐藏避免冲突 */
body.nav-open .mobile-sticky-cta { transform: translateY(110%); transition: transform .2s; }

/* =============================================================
   Archive mobile filter bar (商品/资讯 archive)
   - Desktop 默认 display: none
   - Mobile ≤768px 显示 + 隐藏原 sidebar 内容
   ============================================================= */

/* 顶部 sticky filter row */
.archive-mobile-filter {
    display: none;
    position: sticky;
    top: var(--header-h, 64px);
    z-index: 49;
    background: #fff;
    border-bottom: 1px solid var(--ink-200, #e6ebf0);
    box-shadow: 0 1px 8px rgba(0, 0, 0, .04);
    padding: 8px 14px;
    gap: 8px;
    align-items: center;
}

.archive-mobile-filter__btn,
.archive-mobile-sort__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: var(--ink-50, #fafbfc);
    border: 1px solid var(--ink-200, #e6ebf0);
    border-radius: 8px;
    font-size: 13px;
    color: var(--ink-800, #1f2937);
    cursor: pointer;
    text-align: left;
    transition: all .15s ease;
}
.archive-mobile-filter__btn:hover, .archive-mobile-filter__btn.active,
.archive-mobile-sort__btn:hover, .archive-mobile-sort__btn.active {
    border-color: var(--brand-500);
    background: var(--brand-50);
    color: var(--brand-700);
}
.archive-mobile-filter__btn > svg:first-child,
.archive-mobile-sort__btn > svg:first-child {
    color: var(--brand-500);
    flex-shrink: 0;
}
.archive-mobile-filter__label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1;
}
.archive-mobile-filter__label em {
    color: var(--ink-500, #6b7280);
    font-style: normal;
    font-size: 12px;
    flex-shrink: 0;
}
.archive-mobile-filter__label strong {
    font-weight: 600;
    color: var(--ink-900, #1f2937);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 110px;
}
.archive-mobile-filter__count {
    font-size: 11px;
    color: var(--text-soft, #6b7280);
    flex-shrink: 0;
}
.archive-mobile-filter__arrow {
    margin-left: auto;
    transition: transform .2s ease;
}
.archive-mobile-filter__btn[aria-expanded="true"] .archive-mobile-filter__arrow,
.archive-mobile-sort__btn[aria-expanded="true"] .archive-mobile-filter__arrow {
    transform: rotate(180deg);
}

/* drawer (从左滑入) */
.archive-filter-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.archive-filter-drawer-backdrop.is-show {
    opacity: 1;
    visibility: visible;
}

.archive-filter-drawer {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(320px, 88vw);
    background: #fff;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 100vw;
}
.archive-filter-drawer.is-open {
    transform: translateX(0);
}
.archive-filter-drawer--small {
    width: min(280px, 90vw);
}
.archive-filter-drawer__head {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--ink-200);
    background: linear-gradient(180deg, #fff, var(--brand-50, #fff1f1));
}
.archive-filter-drawer__head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-700);
    letter-spacing: 1px;
}
.archive-filter-drawer__close {
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--ink-700);
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
}
.archive-filter-drawer__close:hover {
    background: var(--brand-50);
    color: var(--brand-600);
}
.archive-filter-drawer__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.archive-filter-tree {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.archive-filter-tree > li {
    border-bottom: 1px solid var(--ink-100, #f4f6f8);
}
.archive-filter-tree > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 20px;
    color: var(--ink-800, #1f2937);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.archive-filter-tree > li > a > span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.archive-filter-tree > li > a > em {
    font-style: normal;
    color: var(--text-soft);
    font-size: 12px;
    flex-shrink: 0;
}
.archive-filter-tree > li.active > a {
    background: var(--brand-50);
    color: var(--brand-700);
    font-weight: 600;
    border-left: 4px solid var(--brand-600);
    padding-left: 16px;
}
.archive-filter-tree > li > a:active {
    background: var(--brand-100);
}

.archive-filter-sub {
    list-style: none;
    margin: 0;
    padding: 4px 0 8px 0;
    background: var(--ink-50, #fafbfc);
    border-top: 1px dashed var(--ink-100);
}
.archive-filter-sub > li {
    border-bottom: 0 !important;
}
.archive-filter-sub > li > a {
    display: block;
    padding: 9px 20px 9px 36px;
    font-size: 13.5px;
    color: var(--ink-700, #5a6573);
    text-decoration: none;
    border-left: 0 !important;
    transition: color .15s, background .15s;
}
.archive-filter-sub > li.active > a {
    background: var(--brand-50);
    color: var(--brand-700);
    font-weight: 600;
}
.archive-filter-sub > li > a:active {
    background: var(--brand-100);
}

/* 排序 drawer 用 */
.archive-filter-sort {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.archive-filter-sort > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 20px;
    color: var(--ink-800);
    text-decoration: none;
    font-size: 14.5px;
}
.archive-filter-sort > li > a:hover {
    background: var(--brand-50);
}
.archive-filter-sort > li.active > a {
    background: var(--brand-50);
    color: var(--brand-700);
    font-weight: 600;
}
.archive-filter-sort em {
    color: var(--brand-600);
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
}

/* ============== mobile 断点 ============== */
@media (max-width: 768px) {
    /* 显示顶部 filter bar */
    .archive-mobile-filter { display: flex; }

    /* 隐藏 desktop sidebar 整块 (drawer 里已有树状结构) */
    .page-wrap > .sidebar-col {
        display: none !important;
    }
    /* main-col 全宽占满 */
    .page-wrap {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        padding: 16px 0 60px !important;
    }

    /* 加上排版 breadcrumb padding 减少 */
    .breadcrumb-inner { padding-left: 14px; padding-right: 14px; }

    /* 资讯 archive 同 */
    .news-archive-wrap {
        grid-template-columns: 1fr !important;
    }
}
