*,
*::before,
*::after {
  box-sizing: border-box;
}
html,body{
	font-size: 0.83328vw;
}

a {
    color: unset;
    text-decoration: none;
}

ul, li {
    list-style: none;
    padding: 0;
}
.line-clamp {
    display: block;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    box-orient: vertical;
    -webkit-box-orient: vertical;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    box-orient: vertical;
    -webkit-box-orient: vertical;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}

.line-clamp-4 {
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    box-orient: vertical;
    -webkit-box-orient: vertical;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}

.line-clamp-5 {
    display: -webkit-box;
    line-clamp: 5;
    -webkit-line-clamp: 5;
    box-orient: vertical;
    -webkit-box-orient: vertical;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*固定图片比例*/

.fixed-ratio {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/*默认3:2*/
.fixed-ratio::before {
    content: '\0020';
    display: block;
    width: 100%;
    height: 0;
    padding: 33.33% 0;
}

/*比列1:1*/
.fixed-ratio.square::before {
    padding: 50% 0;
}

/*比列2:1*/
.fixed-ratio.custom::before {
    padding: 25% 0;
}
/*比列3:4*/
.fixed-ratio.htf::before {
    padding: 66.67% 0;
}
/*比例4:2.5*/
.fixed-ratio.htf25::before {
    padding: 31.25% 0;
}


.fixed-ratio img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.fixed-ratio img {
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}

/* ==================== 主题变量 ==================== */
/* 说明：1rem = 16px（@1920px 设计稿下，由 html{font-size:0.83328vw} 计算） */
:root {
    --color-primary: #12264F;     /* 主色 深蓝 */
    --color-accent: #00C896;      /* 辅色 青色 */
    --color-bg: #EBF2F5;          /* 页面背景色 */
    --color-white: #FFFFFF;
    --color-text: #000000;
    --color-text-2: #666666;
    --color-text-3: #999999;
    --color-text-4: #6B7FA9;
    --color-border: #DDDDDD;
    --header-height: 5rem;        /* 80px / 16 = 5rem */
    --font-family: 'MiSans', 'Misan-Regular', 'Misan-Bold','Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-white);
}
/* 注：.container 容器规则已由 base.css L142-150 自定义（max-width:80% / 90%），此处不再覆盖 */
.container{
    max-width: 80%;
    padding: 5rem 0;
}

/* ==================== 公共 Logo（头部/底部共用） ==================== */
.logo-cn {
    font-size: 1.375rem;          /* 22px */
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}
.logo-en {
    font-size: 0.5rem;           /* 8px */
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-top: 0.125rem;         /* 2px */
}

/* ==================== 公共头部 ==================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    transition: top 0.35s ease, background 0.3s ease;
    border-bottom: 1px solid rgba(18, 38, 79, 0.06);
}
/* PC 端滚动隐藏状态（JS 控制：下滑超 200px 隐藏，上滚复位；仅 ≥1200px 启用） */
.site-header.header-hide {
    top: calc(-1 * var(--header-height) - 1.25rem);
}

.header-inner { padding: 0; }
.header-row {
    height: var(--header-height);
}
/* 导航菜单（PC） */
.header-nav { gap: 4rem; }
.nav-menu { gap: 4rem; }
.nav-link-item {
    font-size: 1.25rem;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}
.nav-link-item:hover, .nav-link-item.active { color: var(--color-primary); }
.nav-link-item.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -0.5rem;
    height: 2px;
    background: var(--color-accent);
}

/* 搜索按钮 + 居中弹层 */
.header-search { position: relative; }
.search-btn {
    width: 3rem; height: 3rem;
    border-radius: 50%;
    background: var(--color-accent);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}
.search-btn:hover { transform: scale(1.05); }
.search-form{
    width: 100%;
    background: var(--color-white);
    border: 1px solid var(--color-primary);
    border-radius: 3.75rem;
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 0.75rem 2rem rgba(18, 38, 79, 0.12);
}
.search-input {
    border: none;
    background: transparent;
    flex: 1;
    min-width: 0;
    font-size: 0.875rem;
    outline: none;
    color: var(--color-text);
}
.search-input::placeholder { color: #AAA; }
.search-submit {
    width: 2.25rem; height: 2.25rem;
    background: var(--color-accent);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 18vh 1.5rem 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}
.search-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.search-modal[hidden] {
    display: none !important;
}
.search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 38, 79, 0.48);
    backdrop-filter: blur(2px);
}
.search-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(40rem, 100%);
    transform: translateY(-0.75rem) scale(0.98);
    transition: transform 0.28s ease;
}
.search-modal.is-open .search-modal-dialog {
    transform: translateY(0) scale(1);
}
.search-modal-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    background: var(--color-white);
    border: 1px solid var(--color-primary);
    border-radius: 3.75rem;
    padding: 0.65rem 0.65rem 0.65rem 1.5rem;
    box-shadow: 0 1rem 2.5rem rgba(18, 38, 79, 0.18);
}
.search-modal-form .search-input {
    font-size: 1rem;
}
.search-modal-close {
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-3);
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.search-modal-close:hover {
    background: rgba(18, 38, 79, 0.06);
    color: var(--color-text);
}
body.search-modal-open {
    overflow: hidden;
}

/* 站点轻提示（搜索校验等，替代后台 layer 弹窗） */
.site-toast {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 18vh 1.25rem 2rem;
    background: rgba(18, 38, 79, 0.28);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}
.site-toast.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.site-toast[hidden] {
    display: none !important;
}
.site-toast-panel {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    width: min(28rem, 100%);
    padding: 1.15rem 2.5rem 1.15rem 1.15rem;
    background: var(--color-white);
    border: 1px solid rgba(18, 38, 79, 0.12);
    border-radius: 0.75rem;
    box-shadow: 0 1rem 2.5rem rgba(18, 38, 79, 0.18);
    transform: translateY(-0.75rem) scale(0.98);
    transition: transform 0.28s ease;
}
.site-toast.is-show .site-toast-panel {
    transform: translateY(0) scale(1);
}
.site-toast-mark {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    margin-top: 0.1rem;
    border-radius: 50%;
    background: rgba(0, 200, 150, 0.14);
    border: 1.5px solid var(--color-accent);
    position: relative;
}
.site-toast-mark::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0.38rem;
    width: 0.2rem;
    height: 0.2rem;
    border-radius: 50%;
    background: var(--color-accent);
    transform: translateX(-50%);
}
.site-toast-mark::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0.72rem;
    width: 0.16rem;
    height: 0.55rem;
    border-radius: 1px;
    background: var(--color-accent);
    transform: translateX(-50%);
}
.site-toast-text {
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--color-primary);
    font-weight: 500;
}
.site-toast-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-3);
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.site-toast-close:hover {
    background: rgba(18, 38, 79, 0.06);
    color: var(--color-primary);
}

/* 全页提示（msg.html，与站点轻提示同一视觉语言） */
.site-msg-section {
    background: var(--color-bg);
    padding: 4rem 0 5rem;
}
.site-msg-card {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    max-width: 36rem;
    margin: 0 auto;
    padding: 2rem 2.25rem;
    background: var(--color-white);
    border: 1px solid rgba(18, 38, 79, 0.1);
    border-radius: 0.75rem;
    box-shadow: 0 1rem 2.5rem rgba(18, 38, 79, 0.08);
}
.site-msg-card .site-toast-mark {
    width: 2.25rem;
    height: 2.25rem;
    margin-top: 0.15rem;
}
.site-msg-card .site-toast-mark::before {
    top: 0.5rem;
    width: 0.24rem;
    height: 0.24rem;
}
.site-msg-card .site-toast-mark::after {
    top: 0.95rem;
    width: 0.18rem;
    height: 0.7rem;
}
.site-msg-card .site-toast-mark.is-ok::before {
    display: none;
}
.site-msg-card .site-toast-mark.is-ok::after {
    top: 42%;
    left: 50%;
    width: 0.45rem;
    height: 0.7rem;
    border: solid var(--color-accent);
    border-width: 0 2px 2px 0;
    background: transparent;
    border-radius: 0;
    transform: translate(-50%, -55%) rotate(45deg);
}
.site-msg-body {
    flex: 1;
    min-width: 0;
}
.site-msg-title {
    margin: 0 0 0.65rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.35;
}
.site-msg-text {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-2);
}
.site-msg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.site-msg-actions .btn-more {
    margin: 0;
}

/* 语音输入按钮（跟搜索框一起显示，电脑和手机都可用） */
.voice-btn {
    display: flex;
    width: 2.25rem; height: 2.25rem;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--color-primary);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.voice-btn img { display: block; }
.voice-btn:hover { background: rgba(0, 200, 150, 0.1); }
/* 录音中状态：红色脉冲动画 */
.voice-btn.recording {
    background: #ff4d4f;
    color: var(--color-white);
    animation: voice-pulse 1.2s ease-in-out infinite;
}
.voice-btn.recording img { filter: brightness(0) invert(1); }
@keyframes voice-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.5); }
    70%  { box-shadow: 0 0 0 0.75rem rgba(255, 77, 79, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
}
/* 不支持语音识别时禁用 */
.voice-btn.unsupported {
    opacity: 0.4;
    cursor: not-allowed;
}

/* footer 搜索框内的语音按钮 */
.voice-btn-footer {
    width: 2.25rem; height: 2.25rem;
    background: var(--color-accent);
    color: var(--color-white);
}
.voice-btn-footer img { filter: brightness(0) invert(1); }
.voice-btn-footer:hover { background: rgba(0, 200, 150, 0.85); }
.voice-btn-footer.recording { background: #ff4d4f; }
.footer-search-submit {
    width: 2.25rem;
    height: 2.25rem;
}

/* 语言切换 */
.header-lang { gap: 1rem; font-size: 0.875rem; }
.lang-zh, .lang-en { cursor: pointer; user-select: none; }
.lang-zh { color: var(--color-text); }
.lang-sep { color: var(--color-text); font-size: 0.625rem; }
.lang-en { color: var(--color-text-3); }
.lang-zh.active, .lang-en.active { color: var(--color-text); font-weight: 700; }

/* 移动端汉堡按钮 */
.header-toggle {
    width: 2.5rem; height: 2.5rem;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.3125rem;
    cursor: pointer;
    padding: 0;
}
.header-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--color-primary);
    transition: transform 0.3s, opacity 0.3s;
}
.header-toggle.active span:nth-child(1) { transform: translateY(0.4375rem) rotate(45deg); }  /* 7px */
.header-toggle.active span:nth-child(2) { opacity: 0; }
.header-toggle.active span:nth-child(3) { transform: translateY(-0.4375rem) rotate(-45deg); } /* -7px */

/* 移动端菜单展开层 */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--color-white);
    padding: 0 1.5rem;
    box-shadow: 0 0.75rem 2rem rgba(18, 38, 79, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.mobile-menu.open { max-height: 80vh; padding: 0 1.5rem 1rem 1.5rem; }
.mobile-menu-list{margin: 0; padding-bottom: 2rem;}
.mobile-menu-list li { padding: 0.75rem 0; border-bottom: 1px solid #EEE; }
.mobile-menu-list li:last-child { border-bottom: none; }
.mobile-menu-list a { font-size: 1.25rem; color: var(--color-primary); text-decoration: none; }
.mobile-menu .header-lang{font-size: 1.125rem;}
.mobile-menu .header-lang span{padding: 1rem;}
/* ==================== 公共按钮（查看更多） ==================== */
.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 3rem 1rem 4rem;       
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 3.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    border: none;
}
.btn-more:hover {
    background: #00b386;
    color: var(--color-white);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 200, 150, 0.25);
}
.btn-more-center { padding: 1rem 3rem 1rem 4rem; }

/* ==================== 公共标题 ==================== */
.common-title { margin-bottom: 0; }
.common-title .title-cn {
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;
}
.common-title .title-en {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--color-white);
    margin-top: 0.25rem;
}
/* 深色背景下的浅色标题 */
.common-title.dark .title-cn { color: var(--color-primary); }
.common-title.dark .title-en { color: var(--color-text-2); }
/* 居中标题 */
.common-title.center { text-align: center; }

/* ==================== 公共底部 ==================== */
.site-footer {
    background: var(--color-white);
    color: var(--color-text);
}
/* 底部第一段：Logo + 搜索框 */
.footer-top { padding: 2.5rem 0; border-bottom: 1px solid #EEE; }
.footer-top-row { gap: 1.5rem; }
.footer-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-primary);
    border-radius: 3.75rem;
    padding: 0.5rem;
    gap: 1rem;
    width: 20rem;
    max-width: 100%;
}
.footer-search-icon {
    width: 2rem; 
    height: 2rem;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer-search-input {
    border: none;
    background: transparent;
    flex: 1;
    font-size: 0.875rem;
    outline: none;
    padding-left: 0.75rem;
    color: var(--color-text);
    min-width: 0;
}
.footer-search-input::placeholder { color: #CCC; }

/* 底部第二段：联系信息 + 链接 + 二维码 */
.footer-main { padding: 5rem 0; }
.site-footer .container{padding: 0;}
.footer-contact { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: center; gap: 0.25rem; } 
.contact-icon { width: 1rem; }
.contact-label { font-size: 0.875rem; color: var(--color-text-2); } 
.contact-value { font-size: 1.25rem; color: var(--color-text); display: block;width: 100%; } 
.contact-address { font-size: 1rem; }

.footer-links { padding: 0 1rem; }
.footer-link-col { margin-bottom: 1.5rem; }
.link-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}
.footer-link-col ul li { margin-bottom: 1rem; }
.footer-link-col ul li a {
    font-size: 1rem;
    color: var(--color-text-2);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link-col ul li a:hover { color: var(--color-primary); }

.footer-qrcode { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.qrcode-box { width: 7.5rem;  background: #D9D9D9; overflow: hidden; border-radius: 0.5rem; }
.qrcode-text { width: 7.5rem; font-size: 0.875rem; color: var(--color-text-2); }

/* 底部第三段：备案号 + 版权 */
.footer-bottom .container{padding: 0;}
.footer-bottom { border-top: 1px solid #EEE; padding: 1.5rem 0; }
.footer-bottom-row { gap: 1rem; }
.copy-text { font-size: 0.875rem; color: var(--color-text-3); }
a.copy-text:hover { color: var(--color-primary); }

/* ==================== 第 1 屏：Banner 头部区域 ==================== */
.pro-banner {
    background: linear-gradient(135deg, #000 0%, #12264F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-height);
    padding: 4rem 0;
}
.pro-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
/* 小标签 */
.pro-banner-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-white);
    border-radius: 3.75rem;
    font-size: 1rem;
    color: var(--color-white);
}
.pro-banner-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
}
.pro-banner-subtitle {
    font-size: 1rem;
    color: var(--color-white);
    margin: 0;
    text-align: center;
}

/* 搜索框 */
.product-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 18.75rem;
    padding: 0.5rem;
    border: 1px solid var(--color-primary);
    border-radius: 3.75rem;
    background: var(--color-white);
}
.product-search-icon {
    width: 2rem; height: 2rem;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.product-search-input {
    border: none;
    background: transparent;
    flex: 1;
    font-size: 0.875rem;
    outline: none;
    color: var(--color-text);
    min-width: 0;
    padding-left: 0.75rem;
}
.product-search-input::placeholder { color: #CCC; }

/* ==================== 公共：本页子导航栏（技术服务等二级页面共用） ==================== */
.sub-nav {
    background: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;                         /* 128px */
    padding: 0 1.5rem;
}
.sub-nav-item {
    padding: 1.5rem 0;
    font-size: 1.25rem;
    color: var(--color-white);
    text-decoration: none;
    transition: background 0.2s;
    cursor: pointer;
    width: 15%;
    text-align: center;
}
.sub-nav-item:hover { background: var(--color-accent); }
.sub-nav-item.active { background: var(--color-accent); }
@media (max-width: 1200px) {
    .sub-nav-item { width: 20%; }
}

@media (max-width: 767.98px) {
    .sub-nav { flex-wrap: wrap; }
    .sub-nav-item { padding: 1rem; font-size: 1rem; width: 50%; }
}

/* ==================== 公共：分类树（产品/新闻列表页共用） ==================== */
.cat-item { cursor: pointer; margin-bottom: 0.125rem; }
/* 选中子类时，父级一级高亮（青色背景白字） */
.cat-item.active .cat-l1 {
    background: var(--color-accent);
    color: var(--color-white);
}
/* 一级：全部（主色底） */
.cat-l1-all {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: background 0.2s;
}
.cat-item.active .cat-l1-all {
    background: #0a1a3d;
    box-shadow: inset 4px 0 0 var(--color-accent);
}
.cat-l1-all .cat-l1-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}
.cat-l1-all .cat-l1-en {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}
/* 一级：普通分类 */
.cat-l1 {
    background: #7892AC;
    color: var(--color-white);
    padding: 1.5rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}
.cat-l1:hover { background: var(--color-accent); color: var(--color-white); }
/* 展开箭头 */
.cat-l1-arrow {
    width: 0.625rem;
    height: 0.625rem;
    border-right: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(45deg);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.cat-item.open .cat-l1-arrow { transform: rotate(-135deg); }
/* 二级分类列表 */
.cat-l2-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--color-white);
}
.cat-item.open .cat-l2-list { max-height: 20rem; }
.cat-l2-item {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    color: var(--color-text);
    border-bottom: 1px solid #EEE;
    transition: color 0.2s, padding 0.2s;
}
.cat-l2-item:last-child { border-bottom: none; }
.cat-l2-item:hover { color: var(--color-accent); }
.cat-l2-item.active { color: var(--color-accent); padding-left: 2rem; }

/* ==================== 公共：列表标题栏（产品/新闻列表页共用） ==================== */
.product-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.product-list-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.product-list-title-bar {
    width: 0.375rem;
    height: 2rem;
    background: var(--color-accent);
    border-radius: 0.125rem;
}
.product-list-title-text {
    font-size: 2rem;
    color: var(--color-text);
    margin: 0;
}
/* 搜索框样式见上方「搜索框」区块（含绿色圆形图标），此处不再重复覆盖 */
/* 筛选按钮（PC 端隐藏，平板/移动端显示） */
.product-filter {
    display: none;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: var(--color-white);
    border: 1px solid var(--color-primary);
    border-radius: 3.75rem;
    color: var(--color-primary);
    font-size: 0.875rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.product-filter:hover {
    background: var(--color-primary);
    color: var(--color-white);
}
.product-filter img { width: 0.875rem; height: 0.875rem; }

/* ==================== 公共：移动端分类筛选弹窗 ==================== */
.filter-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: flex-end;
    justify-content: center;
}
.filter-modal.show { display: flex; }
.filter-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}
.filter-modal.show .filter-modal-mask { opacity: 1; }
.filter-modal-body {
    position: relative;
    width: 100%;
    max-height: 80vh;
    background: var(--color-bg);
    border-radius: 1rem 1rem 0 0;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.filter-modal.show .filter-modal-body { transform: translateY(0); }
.filter-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--color-white);
    border-radius: 1rem 1rem 0 0;
    flex-shrink: 0;
}
.filter-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}
.filter-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
}
.filter-modal-close img { transform: rotate(180deg); }
.filter-modal-content {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}
.filter-modal-content .product-cat { width: 100%; }

/* ==================== 公共：面包屑 ==================== */
.breadcrumb-wrap {
    background: var(--color-white);
    border-bottom: 1px solid #EEEEEE;
    padding: 1.5rem 0;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;                 /* 12px */
    margin: 0;
    padding: 0;
}
.breadcrumb .bc-home {
    display: flex;
    align-items: center;
}
.breadcrumb .bc-home img { width: 1rem; height: 1rem; }
.breadcrumb .bc-item {
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.breadcrumb .bc-item a { color: var(--color-text); transition: color 0.2s; }
.breadcrumb .bc-item a:hover { color: var(--color-accent); }
.breadcrumb .bc-sep { color: var(--color-text-3); }
.breadcrumb .bc-current { color: var(--color-text-2); }

/* ==================== 公共：在线询价模块 ==================== */

.inquiry-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
/* 左侧：联系方式卡片网格 */
.inquiry-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.inquiry-contact-card {
    background: var(--color-white);
    padding: 2rem 4rem;
    border-radius: 0.5rem;
    box-shadow: 4px 8px 32px 0 rgba(18, 38, 79, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.inquiry-contact-icon {
    width: 4rem; 
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.375rem;
}
.inquiry-contact-icon img { width: 2rem; height: 2rem; }
.inquiry-contact-label {
    font-size: 1.25rem;
    color: var(--color-text);
    margin: 0;
}
.inquiry-contact-value {
    font-size: 1.25rem;
    color: var(--color-text);
    margin: 0;
    line-height: 1.6;
}
/* 右侧：留言表单 */
.inquiry-form {
    background: var(--color-bg);
    padding: 2rem;
    border-radius: 0.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;                        /* 20px */
}
.inquiry-form-title {
    grid-column: span 2;
    font-size: 2rem;                    /* 32px */
    color: var(--color-text);
    margin: 0 0 0.5rem;
}
.inquiry-field {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--color-white);
    border: 1px solid #DDDDDD;
    border-radius: 2rem;                 /* 32px */
    padding: 1rem;
}
.inquiry-field img { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.inquiry-field input {
    border: none;
    background: transparent;
    flex: 1;
    outline: none;
    font-size: 1rem;
    color: var(--color-text);
}
.inquiry-field input::placeholder { color: #999; }
.inquiry-textarea {
    grid-column: span 2;
    min-height: 12.5rem;                /* 200px */
    background: var(--color-white);
    border: 1px solid #DDDDDD;
    border-radius: 1rem;
    padding: 1rem;
    font-size: 1rem;
    color: var(--color-text);
    outline: none;
    resize: vertical;
    font-family: inherit;
}
.inquiry-textarea::placeholder { color: #999; }
.inquiry-submit {
    grid-column: span 2;
    justify-self: start;
    padding: 1.5rem 8rem;                /* 24px 128px */
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 3.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.inquiry-submit:hover { background: #00b386; }

/* ---------- 分页 ---------- */
/* ---------- 面包屑（覆盖公共间距） ---------- */
.pro-breadcrumb .container { padding: 0; }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    margin: 0;
}
.page-item {
    width: 2.375rem;
    height: 2.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.875rem;
    font-size: 0.875rem;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
a.page-item:hover { color: var(--color-text); }
.page-item:hover { background: rgba(0, 200, 150, 0.1); }
.page-item.active {
    background: var(--color-accent);
    color: var(--color-white);
}
.page-item.ellipsis { cursor: default; }

.rightNav{
    position: fixed;
    right: 100px;
    bottom: 100px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
.rightNav .qrcode{
    width: 4rem;
    height: 4rem;
    border-radius: 3rem;
    background-color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem;
    padding: 1.25rem;
    position: relative;
}
.rightNav .qrcode .codeIcon{
    width: 1.5rem;
}
.rightNav .qrcode .qrcode-img{
    display: none;
}
.rightNav .qrcode:hover .qrcode-img{
    display: block;
}
.rightNav .qrcode:hover .qrcode-img{
    position: absolute;
    top:0;
    left:-11rem;
    border: 0.5rem solid white;
    background: white;
    border-radius: 0.5rem;
    width: 10rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.backTop {
    width: 4rem;
    height: 4rem;
    border-radius: 3rem;
    background-color: var(--color-accent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    position: relative;
}

.backTop::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid #fff;
    /* white upward triangle */
}

.rightNav.rightNav--visible {
    opacity: 1;
    pointer-events: auto;
}

/* ==================== 响应式：移动端头部适配 ==================== */
@media (max-width: 1600px) {
    html,body{
        font-size: 14px;
    }
    .container{
        max-width: 90%;
    }
}
@media (max-width: 1200px) {
    html,body{
        font-size: 16px;
    }
    body{
        padding-top: 4rem;
    }
    .header-row {
        height: 4rem;
    }
    .container{
        max-width: 92%;
        padding: 3rem 0;
    }
    .header-inner{padding: 0;}
    .site-header.header-hide { top: calc(-1 * var(--header-height) - 1.25rem); }
    .inquiry-row{grid-template-columns: 1fr;}
    .inquiry-contact-grid{grid-template-columns: 1fr;}
    .inquiry-form{grid-template-columns: 1fr;}
    .inquiry-form-title, .inquiry-textarea, .inquiry-submit{grid-column: span 1;}
    .inquiry-submit{width: 100%; padding: 1rem;}
    .inquiry-contact-card{flex-direction: row; align-items: center; gap: 2rem;}
    .inquiry-contact-icon{margin-bottom: 0;}
}

@media (max-width: 991px) {
    .site-header { box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.04); }
    .common-title{text-align: center;}
    .common-title .title-cn{font-size: 1.75rem;}
    .common-title .title-en{font-size: 0.875rem;}
    .btn-more{font-size: 1rem;}
    .contact-address{font-size: 1rem;}
    .footer-search{width: 100%;}
    .footer-search{ padding: 0.65rem 0.65rem 0.65rem 0.85rem; gap: 0.65rem; }
    .voice-btn-footer,
    .footer-search-submit {
        width: 2.75rem;
        height: 2.75rem;
    }
    .footer-search-input { font-size: 1rem; }
    .footer-logo{display: none !important;}
    .footer-main{padding: 1rem 0 0 0;}
    .footer-contact{margin-bottom: 1rem;padding-bottom: 1rem ;border-bottom: 1px solid #EEE;}
    .footer-qrcode{ align-items: center; padding: 1rem 0; border-top: 1px solid #EEE;}
    .link-title{font-size: 1rem;}
    .footer-link-col ul li a{font-size: 1rem;}
    .qrcode-text{margin: 0;}
    .footer-bottom-row{justify-content: center !important; gap: 0.25rem;}
    /* 面包屑 / 询价 响应式 */
    .breadcrumb{font-size: 0.875rem; flex-wrap: wrap;}
    .inquiry-contact-card{padding: 1rem; gap: 1rem;}
    .inquiry-contact-card .inquiry-contact-info{flex: 1 1 0;}
    .inquiry-contact-icon{width: 3rem; height: 3rem;}
    .inquiry-contact-icon img{ width: 1.5rem; height: 1.5rem; }
    .inquiry-contact-label{font-size: 1rem;}
    .inquiry-contact-value{font-size: 1rem;}
    .inquiry-form{padding: 1rem; gap: 1rem;}
    .inquiry-form-title{font-size: 1.75rem; text-align: center; margin: 0;}
    .pro-banner-title { font-size: 2rem; }
    .pro-banner-subtitle { font-size: 0.875rem; }
    .product-search { width: 100%;display: none; }
}
@media (max-width: 767.98px){
    .pro-banner{padding: 0;}
    .rightNav{
        right: 1rem;
        bottom: 20%;
    }
    .backTop{
        width: 2.5rem;
        height: 2.5rem;
    }
}
