/* 手机端（≤850px）样式，最后加载；桌面端不受影响。
   页面较多、旧样式层层覆盖，手机端的布局统一在这里收口。 */
.section-more, .filter-open, .filter-sheet-head, .filter-sheet-foot, .media-count, .menu-extra { display: none; }
.filter-sheet { display: contents; }
.footer-toggle { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; }

@media (max-width: 850px) {
  /* ---------- 顶部栏 ---------- */
  .header, .header.scrolled { height: 56px; background: #fff; backdrop-filter: none; box-shadow: 0 1px 0 rgba(7,29,61,.08); }
  .header .logo { width: 150px; max-width: 46vw; }
  .header .language-switch { display: none; }
  .menu { width: 44px; height: 44px; margin-left: auto; font-size: 22px; line-height: 1; border: 0; background: #f2f6fb; border-radius: 10px; }

  /* 菜单：顶部栏下方的整屏面板，从右侧滑入 */
  .navlinks, .navlinks.open {
    display: flex; flex-direction: column; position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
    height: calc(100dvh - 56px); max-height: none; margin: 0; padding: 8px 20px calc(24px + env(safe-area-inset-bottom));
    background: #fff; border: 0; box-shadow: none; overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; z-index: 60;
  }
  .navlinks.open { transform: none; visibility: visible; transition: transform .28s ease; }
  .navlinks > a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 4px; font-size: 17px; font-weight: 700; color: var(--navy); border-bottom: 1px solid #edf1f6; }
  .navlinks > a::after { content: "›"; font-size: 24px; color: #9aabbf; font-weight: 400; }
  .navlinks > a[aria-current="page"] { color: var(--action-blue, #0875df); }
  .navlinks > a[aria-current="page"]::after { color: inherit; }
  .menu-extra { display: grid; gap: 14px; margin-top: 24px; }
  .menu-extra .language-switch { display: flex; justify-content: center; gap: 0; margin: 0; }
  .menu-extra .language-switch a, .menu-extra .language-switch button { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 44px; padding: 10px; font-size: 15px; text-align: center; border: 1px solid var(--line); background: #fff; }
  .menu-extra .language-switch > :first-child { border-radius: 10px 0 0 10px; }
  .menu-extra .language-switch > :last-child { border-radius: 0 10px 10px 0; }
  .menu-extra .language-switch span { display: none; }
  .menu-extra .language-switch [aria-current="true"], .menu-extra .language-switch [aria-pressed="true"] { background: #eaf3fd; border-color: #b9d6f3; color: var(--navy); font-weight: 800; }
  .header .menu-extra .quote { max-width: none; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; font-size: 16px; border-radius: 12px; }
  .menu-contact { display: grid; gap: 8px; padding: 16px; background: #f5f8fc; border-radius: 12px; font-size: 14px; color: #52667b; }
  .menu-contact a { display: flex; padding: 0; align-items: center; min-height: 36px; color: var(--navy); font-weight: 700; }
  body.menu-open { overflow: hidden; }
  body.menu-open .mobilebar { transform: translateY(110%); }

  /* ---------- 底部操作栏 ---------- */
  .mobilebar { grid-template-columns: 1fr 1fr 1.6fr; align-items: stretch; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid #e5ebf2; box-shadow: 0 -6px 24px rgba(7,29,61,.08); transition: transform .25s; }
  .mobilebar a, .mobilebar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 46px; padding: 4px; font-size: 12px; font-weight: 700; color: var(--navy); background: transparent; border-radius: 12px; }
  .mobilebar button { flex-direction: row; gap: 6px; font-size: 15px; color: #fff; background: var(--action-blue, #0875df); box-shadow: 0 6px 16px rgba(8,117,223,.25); }
  .mobilebar svg { width: 22px; height: 22px; flex: none; }
  .mobilebar button svg { width: 18px; height: 18px; }
  body:has(.mobilebar) { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  body.dialog-open .mobilebar { transform: translateY(110%); }

  /* ---------- 通用：留白、标题、点击区域 ---------- */
  main > section:not(.hero-v6):not(.banner-v6):not(.innerhero):not(.stats-v7), main > div > section { padding-top: 44px; padding-bottom: 44px; }
  main section h2 { font-size: 25px; line-height: 1.25; letter-spacing: -.01em; }
  main .section-title-v7, main .section-head { margin-bottom: 20px; }
  main .section-title-v7 p, main .section-head p { font-size: 14px; line-height: 1.7; margin-top: 8px; }
  .eyebrow, .kicker { font-size: 11px; letter-spacing: .14em; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea { font-size: 16px !important; }
  .quote, .btn-primary, .btn-secondary, .db-link, .filter-reset { min-height: 44px; }
  .hf-links a, .chip { display: inline-flex; align-items: center; min-height: 36px; }

  /* 内页横幅：文字在上，照片淡化做背景，高度随内容 */
  .banner-v6 { height: auto; min-height: 0; padding: 22px 0 26px; overflow: hidden; }
  .banner-v6.catalogue-banner { min-height: 0; padding: 22px 0 26px; }
  .catalogue-banner .copy { padding-block: 0; }
  .catalogue-banner .banner-photo-v8 { top: 0; height: 100%; }
  .banner-v6 .wrap { height: auto; }
  .banner-v6 .copy { width: 100%; padding-top: 0; }
  .banner-v6 h1 { font-size: 28px; line-height: 1.2; max-width: none; }
  .banner-v6 p { font-size: 14px; max-width: none; line-height: 1.6; }
  .banner-v6 .crumb { margin-bottom: 8px; font-size: 12px; }
  .banner-photo-v8 { top: 0; left: 30%; width: 70%; height: 100%; clip-path: none; opacity: .22; object-position: center; }
  .banner-v6:before { background: linear-gradient(90deg, rgba(248,252,255,.98) 30%, rgba(248,252,255,.6)); }
  .innerhero, .innerhero.v4, .innerhero.v5 { height: auto; min-height: 180px; padding: 28px 0; }
  .innerhero h1 { font-size: 28px; }

  /* 页脚：栏目可折叠，联系方式始终展开 */
  .footer-v7, .footer { padding: 36px 0 calc(20px + env(safe-area-inset-bottom)); }
  :is(.footer-v7-grid, .footergrid) { grid-template-columns: 1fr; gap: 0; }
  :is(.footer-v7-grid, .footergrid) > div:first-child { padding-bottom: 18px; }
  :is(.footer-v7-grid, .footergrid) .logo { width: 170px; }
  :is(.footer-v7-grid, .footergrid) > div:has(h4) { border-top: 1px solid rgba(255,255,255,.1); }
  :is(.footer-v7-grid, .footergrid) h4 { margin: 0; }
  .footer-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-weight: 800; text-align: left; }
  .footer-toggle::after { content: "+"; font-size: 20px; font-weight: 400; opacity: .7; }
  .footer-fold:not(.open) > :not(h4) { display: none; }
  .footer-fold.open .footer-toggle::after { content: "−"; }
  .footer-fold.open { padding-bottom: 10px; }
  :is(.footer-v7-grid, .footergrid) > div:has(h4) p { margin: 0; }
  :is(.footer-v7-grid, .footergrid) > div:has(h4) p a { display: inline-flex; align-items: center; min-height: 36px; }
  .footer-bottom { font-size: 12px; margin-top: 18px; }

  /* ---------- 横向滑动的卡片列 ---------- */
  .product-grid-v7, .news-grid-v7, .v15-related-grid {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); gap: 14px;
    margin-inline: -4vw; padding: 4px 4vw 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4vw; scrollbar-width: none;
  }
  .product-grid-v7::-webkit-scrollbar, .news-grid-v7::-webkit-scrollbar, .v15-related-grid::-webkit-scrollbar { display: none; }
  .product-grid-v7 > *, .news-grid-v7 > *, .v15-related-grid > * { scroll-snap-align: start; }
  .product-grid-v7 .reveal, .news-grid-v7 .reveal { opacity: 1; transform: none; }
  .news-card-v7.featured { grid-column: auto; }
  .section-more { display: block; margin-top: 16px; }
  .section-more a { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid #c9d8e8; border-radius: 12px; background: #fff; font-weight: 800; color: var(--navy); }

  /* ---------- 首页 ---------- */
  .hero-v6 { height: auto; min-height: 0; padding: 0 0 210px; }
  .hero-v6 .hero-copy { padding-top: 26px; }
  .hero-v6 h1 { font-size: 36px; margin: 10px 0 8px; }
  .hero-v6 .lead { font-size: 15px; margin: 0; }
  .hero-v6 .hero-mini { margin-top: 14px; gap: 6px 12px; font-size: 13px; }
  .hero-v6 .hero-mini small { display: none; }
  .hero-v6 .searchbox { margin: 16px 0 10px; border-radius: 12px; }
  .hero-v6 .searchbox input { padding: 14px; }
  .hero-v6 .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -4vw; padding-inline: 4vw; scrollbar-width: none; }
  .hero-v6 .chips::-webkit-scrollbar { display: none; }
  .hero-v6 .chip { flex: none; }
  .hero-photo-v8 { top: auto; bottom: 0; height: 220px; }
  .hero-v6:after { background: linear-gradient(180deg, rgba(248,252,255,.99) 0%, rgba(248,252,255,.98) calc(100% - 230px), rgba(248,252,255,.1) calc(100% - 150px), transparent); }
  .home-section:has(.finder-v7) { display: none; }
  .home-finder-v10 .hf-copy p { font-size: 14px; }
  .hf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hf-form input { grid-column: 1 / -1; }
  .hf-form input, .hf-form select, .hf-form button { height: 48px; min-height: 48px; margin: 0; border-radius: 10px; }
  .hf-form button { padding: 0 10px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hf-links { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin-inline: -4vw; padding-inline: 4vw; scrollbar-width: none; }
  .hf-links::-webkit-scrollbar { display: none; }
  .hf-links a { flex: none; }
  .product-card-v7 .image { height: 190px; }
  .product-card-v7 .body { padding: 14px; }
  .product-card-v7 h3 { font-size: 17px; margin: 0 0 8px; }
  .product-card-v7 .product-actions { margin-top: 12px; }
  .product-card-v7 .product-actions button { min-height: 40px; }
  .stats-v7 { padding: 10px 0; }
  .stats-v7-grid { grid-template-columns: 1fr 1fr; }
  .stat-v7 { padding: 18px 12px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-v7:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .stat-v7:nth-last-child(-n+2) { border-bottom: 0; }
  .stat-v7 strong { font-size: 30px; }
  .stat-v7 span { font-size: 12px; }
  .proof-mosaic { grid-template-columns: 1fr; gap: 8px; }
  .proof-mosaic > img { min-height: 0; height: 220px; }
  .proof-mosaic .stack { grid-template-columns: 1fr 1fr; gap: 8px; }
  .proof-mosaic .stack img { height: 110px; }
  .proof-v7 { gap: 22px; }
  .proof-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .proof-list > div { padding: 10px 12px; font-size: 13px; }
  .matching-v7 h2 { font-size: 26px; }
  .match-card { padding: 18px; gap: 10px; }
  .news-card-v7 .cover { height: 170px; }
  .news-card-v7 .body { padding: 14px; }
  .news-card-v7 h3 { font-size: 16px; }
  .final-cta-v7 { padding: 40px 0; }
  .final-cta-v7 h2 { font-size: 24px; }
  .final-cta-v7 .actions { width: 100%; flex-direction: column; gap: 10px; }
  .final-cta-v7 .actions .quote { width: 100%; }

  /* ---------- 产品中心 ---------- */
  main > section.db-shell { padding: 16px 0 40px; }
  .db-hierarchy { display: flex; gap: 8px; margin: 0 -4vw 14px; padding: 0 4vw 2px; overflow-x: auto; scrollbar-width: none; }
  .db-hierarchy::-webkit-scrollbar { display: none; }
  .db-hierarchy a { flex: none; display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid #d6e2ef; border-left: 1px solid #d6e2ef; border-radius: 999px; font-size: 14px; white-space: nowrap; }
  .db-hierarchy a br { display: none; }
  .db-hierarchy a b { font-weight: 800; }
  .db-hierarchy a.active { background: var(--navy); border-color: var(--navy); color: #fff; }
  .db-toolbar { position: sticky; top: 56px; z-index: 20; margin: 0 -4vw 14px; padding: 10px 4vw; border: 0; border-radius: 0; background: rgba(245,248,252,.97); box-shadow: 0 6px 14px rgba(16,54,92,.06); }
  .db-filters { grid-template-columns: 1fr auto; gap: 8px; }
  .db-filters #fKey { order: -1; height: 46px; border-radius: 12px; }
  .filter-open { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border: 1px solid #ccd8e6; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 800; }
  .filter-open b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--action-blue, #0875df); color: #fff; font-size: 12px; }
  .filter-open b:empty { display: none; }
  .db-count { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 13px; }
  .db-count .filter-reset { min-height: 32px; padding: 4px 10px; }
  .filter-sheet { display: flex; flex-direction: column; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; max-height: 85dvh; overflow-y: auto; padding: 8px 20px calc(16px + env(safe-area-inset-bottom)); background: #fff; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(7,29,61,.2); transform: translateY(105%); visibility: hidden; transition: transform .28s ease, visibility 0s linear .28s; }
  .filter-sheet.open { transform: none; visibility: visible; transition: transform .28s ease; }
  .filter-sheet::before { content: ""; align-self: center; width: 40px; height: 4px; border-radius: 2px; background: #d3dce7; }
  .filter-sheet-head { display: flex; align-items: center; justify-content: space-between; font-size: 18px; }
  .filter-sheet-head button { width: 40px; height: 40px; border: 0; background: #f2f6fb; border-radius: 50%; font-size: 22px; }
  .filter-sheet select { height: 50px; border-radius: 12px; }
  .filter-sheet-foot { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; margin-top: 4px; }
  .filter-sheet-foot button { height: 50px; border-radius: 12px; font-weight: 800; border: 1px solid #ccd8e6; background: #fff; }
  .filter-sheet-foot [data-sheet-apply] { border: 0; background: var(--action-blue, #0875df); color: #fff; }
  .sheet-backdrop { position: fixed; inset: 0; z-index: 95; background: rgba(3,14,28,.45); }
  body.sheet-open { overflow: hidden; }
  body.sheet-open .db-toolbar { z-index: 100; }
  body.sheet-open .mobilebar { transform: translateY(110%); }
  .db-grid, .product-grid-v10 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .db-card { position: relative; border-radius: 14px; }
  .db-card img { height: auto; aspect-ratio: 4 / 3; }
  .db-body { padding: 10px 12px 12px; }
  .db-brand { font-size: 10px; letter-spacing: .04em; }
  .db-card h3 { margin: 4px 0 6px; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .db-tags { gap: 4px; margin: 0 0 8px; }
  .db-tag { font-size: 11px; padding: 3px 7px; }
  .db-tag:nth-child(n+3) { display: none; }
  .db-link { min-height: 0; padding: 0; background: none; color: var(--action-blue, #0875df); font-size: 13px; }
  .db-link::after { content: ""; position: absolute; inset: 0; }
  .db-card:hover { transform: none; }

  /* ---------- 产品详情 ---------- */
  main > section.product-hero-v10 { padding: 12px 0 28px; }
  .product-hero-v10 .crumb { margin-bottom: 12px; font-size: 12px; }
  .product-hero-grid { gap: 18px; }
  .main-media-v10 { position: relative; height: auto; aspect-ratio: 4 / 3; margin-inline: -4vw; border: 0; border-radius: 0; box-shadow: none; touch-action: pan-y; }
  .main-media-v10 img { transition: opacity .15s; }
  .media-count { display: block; position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(7,29,61,.66); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; }
  .thumbs-v10 { gap: 8px; padding: 10px 0 0; scrollbar-width: none; }
  .thumb-v10 { width: 64px; height: 50px; }
  .product-summary-v10 h1 { font-size: 28px; margin: 10px 0 8px; }
  .product-summary-v10 .lead { font-size: 14px; line-height: 1.7; }
  .quick-facts { gap: 8px; margin: 14px 0; }
  .quick-facts div { padding: 10px 8px; }
  .big-quote { width: 100%; min-height: 50px; border-radius: 12px; }
  .detail-two { gap: 28px; }
  .spec-panel-v10 { padding: 18px; }
  .spec-panel-v10 table td, .spec-panel-v10 table th { padding-top: 9px; padding-bottom: 9px; font-size: 14px; }
  .plate-verified-v12, .plate-pending-v12 { padding: 14px; }
  .plate-verified-v12 th, .plate-verified-v12 td { display: table-cell; padding: 8px 6px; border-bottom: 1px solid #dce9f4; font-size: 13px; }
  .plate-verified-v12 th { width: 36%; }
  .official-card { padding: 20px; }
  .tech-grid-v11 article, .application-grid-v13 article { padding: 18px; }
  .faq-product-v11 details { padding: 0 14px; }
  .faq-product-v11 summary { padding: 14px 0; }
  .v15-related-card { padding: 16px; }

  /* ---------- 其它页面 ---------- */
  .about-grid, .news-grid { gap: 12px; }
  .info-card, .article-card { padding: 18px; }
  .info-card h3, .article-card h3 { margin: 6px 0 8px; font-size: 17px; line-height: 1.4; }
  .info-card p, .article-card p { margin: 0; font-size: 14px; line-height: 1.7; }
  .sales-links a { min-height: 48px; }
  .kc-cluster-nav { display: flex; gap: 8px; overflow-x: auto; margin-inline: -4vw; padding: 0 4vw 4px; scrollbar-width: none; }
  .kc-cluster-nav::-webkit-scrollbar { display: none; }
  .kc-cluster-nav > * { flex: none; }

  /* 询盘弹窗：从底部弹出 */
  .drawer.inquiry-modal { top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-height: calc(100dvh - 24px); border-radius: 20px 20px 0 0; transform: none; }
  .inquiry-main { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .db-grid { gap: 10px; }
  .db-card h3 { font-size: 14px; }
  .hero-v6 h1 { font-size: 32px; }
  .mobilebar a, .mobilebar button { font-size: 11px; }
  .mobilebar button { font-size: 14px; }
}
