/* ==========================================================================
   common.css —— 由 tools_split_css.py 从 main.css 拆出（2026-10-19）
   注意：改样式请改对应页面文件，不要再往 main.css 里加
   ========================================================================== */


/* ==========================================================================
   欧特光学 OOTEE — 光学滤光片外贸站
   风格：精密光学 B2B —— 深蓝科技底色（主色取自 logo 蓝 #0058B3）+ 冷灰中性色
   ========================================================================== */

:root {
    /* ---- 主色：深蓝科技（logo 蓝 #0058B3 的同色系） ---- */
    --brand:        #0b5ed7;
    --brand-dark:   #00448c;
    --brand-light:  #4a90f0;
    --brand-soft:   #eaf2fd;
    --brand-line:   #c3daf6;
    --brand-glow:   rgba(11, 94, 215, .30);
    /* 深底上的主色（深蓝底配中蓝会糊，深底一律用这支亮蓝） */
    --brand-on-dark:#62a8ff;

    /* ---- 科技深底（顶栏 / 优势区 / 分类 hero / 页脚 / 询盘） ---- */
    --navy:         #071a33;
    --navy-2:       #0a2440;
    --navy-3:       #103154;
    --navy-line:    rgba(120, 170, 255, .16);

    /* 深底上的文字（由强到弱） */
    --on-navy:      #c9d7e8;
    --on-navy-2:    #93a7c1;

    /* ---- 中性色（偏冷灰，与蓝调统一） ---- */
    --ink:          #101828;
    --ink-2:        #344054;
    --ink-3:        #667085;
    --ink-4:        #98a2b3;
    --line:         #dfe5ee;
    --bg:           #ffffff;
    --bg-tint:      #f3f7fb;
    --dark:         #071a33;

    /* 尺寸 */
    --container:    1280px;

    /* 区块竖向节奏：辅助块 / 主内容块 / 大转折 */
    --sp-1:         48px;
    --sp-2:         72px;
    --sp-3:         96px;
    --radius:       14px;
    --radius-sm:    9px;
    --shadow-sm:    0 1px 2px rgba(12, 32, 60, .06);
    --shadow:       0 6px 24px rgba(12, 32, 60, .08);
    --shadow-lg:    0 18px 46px rgba(12, 32, 60, .14);

    --font: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius-sm);
    font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
    transition: all .22s ease; font-family: inherit;
}

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(11, 94, 215, .28); }

.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 9px 24px rgba(11, 94, 215, .36); }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }

.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--outline { background: #fff; color: var(--brand); border-color: var(--brand-line); }

.btn--outline:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

.btn--sm { padding: 9px 16px; font-size: 13.5px; }

.btn--block { width: 100%; }

.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--dark); color: #c9d7e8; font-size: 13px; }

.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 42px; }

.topbar__note { color: #93a7c1; letter-spacing: .2px; }

/* 左侧：ISO 标语 + 全景看厂入口（2026-11-16） */
.topbar__left { display: flex; align-items: center; gap: 10px; min-width: 0; }

.topbar__left .topbar__sep { color: #4a5f7c; }

.topbar__pano {
    display: inline-flex; align-items: center; gap: 5px;
    color: #fff; font-weight: 600; white-space: nowrap;
}

.topbar__pano:hover { color: var(--brand-on-dark); }

.topbar__pano svg { flex: none; }

.topbar__right { display: flex; align-items: center; gap: 20px; }

.topbar__mail:hover { color: var(--brand-on-dark); }

.lang-switch { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; }

.lang-switch:hover { color: var(--brand-on-dark); }

/* ---------- 导航 ---------- */
.navbar {
    /* z-index 75：必须高于右侧浮窗（.floatbar 70）——navbar 自成堆叠上下文，
       否则全宽产品下拉会被浮窗压在下面（2026-10-21） */
    position: sticky; top: 0; z-index: 75;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.navbar__inner { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }

.brand__logo { height: 30px; width: auto; display: block; }

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }

.brand__text strong { font-size: 19px; letter-spacing: .2px; }

.brand__text em { font-style: normal; font-size: 11px; color: var(--ink-4); letter-spacing: .6px; text-transform: uppercase; }

.brand--light .brand__text em { color: #8ea3bd; }

/* ★ 2026-10-26：英文导航在 1200 / 1100 宽会断成两行（导航条从 37px 撑到 62px）。
   根因不是间距 —— 是链接内文字折行（英文名更长，先撑破），而 .nav 又没设 nowrap，
   折出来的第二行把整条导航顶高。两件事一起做：
   ① nowrap 禁止项内折行 ② gap / 字号随视口收缩，腾出缩不动的英文的余量 */
.nav {
    display: flex; align-items: center; flex-wrap: nowrap;
    gap: clamp(14px, 1.7vw, 24px); margin-left: auto;
}

.nav__link {
    font-size: clamp(13.5px, .98vw, 15px); font-weight: 500; color: var(--ink-2);
    position: relative; padding: 6px 0; transition: color .2s;
    white-space: nowrap;
}

.nav__link::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
    background: var(--brand); transition: width .24s ease;
}

.nav__link:hover, .nav__link.is-active { color: var(--brand); }

.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.nav__link--drop { display: inline-flex; align-items: center; gap: 4px; }

.nav__caret { transition: transform .2s; }

/* ---------- 导航下拉 ---------- */
.nav-drop { position: static; }

.dropdown {
    position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
    width: min(1160px, 96vw); z-index: 80;
    background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: all .22s ease;
}

.nav-drop:hover .dropdown,
.nav-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.nav-drop:hover .nav__caret { transform: rotate(180deg); }

.dropdown--narrow { width: 300px; }

/* 窄下拉（服务中心等）：水平贴齐父项居中，左右边界由 footer.js 钳制在视口内 */
.nav-drop--narrow .dropdown--narrow { left: 50%; }

.dropdown__inner--col { display: block; padding: 12px; }

/* 旧版「左栏类目 + 右侧产品缩略图」样式已随 2026-10-21 面板重构移除 */

.dd-group { padding: 8px 10px 12px; }

.dd-group__label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-4); letter-spacing: .6px; padding-bottom: 8px; }

.dd-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--ink-2); }

.dd-item:hover { background: var(--brand-soft); color: var(--brand); }

/* 当前页所在的子项（如「服务中心」下的「下载中心」）常驻高亮 */
.dd-item.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }

.dropdown--mega {
    left: 0; right: 0; width: 100%; transform: translate(0, 8px);
    border-radius: 0; border-top: 1px solid var(--line);
    max-height: calc(100vh - 72px); overflow-y: auto; overscroll-behavior: contain;
}

/* 覆盖 .nav-drop:hover .dropdown 的居中位移（层级更高、位置靠后） */
.nav-drop:hover .dropdown--mega,
.nav-drop:focus-within .dropdown--mega { transform: translate(0, 0); }

.mega__grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(244px, 1fr));
    grid-auto-rows: 1fr;   /* 三行等高：英文名两行时不会被撑成波浪 */
    gap: 12px; padding: 22px 0 0;
}

.mega__card {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    min-height: 104px; padding: 15px 16px 15px 18px;
    border: 1px solid transparent; border-radius: var(--radius-sm); background: #f4f7fb;
    transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}

/* 当前所在分类：左侧品牌竖条（不用整块蓝底，避免 12 卡里跳出一块） */
.mega__card::before {
    content: ''; position: absolute; left: -1px; top: 16px; bottom: 16px; width: 3px;
    border-radius: 0 3px 3px 0; background: var(--brand);
    opacity: 0; transition: opacity .2s;
}

.mega__card:hover {
    background: #fff; border-color: var(--brand-line);
    box-shadow: 0 10px 26px rgba(12, 32, 60, .10);
    transform: translateY(-2px);
}

.mega__card.is-active { border-color: var(--brand-line); background: #fff; }

.mega__card.is-active::before { opacity: 1; }

.mega__txt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }

/* 名称与定位语各限两行：中文基本都是一行，英文分类名/定位语更长，靠两行兜住不硬截 */
.mega__name {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    font-size: 15.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.1px;
    color: var(--ink); transition: color .2s;
}

.mega__kick {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    font-size: 12px; line-height: 1.45; color: var(--ink-4);
}

.mega__card:hover .mega__name,
.mega__card.is-active .mega__name { color: var(--brand); }

.mega__img {
    flex: 0 0 auto; width: 100px; height: 76px;
    border-radius: 7px; overflow: hidden; background: #e6edf6;
}

.mega__img img {
    display: block; width: 100%; height: 100%; object-fit: cover;
    /* ★ 分类头图是"主体靠右、左 2/3 留白"的横幅构图，卡片位 100×76 更方，
       从中间裁会把右边主体切掉 —— 万一没走到缩略图，也至少往右取景保住主体 */
    object-position: right center;
    opacity: 0; transition: transform .35s ease, opacity .3s;
}

/* 懒加载完成（有 src）后才淡入，避免 alt 文字在占位底色上闪一下 */
.mega__img img[src] { opacity: 1; }

.mega__card:hover .mega__img img { transform: scale(1.07); }

.mega__foot { display: flex; justify-content: center; padding: 18px 0 22px; }

.mega__all {
    display: inline-flex; align-items: center; gap: 8px;
    height: 40px; padding: 0 26px; border-radius: 999px;
    border: 1px solid var(--line); background: #fff;
    font-size: 14px; font-weight: 600; color: var(--ink-2);
    transition: border-color .2s, color .2s, gap .2s, box-shadow .2s;
}

.mega__all:hover {
    border-color: var(--brand); color: var(--brand); gap: 12px;
    box-shadow: 0 6px 16px rgba(11, 94, 215, .12);
}

.mega__arrow { transition: transform .2s; }

.mega__all:hover .mega__arrow { transform: translateX(2px); }

@media (prefers-reduced-motion: reduce) {
    .dropdown, .mega__card, .mega__img img, .mega__name { transition: none; }
    .mega__card:hover { transform: none; }
    .mega__card:hover .mega__img img { transform: none; }
}

/* 1080–1180（导航仍显示的最窄档）：四列被压到 255px，缩图给文字腾地方，避免名称折行 */
@media (max-width: 1180px) {
    .mega__img { width: 84px; height: 64px; }
    .mega__name { font-size: 15px; }
}

/* ---------- 搜索面板 ---------- */
.search-panel { border-top: 1px solid var(--line); background: #fff; padding: 18px 0 20px; }

.search-form { display: flex; gap: 10px; }

.search-form__input {
    flex: 1; padding: 11px 14px; font-size: 14.5px; font-family: inherit;
    border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fcfcfd; color: var(--ink);
}

.search-form__input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(11, 94, 215, .14); }

.search-hot { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--ink-4); flex-wrap: wrap; }

.search-hot a { color: var(--ink-3); }

.search-hot a:hover { color: var(--brand); }

.navbar__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.icon-btn {
    width: 38px; height: 38px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 50%; background: #fff;
    color: var(--ink-2); cursor: pointer; transition: all .2s;
}

.icon-btn:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fbfcfd 0%, #f4f6f9 100%); }

.hero__glow {
    position: absolute; right: -180px; top: -120px; width: 760px; height: 760px; border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 130, 240, .30), rgba(80, 190, 255, .14) 45%, transparent 68%);
    z-index: 1; pointer-events: none;
}

.hero__visual { position: relative; height: 400px; }

.hero__visual .disc { position: absolute; }

/* ---------- 滤光片示意图（纯 CSS 绘制） ---------- */
.disc {
    border-radius: 50%;
    background:
        radial-gradient(circle at 33% 28%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 44%),
        conic-gradient(from 205deg, var(--d1), var(--d2), var(--d3), var(--d2), var(--d1));
    border: 12px solid #16304f;
    box-shadow:
        inset 0 0 26px rgba(0, 0, 0, .30),
        inset 0 3px 10px rgba(255, 255, 255, .35),
        0 16px 34px rgba(16, 24, 40, .22);
}

.disc--lg { width: 172px; height: 172px; top: 172px; left: 216px; border-width: 14px; }

/* 镀膜色系 */
.tone-gold { --d1: #f7d774; --d2: #f0a53f; --d3: #f6c76a; }

.tone-silver { --d1: #dfe6ee; --d2: #aab6c4; --d3: #cfd8e3; }

.tone-violet { --d1: #c3a7f7; --d2: #8f7ae8; --d3: #e0b6f0; }

.tone-cyan { --d1: #86dced; --d2: #4fb8d6; --d3: #9fe6f2; }

.tone-amber { --d1: #f8cd7a; --d2: #e79b34; --d3: #f2b95c; }

.tone-blue { --d1: #8fb8f2; --d2: #5c91e0; --d3: #a8cbf6; }

.tone-green { --d1: #9fdca6; --d2: #63bb74; --d3: #b6e6bb; }

.tone-rose { --d1: #f5a6bc; --d2: #e4708f; --d3: #f8bccb; }

/* ---------- 通用区块 ---------- */
.section { padding: var(--sp-2) 0; }

/* 主内容块 72 */
.section--sm { padding: var(--sp-1) 0; }

/* 辅助块 48 */
.section--lg { padding: var(--sp-3) 0; }

/* 大转折 96 */
.section--tint { background: var(--bg-tint); }

.sec-head { text-align: center; margin-bottom: 34px; }

.sec-title { font-size: 34px; letter-spacing: -.6px; position: relative; display: inline-block; padding-bottom: 16px; }

.sec-title::after {
    content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
    width: 54px; height: 3px; background: var(--brand); border-radius: 2px;
}

.sec-desc { margin-top: 13px; color: var(--ink-3); font-size: 16px; max-width: 620px; margin-left: auto; margin-right: auto; }

.sec-head--light .sec-title { color: #fff; }

.sec-head--light .sec-desc { color: #93a7c1; }

.grid { display: grid; gap: 22px; }

.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 产品分类卡片 ---------- */
.cat-card {
    display: flex; flex-direction: column; align-items: center;
    padding: 26px 18px 22px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); transition: all .26s ease;
}

.cat-card:hover { transform: translateY(-5px); border-color: var(--brand-line); box-shadow: var(--shadow); }

.cat-card__visual {
    width: 100%; height: 152px; display: grid; place-items: center;
    background: linear-gradient(160deg, #fbfcfd, #f2f5f8); border-radius: var(--radius-sm); margin-bottom: 16px;
}

.cat-card__visual .disc { border-width: 9px; box-shadow: inset 0 0 18px rgba(0,0,0,.28), 0 10px 20px rgba(16,24,40,.18); }

.cat-card__name { font-size: 15.5px; font-weight: 600; text-align: center; }

.cat-card:hover .cat-card__name { color: var(--brand); }

/* ---------- 产品卡片 ---------- */
.prod-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; transition: all .26s ease;
}

.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-line); }

.prod-card__visual {
    height: 176px; display: grid; place-items: center;
    background: linear-gradient(160deg, #fbfcfd, #f1f4f8);
}

.prod-card__visual .disc { border-width: 9px; box-shadow: inset 0 0 18px rgba(0,0,0,.28), 0 10px 20px rgba(16,24,40,.18); }

.prod-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.prod-card__model { font-size: 16px; letter-spacing: .2px; }

.prod-card__spec { font-size: 13px; color: var(--ink-3); flex: 1; }

.prod-card__body .btn { margin-top: 6px; }

.inquiry__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }

.sec-title--light { color: #fff; }

.sec-desc--light { color: #93a7c1; margin-left: 0; }

.inquiry__points { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }

.inquiry__points li { display: flex; align-items: center; gap: 10px; color: #c9d7e8; font-size: 14.5px; }

.inquiry__points svg { color: var(--brand-on-dark); flex-shrink: 0; }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }

.field > span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }

.field input, .field textarea {
    width: 100%; padding: 11px 13px; font-size: 14.5px; font-family: inherit;
    border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fcfcfd;
    color: var(--ink); transition: all .2s; resize: vertical;
}

.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--brand); background: #fff;
    box-shadow: 0 0 0 3px rgba(11, 94, 215, .14);
}

/* ---------- 页脚 ---------- */
.site-footer { background: #05142a; color: #8ea3bd; padding-top: 62px; }

.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }

.footer__col { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }

.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }

.footer__col a { color: #8ea3bd; transition: color .2s; }

.footer__col a:hover { color: var(--brand-on-dark); }

.footer__col--brand p { margin-top: 6px; line-height: 1.75; font-size: 13.5px; }

/* 页脚二维码（公众号 / 抖音号）：2026-11-05 加在第 4 列联系方式下方 */
.footer__qr { display: flex; gap: 14px; margin-top: 6px; }
.footer__qr-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.footer__qr-item img {
    display: block; width: 86px; height: auto; aspect-ratio: 1 / 1;
    background: #fff; border-radius: 10px; padding: 6px; box-sizing: content-box;
    transition: box-shadow .2s, transform .2s;
}
.footer__qr-item:hover img { box-shadow: 0 6px 18px rgba(0, 0, 0, .34); transform: translateY(-1px); }
.footer__qr-item figcaption { font-size: 12px; line-height: 1; color: #8ea3bd; white-space: nowrap; letter-spacing: .02em; }

.footer__bottom { border-top: 1px solid rgba(120, 170, 255, .14); padding: 20px 0; font-size: 13px; }

/* 备案标识（2026-11-07）：版权 + 工信部/公安备案号同一行，窄屏自动换行 */
.footer__legal {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 8px 24px;
}
.footer__beian { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.footer__beian-item {
    display: inline-flex; align-items: center; gap: 6px;
    color: inherit; opacity: .78; text-decoration: none;
    transition: opacity .15s;
}
.footer__beian-item:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer__beian-ico { display: block; width: 20px; height: 20px; flex: none; }

/* 手机端备案条：默认不显示，只在 ≤720（页脚整块隐藏时）出现 */
.beian-strip { display: none; }
.beian-strip__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; }
.beian-strip .footer__beian-item { font-size: 11.5px; line-height: 1.5; }

.hero--photo .btn--ghost { background: rgba(255, 255, 255, .10); color: #fff; border-color: rgba(255, 255, 255, .38); }

.hero--photo .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- 标题装饰线 ---------- */
.sec-line { display: none; }

.sec-head--left { text-align: left; }

.sec-head--left .sec-title::after { left: 0; transform: none; }

.sec-head--left .sec-desc { margin-left: 0; }

/* ---------- 产品卡片（真实图片） ---------- */
.pcard {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden; transition: all .26s ease;
}

.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-line); }

.pcard__img {
    display: grid; place-items: center; height: 196px; overflow: hidden;
    background: linear-gradient(160deg, #fbfcfd, #f1f4f8);
}

.pcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .32s ease; }

.pcard:hover .pcard__img img { transform: scale(1.06); }

.pcard__img .disc { border-width: 9px; box-shadow: inset 0 0 18px rgba(0,0,0,.28), 0 10px 20px rgba(16,24,40,.18); }

.pcard__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.pcard__model { font-size: 16px; letter-spacing: .2px; }

.pcard__sub {
    font-size: 12.5px; color: var(--ink-3); flex: 1; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.pcard__body .btn { margin-top: 6px; }

/* ---------- 品类特色区块 ---------- */
.collection__featured {
    display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 26px;
}

.collection__img { width: 100%; height: 300px; object-fit: cover; }

.collection__text { padding: 32px 34px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }

.collection__text p { font-size: 15px; color: var(--ink-2); line-height: 1.85; }

.collection__text .btn { align-self: flex-start; }

.about__text .sec-head { margin-bottom: 22px; }

/* ---------- 服务保障 ---------- */
.service { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }

.service__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.service__item { display: flex; align-items: center; justify-content: center; gap: 14px; }

.service__icon { color: var(--brand); flex-shrink: 0; }

.service__text { display: flex; flex-direction: column; line-height: 1.4; }

.service__text strong { font-size: 15.5px; }

.service__text em { font-style: normal; font-size: 12.5px; color: var(--ink-4); }

/* ---------- 面包屑 ---------- */
.crumbs { background: var(--bg-tint); border-bottom: 1px solid var(--line); font-size: 13.5px; }

.crumbs .container { display: flex; align-items: center; gap: 8px; height: 46px; color: var(--ink-4); flex-wrap: wrap; }

.crumbs a:hover { color: var(--brand); }

.crumbs em { font-style: normal; color: var(--ink-2); font-weight: 600; }

/* ---------- 产品列表 ---------- */
.plist__inner { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }

.plist__side {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px 14px; position: sticky; top: 96px;
}

.plist__side-title { font-size: 14px; color: var(--ink-4); letter-spacing: .5px; padding: 0 8px 10px; }

.plist__cat {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 10px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--ink-2); transition: all .18s;
}

.plist__cat em { font-style: normal; font-size: 12px; color: var(--ink-4); }

.plist__cat:hover { background: var(--bg-tint); color: var(--brand); }

.plist__cat.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }

.plist__cat.is-active em { color: var(--brand); }

.plist__help {
    margin-top: 18px; padding: 16px 14px; background: var(--bg-tint);
    border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: 8px;
}

.plist__help strong { font-size: 14px; }

.plist__help p { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }

.plist__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }

.plist__title { font-size: 26px; }

.plist__count { font-size: 13.5px; color: var(--ink-4); }

.plist__empty { padding: 60px 0; text-align: center; color: var(--ink-4); }

.pager__num.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ---------- 产品详情 ---------- */
.pdetail__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; align-items: start; }

.pdetail__img {
    display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 22px;
    background: linear-gradient(160deg, #fbfcfd, #f1f4f8);
    border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}

.pdetail__img img { width: 100%; height: 100%; object-fit: contain; }

.pdetail__cat {
    display: inline-block; padding: 5px 12px; margin-bottom: 14px; font-size: 12.5px; font-weight: 600;
    color: var(--brand-dark); background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 99px;
}

.pdetail__model { font-size: 34px; letter-spacing: -.4px; }

.pdetail__name { margin-top: 8px; font-size: 16px; color: var(--ink-2); }

.pdetail__summary { margin-top: 14px; font-size: 14.5px; color: var(--ink-3); line-height: 1.8; }

.pdetail__sku { margin-top: 8px; font-size: 13px; color: var(--ink-4); }

.pdetail__btns { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.pdetail__h2 { font-size: 20px; margin-bottom: 16px; }

.pdetail__keys { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }

.keylist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }

.keylist li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13.5px; border-bottom: 1px dashed var(--line); padding-bottom: 7px; }

.keylist span { color: var(--ink-4); }

.keylist em { font-style: normal; font-weight: 600; color: var(--ink); text-align: right; }

.pdetail__specs { margin-top: 56px; }

.spectable { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

.spectable tr:nth-child(odd) { background: var(--bg-tint); }

.spectable th, .spectable td { padding: 12px 18px; font-size: 14px; text-align: left; border-bottom: 1px solid var(--line); }

.spectable th { width: 34%; font-weight: 500; color: var(--ink-3); }

.spectable td { font-weight: 600; }

.spectable tr:last-child th, .spectable tr:last-child td { border-bottom: 0; }

.pdetail__tip { margin-top: 14px; font-size: 13px; color: var(--ink-4); }

.pdetail__related { margin-top: 56px; }

/* ---------- 右侧悬浮条 ---------- */
/* ============================================================
   右侧悬浮工具条
   ★ 2026-10-26 收成圆钮：旧版四格 58px 宽常驻右侧，1366 压住第 4 列分类卡 7px、
     1280 压住 50px，还会切掉新闻卡右边一块 —— 一个「还没决定要不要问」的侧边条，
     不应该长期占着内容区。现在默认 52px 圆钮，展开才出四个入口。
     注意别把 .floatbar 做成 overflow:hidden 的圆角盒子了 —— 展开态要能溢出父容器。
   ============================================================ */
.floatbar {
    position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 70;
    display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}

.floatbar__toggle {
    width: 52px; height: 52px; display: grid; place-items: center;
    border: 0; border-radius: 50%; cursor: pointer;
    background: var(--brand); color: #fff;
    box-shadow: 0 8px 22px rgba(11, 94, 215, .38);
    transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.floatbar__toggle:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 94, 215, .46); }

/* 展开时图标换成叉：两个图标占同一个网格单元格，靠 opacity 交叉淡入淡出 */
.floatbar__ico { grid-area: 1 / 1; transition: opacity .18s ease; }

.floatbar__ico--close { opacity: 0; }

.floatbar.is-open .floatbar__ico--open { opacity: 0; }

.floatbar.is-open .floatbar__ico--close { opacity: 1; }

/* ★ 必须写这条：元素自带的 hidden 属性只等价于 UA 样式的 display:none，
   上面 .floatbar__panel 写了 display:flex，作者样式优先级更高会把 hidden 顶掉
   → 面板根本没收起来（实测宽度仍是撑开的 58px，照旧压在第 4 张卡右边） */
.floatbar__panel[hidden] { display: none; }

.floatbar__panel {
    display: flex; flex-direction: column;
    border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow);
    /* 面板从圆钮里滑出来，不是整块跳出来 */
    transform-origin: top right;
    animation: fbIn .18s ease;
}

@keyframes fbIn {
    from { opacity: 0; transform: translateY(-6px) scale(.96); }
    to   { opacity: 1; transform: none; }
}

.floatbar__item {
    width: 58px; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    background: #fff; border: 0; border-bottom: 1px solid var(--line);
    color: var(--ink-2); font-size: 10.5px; font-family: inherit; cursor: pointer; transition: all .2s; text-align: center;
}

.floatbar__item:last-child { border-bottom: 0; }

.floatbar__item:hover { background: var(--brand); color: #fff; }

@media (prefers-reduced-motion: reduce) {
    .floatbar__panel { animation: none; }
    .floatbar__toggle:hover { transform: none; }
}

/* ==========================================================================
   汉堡抽屉导航（2026-10-26）
   背景：.nav 在 ≤1080 隐藏、.tabbar 只在 ≤720 出现
         → 721–1080（iPad 竖屏 768 / 横屏 1024）没有任何栏目导航；
         → 手机端更糟：底部 Tab 只有 5 项，解决方案 / 光学知识库 /
           下载中心 / 产品定制 四个栏目在手机上完全点不到（页脚被 CSS 隐藏）。
   所以抽屉覆盖整个 ≤1080 档，一次把全站栏目补齐。

   ★★ DOM 位置铁律：抽屉容器是 <header class="navbar"> 的兄弟节点，不能放进它里面。
      .navbar 有 backdrop-filter —— filter / backdrop-filter 会让元素成为
      position:fixed 后代的包含块，放进去 inset:0 只覆盖导航条那 76px 高的一条。
   ========================================================================== */

/* 桌面端彻底不出现（连布局都不参与） */
.navburger { display: none; }

.mdrawer { display: none; }
/* ★ 同 PITFALL 111：hidden 属性只是 UA 的 display:none，
   下面 .mdrawer 一旦写 display:block，作者样式优先级更高会把 hidden 顶掉 */
.mdrawer[hidden] { display: none !important; }

/* 抽屉打开时锁住背景滚动（class 由 common.js 加），抽屉自身有独立滚动容器 */
body.md-open { overflow: hidden; }

.mdrawer__mask {
    position: absolute; inset: 0;
    background: rgba(7, 26, 51, .46);
    animation: mdFade .2s ease;
}

.mdrawer__panel {
    position: absolute; top: 0; left: 0; bottom: 0;
    width: min(86vw, 340px);
    display: flex; flex-direction: column;
    background: #fff; box-shadow: 0 18px 46px rgba(12, 32, 60, .2);
    animation: mdIn .24s cubic-bezier(.22, .61, .36, 1);
}

@keyframes mdFade { from { opacity: 0; } to { opacity: 1; } }

@keyframes mdIn { from { transform: translateX(-100%); } to { transform: none; } }

/* ---------- 抽屉头部 ---------- */
.mdrawer__head {
    flex: none; display: flex; align-items: center; gap: 12px;
    padding: 16px 18px; border-bottom: 1px solid var(--line);
}

.mdrawer__brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }

.mdrawer__brand img { height: 26px; width: auto; display: block; }

.mdrawer__brand span { display: flex; flex-direction: column; line-height: 1.2; }

.mdrawer__brand strong { font-size: 16px; color: var(--ink); }

.mdrawer__brand em { font-style: normal; font-size: 11.5px; color: var(--ink-4); }

.mdrawer__close {
    margin-left: auto; width: 38px; height: 38px; flex: none;
    display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 50%; background: #fff;
    color: var(--ink-2); cursor: pointer; transition: all .2s;
}

.mdrawer__close:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 抽屉主体：可滚动 ---------- */
.mdrawer__body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 8px 0 18px; }

/* 一级：普通链接 */
.mdrawer__top {
    display: block; padding: 13px 18px;
    font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none;
}

/* 一级：可折叠分组（<details>） */
.mdrawer__grp { border-bottom: 1px solid var(--bg-tint); }

.mdrawer__grp:last-child { border-bottom: 0; }

.mdrawer__sum {
    display: flex; align-items: center; padding: 13px 18px;
    font-size: 15px; font-weight: 500; color: var(--ink-2);
    cursor: pointer; list-style: none;
    -webkit-tap-highlight-color: transparent;
}

/* 干掉 Safari / Chrome 的原生三角，换成统一的折角箭头 */
.mdrawer__sum::-webkit-details-marker { display: none; }

.mdrawer__sum::after {
    content: ''; margin-left: auto; width: 8px; height: 8px;
    border-right: 1.6px solid var(--ink-4); border-bottom: 1.6px solid var(--ink-4);
    transform: rotate(45deg) translateY(-2px); transition: transform .2s ease;
}

.mdrawer__grp[open] > .mdrawer__sum { color: var(--brand); }

.mdrawer__grp[open] > .mdrawer__sum::after { transform: rotate(-135deg) translateY(-2px); }

/* 二级：下拉子项（服务中心等） */
.mdrawer__subs { padding: 2px 0 8px; background: var(--bg-tint); }

.mdrawer__sub {
    display: block; padding: 10px 18px 10px 30px;
    font-size: 14px; color: var(--ink-3); text-decoration: none;
}

.mdrawer__sub:hover, .mdrawer__sub.is-active { color: var(--brand); }

/* 二级：12 个产品分类（图文两列，比纯文字更好点） */
.mdrawer__cats {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px; padding: 4px 18px 12px;
}

.mdrawer__cat {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font-size: 12.5px; line-height: 1.3; color: var(--ink-2);
    text-decoration: none; transition: all .18s;
}

.mdrawer__cat:hover, .mdrawer__cat.is-active {
    border-color: var(--brand-line); background: var(--brand-soft); color: var(--brand);
}

.mdrawer__cat img {
    width: 34px; height: 26px; flex: none; object-fit: cover; border-radius: 4px;
    background: var(--bg-tint);
}

/* ---------- 抽屉底部 ---------- */
.mdrawer__foot {
    flex: none; padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line); background: var(--bg-tint);
}

.mdrawer__meta {
    display: flex; flex-wrap: wrap; gap: 4px 14px;
    margin: 10px 0 0; font-size: 12.5px; color: var(--ink-3);
}

.mdrawer__meta a { color: var(--ink-3); text-decoration: none; }

.mdrawer__meta a:hover { color: var(--brand); }

.mdrawer__lang {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 12px; font-size: 13px; color: var(--ink-2); text-decoration: none;
}

.mdrawer__lang:hover { color: var(--brand); }

@media (max-width: 1080px) {
    /* ★ .nav 隐藏后没人把右侧动作区推到右边 —— 原来靠的是 .nav 的 margin-left:auto。
       实测 1080 宽时「搜索 + 立即联系」离容器右缘还差 585px，等于整块贴在 logo 旁边。
       这里手动补上，抽屉按钮也就落在它该在的位置了。 */
    .navbar__actions { margin-left: auto; }

    .navburger {
        display: inline-grid; place-items: center;
        width: 40px; height: 40px; padding: 0;
        border: 1px solid var(--line); border-radius: 10px; background: #fff;
        color: var(--ink-2); cursor: pointer; transition: all .2s;
    }

    .navburger:hover { border-color: var(--brand); color: var(--brand); }

    .navburger__box { position: relative; display: block; width: 18px; height: 14px; }

    .navburger__box i {
        position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
        background: currentColor;
        transition: transform .22s ease, opacity .16s ease;
    }

    .navburger__box i:nth-child(1) { top: 0; }
    .navburger__box i:nth-child(2) { top: 6px; }
    .navburger__box i:nth-child(3) { top: 12px; }

    /* 打开时三横变叉：上下两条旋到中间交叉，中间那条淡出 */
    .navburger.is-open .navburger__box i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .navburger.is-open .navburger__box i:nth-child(2) { opacity: 0; }
    .navburger.is-open .navburger__box i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .mdrawer { display: block; position: fixed; inset: 0; z-index: 90; }
}

@media (prefers-reduced-motion: reduce) {
    .mdrawer__mask, .mdrawer__panel { animation: none; }
}

/* ==========================================================================
   产品中心 / 分类列表页（结构对齐参考站）
   ========================================================================== */

/* ---------- 面包屑补充 ---------- */
.crumbs__sep { color: var(--ink-4); }

.crumbs__cur { color: var(--ink-2); font-weight: 600; }

.pc-side__all.is-active { background: var(--brand-soft); color: var(--brand); }

.pc-side__all.is-active span { color: var(--brand); }

.pc-tree__item.is-active > .pc-tree__link { color: var(--brand); }

.pc-tree__item.is-active > .pc-tree__link em { color: var(--brand); }

.pc-tree__sub li.is-active > a { color: var(--brand); font-weight: 600; }

.pc-tree__sub li.is-active > a::before { background: var(--brand); }

/* 面包屑单独一条窄底带，避免直接压在照片上读不清 */
.cat-hero .crumbs {
    position: relative;
    margin: 0 0 20px;
    padding: 11px 0 13px;
    font-size: 12.5px;
    color: #93a8c2;
    background: rgba(4, 17, 34, .42);
}

/* 底带横向铺满整屏：用左右外扩的伪元素，注意不能设 z-index:-1（会跑到祖先背景之下、被 banner 遮住） */
.cat-hero .crumbs::before,
.cat-hero .crumbs::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 100vw;
    background: inherit;
    pointer-events: none;
}

.cat-hero .crumbs::before { right: 100%; }

.cat-hero .crumbs::after { left: 100%; }

.cat-hero .crumbs .container { height: auto; padding: 0; position: relative; z-index: 1; }

.cat-hero .crumbs a { color: #b8cbe2; }

.cat-hero .crumbs a:hover { color: #fff; }

.cat-hero .crumbs__sep { color: rgba(255, 255, 255, .3); }

.cat-hero .crumbs__cur { color: #fff; }

.cat-quick { list-style: none; margin: 0; padding: 0; }

.cat-quick li + li { border-top: 1px dashed var(--line); }

.cat-quick a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 7px 2px;
    font-size: 13px; color: var(--ink-2);
    transition: color .15s ease;
}

.cat-quick a:hover { color: var(--brand); }

.cat-quick em {
    font-style: normal; flex: none;
    font-size: 12px; color: var(--ink-4);
    font-variant-numeric: tabular-nums;
}

.cat-panel__aside .btn { margin-top: 10px; }

.pl-hero .crumbs { background: none; border: 0; }

.pl-hero .crumbs .container { height: auto; padding: 0 0 18px; }

.pl-hero__media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: #fff; }

.pl-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.pl-hero__desc { font-size: 14.5px; color: var(--ink-3); line-height: 1.85; }

/* ---------- 子类目卡 ---------- */
.pl-children { padding: 52px 0 64px; }

.pl-children__head { margin-bottom: 32px; }

.pl-children__head h2 { font-size: 24px; margin-bottom: 6px; }

.pl-children__head p { font-size: 13.5px; color: var(--ink-4); }

.cmpbar__tag { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 5px 10px; background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: 20px; font-size: 12px; color: var(--ink-2); white-space: nowrap; }

.cmpbar__tag i { font-style: normal; color: var(--ink-4); cursor: pointer; font-size: 14px; line-height: 1; }

.cmpbar__tag i:hover { color: var(--brand); }

/* ---------- 响应式补充 ---------- */
@media (max-width: 1080px) {
    .pc-layout { grid-template-columns: 1fr; }
    .pc-side { position: static; margin-bottom: 22px; }
    .pc-side__toggle { display: block; }
    .pc-side__panel { display: none; }
    .pc-side.is-open .pc-side__panel { display: block; }
    .pl-hero__layout { grid-template-columns: 1fr; gap: 24px; }
    .pc-series__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .section { padding: 64px 0; }
    .section--sm { padding: 44px 0; }
    .section--lg, .why { padding: 80px 0; }
    .hero__title, .hero--photo .hero__title { font-size: 44px; }
    .hero__visual { height: 330px; transform: scale(.86); transform-origin: left center; }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .nav { display: none; }
    .inquiry__inner { grid-template-columns: 1fr; gap: 34px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .collection__featured { grid-template-columns: 1fr; }
    .collection__img { height: 220px; }
    .service__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    /* ★ 2026-10-26：悬浮条原来在 ≤1080 就隐藏，可这一档导航也被藏了，
       721–1080（iPad 竖屏 768 / 横屏 1024）既没导航也没有底部 Tab，等于一个联系入口都没有。
       收成圆钮后它只占 52px，保留下来当兜底；真正的手机（≤720）有 .tabbar，另在下面隐藏。 */
    .plist__inner { grid-template-columns: 1fr; }
    .plist__side { position: static; }
    .pdetail__inner { grid-template-columns: 1fr; gap: 28px; }
    .about__inner { grid-template-columns: 1fr; gap: 30px; }
}

/* 图片灯箱 */
html.pl-lb-open { overflow: hidden; }

.pl-lightbox {
    position: fixed; inset: 0; z-index: 200;
    display: flex; align-items: center; justify-content: center; padding: 24px;
    background: rgba(14, 17, 20, .82);
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
}

.pl-lightbox figure {
    position: relative; margin: 0; padding: 12px;
    background: #fff; border-radius: var(--radius-sm);
    max-width: 92vw; max-height: 88vh;
}

.pl-lightbox img { max-width: calc(92vw - 24px); max-height: calc(88vh - 24px); object-fit: contain; }

.pl-lightbox__close {
    position: absolute; top: 6px; right: 6px;
    width: 34px; height: 34px; border: 0; border-radius: 50%;
    background: rgba(14, 17, 20, .85); color: #fff;
    font-size: 22px; line-height: 1; cursor: pointer;
}

/* ============================================================
 *  光谱曲线（详情页区块 + 曲线弹窗）
 * ============================================================ */
.pdetail__curve { padding: 26px 0 6px; }

.pcurve {
    display: flex; gap: 26px; align-items: stretch; flex-wrap: wrap;
    padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--bg-tint);
}

.pcurve__chart { flex: 1 1 560px; min-width: 300px; background: #fff; border-radius: 8px; padding: 8px; }

.pcurve__chart canvas { width: 100%; height: 340px; display: block; }

.pcurve__img {
    flex: 1 1 560px; min-width: 300px; background: #fff; border-radius: 8px; padding: 10px;
    display: flex; align-items: center; justify-content: center;
}

.pcurve__img img { max-width: 100%; max-height: 340px; object-fit: contain; }

.pcurve__ask {
    flex: 1 1 560px; min-width: 300px; margin: 0; padding: 46px 16px; text-align: center;
    color: var(--ink-3); font-size: 14px; background: #fff; border-radius: 8px;
}

.pcurve__side {
    flex: 0 0 230px; display: flex; flex-direction: column; gap: 12px; justify-content: center;
}

.pcurve__meta { margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.7; }

.pcurve__meta em { display: block; color: var(--ink-4); font-style: normal; font-size: 12.5px; }

.pcurve__file { margin: 0; font-size: 12.5px; color: var(--ink-3); word-break: break-all; }

.pcurve__file--muted { color: var(--ink-4); }

/* 曲线弹窗 */
.sp-pop { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; }

.sp-pop[hidden] { display: none; }

.sp-pop__mask { position: absolute; inset: 0; background: rgba(14, 17, 20, .62); }

.sp-pop__dialog {
    position: relative; z-index: 1; width: min(820px, 94vw); max-height: 92vh; overflow: auto;
    background: #fff; border-radius: var(--radius); box-shadow: 0 22px 60px rgba(10, 12, 15, .28);
}

.sp-pop__head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 14px 18px; border-bottom: 1px solid var(--line);
}

.sp-pop__head h3 { margin: 0; font-size: 16px; color: var(--ink); }

.sp-pop__close {
    border: 0; background: transparent; font-size: 24px; line-height: 1;
    color: var(--ink-4); cursor: pointer; padding: 0 4px;
}

.sp-pop__body { padding: 16px 18px 20px; }

.sp-canvas { width: 100%; height: 360px; display: block; }

.sp-pop__img { margin-top: 12px; text-align: center; }

.sp-pop__img img { max-width: 100%; max-height: 380px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }

.sp-pop__empty { margin: 0; padding: 34px 0; text-align: center; color: var(--ink-3); font-size: 14px; }

.sp-pop__note { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-4); text-align: center; }

.sp-legend { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }

.sp-legend__item { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }

.sp-legend__item i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }

.why > .container { position: relative; z-index: 1; }

.inquiry__inner { position: relative; z-index: 1; }

/* 主按钮：蓝色光晕 */
.btn--primary { box-shadow: 0 6px 18px var(--brand-glow); }

.btn--primary:hover { box-shadow: 0 10px 26px rgba(11, 94, 215, .42); }

/* 页脚顶部蓝色描边，呼应科技底 */
.site-footer { border-top: 3px solid var(--brand-dark); }

.sol-anchorbar__link.is-active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

.sol-tab.is-active {
    background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600;
    box-shadow: 0 6px 16px var(--brand-glow);
}

.sol-cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); }

.sol-cta .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.ct-cmp__row .k { flex: none; width: 58px; color: var(--ink-4); }

.ct-cmp__row .v { flex: 1; color: var(--ink-2); word-break: break-word; }

.ct-message__text .sec-desc { margin-left: 0; }

.nw-cat.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

.nw-pager__num.is-on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.nw-pager__btn.is-off { opacity: .42; cursor: not-allowed; }

.nw-nav__item.is-off { opacity: .5; pointer-events: none; }

/* 底部 CTA */
.nw-bottom-cta { padding: 44px 0; background: linear-gradient(120deg, #0a2344, #071a33); color: #fff; }

.nw-bottom-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }

.nw-bottom-cta__t { margin: 0; font-size: 24px; font-weight: 700; }

.nw-bottom-cta__d { margin: 9px 0 0; font-size: 14.5px; color: var(--on-navy); max-width: 620px; line-height: 1.7; }

.nw-bottom-cta__ops { display: flex; gap: 12px; flex-wrap: wrap; }

.nw-bottom-cta__ops .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }

.nw-bottom-cta__ops .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
    .sol-grid { grid-template-columns: repeat(2, 1fr); }
    .sol-flow { grid-template-columns: repeat(2, 1fr); }
    .sol-flow__step::after { display: none; }
    .sol-spec-grid { grid-template-columns: repeat(2, 1fr); }

    /* 联系我们 */
    .ct-cards__grid { grid-template-columns: repeat(2, 1fr); }
    .ct-hero__inner { grid-template-columns: 1fr; gap: 34px; }
    .ct-hero__media { max-width: 580px; }
    .ct-message__inner { grid-template-columns: 1fr; gap: 34px; }
    .ct-proc { grid-template-columns: 1fr; gap: 22px; }
    .ct-proc__mail { text-align: left; border-left: 0; padding-left: 0; border-top: 1px dashed var(--line); padding-top: 20px; }

    /* 新闻资讯 —— 侧边栏移到列表下方 */
    .nw-main__grid { grid-template-columns: 1fr; }
    .nw-side { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
    .nw-rel__grid { grid-template-columns: repeat(2, 1fr); }

    /* 首页新闻资讯 —— 两列 */
    .hn__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }

    /* 关于我们 */
    .ab-hero__inner { grid-template-columns: 1fr; gap: 34px; }
    .ab-hero__media { max-width: 620px; }
    .ab-metrics__grid { grid-template-columns: repeat(2, 1fr); }
    .ab-metric:nth-child(2) { border-right: 0; }
    .ab-metric:nth-child(3) { border-top: 1px solid var(--line); }
    .ab-metric:nth-child(4) { border-top: 1px solid var(--line); }
    .ab-biz__block { grid-template-columns: 1fr; gap: 28px; }
    .ab-biz__block.is-reverse .ab-biz__text { order: 1; }
    .ab-biz__block.is-reverse .ab-biz__media { order: 2; }
    .ab-biz__media { position: static; max-width: 620px; }
    .ab-qa__grid { grid-template-columns: repeat(2, 1fr); }
    .ab-market__inner { grid-template-columns: 1fr; gap: 34px; }
    .ab-fac__shots { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .ab-cert__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ---------- 超窄屏（≤480px）：收窄导航栏 ----------
   360px 机型下 brand + 「立即联系」挤不下，按钮会被挤出屏幕 25px；
   2026-10-21 断点从 420 提到 480：英文站「Get a Quote」更长，430px 时右侧按钮组照样溢出 59px */
@media (max-width: 480px) {
    .navbar__inner { gap: 10px; }
    .brand { gap: 8px; }
    .brand__logo { height: 26px; }
    .brand__text strong { font-size: 17px; }
    .brand__text em { display: none; }
    .navbar__actions { gap: 0; }
    .navbar__actions .btn { padding: 8px 12px; font-size: 13px; }
}

/* ≤360px（iPhone SE 一代等）：480 的收窄仍差 11px，品牌名再让一步 */
@media (max-width: 360px) {
    .brand__text strong { font-size: 15px; }
    .navbar__actions .btn { padding: 7px 10px; font-size: 12px; }
}

@media (max-width: 900px) {

    .cat-hero .crumbs { padding: 10px 0 12px; font-size: 12px; }

}

@media (max-width: 720px) {

    .hero__visual { height: 250px; transform: scale(.66); transform-origin: left top; }

    .section { padding: 52px 0; }

    .section--sm { padding: 36px 0; }

    .sec-title { font-size: 26px; }

    .grid--4 { grid-template-columns: 1fr 1fr; gap: 14px; }

    .footer__grid { grid-template-columns: 1fr; }

    .topbar__note { display: none; }

    /* 手机端 ISO 标语隐藏，但「全景看厂」入口保留（顶部唯一带图标的功能入口） */
    .topbar__left .topbar__sep { display: none; }

    .navbar__inner { height: 64px; gap: 16px; }

    .cat-card__visual { height: 118px; }

    .prod-card__visual { height: 140px; }

}

@media (max-width: 900px) {

    .pcurve { flex-direction: column; }

    .pcurve__side { flex: none; }

    .sp-canvas { height: 300px; }

}

@media (max-width: 720px) {

    .ct-head .sec-title { font-size: 26px; }

    .ct-message__text .sec-title { font-size: 26px; }

    .nw-bottom-cta { padding: 34px 0; }

    .nw-bottom-cta__t { font-size: 20px; }

    .nw-bottom-cta__inner { flex-direction: column; align-items: flex-start; }

}

/* ==========================================================================
   移动端底部 Tab + 客服抽屉（2026-10-21）
   —— 只在 ≤720px 出现；桌面端彻底 display:none，不参与布局也不吃点击
   ========================================================================== */
.tabbar { display: none; }

@media (max-width: 720px) {

    /* 底部 Tab 占掉 58px，给 body 留同样的空间，最后一屏内容才不被压住 */
    body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }

    .tabbar {
        display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(255, 255, 255, .97);
        -webkit-backdrop-filter: saturate(180%) blur(14px);
        backdrop-filter: saturate(180%) blur(14px);
        border-top: 1px solid var(--line);
    }

    .tabbar__item {
        position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 3px; height: 58px; padding: 0; border: 0; background: none;
        font: inherit; font-size: 11px; line-height: 1; letter-spacing: .2px;
        color: var(--ink-4); text-decoration: none; cursor: pointer;
        -webkit-tap-highlight-color: transparent; transition: color .18s;
    }

    .tabbar__item svg { width: 22px; height: 22px; }

    .tabbar__item.is-on { color: var(--brand); font-weight: 600; }

    /* 当前栏目：顶部一小段指示条，比整格填色安静，也不跟品牌蓝抢视线 */
    .tabbar__item.is-on::before {
        content: ''; position: absolute; top: 0; left: 50%; margin-left: -11px;
        width: 22px; height: 2px; border-radius: 0 0 2px 2px; background: var(--brand);
    }

    .tabbar__item:active { background: rgba(11, 94, 215, .06); }

    /* ---------- 移动端整个页脚隐藏 ----------
       品牌简介 / 快捷链接 / 产品目录 / 联系方式 / 版权 一律不显示，导航交给底部 Tab。
       ★ 只是 CSS 隐藏，<footer> 整块仍在 DOM 里 —— 桌面端正常、爬虫照常抓到内链，
         不影响 SEO。真要彻底不输出，得改 footer.html 的 PHP 判断，不要在这儿删。 */
    .site-footer { display: none; }

    /* 页脚隐藏时，备案号改由这一条承担（合规要求在站点底部明示） */
    .beian-strip {
        display: block; background: #05142a; color: #8ea3bd;
        padding: 12px 16px; text-align: center;
    }
    .beian-strip .footer__beian-ico { width: 16px; height: 16px; }

    /* 手机端有底部 Tab 兜底，右侧悬浮圆钮就多余了，还会压住内容 */
    .floatbar { display: none; }
}

/* ==========================================================================
   全站 banner 比例统一（2026-11-02 明哥定：除首页外，有 banner 的页统一比例）
   --------------------------------------------------------------------------
   口径：统一「3:1 视高带」—— 桌面 480px（1440 → 3.0:1），≤1024 400px，
   ≤767 320px。内容垂直居中，图片一律 object-fit: cover，比例只归这一处管，
   各页 css 不要再写死 banner 高度。首页 .hero--photo 是独立版式，不在此列。
   专题页（.icg-page .hero 等 7 页）首屏图文密，走 480 下限 + 内容撑开。
   ========================================================================== */
.pc-hero, .sol-hero, .nw-hero, .kb-hero, .ct-hero, .cp-hero {
    display: flex;
    align-items: center;
    min-height: 480px;
}
.pc-hero > .container,
.sol-hero > .container,
.nw-hero > .container,
.kb-hero > .container,
.ct-hero > .container,
.cp-hero > .container { width: 100%; }

@media (max-width: 1024px) {
    .pc-hero, .sol-hero, .nw-hero, .kb-hero, .ct-hero, .cp-hero { min-height: 400px; }
}
@media (max-width: 767px) {
    .pc-hero, .sol-hero, .nw-hero, .kb-hero, .ct-hero, .cp-hero { min-height: 320px; }
}

/* --------------------------------------------------------------------------
   专题页首屏「后台上传背景图」：整图完整展示（2026-11-03 二改）
   模板在 .hero 上输出 --hero-bg 时命中；属性选择器提高权重，
   保证即使本文件先加载也能盖过各页 css 的默认 cover 声明。
   版式：图交给 ::before —— 高度铺满、右对齐、左边缘羽化融进深蓝，
   不再整体 cover 裁切（用户传的图比例不可控，裁切会切掉主体）；
   ::after 压一层加深遮罩保证左栏文字可读；文字层 z-index:2。
   手机端（≤767）容器太扁、完整展示无意义，退回 cover 靠右。
   -------------------------------------------------------------------------- */
.icg-page .hero[style*="--hero-bg"],
.oct-page .hero[style*="--hero-bg"],
.pcr-page .hero[style*="--hero-bg"],
.mpr-page .hero[style*="--hero-bg"],
.bca-page .hero[style*="--hero-bg"],
.fcm-page .hero[style*="--hero-bg"],
.ivi-page .hero[style*="--hero-bg"],
.irfab-page .hero[style*="--hero-bg"] {
    position: relative;
    background: #071a33;   /* 底色；图不再走 cover，交给 ::before 完整展示 */
}
.icg-page .hero[style*="--hero-bg"]::before,
.oct-page .hero[style*="--hero-bg"]::before,
.pcr-page .hero[style*="--hero-bg"]::before,
.mpr-page .hero[style*="--hero-bg"]::before,
.bca-page .hero[style*="--hero-bg"]::before,
.fcm-page .hero[style*="--hero-bg"]::before,
.ivi-page .hero[style*="--hero-bg"]::before,
.irfab-page .hero[style*="--hero-bg"]::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    /* auto 100% = 按容器高度等比缩放（不裁切），right = 靠右，左侧留深蓝文字区 */
    background: var(--hero-bg) right center / auto 100% no-repeat;
}
.icg-page .hero[style*="--hero-bg"]::after,
.oct-page .hero[style*="--hero-bg"]::after,
.pcr-page .hero[style*="--hero-bg"]::after,
.mpr-page .hero[style*="--hero-bg"]::after,
.bca-page .hero[style*="--hero-bg"]::after,
.fcm-page .hero[style*="--hero-bg"]::after,
.ivi-page .hero[style*="--hero-bg"]::after,
.irfab-page .hero[style*="--hero-bg"]::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        radial-gradient(1100px 460px at 76% 0%, rgba(0, 180, 216, .10), transparent 62%),
        linear-gradient(100deg,
            rgba(4,12,26,.97) 0%, rgba(4,12,26,.92) 26%, rgba(4,12,26,.78) 40%,
            rgba(4,12,26,.52) 56%, rgba(4,12,26,.22) 76%, rgba(4,12,26,.04) 100%);
}
.icg-page .hero[style*="--hero-bg"] .hero__inner,
.oct-page .hero[style*="--hero-bg"] .hero__inner,
.pcr-page .hero[style*="--hero-bg"] .hero__inner,
.mpr-page .hero[style*="--hero-bg"] .hero__inner,
.bca-page .hero[style*="--hero-bg"] .hero__inner,
.fcm-page .hero[style*="--hero-bg"] .hero__inner,
.ivi-page .hero[style*="--hero-bg"] .hero__inner,
.irfab-page .hero[style*="--hero-bg"] .hero__inner {
    position: relative; z-index: 2;
}
@media (max-width: 767px) {
    .icg-page .hero[style*="--hero-bg"]::before,
    .oct-page .hero[style*="--hero-bg"]::before,
    .pcr-page .hero[style*="--hero-bg"]::before,
    .mpr-page .hero[style*="--hero-bg"]::before,
    .bca-page .hero[style*="--hero-bg"]::before,
    .fcm-page .hero[style*="--hero-bg"]::before,
    .ivi-page .hero[style*="--hero-bg"]::before,
    .irfab-page .hero[style*="--hero-bg"]::before {
        background-size: cover; background-position: 62% center;
    }
}
